Package org.mlflow.api.proto
Interface Webhooks.CreateWebhookOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Webhooks.CreateWebhook,Webhooks.CreateWebhook.Builder
- Enclosing class:
- Webhooks
public static interface Webhooks.CreateWebhookOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()Optional description for the webhookcom.google.protobuf.ByteStringgetDescriptionBytes()Optional description for the webhookWebhooks.WebhookEventgetEvents(int index)List of events to subscribe tointgetEventsCount()List of events to subscribe tojava.util.List<Webhooks.WebhookEvent>getEventsList()List of events to subscribe toWebhooks.WebhookEventOrBuildergetEventsOrBuilder(int index)List of events to subscribe tojava.util.List<? extends Webhooks.WebhookEventOrBuilder>getEventsOrBuilderList()List of events to subscribe tojava.lang.StringgetName()Name of the webhookcom.google.protobuf.ByteStringgetNameBytes()Name of the webhookjava.lang.StringgetSecret()Secret key for HMAC signature verificationcom.google.protobuf.ByteStringgetSecretBytes()Secret key for HMAC signature verificationWebhooks.WebhookStatusgetStatus()Initial status (defaults to ACTIVE if not specified)java.lang.StringgetUrl()URL to send webhook events tocom.google.protobuf.ByteStringgetUrlBytes()URL to send webhook events tobooleanhasDescription()Optional description for the webhookbooleanhasName()Name of the webhookbooleanhasSecret()Secret key for HMAC signature verificationbooleanhasStatus()Initial status (defaults to ACTIVE if not specified)booleanhasUrl()URL to send webhook events to-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
Name of the webhook
optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
Name of the webhook
optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the webhook
optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- The bytes for name.
-
hasDescription
boolean hasDescription()
Optional description for the webhook
optional string description = 2;- Returns:
- Whether the description field is set.
-
getDescription
java.lang.String getDescription()
Optional description for the webhook
optional string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional description for the webhook
optional string description = 2;- Returns:
- The bytes for description.
-
hasUrl
boolean hasUrl()
URL to send webhook events to
optional string url = 3 [(.mlflow.validate_required) = true];- Returns:
- Whether the url field is set.
-
getUrl
java.lang.String getUrl()
URL to send webhook events to
optional string url = 3 [(.mlflow.validate_required) = true];- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()
URL to send webhook events to
optional string url = 3 [(.mlflow.validate_required) = true];- Returns:
- The bytes for url.
-
getEventsList
java.util.List<Webhooks.WebhookEvent> getEventsList()
List of events to subscribe to
repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
-
getEvents
Webhooks.WebhookEvent getEvents(int index)
List of events to subscribe to
repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
-
getEventsCount
int getEventsCount()
List of events to subscribe to
repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
-
getEventsOrBuilderList
java.util.List<? extends Webhooks.WebhookEventOrBuilder> getEventsOrBuilderList()
List of events to subscribe to
repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
-
getEventsOrBuilder
Webhooks.WebhookEventOrBuilder getEventsOrBuilder(int index)
List of events to subscribe to
repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
-
hasSecret
boolean hasSecret()
Secret key for HMAC signature verification
optional string secret = 5;- Returns:
- Whether the secret field is set.
-
getSecret
java.lang.String getSecret()
Secret key for HMAC signature verification
optional string secret = 5;- Returns:
- The secret.
-
getSecretBytes
com.google.protobuf.ByteString getSecretBytes()
Secret key for HMAC signature verification
optional string secret = 5;- Returns:
- The bytes for secret.
-
hasStatus
boolean hasStatus()
Initial status (defaults to ACTIVE if not specified)
optional .mlflow.WebhookStatus status = 6;- Returns:
- Whether the status field is set.
-
getStatus
Webhooks.WebhookStatus getStatus()
Initial status (defaults to ACTIVE if not specified)
optional .mlflow.WebhookStatus status = 6;- Returns:
- The status.
-
-