Package org.mlflow.api.proto
Interface Webhooks.TestWebhookOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Webhooks.TestWebhook,Webhooks.TestWebhook.Builder
- Enclosing class:
- Webhooks
public static interface Webhooks.TestWebhookOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Webhooks.WebhookEventgetEvent()Optional event type to test.Webhooks.WebhookEventOrBuildergetEventOrBuilder()Optional event type to test.java.lang.StringgetWebhookId()ID of the webhook to testcom.google.protobuf.ByteStringgetWebhookIdBytes()ID of the webhook to testbooleanhasEvent()Optional event type to test.booleanhasWebhookId()ID of the webhook to test-
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()
ID of the webhook to test
optional string webhook_id = 1 [(.mlflow.validate_required) = true];- Returns:
- Whether the webhookId field is set.
-
getWebhookId
java.lang.String getWebhookId()
ID of the webhook to test
optional string webhook_id = 1 [(.mlflow.validate_required) = true];- Returns:
- The webhookId.
-
getWebhookIdBytes
com.google.protobuf.ByteString getWebhookIdBytes()
ID of the webhook to test
optional string webhook_id = 1 [(.mlflow.validate_required) = true];- Returns:
- The bytes for webhookId.
-
hasEvent
boolean hasEvent()
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2;- Returns:
- Whether the event field is set.
-
getEvent
Webhooks.WebhookEvent getEvent()
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2;- Returns:
- The event.
-
getEventOrBuilder
Webhooks.WebhookEventOrBuilder getEventOrBuilder()
Optional event type to test. If not specified, defaults to the first event type in the webhook's subscribed events.
optional .mlflow.WebhookEvent event = 2;
-
-