Package org.mlflow.api.proto
Class Webhooks.TestWebhook.Builder
- java.lang.Object
 - 
- com.google.protobuf.AbstractMessageLite.Builder
 - 
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
 - 
- com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 - 
- org.mlflow.api.proto.Webhooks.TestWebhook.Builder
 
 
 
 
 
- 
- All Implemented Interfaces:
 com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,Webhooks.TestWebhookOrBuilder
- Enclosing class:
 - Webhooks.TestWebhook
 
public static final class Webhooks.TestWebhook.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder> implements Webhooks.TestWebhookOrBuilder
Test webhook request
Protobuf typemlflow.TestWebhook 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Webhooks.TestWebhook.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Webhooks.TestWebhookbuild()Webhooks.TestWebhookbuildPartial()Webhooks.TestWebhook.Builderclear()Webhooks.TestWebhook.BuilderclearEvent()Optional event type to test.Webhooks.TestWebhook.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Webhooks.TestWebhook.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Webhooks.TestWebhook.BuilderclearWebhookId()ID of the webhook to testWebhooks.TestWebhook.Builderclone()Webhooks.TestWebhookgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Webhooks.WebhookEventgetEvent()Optional event type to test.Webhooks.WebhookEvent.BuildergetEventBuilder()Optional event type to test.Webhooks.WebhookEventOrBuildergetEventOrBuilder()Optional event type to test.java.lang.StringgetWebhookId()ID of the webhook to testcom.google.protobuf.ByteStringgetWebhookIdBytes()ID of the webhook to testbooleanhasEvent()Optional event type to test.booleanhasWebhookId()ID of the webhook to testprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Webhooks.TestWebhook.BuildermergeEvent(Webhooks.WebhookEvent value)Optional event type to test.Webhooks.TestWebhook.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Webhooks.TestWebhook.BuildermergeFrom(com.google.protobuf.Message other)Webhooks.TestWebhook.BuildermergeFrom(Webhooks.TestWebhook other)Webhooks.TestWebhook.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Webhooks.TestWebhook.BuildersetEvent(Webhooks.WebhookEvent value)Optional event type to test.Webhooks.TestWebhook.BuildersetEvent(Webhooks.WebhookEvent.Builder builderForValue)Optional event type to test.Webhooks.TestWebhook.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Webhooks.TestWebhook.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Webhooks.TestWebhook.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Webhooks.TestWebhook.BuildersetWebhookId(java.lang.String value)ID of the webhook to testWebhooks.TestWebhook.BuildersetWebhookIdBytes(com.google.protobuf.ByteString value)ID of the webhook to test- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3 
- 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString 
- 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
 
- 
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
 internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
clear
public Webhooks.TestWebhook.Builder clear()
- Specified by:
 clearin interfacecom.google.protobuf.Message.Builder- Specified by:
 clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
 clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
 getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
 getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
 getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
getDefaultInstanceForType
public Webhooks.TestWebhook getDefaultInstanceForType()
- Specified by:
 getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
 getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
 
- 
build
public Webhooks.TestWebhook build()
- Specified by:
 buildin interfacecom.google.protobuf.Message.Builder- Specified by:
 buildin interfacecom.google.protobuf.MessageLite.Builder
 
- 
buildPartial
public Webhooks.TestWebhook buildPartial()
- Specified by:
 buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
 buildPartialin interfacecom.google.protobuf.MessageLite.Builder
 
- 
clone
public Webhooks.TestWebhook.Builder clone()
- Specified by:
 clonein interfacecom.google.protobuf.Message.Builder- Specified by:
 clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
 clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
setField
public Webhooks.TestWebhook.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
 setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
clearField
public Webhooks.TestWebhook.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
 clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
clearOneof
public Webhooks.TestWebhook.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
 clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
 clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
setRepeatedField
public Webhooks.TestWebhook.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
 setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
