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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Webhooks.TestWebhook
build()
Webhooks.TestWebhook
buildPartial()
Webhooks.TestWebhook.Builder
clear()
Webhooks.TestWebhook.Builder
clearEvent()
Optional event type to test.Webhooks.TestWebhook.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Webhooks.TestWebhook.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Webhooks.TestWebhook.Builder
clearWebhookId()
ID of the webhook to testWebhooks.TestWebhook.Builder
clone()
Webhooks.TestWebhook
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Webhooks.WebhookEvent
getEvent()
Optional event type to test.Webhooks.WebhookEvent.Builder
getEventBuilder()
Optional event type to test.Webhooks.WebhookEventOrBuilder
getEventOrBuilder()
Optional event type to test.java.lang.String
getWebhookId()
ID of the webhook to testcom.google.protobuf.ByteString
getWebhookIdBytes()
ID of the webhook to testboolean
hasEvent()
Optional event type to test.boolean
hasWebhookId()
ID of the webhook to testprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Webhooks.TestWebhook.Builder
mergeEvent(Webhooks.WebhookEvent value)
Optional event type to test.Webhooks.TestWebhook.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Webhooks.TestWebhook.Builder
mergeFrom(com.google.protobuf.Message other)
Webhooks.TestWebhook.Builder
mergeFrom(Webhooks.TestWebhook other)
Webhooks.TestWebhook.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Webhooks.TestWebhook.Builder
setEvent(Webhooks.WebhookEvent value)
Optional event type to test.Webhooks.TestWebhook.Builder
setEvent(Webhooks.WebhookEvent.Builder builderForValue)
Optional event type to test.Webhooks.TestWebhook.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Webhooks.TestWebhook.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Webhooks.TestWebhook.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Webhooks.TestWebhook.Builder
setWebhookId(java.lang.String value)
ID of the webhook to testWebhooks.TestWebhook.Builder
setWebhookIdBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
-
clear
public Webhooks.TestWebhook.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
-
getDefaultInstanceForType
public Webhooks.TestWebhook getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Webhooks.TestWebhook build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Webhooks.TestWebhook buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Webhooks.TestWebhook.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
-
clearField
public Webhooks.TestWebhook.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
-
clearOneof
public Webhooks.TestWebhook.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
-
mergeFrom
public Webhooks.TestWebhook.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Webhooks.TestWebhook.Builder>
-
mergeFrom
public Webhooks.TestWebhook.Builder mergeFrom(Webhooks.TestWebhook other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasWebhookId
in 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:
getWebhookId
in 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:
getWebhookIdBytes
in 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:
hasEvent
in 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:
getEvent
in 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:
getEventOrBuilder
in interfaceWebhooks.TestWebhookOrBuilder
-
setUnknownFields
public final Webhooks.TestWebhook.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
-
mergeUnknownFields
public final Webhooks.TestWebhook.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
-
-