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.BuilderaddAllEvents(java.lang.Iterable<? extends Webhooks.WebhookEvent> values)New list of events to subscribe toWebhooks.UpdateWebhook.BuilderaddEvents(int index, Webhooks.WebhookEvent value)New list of events to subscribe toWebhooks.UpdateWebhook.BuilderaddEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)New list of events to subscribe toWebhooks.UpdateWebhook.BuilderaddEvents(Webhooks.WebhookEvent value)New list of events to subscribe toWebhooks.UpdateWebhook.BuilderaddEvents(Webhooks.WebhookEvent.Builder builderForValue)New list of events to subscribe toWebhooks.WebhookEvent.BuilderaddEventsBuilder()New list of events to subscribe toWebhooks.WebhookEvent.BuilderaddEventsBuilder(int index)New list of events to subscribe toWebhooks.UpdateWebhook.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Webhooks.UpdateWebhookbuild()Webhooks.UpdateWebhookbuildPartial()Webhooks.UpdateWebhook.Builderclear()Webhooks.UpdateWebhook.BuilderclearDescription()New description for the webhookWebhooks.UpdateWebhook.BuilderclearEvents()New list of events to subscribe toWebhooks.UpdateWebhook.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Webhooks.UpdateWebhook.BuilderclearName()New name for the webhookWebhooks.UpdateWebhook.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Webhooks.UpdateWebhook.BuilderclearSecret()New secret key for HMAC signatureWebhooks.UpdateWebhook.BuilderclearStatus()New status for the webhookWebhooks.UpdateWebhook.BuilderclearUrl()New URL for the webhookWebhooks.UpdateWebhook.BuilderclearWebhookId()ID of the webhook to updateWebhooks.UpdateWebhook.Builderclone()Webhooks.UpdateWebhookgetDefaultInstanceForType()java.lang.StringgetDescription()New description for the webhookcom.google.protobuf.ByteStringgetDescriptionBytes()New description for the webhookstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Webhooks.WebhookEventgetEvents(int index)New list of events to subscribe toWebhooks.WebhookEvent.BuildergetEventsBuilder(int index)New list of events to subscribe tojava.util.List<Webhooks.WebhookEvent.Builder>getEventsBuilderList()New list of events to subscribe tointgetEventsCount()New list of events to subscribe tojava.util.List<Webhooks.WebhookEvent>getEventsList()New list of events to subscribe toWebhooks.WebhookEventOrBuildergetEventsOrBuilder(int index)New list of events to subscribe tojava.util.List<? extends Webhooks.WebhookEventOrBuilder>getEventsOrBuilderList()New list of events to subscribe tojava.lang.StringgetName()New name for the webhookcom.google.protobuf.ByteStringgetNameBytes()New name for the webhookjava.lang.StringgetSecret()New secret key for HMAC signaturecom.google.protobuf.ByteStringgetSecretBytes()New secret key for HMAC signatureWebhooks.WebhookStatusgetStatus()New status for the webhookjava.lang.StringgetUrl()New URL for the webhookcom.google.protobuf.ByteStringgetUrlBytes()New URL for the webhookjava.lang.StringgetWebhookId()ID of the webhook to updatecom.google.protobuf.ByteStringgetWebhookIdBytes()ID of the webhook to updatebooleanhasDescription()New description for the webhookbooleanhasName()New name for the webhookbooleanhasSecret()New secret key for HMAC signaturebooleanhasStatus()New status for the webhookbooleanhasUrl()New URL for the webhookbooleanhasWebhookId()ID of the webhook to updateprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Webhooks.UpdateWebhook.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Webhooks.UpdateWebhook.BuildermergeFrom(com.google.protobuf.Message other)Webhooks.UpdateWebhook.BuildermergeFrom(Webhooks.UpdateWebhook other)Webhooks.UpdateWebhook.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Webhooks.UpdateWebhook.BuilderremoveEvents(int index)New list of events to subscribe toWebhooks.UpdateWebhook.BuildersetDescription(java.lang.String value)New description for the webhookWebhooks.UpdateWebhook.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)New description for the webhookWebhooks.UpdateWebhook.BuildersetEvents(int index, Webhooks.WebhookEvent value)New list of events to subscribe toWebhooks.UpdateWebhook.BuildersetEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)New list of events to subscribe toWebhooks.UpdateWebhook.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Webhooks.UpdateWebhook.BuildersetName(java.lang.String value)New name for the webhookWebhooks.UpdateWebhook.BuildersetNameBytes(com.google.protobuf.ByteString value)New name for the webhookWebhooks.UpdateWebhook.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Webhooks.UpdateWebhook.BuildersetSecret(java.lang.String value)New secret key for HMAC signatureWebhooks.UpdateWebhook.BuildersetSecretBytes(com.google.protobuf.ByteString value)New secret key for HMAC signatureWebhooks.UpdateWebhook.BuildersetStatus(Webhooks.WebhookStatus value)New status for the webhookWebhooks.UpdateWebhook.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Webhooks.UpdateWebhook.BuildersetUrl(java.lang.String value)New URL for the webhookWebhooks.UpdateWebhook.BuildersetUrlBytes(com.google.protobuf.ByteString value)New URL for the webhookWebhooks.UpdateWebhook.BuildersetWebhookId(java.lang.String value)ID of the webhook to updateWebhooks.UpdateWebhook.BuildersetWebhookIdBytes(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.UpdateWebhook.Builder>
-
clear
public Webhooks.UpdateWebhook.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.UpdateWebhook.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.UpdateWebhook.Builder>
-
getDefaultInstanceForType
public Webhooks.UpdateWebhook getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Webhooks.UpdateWebhook build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Webhooks.UpdateWebhook buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
setField
public Webhooks.UpdateWebhook.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.UpdateWebhook.Builder>
-
clearField
public Webhooks.UpdateWebhook.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.UpdateWebhook.Builder>
-
clearOneof
public Webhooks.UpdateWebhook.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.UpdateWebhook.Builder>
-
mergeFrom
public Webhooks.UpdateWebhook.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Webhooks.UpdateWebhook.Builder>
-
mergeFrom
public Webhooks.UpdateWebhook.Builder mergeFrom(Webhooks.UpdateWebhook other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasWebhookIdin 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:
getWebhookIdin 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:
getWebhookIdBytesin 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:
hasNamein 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:
getNamein interfaceWebhooks.UpdateWebhookOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
New name for the webhook
optional string name = 2;- Specified by:
getNameBytesin 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:
hasDescriptionin 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:
getDescriptionin interfaceWebhooks.UpdateWebhookOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
New description for the webhook
optional string description = 3;- Specified by:
getDescriptionBytesin 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:
hasUrlin 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:
getUrlin interfaceWebhooks.UpdateWebhookOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()
New URL for the webhook
optional string url = 4;- Specified by:
getUrlBytesin 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:
getEventsListin interfaceWebhooks.UpdateWebhookOrBuilder
-
getEventsCount
public int getEventsCount()
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsCountin interfaceWebhooks.UpdateWebhookOrBuilder
-
getEvents
public Webhooks.WebhookEvent getEvents(int index)
New list of events to subscribe to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsin 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:
getEventsOrBuilderin 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:
getEventsOrBuilderListin 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:
hasSecretin 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:
getSecretin interfaceWebhooks.UpdateWebhookOrBuilder- Returns:
- The secret.
-
getSecretBytes
public com.google.protobuf.ByteString getSecretBytes()
New secret key for HMAC signature
optional string secret = 6;- Specified by:
getSecretBytesin 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:
hasStatusin 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:
getStatusin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.UpdateWebhook.Builder>
-
mergeUnknownFields
public final Webhooks.UpdateWebhook.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.UpdateWebhook.Builder>
-
-