Class Webhooks.TestWebhook.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • clear

        public Webhooks.TestWebhook.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • getDefaultInstanceForType

        public Webhooks.TestWebhook getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Webhooks.TestWebhook build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Webhooks.TestWebhook buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Webhooks.TestWebhook.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • setField

        public Webhooks.TestWebhook.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • clearField

        public Webhooks.TestWebhook.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • clearOneof

        public Webhooks.TestWebhook.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • setRepeatedField

        public Webhooks.TestWebhook.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • addRepeatedField

        public Webhooks.TestWebhook.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • mergeFrom

        public Webhooks.TestWebhook.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Webhooks.TestWebhook.Builder>
        Throws:
        java.io.IOException
      • hasWebhookId

        public boolean hasWebhookId()
         ID of the webhook to test
         
        optional string webhook_id = 1 [(.mlflow.validate_required) = true];
        Specified by:
        hasWebhookId in interface Webhooks.TestWebhookOrBuilder
        Returns:
        Whether the webhookId field is set.
      • getWebhookId

        public java.lang.String getWebhookId()
         ID of the webhook to test
         
        optional string webhook_id = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getWebhookId in interface Webhooks.TestWebhookOrBuilder
        Returns:
        The webhookId.
      • getWebhookIdBytes

        public com.google.protobuf.ByteString getWebhookIdBytes()
         ID of the webhook to test
         
        optional string webhook_id = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getWebhookIdBytes in interface Webhooks.TestWebhookOrBuilder
        Returns:
        The bytes for webhookId.
      • setWebhookId

        public Webhooks.TestWebhook.Builder setWebhookId​(java.lang.String value)
         ID of the webhook to test
         
        optional string webhook_id = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The webhookId to set.
        Returns:
        This builder for chaining.
      • clearWebhookId

        public Webhooks.TestWebhook.Builder clearWebhookId()
         ID of the webhook to test
         
        optional string webhook_id = 1 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setWebhookIdBytes

        public Webhooks.TestWebhook.Builder setWebhookIdBytes​(com.google.protobuf.ByteString value)
         ID of the webhook to test
         
        optional string webhook_id = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for webhookId to set.
        Returns:
        This builder for chaining.
      • hasEvent

        public 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;
        Specified by:
        hasEvent in interface Webhooks.TestWebhookOrBuilder
        Returns:
        Whether the event field is set.
      • getEvent

        public 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;
        Specified by:
        getEvent in interface Webhooks.TestWebhookOrBuilder
        Returns:
        The event.
      • setEvent

        public Webhooks.TestWebhook.Builder setEvent​(Webhooks.WebhookEvent value)
         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;
      • mergeEvent

        public Webhooks.TestWebhook.Builder mergeEvent​(Webhooks.WebhookEvent value)
         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;
      • clearEvent

        public Webhooks.TestWebhook.Builder clearEvent()
         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;
      • getEventBuilder

        public Webhooks.WebhookEvent.Builder getEventBuilder()
         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;
      • setUnknownFields

        public final Webhooks.TestWebhook.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>
      • mergeUnknownFields

        public final Webhooks.TestWebhook.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Webhooks.TestWebhook.Builder>