addRepeatedField
public Webhooks.TestWebhook.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
 addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
mergeFrom
public Webhooks.TestWebhook.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
 mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
 mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Webhooks.TestWebhook.Builder>
 
- 
mergeFrom
public Webhooks.TestWebhook.Builder mergeFrom(Webhooks.TestWebhook other)
 
- 
isInitialized
public final boolean isInitialized()
- Specified by:
 isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
 isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
mergeFrom
public Webhooks.TestWebhook.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
 mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
 mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
 mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Webhooks.TestWebhook.Builder>- Throws:
 java.io.IOException
 
- 
hasWebhookId
public boolean hasWebhookId()
ID of the webhook to test
optional string webhook_id = 1 [(.mlflow.validate_required) = true];- Specified by:
 hasWebhookIdin interfaceWebhooks.TestWebhookOrBuilder- Returns:
 - Whether the webhookId field is set.
 
 
- 
getWebhookId
public java.lang.String getWebhookId()
ID of the webhook to test
optional string webhook_id = 1 [(.mlflow.validate_required) = true];- Specified by:
 getWebhookIdin interfaceWebhooks.TestWebhookOrBuilder- Returns:
 - The webhookId.
 
 
- 
getWebhookIdBytes
public com.google.protobuf.ByteString getWebhookIdBytes()
ID of the webhook to test
optional string webhook_id = 1 [(.mlflow.validate_required) = true];- Specified by:
 getWebhookIdBytesin interfaceWebhooks.TestWebhookOrBuilder- Returns:
 - The bytes for webhookId.
 
 
- 
setWebhookId
public Webhooks.TestWebhook.Builder setWebhookId(java.lang.String value)
ID of the webhook to test
optional string webhook_id = 1 [(.mlflow.validate_required) = true];- Parameters:
 value- The webhookId to set.- Returns:
 - This builder for chaining.
 
 
- 
clearWebhookId
public Webhooks.TestWebhook.Builder clearWebhookId()
ID of the webhook to test
optional string webhook_id = 1 [(.mlflow.validate_required) = true];- Returns:
 - This builder for chaining.
 
 
- 
setWebhookIdBytes
public Webhooks.TestWebhook.Builder setWebhookIdBytes(com.google.protobuf.ByteString value)
ID of the webhook to test
optional string webhook_id = 1 [(.mlflow.validate_required) = true];- Parameters:
 value- The bytes for webhookId to set.- Returns:
 - This builder for chaining.
 
 
- 
hasEvent
public boolean hasEvent()
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2;- Specified by:
 hasEventin interfaceWebhooks.TestWebhookOrBuilder- Returns:
 - Whether the event field is set.
 
 
- 
getEvent
public Webhooks.WebhookEvent getEvent()
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2;- Specified by:
 getEventin interfaceWebhooks.TestWebhookOrBuilder- Returns:
 - The event.
 
 
- 
setEvent
public Webhooks.TestWebhook.Builder setEvent(Webhooks.WebhookEvent value)
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2; 
- 
setEvent
public Webhooks.TestWebhook.Builder setEvent(Webhooks.WebhookEvent.Builder builderForValue)
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2; 
- 
mergeEvent
public Webhooks.TestWebhook.Builder mergeEvent(Webhooks.WebhookEvent value)
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2; 
- 
clearEvent
public Webhooks.TestWebhook.Builder clearEvent()
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2; 
- 
getEventBuilder
public Webhooks.WebhookEvent.Builder getEventBuilder()
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2; 
- 
getEventOrBuilder
public Webhooks.WebhookEventOrBuilder getEventOrBuilder()
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2;- Specified by:
 getEventOrBuilderin interfaceWebhooks.TestWebhookOrBuilder
 
- 
setUnknownFields
public final Webhooks.TestWebhook.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
 setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
 setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
- 
mergeUnknownFields
public final Webhooks.TestWebhook.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
 mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
 mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
 
 - 
 
 -