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,java.lang.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 entity
Protobuf typemlflow.Webhook
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Webhooks.Webhook.BuilderaddAllEvents(java.lang.Iterable<? extends Webhooks.WebhookEvent> values)List of events this webhook is subscribed toWebhooks.Webhook.BuilderaddEvents(int index, Webhooks.WebhookEvent value)List of events this webhook is subscribed toWebhooks.Webhook.BuilderaddEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)List of events this webhook is subscribed toWebhooks.Webhook.BuilderaddEvents(Webhooks.WebhookEvent value)List of events this webhook is subscribed toWebhooks.Webhook.BuilderaddEvents(Webhooks.WebhookEvent.Builder builderForValue)List of events this webhook is subscribed toWebhooks.WebhookEvent.BuilderaddEventsBuilder()List of events this webhook is subscribed toWebhooks.WebhookEvent.BuilderaddEventsBuilder(int index)List of events this webhook is subscribed toWebhooks.Webhook.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Webhooks.Webhookbuild()Webhooks.WebhookbuildPartial()Webhooks.Webhook.Builderclear()Webhooks.Webhook.BuilderclearCreationTimestamp()Timestamp when webhook was createdWebhooks.Webhook.BuilderclearDescription()Optional description for the webhookWebhooks.Webhook.BuilderclearEvents()List of events this webhook is subscribed toWebhooks.Webhook.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Webhooks.Webhook.BuilderclearLastUpdatedTimestamp()Timestamp when webhook was last updatedWebhooks.Webhook.BuilderclearName()Name of the webhookWebhooks.Webhook.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Webhooks.Webhook.BuilderclearStatus()Current status of the webhookWebhooks.Webhook.BuilderclearUrl()URL to send webhook events toWebhooks.Webhook.BuilderclearWebhookId()Unique identifier for the webhookWebhooks.Webhook.Builderclone()longgetCreationTimestamp()Timestamp when webhook was createdWebhooks.WebhookgetDefaultInstanceForType()java.lang.StringgetDescription()Optional description for the webhookcom.google.protobuf.ByteStringgetDescriptionBytes()Optional description for the webhookstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Webhooks.WebhookEventgetEvents(int index)List of events this webhook is subscribed toWebhooks.WebhookEvent.BuildergetEventsBuilder(int index)List of events this webhook is subscribed tojava.util.List<Webhooks.WebhookEvent.Builder>getEventsBuilderList()List of events this webhook is subscribed tointgetEventsCount()List of events this webhook is subscribed tojava.util.List<Webhooks.WebhookEvent>getEventsList()List of events this webhook is subscribed toWebhooks.WebhookEventOrBuildergetEventsOrBuilder(int index)List of events this webhook is subscribed tojava.util.List<? extends Webhooks.WebhookEventOrBuilder>getEventsOrBuilderList()List of events this webhook is subscribed tolonggetLastUpdatedTimestamp()Timestamp when webhook was last updatedjava.lang.StringgetName()Name of the webhookcom.google.protobuf.ByteStringgetNameBytes()Name of the webhookWebhooks.WebhookStatusgetStatus()Current status of the webhookjava.lang.StringgetUrl()URL to send webhook events tocom.google.protobuf.ByteStringgetUrlBytes()URL to send webhook events tojava.lang.StringgetWebhookId()Unique identifier for the webhookcom.google.protobuf.ByteStringgetWebhookIdBytes()Unique identifier for the webhookbooleanhasCreationTimestamp()Timestamp when webhook was createdbooleanhasDescription()Optional description for the webhookbooleanhasLastUpdatedTimestamp()Timestamp when webhook was last updatedbooleanhasName()Name of the webhookbooleanhasStatus()Current status of the webhookbooleanhasUrl()URL to send webhook events tobooleanhasWebhookId()Unique identifier for the webhookprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Webhooks.Webhook.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Webhooks.Webhook.BuildermergeFrom(com.google.protobuf.Message other)Webhooks.Webhook.BuildermergeFrom(Webhooks.Webhook other)Webhooks.Webhook.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Webhooks.Webhook.BuilderremoveEvents(int index)List of events this webhook is subscribed toWebhooks.Webhook.BuildersetCreationTimestamp(long value)Timestamp when webhook was createdWebhooks.Webhook.BuildersetDescription(java.lang.String value)Optional description for the webhookWebhooks.Webhook.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Optional description for the webhookWebhooks.Webhook.BuildersetEvents(int index, Webhooks.WebhookEvent value)List of events this webhook is subscribed toWebhooks.Webhook.BuildersetEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)List of events this webhook is subscribed toWebhooks.Webhook.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Webhooks.Webhook.BuildersetLastUpdatedTimestamp(long value)Timestamp when webhook was last updatedWebhooks.Webhook.BuildersetName(java.lang.String value)Name of the webhookWebhooks.Webhook.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the webhookWebhooks.Webhook.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Webhooks.Webhook.BuildersetStatus(Webhooks.WebhookStatus value)Current status of the webhookWebhooks.Webhook.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Webhooks.Webhook.BuildersetUrl(java.lang.String value)URL to send webhook events toWebhooks.Webhook.BuildersetUrlBytes(com.google.protobuf.ByteString value)URL to send webhook events toWebhooks.Webhook.BuildersetWebhookId(java.lang.String value)Unique identifier for the webhookWebhooks.Webhook.BuildersetWebhookIdBytes(com.google.protobuf.ByteString value)Unique identifier for the webhook-
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.Webhook.Builder>
-
clear
public 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
public Webhooks.Webhook getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Webhooks.Webhook build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Webhooks.Webhook buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Webhooks.Webhook.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
clearField
public Webhooks.Webhook.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
clearOneof
public Webhooks.Webhook.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
mergeFrom
public Webhooks.Webhook.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Webhooks.Webhook.Builder>
-
mergeFrom
public Webhooks.Webhook.Builder mergeFrom(Webhooks.Webhook other)
-
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 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.Webhook.Builder>- Throws:
java.io.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
public java.lang.String 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
public Webhooks.Webhook.Builder setWebhookId(java.lang.String value)
Unique identifier for the webhook
optional string webhook_id = 1;- Parameters:
value- The webhookId to set.- Returns:
- This builder for chaining.
-
clearWebhookId
public Webhooks.Webhook.Builder clearWebhookId()
Unique identifier for the webhook
optional string webhook_id = 1;- Returns:
- This builder for chaining.
-
setWebhookIdBytes
public Webhooks.Webhook.Builder setWebhookIdBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Webhooks.Webhook.Builder setName(java.lang.String value)
Name of the webhook
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Webhooks.Webhook.Builder clearName()
Name of the webhook
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public Webhooks.Webhook.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Webhooks.Webhook.Builder setDescription(java.lang.String value)
Optional description for the webhook
optional string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Webhooks.Webhook.Builder clearDescription()
Optional description for the webhook
optional string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Webhooks.Webhook.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Webhooks.Webhook.Builder setUrl(java.lang.String value)
URL to send webhook events to
optional string url = 4;- Parameters:
value- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
public Webhooks.Webhook.Builder clearUrl()
URL to send webhook events to
optional string url = 4;- Returns:
- This builder for chaining.
-
setUrlBytes
public Webhooks.Webhook.Builder setUrlBytes(com.google.protobuf.ByteString value)
URL to send webhook events to
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()
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
public Webhooks.WebhookEvent getEvents(int index)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsin interfaceWebhooks.WebhookOrBuilder
-
setEvents
public Webhooks.Webhook.Builder setEvents(int index, Webhooks.WebhookEvent value)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
setEvents
public Webhooks.Webhook.Builder setEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
addEvents
public Webhooks.Webhook.Builder addEvents(Webhooks.WebhookEvent value)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
addEvents
public Webhooks.Webhook.Builder addEvents(int index, Webhooks.WebhookEvent value)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
addEvents
public Webhooks.Webhook.Builder addEvents(Webhooks.WebhookEvent.Builder builderForValue)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
addEvents
public Webhooks.Webhook.Builder addEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
addAllEvents
public Webhooks.Webhook.Builder addAllEvents(java.lang.Iterable<? extends Webhooks.WebhookEvent> values)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
clearEvents
public Webhooks.Webhook.Builder clearEvents()
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
removeEvents
public Webhooks.Webhook.Builder removeEvents(int index)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
getEventsBuilder
public Webhooks.WebhookEvent.Builder getEventsBuilder(int index)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
getEventsOrBuilder
public Webhooks.WebhookEventOrBuilder getEventsOrBuilder(int index)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsOrBuilderin interfaceWebhooks.WebhookOrBuilder
-
getEventsOrBuilderList
public java.util.List<? extends Webhooks.WebhookEventOrBuilder> getEventsOrBuilderList()
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;- Specified by:
getEventsOrBuilderListin interfaceWebhooks.WebhookOrBuilder
-
addEventsBuilder
public Webhooks.WebhookEvent.Builder addEventsBuilder()
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
addEventsBuilder
public Webhooks.WebhookEvent.Builder addEventsBuilder(int index)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
getEventsBuilderList
public java.util.List<Webhooks.WebhookEvent.Builder> 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
public Webhooks.WebhookStatus getStatus()
Current status of the webhook
optional .mlflow.WebhookStatus status = 6;- Specified by:
getStatusin interfaceWebhooks.WebhookOrBuilder- Returns:
- The status.
-
setStatus
public Webhooks.Webhook.Builder setStatus(Webhooks.WebhookStatus value)
Current status of the webhook
optional .mlflow.WebhookStatus status = 6;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public Webhooks.Webhook.Builder 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
public Webhooks.Webhook.Builder setCreationTimestamp(long value)
Timestamp when webhook was created
optional int64 creation_timestamp = 7;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public Webhooks.Webhook.Builder 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
public Webhooks.Webhook.Builder setLastUpdatedTimestamp(long value)
Timestamp when webhook was last updated
optional int64 last_updated_timestamp = 8;- Parameters:
value- The lastUpdatedTimestamp to set.- Returns:
- This builder for chaining.
-
clearLastUpdatedTimestamp
public Webhooks.Webhook.Builder 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>
-
-