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.Builder
addAllEvents(java.lang.Iterable<? extends Webhooks.WebhookEvent> values)
List of events this webhook is subscribed toWebhooks.Webhook.Builder
addEvents(int index, Webhooks.WebhookEvent value)
List of events this webhook is subscribed toWebhooks.Webhook.Builder
addEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)
List of events this webhook is subscribed toWebhooks.Webhook.Builder
addEvents(Webhooks.WebhookEvent value)
List of events this webhook is subscribed toWebhooks.Webhook.Builder
addEvents(Webhooks.WebhookEvent.Builder builderForValue)
List of events this webhook is subscribed toWebhooks.WebhookEvent.Builder
addEventsBuilder()
List of events this webhook is subscribed toWebhooks.WebhookEvent.Builder
addEventsBuilder(int index)
List of events this webhook is subscribed toWebhooks.Webhook.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Webhooks.Webhook
build()
Webhooks.Webhook
buildPartial()
Webhooks.Webhook.Builder
clear()
Webhooks.Webhook.Builder
clearCreationTimestamp()
Timestamp when webhook was createdWebhooks.Webhook.Builder
clearDescription()
Optional description for the webhookWebhooks.Webhook.Builder
clearEvents()
List of events this webhook is subscribed toWebhooks.Webhook.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Webhooks.Webhook.Builder
clearLastUpdatedTimestamp()
Timestamp when webhook was last updatedWebhooks.Webhook.Builder
clearName()
Name of the webhookWebhooks.Webhook.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Webhooks.Webhook.Builder
clearStatus()
Current status of the webhookWebhooks.Webhook.Builder
clearUrl()
URL to send webhook events toWebhooks.Webhook.Builder
clearWebhookId()
Unique identifier for the webhookWebhooks.Webhook.Builder
clone()
long
getCreationTimestamp()
Timestamp when webhook was createdWebhooks.Webhook
getDefaultInstanceForType()
java.lang.String
getDescription()
Optional description for the webhookcom.google.protobuf.ByteString
getDescriptionBytes()
Optional description for the webhookstatic com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Webhooks.WebhookEvent
getEvents(int index)
List of events this webhook is subscribed toWebhooks.WebhookEvent.Builder
getEventsBuilder(int index)
List of events this webhook is subscribed tojava.util.List<Webhooks.WebhookEvent.Builder>
getEventsBuilderList()
List of events this webhook is subscribed toint
getEventsCount()
List of events this webhook is subscribed tojava.util.List<Webhooks.WebhookEvent>
getEventsList()
List of events this webhook is subscribed toWebhooks.WebhookEventOrBuilder
getEventsOrBuilder(int index)
List of events this webhook is subscribed tojava.util.List<? extends Webhooks.WebhookEventOrBuilder>
getEventsOrBuilderList()
List of events this webhook is subscribed tolong
getLastUpdatedTimestamp()
Timestamp when webhook was last updatedjava.lang.String
getName()
Name of the webhookcom.google.protobuf.ByteString
getNameBytes()
Name of the webhookWebhooks.WebhookStatus
getStatus()
Current status of the webhookjava.lang.String
getUrl()
URL to send webhook events tocom.google.protobuf.ByteString
getUrlBytes()
URL to send webhook events tojava.lang.String
getWebhookId()
Unique identifier for the webhookcom.google.protobuf.ByteString
getWebhookIdBytes()
Unique identifier for the webhookboolean
hasCreationTimestamp()
Timestamp when webhook was createdboolean
hasDescription()
Optional description for the webhookboolean
hasLastUpdatedTimestamp()
Timestamp when webhook was last updatedboolean
hasName()
Name of the webhookboolean
hasStatus()
Current status of the webhookboolean
hasUrl()
URL to send webhook events toboolean
hasWebhookId()
Unique identifier for the webhookprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Webhooks.Webhook.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Webhooks.Webhook.Builder
mergeFrom(com.google.protobuf.Message other)
Webhooks.Webhook.Builder
mergeFrom(Webhooks.Webhook other)
Webhooks.Webhook.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Webhooks.Webhook.Builder
removeEvents(int index)
List of events this webhook is subscribed toWebhooks.Webhook.Builder
setCreationTimestamp(long value)
Timestamp when webhook was createdWebhooks.Webhook.Builder
setDescription(java.lang.String value)
Optional description for the webhookWebhooks.Webhook.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional description for the webhookWebhooks.Webhook.Builder
setEvents(int index, Webhooks.WebhookEvent value)
List of events this webhook is subscribed toWebhooks.Webhook.Builder
setEvents(int index, Webhooks.WebhookEvent.Builder builderForValue)
List of events this webhook is subscribed toWebhooks.Webhook.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Webhooks.Webhook.Builder
setLastUpdatedTimestamp(long value)
Timestamp when webhook was last updatedWebhooks.Webhook.Builder
setName(java.lang.String value)
Name of the webhookWebhooks.Webhook.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of the webhookWebhooks.Webhook.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Webhooks.Webhook.Builder
setStatus(Webhooks.WebhookStatus value)
Current status of the webhookWebhooks.Webhook.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Webhooks.Webhook.Builder
setUrl(java.lang.String value)
URL to send webhook events toWebhooks.Webhook.Builder
setUrlBytes(com.google.protobuf.ByteString value)
URL to send webhook events toWebhooks.Webhook.Builder
setWebhookId(java.lang.String value)
Unique identifier for the webhookWebhooks.Webhook.Builder
setWebhookIdBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
clear
public Webhooks.Webhook.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.Webhook.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.Webhook.Builder>
-
getDefaultInstanceForType
public Webhooks.Webhook getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Webhooks.Webhook build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Webhooks.Webhook buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Webhooks.Webhook.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.Webhook.Builder>
-
setField
public Webhooks.Webhook.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.Webhook.Builder>
-
clearField
public Webhooks.Webhook.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.Webhook.Builder>
-
clearOneof
public Webhooks.Webhook.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.Webhook.Builder>
-
setRepeatedField
public Webhooks.Webhook.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.Webhook.Builder>
-
addRepeatedField
public Webhooks.Webhook.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.Webhook.Builder>
-
mergeFrom
public Webhooks.Webhook.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.Webhook.Builder>
-
mergeFrom
public Webhooks.Webhook.Builder mergeFrom(Webhooks.Webhook other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.Webhook.Builder>
- Throws:
java.io.IOException
-
hasWebhookId
public boolean hasWebhookId()
Unique identifier for the webhook
optional string webhook_id = 1;
- Specified by:
hasWebhookId
in 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:
getWebhookId
in interfaceWebhooks.WebhookOrBuilder
- Returns:
- The webhookId.
-
getWebhookIdBytes
public com.google.protobuf.ByteString getWebhookIdBytes()
Unique identifier for the webhook
optional string webhook_id = 1;
- Specified by:
getWebhookIdBytes
in 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:
hasName
in 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:
getName
in interfaceWebhooks.WebhookOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the webhook
optional string name = 2;
- Specified by:
getNameBytes
in 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:
hasDescription
in 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:
getDescription
in interfaceWebhooks.WebhookOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional description for the webhook
optional string description = 3;
- Specified by:
getDescriptionBytes
in 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:
hasUrl
in 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:
getUrl
in interfaceWebhooks.WebhookOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()
URL to send webhook events to
optional string url = 4;
- Specified by:
getUrlBytes
in 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:
getEventsList
in interfaceWebhooks.WebhookOrBuilder
-
getEventsCount
public int getEventsCount()
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
- Specified by:
getEventsCount
in interfaceWebhooks.WebhookOrBuilder
-
getEvents
public Webhooks.WebhookEvent getEvents(int index)
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
- Specified by:
getEvents
in 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:
getEventsOrBuilder
in 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:
getEventsOrBuilderList
in 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:
hasStatus
in 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:
getStatus
in 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:
hasCreationTimestamp
in 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:
getCreationTimestamp
in 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:
hasLastUpdatedTimestamp
in 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:
getLastUpdatedTimestamp
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Webhooks.Webhook.Builder>
-
mergeUnknownFields
public final Webhooks.Webhook.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.Webhook.Builder>
-
-