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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean hasName()
         New name for the webhook
         
        optional string name = 2;
        Specified by:
        hasName in interface Webhooks.UpdateWebhookOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         New name for the webhook
         
        optional string name = 2;
        Specified by:
        getNameBytes in interface Webhooks.UpdateWebhookOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Webhooks.UpdateWebhook.Builder setName​(java.lang.String value)
         New name for the webhook
         
        optional string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Webhooks.UpdateWebhook.Builder clearName()
         New name for the webhook
         
        optional string name = 2;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Webhooks.UpdateWebhook.Builder setNameBytes​(com.google.protobuf.ByteString value)
         New name for the webhook
         
        optional string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasDescription

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

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

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

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

        public Webhooks.UpdateWebhook.Builder clearDescription()
         New description for the webhook
         
        optional string description = 3;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

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

        public boolean hasUrl()
         New URL for the webhook
         
        optional string url = 4;
        Specified by:
        hasUrl in interface Webhooks.UpdateWebhookOrBuilder
        Returns:
        Whether the url field is set.
      • getUrlBytes

        public com.google.protobuf.ByteString getUrlBytes()
         New URL for the webhook
         
        optional string url = 4;
        Specified by:
        getUrlBytes in interface Webhooks.UpdateWebhookOrBuilder
        Returns:
        The bytes for url.
      • setUrl

        public Webhooks.UpdateWebhook.Builder setUrl​(java.lang.String value)
         New URL for the webhook
         
        optional string url = 4;
        Parameters:
        value - The url to set.
        Returns:
        This builder for chaining.
      • setUrlBytes

        public Webhooks.UpdateWebhook.Builder setUrlBytes​(com.google.protobuf.ByteString value)
         New URL for the webhook
         
        optional string url = 4;
        Parameters:
        value - The bytes for url to set.
        Returns:
        This builder for chaining.
      • removeEvents

        public Webhooks.UpdateWebhook.Builder removeEvents​(int index)
         New list of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 5;
      • getEventsBuilder

        public Webhooks.WebhookEvent.Builder getEventsBuilder​(int index)
         New list of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 5;
      • addEventsBuilder

        public Webhooks.WebhookEvent.Builder addEventsBuilder()
         New list of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 5;
      • addEventsBuilder

        public Webhooks.WebhookEvent.Builder addEventsBuilder​(int index)
         New list of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 5;
      • getEventsBuilderList

        public java.util.List<Webhooks.WebhookEvent.Builder> getEventsBuilderList()
         New list of events to subscribe to
         
        repeated .mlflow.WebhookEvent events = 5;
      • hasSecret

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

        public java.lang.String getSecret()
         New secret key for HMAC signature
         
        optional string secret = 6;
        Specified by:
        getSecret in interface Webhooks.UpdateWebhookOrBuilder
        Returns:
        The secret.
      • getSecretBytes

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

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

        public Webhooks.UpdateWebhook.Builder clearSecret()
         New secret key for HMAC signature
         
        optional string secret = 6;
        Returns:
        This builder for chaining.
      • setSecretBytes

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

        public boolean hasStatus()
         New status for the webhook
         
        optional .mlflow.WebhookStatus status = 7;
        Specified by:
        hasStatus in interface Webhooks.UpdateWebhookOrBuilder
        Returns:
        Whether the status field is set.
      • clearStatus

        public Webhooks.UpdateWebhook.Builder clearStatus()
         New status for the webhook
         
        optional .mlflow.WebhookStatus status = 7;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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