Package org.mlflow.api.proto
Interface Webhooks.WebhookOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Webhooks.Webhook,Webhooks.Webhook.Builder
- Enclosing class:
- Webhooks
public static interface Webhooks.WebhookOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongTimestamp when webhook was createdOptional description for the webhookcom.google.protobuf.ByteStringOptional description for the webhookgetEvents(int index) List 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 webhookMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasWebhookId
boolean hasWebhookId()Unique identifier for the webhook
optional string webhook_id = 1;- Returns:
- Whether the webhookId field is set.
-
getWebhookId
String getWebhookId()Unique identifier for the webhook
optional string webhook_id = 1;- Returns:
- The webhookId.
-
getWebhookIdBytes
com.google.protobuf.ByteString getWebhookIdBytes()Unique identifier for the webhook
optional string webhook_id = 1;- Returns:
- The bytes for webhookId.
-
hasName
boolean hasName()Name of the webhook
optional string name = 2;- Returns:
- Whether the name field is set.
-
getName
String getName()Name of the webhook
optional string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the webhook
optional string name = 2;- Returns:
- The bytes for name.
-
hasDescription
boolean hasDescription()Optional description for the webhook
optional string description = 3;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()Optional description for the webhook
optional string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional description for the webhook
optional string description = 3;- Returns:
- The bytes for description.
-
hasUrl
boolean hasUrl()URL to send webhook events to
optional string url = 4;- Returns:
- Whether the url field is set.
-
getUrl
String getUrl()URL to send webhook events to
optional string url = 4;- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()URL to send webhook events to
optional string url = 4;- Returns:
- The bytes for url.
-
getEventsList
List<Webhooks.WebhookEvent> getEventsList()List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
getEvents
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
getEventsCount
int getEventsCount()List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5; -
getEventsOrBuilderList
List<? extends Webhooks.WebhookEventOrBuilder> getEventsOrBuilderList()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; -
hasStatus
boolean hasStatus()Current status of the webhook
optional .mlflow.WebhookStatus status = 6;- Returns:
- Whether the status field is set.
-
getStatus
Webhooks.WebhookStatus getStatus()Current status of the webhook
optional .mlflow.WebhookStatus status = 6;- Returns:
- The status.
-
hasCreationTimestamp
boolean hasCreationTimestamp()Timestamp when webhook was created
optional int64 creation_timestamp = 7;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
long getCreationTimestamp()Timestamp when webhook was created
optional int64 creation_timestamp = 7;- Returns:
- The creationTimestamp.
-
hasLastUpdatedTimestamp
boolean hasLastUpdatedTimestamp()Timestamp when webhook was last updated
optional int64 last_updated_timestamp = 8;- Returns:
- Whether the lastUpdatedTimestamp field is set.
-
getLastUpdatedTimestamp
long getLastUpdatedTimestamp()Timestamp when webhook was last updated
optional int64 last_updated_timestamp = 8;- Returns:
- The lastUpdatedTimestamp.
-