Package org.mlflow.api.proto
Class Webhooks.UpdateWebhook.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.UpdateWebhook.Builder>
-
- org.mlflow.api.proto.Webhooks.UpdateWebhook.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.UpdateWebhookOrBuilder
- Enclosing class:
- Webhooks.UpdateWebhook
public static final class Webhooks.UpdateWebhook.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.UpdateWebhook.Builder> implements Webhooks.UpdateWebhookOrBuilder
Update webhook request
Protobuf typemlflow.UpdateWebhook
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Webhooks.UpdateWebhook.Builder
addAllEvents(java.lang.Iterable<? extends Webhooks.WebhookEvent> values)
New list of events to subscribe toWebhooks.UpdateWebhook.Builder
addEvents(int index, Webhooks.WebhookEvent value)
New list of events to subscribe toWebhooks.UpdateWebhook.Builder
addEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)
New list of events to subscribe toWebhooks.UpdateWebhook.Builder
addEvents(Webhooks.WebhookEvent value)
New list of events to subscribe toWebhooks.UpdateWebhook.Builder
addEvents(Webhooks.WebhookEvent.Builder builderForValue)
New list of events to subscribe toWebhooks.WebhookEvent.Builder
addEventsBuilder()
New list of events to subscribe toWebhooks.WebhookEvent.Builder
addEventsBuilder(int index)
New list of events to subscribe toWebhooks.UpdateWebhook.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Webhooks.UpdateWebhook
build()
Webhooks.UpdateWebhook
buildPartial()
Webhooks.UpdateWebhook.Builder
clear()
Webhooks.UpdateWebhook.Builder
clearDescription()
New description for the webhookWebhooks.UpdateWebhook.Builder
clearEvents()
New list of events to subscribe toWebhooks.UpdateWebhook.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Webhooks.UpdateWebhook.Builder
clearName()
New name for the webhookWebhooks.UpdateWebhook.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Webhooks.UpdateWebhook.Builder
clearSecret()
New secret key for HMAC signatureWebhooks.UpdateWebhook.Builder
clearStatus()
New status for the webhookWebhooks.UpdateWebhook.Builder
clearUrl()
New URL for the webhookWebhooks.UpdateWebhook.Builder
clearWebhookId()
ID of the webhook to updateWebhooks.UpdateWebhook.Builder
clone()
Webhooks.UpdateWebhook
getDefaultInstanceForType()
java.lang.String
getDescription()
New description for the webhookcom.google.protobuf.ByteString
getDescriptionBytes()
New description for the webhookstatic com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Webhooks.WebhookEvent
getEvents(int index)
New list of events to subscribe toWebhooks.WebhookEvent.Builder
getEventsBuilder(int index)
New list of events to subscribe tojava.util.List<Webhooks.WebhookEvent.Builder>
getEventsBuilderList()
New list of events to subscribe toint
getEventsCount()
New list of events to subscribe tojava.util.List<Webhooks.WebhookEvent>
getEventsList()
New list of events to subscribe toWebhooks.WebhookEventOrBuilder
getEventsOrBuilder(int index)
New list of events to subscribe tojava.util.List<? extends Webhooks.WebhookEventOrBuilder>
getEventsOrBuilderList()
New list of events to subscribe tojava.lang.String
getName()
New name for the webhookcom.google.protobuf.ByteString
getNameBytes()
New name for the webhookjava.lang.String
getSecret()
New secret key for HMAC signaturecom.google.protobuf.ByteString
getSecretBytes()
New secret key for HMAC signatureWebhooks.WebhookStatus
getStatus()
New status for the webhookjava.lang.String
getUrl()
New URL for the webhookcom.google.protobuf.ByteString
getUrlBytes()
New URL for the webhookjava.lang.String
getWebhookId()
ID of the webhook to updatecom.google.protobuf.ByteString
getWebhookIdBytes()
ID of the webhook to updateboolean
hasDescription()
New description for the webhookboolean
hasName()
New name for the webhookboolean
hasSecret()
New secret key for HMAC signatureboolean
hasStatus()
New status for the webhookboolean
hasUrl()
New URL for the webhookboolean
hasWebhookId()
ID of the webhook to updateprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Webhooks.UpdateWebhook.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Webhooks.UpdateWebhook.Builder
mergeFrom(com.google.protobuf.Message other)
Webhooks.UpdateWebhook.Builder
mergeFrom(Webhooks.UpdateWebhook other)
Webhooks.UpdateWebhook.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Webhooks.UpdateWebhook.Builder
removeEvents(int index)
New list of events to subscribe toWebhooks.UpdateWebhook.Builder
setDescription(java.lang.String value)
New description for the webhookWebhooks.UpdateWebhook.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
New description for the webhookWebhooks.UpdateWebhook.Builder
setEvents(int index, Webhooks.WebhookEvent value)
New list of events to subscribe toWebhooks.UpdateWebhook.Builder
setEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)
New list of events to subscribe toWebhooks.UpdateWebhook.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Webhooks.UpdateWebhook.Builder
setName(java.lang.String value)
New name for the webhookWebhooks.UpdateWebhook.Builder
setNameBytes(com.google.protobuf.ByteString value)
New name for the webhookWebhooks.UpdateWebhook.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Webhooks.UpdateWebhook.Builder
setSecret(java.lang.String value)
New secret key for HMAC signatureWebhooks.UpdateWebhook.Builder
setSecretBytes(com.google.protobuf.ByteString value)
New secret key for HMAC signatureWebhooks.UpdateWebhook.Builder
setStatus(Webhooks.WebhookStatus value)
New status for the webhookWebhooks.UpdateWebhook.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Webhooks.UpdateWebhook.Builder
setUrl(java.lang.String value)
New URL for the webhookWebhooks.UpdateWebhook.Builder
setUrlBytes(com.google.protobuf.ByteString value)
New URL for the webhookWebhooks.UpdateWebhook.Builder
setWebhookId(java.lang.String value)
ID of the webhook to updateWebhooks.UpdateWebhook.Builder
setWebhookIdBytes(com.google.protobuf.ByteString value)
ID of the webhook to update-
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.UpdateWebhook.Builder>
-
clear
public Webhooks.UpdateWebhook.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.UpdateWebhook.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.UpdateWebhook.Builder>
-
getDefaultInstanceForType
public Webhooks.UpdateWebhook getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Webhooks.UpdateWebhook build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Webhooks.UpdateWebhook buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
setField
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
clearField
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
clearOneof
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
setRepeatedField
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
addRepeatedField
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
mergeFrom
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
mergeFrom
public Webhooks.UpdateWebhook.Builder mergeFrom(Webhooks.UpdateWebhook other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.UpdateWebhook.Builder>
-
mergeFrom
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
- Throws:
java.io.IOException
-
hasWebhookId
public boolean hasWebhookId()
ID of the webhook to update
optional string webhook_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasWebhookId
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- Whether the webhookId field is set.
-
getWebhookId
public java.lang.String getWebhookId()
ID of the webhook to update
optional string webhook_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getWebhookId
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The webhookId.
-
getWebhookIdBytes
public com.google.protobuf.ByteString getWebhookIdBytes()
ID of the webhook to update
optional string webhook_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getWebhookIdBytes
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The bytes for webhookId.
-
setWebhookId
public Webhooks.UpdateWebhook.Builder setWebhookId(java.lang.String value)
ID of the webhook to update
optional string webhook_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The webhookId to set.- Returns:
- This builder for chaining.
-
clearWebhookId
public Webhooks.UpdateWebhook.Builder clearWebhookId()
ID of the webhook to update
optional string webhook_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setWebhookIdBytes
public Webhooks.UpdateWebhook.Builder setWebhookIdBytes(com.google.protobuf.ByteString value)
ID of the webhook to update
optional string webhook_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for webhookId to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
New name for the webhook
optional string name = 2;
- Specified by:
hasName
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
New name for the webhook
optional string name = 2;
- Specified by:
getName
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
New name for the webhook
optional string name = 2;
- Specified by:
getNameBytes
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The bytes for name.
-
setName
public Webhooks.UpdateWebhook.Builder setName(java.lang.String value)
New name for the webhook
optional string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Webhooks.UpdateWebhook.Builder clearName()
New name for the webhook
optional string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
public Webhooks.UpdateWebhook.Builder setNameBytes(com.google.protobuf.ByteString value)
New name for the webhook
optional string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
New description for the webhook
optional string description = 3;
- Specified by:
hasDescription
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public java.lang.String getDescription()
New description for the webhook
optional string description = 3;
- Specified by:
getDescription
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
New description for the webhook
optional string description = 3;
- Specified by:
getDescriptionBytes
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Webhooks.UpdateWebhook.Builder setDescription(java.lang.String value)
New description for the webhook
optional string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Webhooks.UpdateWebhook.Builder clearDescription()
New description for the webhook
optional string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Webhooks.UpdateWebhook.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
New description for the webhook
optional string description = 3;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasUrl
public boolean hasUrl()
New URL for the webhook
optional string url = 4;
- Specified by:
hasUrl
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- Whether the url field is set.
-
getUrl
public java.lang.String getUrl()
New URL for the webhook
optional string url = 4;
- Specified by:
getUrl
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()
New URL for the webhook
optional string url = 4;
- Specified by:
getUrlBytes
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The bytes for url.
-
setUrl
public Webhooks.UpdateWebhook.Builder setUrl(java.lang.String value)
New URL for the webhook
optional string url = 4;
- Parameters:
value
- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
public Webhooks.UpdateWebhook.Builder clearUrl()
New URL for the webhook
optional string url = 4;
- Returns:
- This builder for chaining.
-
setUrlBytes
public Webhooks.UpdateWebhook.Builder setUrlBytes(com.google.protobuf.ByteString value)
New URL for the webhook
optional string url = 4;
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-
getEventsList
public java.util.List<Webhooks.WebhookEvent> getEventsList()
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
- Specified by:
getEventsList
in interfaceWebhooks.UpdateWebhookOrBuilder
-
getEventsCount
public int getEventsCount()
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
- Specified by:
getEventsCount
in interfaceWebhooks.UpdateWebhookOrBuilder
-
getEvents
public Webhooks.WebhookEvent getEvents(int index)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
- Specified by:
getEvents
in interfaceWebhooks.UpdateWebhookOrBuilder
-
setEvents
public Webhooks.UpdateWebhook.Builder setEvents(int index, Webhooks.WebhookEvent value)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
setEvents
public Webhooks.UpdateWebhook.Builder setEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
addEvents
public Webhooks.UpdateWebhook.Builder addEvents(Webhooks.WebhookEvent value)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
addEvents
public Webhooks.UpdateWebhook.Builder addEvents(int index, Webhooks.WebhookEvent value)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
addEvents
public Webhooks.UpdateWebhook.Builder addEvents(Webhooks.WebhookEvent.Builder builderForValue)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
addEvents
public Webhooks.UpdateWebhook.Builder addEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
addAllEvents
public Webhooks.UpdateWebhook.Builder addAllEvents(java.lang.Iterable<? extends Webhooks.WebhookEvent> values)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
clearEvents
public Webhooks.UpdateWebhook.Builder clearEvents()
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
removeEvents
public Webhooks.UpdateWebhook.Builder removeEvents(int index)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
getEventsBuilder
public Webhooks.WebhookEvent.Builder getEventsBuilder(int index)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
getEventsOrBuilder
public Webhooks.WebhookEventOrBuilder getEventsOrBuilder(int index)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
- Specified by:
getEventsOrBuilder
in interfaceWebhooks.UpdateWebhookOrBuilder
-
getEventsOrBuilderList
public java.util.List<? extends Webhooks.WebhookEventOrBuilder> getEventsOrBuilderList()
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
- Specified by:
getEventsOrBuilderList
in interfaceWebhooks.UpdateWebhookOrBuilder
-
addEventsBuilder
public Webhooks.WebhookEvent.Builder addEventsBuilder()
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
addEventsBuilder
public Webhooks.WebhookEvent.Builder addEventsBuilder(int index)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
getEventsBuilderList
public java.util.List<Webhooks.WebhookEvent.Builder> getEventsBuilderList()
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;
-
hasSecret
public boolean hasSecret()
New secret key for HMAC signature
optional string secret = 6;
- Specified by:
hasSecret
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- Whether the secret field is set.
-
getSecret
public java.lang.String getSecret()
New secret key for HMAC signature
optional string secret = 6;
- Specified by:
getSecret
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The secret.
-
getSecretBytes
public com.google.protobuf.ByteString getSecretBytes()
New secret key for HMAC signature
optional string secret = 6;
- Specified by:
getSecretBytes
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The bytes for secret.
-
setSecret
public Webhooks.UpdateWebhook.Builder setSecret(java.lang.String value)
New secret key for HMAC signature
optional string secret = 6;
- Parameters:
value
- The secret to set.- Returns:
- This builder for chaining.
-
clearSecret
public Webhooks.UpdateWebhook.Builder clearSecret()
New secret key for HMAC signature
optional string secret = 6;
- Returns:
- This builder for chaining.
-
setSecretBytes
public Webhooks.UpdateWebhook.Builder setSecretBytes(com.google.protobuf.ByteString value)
New secret key for HMAC signature
optional string secret = 6;
- Parameters:
value
- The bytes for secret to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
New status for the webhook
optional .mlflow.WebhookStatus status = 7;
- Specified by:
hasStatus
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public Webhooks.WebhookStatus getStatus()
New status for the webhook
optional .mlflow.WebhookStatus status = 7;
- Specified by:
getStatus
in interfaceWebhooks.UpdateWebhookOrBuilder
- Returns:
- The status.
-
setStatus
public Webhooks.UpdateWebhook.Builder setStatus(Webhooks.WebhookStatus value)
New status for the webhook
optional .mlflow.WebhookStatus status = 7;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public Webhooks.UpdateWebhook.Builder clearStatus()
New status for the webhook
optional .mlflow.WebhookStatus status = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
mergeUnknownFields
public final Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
-