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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCreationTimestamp()
Timestamp when webhook was createdjava.lang.String
getDescription()
Optional description for the webhookcom.google.protobuf.ByteString
getDescriptionBytes()
Optional description for the webhookWebhooks.WebhookEvent
getEvents(int index)
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 webhook-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasWebhookId
boolean hasWebhookId()
Unique identifier for the webhook
optional string webhook_id = 1;
- Returns:
- Whether the webhookId field is set.
-
getWebhookId
java.lang.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
java.lang.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
java.lang.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
java.lang.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
java.util.List<Webhooks.WebhookEvent> getEventsList()
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
getEvents
Webhooks.WebhookEvent getEvents(int index)
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
java.util.List<? extends Webhooks.WebhookEventOrBuilder> getEventsOrBuilderList()
List of events this webhook is subscribed to
repeated .mlflow.WebhookEvent events = 5;
-
getEventsOrBuilder
Webhooks.WebhookEventOrBuilder getEventsOrBuilder(int index)
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.
-
-