Package org.mlflow.api.proto
Class Webhooks.Webhook.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
org.mlflow.api.proto.Webhooks.Webhook.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Webhooks.WebhookOrBuilder
- Enclosing class:
- Webhooks.Webhook
public static final class Webhooks.Webhook.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
implements Webhooks.WebhookOrBuilder
Webhook entityProtobuf type
mlflow.Webhook-
Method Summary
Modifier and TypeMethodDescriptionaddAllEvents(Iterable<? extends Webhooks.WebhookEvent> values) List of events this webhook is subscribed toaddEvents(int index, Webhooks.WebhookEvent value) List of events this webhook is subscribed toaddEvents(int index, Webhooks.WebhookEvent.Builder builderForValue) List of events this webhook is subscribed toaddEvents(Webhooks.WebhookEvent value) List of events this webhook is subscribed toaddEvents(Webhooks.WebhookEvent.Builder builderForValue) List of events this webhook is subscribed toList of events this webhook is subscribed toaddEventsBuilder(int index) List of events this webhook is subscribed toaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Timestamp when webhook was createdOptional description for the webhookList of events this webhook is subscribed toclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Timestamp when webhook was last updatedName of the webhookclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Current status of the webhookclearUrl()URL to send webhook events toUnique identifier for the webhookclone()longTimestamp when webhook was createdOptional description for the webhookcom.google.protobuf.ByteStringOptional description for the webhookstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEvents(int index) List of events this webhook is subscribed togetEventsBuilder(int index) List of events this webhook is subscribed toList of events this webhook is subscribed tointList of events this webhook is subscribed toList of events this webhook is subscribed togetEventsOrBuilder(int index) List of events this webhook is subscribed toList<? extends Webhooks.WebhookEventOrBuilder>List of events this webhook is subscribed tolongTimestamp when webhook was last updatedgetName()Name of the webhookcom.google.protobuf.ByteStringName of the webhookCurrent status of the webhookgetUrl()URL to send webhook events tocom.google.protobuf.ByteStringURL to send webhook events toUnique identifier for the webhookcom.google.protobuf.ByteStringUnique identifier for the webhookbooleanTimestamp when webhook was createdbooleanOptional description for the webhookbooleanTimestamp when webhook was last updatedbooleanhasName()Name of the webhookbooleanCurrent status of the webhookbooleanhasUrl()URL to send webhook events tobooleanUnique identifier for the webhookprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Webhooks.Webhook other) final Webhooks.Webhook.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeEvents(int index) List of events this webhook is subscribed tosetCreationTimestamp(long value) Timestamp when webhook was createdsetDescription(String value) Optional description for the webhooksetDescriptionBytes(com.google.protobuf.ByteString value) Optional description for the webhooksetEvents(int index, Webhooks.WebhookEvent value) List of events this webhook is subscribed tosetEvents(int index, Webhooks.WebhookEvent.Builder builderForValue) List of events this webhook is subscribed tosetLastUpdatedTimestamp(long value) Timestamp when webhook was last updatedName of the webhooksetNameBytes(com.google.protobuf.ByteString value) Name of the webhooksetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStatus(Webhooks.WebhookStatus value) Current status of the webhookfinal Webhooks.Webhook.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) URL to send webhook events tosetUrlBytes(com.google.protobuf.ByteString value) URL to send webhook events tosetWebhookId(String value) Unique identifier for the webhooksetWebhookIdBytes(com.google.protobuf.ByteString value) Unique identifier for the webhookMethods 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Webhook.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.Webhook.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.Webhook.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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.Webhook.Builder>
-
setField
public Webhooks.Webhook.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
setRepeatedField
public Webhooks.Webhook.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
addRepeatedField
public Webhooks.Webhook.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Webhooks.Webhook.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
mergeFrom
public Webhooks.Webhook.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.Webhook.Builder>- Throws:
IOException
-
hasWebhookId
public boolean hasWebhookId()Unique identifier for the webhook
optional string webhook_id = 1;- Specified by:
hasWebhookIdin interfaceWebhooks.WebhookOrBuilder- Returns:
- Whether the webhookId field is set.
-
getWebhookId
Unique identifier for the webhook
optional string webhook_id = 1;- Specified by:
getWebhookIdin interfaceWebhooks.WebhookOrBuilder- Returns:
- The webhookId.
-
getWebhookIdBytes
public com.google.protobuf.ByteString getWebhookIdBytes()Unique identifier for the webhook
optional string webhook_id = 1;- Specified by:
getWebhookIdBytesin interfaceWebhooks.WebhookOrBuilder- Returns:
- The bytes for webhookId.
-
setWebhookId
Unique identifier for the webhook
optional string webhook_id = 1;- Parameters:
value- The webhookId to set.- Returns:
- This builder for chaining.
-
clearWebhookId
Unique identifier for the webhook
optional string webhook_id = 1;- Returns:
- This builder for chaining.
-
setWebhookIdBytes
Unique identifier for the webhook
optional string webhook_id = 1;- Parameters:
value- The bytes for webhookId to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Name of the webhook
optional string name = 2;- Specified by:
hasNamein interfaceWebhooks.WebhookOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of the webhook
optional string name = 2;- Specified by:
getNamein interfaceWebhooks.WebhookOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the webhook
optional string name = 2;- Specified by:
getNameBytesin interfaceWebhooks.WebhookOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the webhook
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the webhook
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the webhook
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()Optional description for the webhook
optional string description = 3;- Specified by:
hasDescriptionin interfaceWebhooks.WebhookOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Optional description for the webhook
optional string description = 3;- Specified by:
getDescriptionin interfaceWebhooks.WebhookOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional description for the webhook
optional string description = 3;- Specified by:
getDescriptionBytesin interfaceWebhooks.WebhookOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional description for the webhook
optional string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional description for the webhook
optional string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional 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()URL to send webhook events to
optional string url = 4;- Specified by:
hasUrlin interfaceWebhooks.WebhookOrBuilder- Returns:
- Whether the url field is set.
-
getUrl
URL to send webhook events to
optional string url = 4;- Specified by:
getUrlin interfaceWebhooks.WebhookOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()URL to send webhook events to
optional string url = 4;- Specified by:
getUrlBytesin interfaceWebhooks.WebhookOrBuilder- Returns:
- The bytes for url.
-
setUrl
URL to send webhook events to
optional string url = 4;- Parameters:
value- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
URL to send webhook events to
optional string url = 4;- Returns:
- This builder for chaining.
-
setUrlBytes
URL to send webhook events to
optional string url = 4;- Parameters:
value- The bytes for url to set.- Returns:
- This builder for chaining.
-
getEventsList
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsListin interfaceWebhooks.WebhookOrBuilder
-
getEventsCount
public int getEventsCount()List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsCountin interfaceWebhooks.WebhookOrBuilder
-
getEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsin interfaceWebhooks.WebhookOrBuilder
-
setEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
setEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
addEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
addEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
addEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
addEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
addAllEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
clearEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
removeEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
getEventsBuilder
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
getEventsOrBuilder
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsOrBuilderin interfaceWebhooks.WebhookOrBuilder
-
getEventsOrBuilderList
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsOrBuilderListin interfaceWebhooks.WebhookOrBuilder
-
addEventsBuilder
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
addEventsBuilder
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
getEventsBuilderList
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
hasStatus
public boolean hasStatus()Current status of the webhook
optional .mlflow.WebhookStatus status = 6;- Specified by:
hasStatusin interfaceWebhooks.WebhookOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Current status of the webhook
optional .mlflow.WebhookStatus status = 6;- Specified by:
getStatusin interfaceWebhooks.WebhookOrBuilder- Returns:
- The status.
-
setStatus
Current status of the webhook
optional .mlflow.WebhookStatus status = 6;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Current status of the webhook
optional .mlflow.WebhookStatus status = 6;- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Timestamp when webhook was created
optional int64 creation_timestamp = 7;- Specified by:
hasCreationTimestampin interfaceWebhooks.WebhookOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public long getCreationTimestamp()Timestamp when webhook was created
optional int64 creation_timestamp = 7;- Specified by:
getCreationTimestampin interfaceWebhooks.WebhookOrBuilder- Returns:
- The creationTimestamp.
-
setCreationTimestamp
Timestamp when webhook was created
optional int64 creation_timestamp = 7;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Timestamp when webhook was created
optional int64 creation_timestamp = 7;- Returns:
- This builder for chaining.
-
hasLastUpdatedTimestamp
public boolean hasLastUpdatedTimestamp()Timestamp when webhook was last updated
optional int64 last_updated_timestamp = 8;- Specified by:
hasLastUpdatedTimestampin interfaceWebhooks.WebhookOrBuilder- Returns:
- Whether the lastUpdatedTimestamp field is set.
-
getLastUpdatedTimestamp
public long getLastUpdatedTimestamp()Timestamp when webhook was last updated
optional int64 last_updated_timestamp = 8;- Specified by:
getLastUpdatedTimestampin interfaceWebhooks.WebhookOrBuilder- Returns:
- The lastUpdatedTimestamp.
-
setLastUpdatedTimestamp
Timestamp when webhook was last updated
optional int64 last_updated_timestamp = 8;- Parameters:
value- The lastUpdatedTimestamp to set.- Returns:
- This builder for chaining.
-
clearLastUpdatedTimestamp
Timestamp when webhook was last updated
optional int64 last_updated_timestamp = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Webhooks.Webhook.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
mergeUnknownFields
public final Webhooks.Webhook.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-