Class Webhooks.CreateWebhook.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.CreateWebhook.Builder>
      • clear

        public Webhooks.CreateWebhook.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.CreateWebhook.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.CreateWebhook.Builder>
      • getDefaultInstanceForType

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

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

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

        public Webhooks.CreateWebhook.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.CreateWebhook.Builder>
      • setField

        public Webhooks.CreateWebhook.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.CreateWebhook.Builder>
      • clearField

        public Webhooks.CreateWebhook.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.CreateWebhook.Builder>
      • clearOneof

        public Webhooks.CreateWebhook.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.CreateWebhook.Builder>
      • setRepeatedField

        public Webhooks.CreateWebhook.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.CreateWebhook.Builder>
      • addRepeatedField

        public Webhooks.CreateWebhook.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.CreateWebhook.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.CreateWebhook.Builder>
      • mergeFrom

        public Webhooks.CreateWebhook.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.CreateWebhook.Builder>
        Throws:
        java.io.IOException
      • hasName

        public boolean hasName()
         Name of the webhook
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        hasName in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
         Name of the webhook
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getName in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of the webhook
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getNameBytes in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Webhooks.CreateWebhook.Builder setName​(java.lang.String value)
         Name of the webhook
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Webhooks.CreateWebhook.Builder clearName()
         Name of the webhook
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Webhooks.CreateWebhook.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the webhook
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasDescription

        public boolean hasDescription()
         Optional description for the webhook
         
        optional string description = 2;
        Specified by:
        hasDescription in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        Whether the description field is set.
      • getDescription

        public java.lang.String getDescription()
         Optional description for the webhook
         
        optional string description = 2;
        Specified by:
        getDescription in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Optional description for the webhook
         
        optional string description = 2;
        Specified by:
        getDescriptionBytes in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Webhooks.CreateWebhook.Builder setDescription​(java.lang.String value)
         Optional description for the webhook
         
        optional string description = 2;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Webhooks.CreateWebhook.Builder clearDescription()
         Optional description for the webhook
         
        optional string description = 2;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Webhooks.CreateWebhook.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Optional description for the webhook
         
        optional string description = 2;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasUrl

        public boolean hasUrl()
         URL to send webhook events to
         
        optional string url = 3 [(.mlflow.validate_required) = true];
        Specified by:
        hasUrl in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        Whether the url field is set.
      • getUrl

        public java.lang.String getUrl()
         URL to send webhook events to
         
        optional string url = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getUrl in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        The url.
      • getUrlBytes

        public com.google.protobuf.ByteString getUrlBytes()
         URL to send webhook events to
         
        optional string url = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getUrlBytes in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        The bytes for url.
      • setUrl

        public Webhooks.CreateWebhook.Builder setUrl​(java.lang.String value)
         URL to send webhook events to
         
        optional string url = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The url to set.
        Returns:
        This builder for chaining.
      • clearUrl

        public Webhooks.CreateWebhook.Builder clearUrl()
         URL to send webhook events to
         
        optional string url = 3 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setUrlBytes

        public Webhooks.CreateWebhook.Builder setUrlBytes​(com.google.protobuf.ByteString value)
         URL to send webhook events to
         
        optional string url = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for url to set.
        Returns:
        This builder for chaining.
      • getEventsCount

        public int getEventsCount()
         List of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
        Specified by:
        getEventsCount in interface Webhooks.CreateWebhookOrBuilder
      • clearEvents

        public Webhooks.CreateWebhook.Builder clearEvents()
         List of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
      • removeEvents

        public Webhooks.CreateWebhook.Builder removeEvents​(int index)
         List of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
      • getEventsBuilder

        public Webhooks.WebhookEvent.Builder getEventsBuilder​(int index)
         List of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
      • addEventsBuilder

        public Webhooks.WebhookEvent.Builder addEventsBuilder()
         List of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
      • addEventsBuilder

        public Webhooks.WebhookEvent.Builder addEventsBuilder​(int index)
         List of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
      • getEventsBuilderList

        public java.util.List<Webhooks.WebhookEvent.Builder> getEventsBuilderList()
         List of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 4 [(.mlflow.validate_required) = true];
      • hasSecret

        public boolean hasSecret()
         Secret key for HMAC signature verification
         
        optional string secret = 5;
        Specified by:
        hasSecret in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        Whether the secret field is set.
      • getSecret

        public java.lang.String getSecret()
         Secret key for HMAC signature verification
         
        optional string secret = 5;
        Specified by:
        getSecret in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        The secret.
      • getSecretBytes

        public com.google.protobuf.ByteString getSecretBytes()
         Secret key for HMAC signature verification
         
        optional string secret = 5;
        Specified by:
        getSecretBytes in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        The bytes for secret.
      • setSecret

        public Webhooks.CreateWebhook.Builder setSecret​(java.lang.String value)
         Secret key for HMAC signature verification
         
        optional string secret = 5;
        Parameters:
        value - The secret to set.
        Returns:
        This builder for chaining.
      • clearSecret

        public Webhooks.CreateWebhook.Builder clearSecret()
         Secret key for HMAC signature verification
         
        optional string secret = 5;
        Returns:
        This builder for chaining.
      • setSecretBytes

        public Webhooks.CreateWebhook.Builder setSecretBytes​(com.google.protobuf.ByteString value)
         Secret key for HMAC signature verification
         
        optional string secret = 5;
        Parameters:
        value - The bytes for secret to set.
        Returns:
        This builder for chaining.
      • hasStatus

        public boolean hasStatus()
         Initial status (defaults to ACTIVE if not specified)
         
        optional .mlflow.WebhookStatus status = 6;
        Specified by:
        hasStatus in interface Webhooks.CreateWebhookOrBuilder
        Returns:
        Whether the status field is set.
      • setStatus

        public Webhooks.CreateWebhook.Builder setStatus​(Webhooks.WebhookStatus value)
         Initial status (defaults to ACTIVE if not specified)
         
        optional .mlflow.WebhookStatus status = 6;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Webhooks.CreateWebhook.Builder clearStatus()
         Initial status (defaults to ACTIVE if not specified)
         
        optional .mlflow.WebhookStatus status = 6;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Webhooks.CreateWebhook.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.CreateWebhook.Builder>
      • mergeUnknownFields

        public final Webhooks.CreateWebhook.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.CreateWebhook.Builder>