Class Service.UpdateGatewaySecret.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder>
org.mlflow.api.proto.Service.UpdateGatewaySecret.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Service.UpdateGatewaySecretOrBuilder
Enclosing class:
Service.UpdateGatewaySecret

public static final class Service.UpdateGatewaySecret.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder> implements Service.UpdateGatewaySecretOrBuilder
Protobuf type mlflow.UpdateGatewaySecret
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.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<Service.UpdateGatewaySecret.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<Service.UpdateGatewaySecret.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Service.UpdateGatewaySecret buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Service.UpdateGatewaySecret.Builder>
    • setField

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

      public Service.UpdateGatewaySecret.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<Service.UpdateGatewaySecret.Builder>
    • clearOneof

      public Service.UpdateGatewaySecret.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<Service.UpdateGatewaySecret.Builder>
    • setRepeatedField

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

      public Service.UpdateGatewaySecret.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder>
    • mergeFrom

      public Service.UpdateGatewaySecret.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.UpdateGatewaySecret.Builder>
    • mergeFrom

    • isInitialized

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

      public Service.UpdateGatewaySecret.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<Service.UpdateGatewaySecret.Builder>
      Throws:
      IOException
    • hasSecretId

      public boolean hasSecretId()
       ID of the secret to update
       
      optional string secret_id = 1;
      Specified by:
      hasSecretId in interface Service.UpdateGatewaySecretOrBuilder
      Returns:
      Whether the secretId field is set.
    • getSecretId

      public String getSecretId()
       ID of the secret to update
       
      optional string secret_id = 1;
      Specified by:
      getSecretId in interface Service.UpdateGatewaySecretOrBuilder
      Returns:
      The secretId.
    • getSecretIdBytes

      public com.google.protobuf.ByteString getSecretIdBytes()
       ID of the secret to update
       
      optional string secret_id = 1;
      Specified by:
      getSecretIdBytes in interface Service.UpdateGatewaySecretOrBuilder
      Returns:
      The bytes for secretId.
    • setSecretId

      public Service.UpdateGatewaySecret.Builder setSecretId(String value)
       ID of the secret to update
       
      optional string secret_id = 1;
      Parameters:
      value - The secretId to set.
      Returns:
      This builder for chaining.
    • clearSecretId

      public Service.UpdateGatewaySecret.Builder clearSecretId()
       ID of the secret to update
       
      optional string secret_id = 1;
      Returns:
      This builder for chaining.
    • setSecretIdBytes

      public Service.UpdateGatewaySecret.Builder setSecretIdBytes(com.google.protobuf.ByteString value)
       ID of the secret to update
       
      optional string secret_id = 1;
      Parameters:
      value - The bytes for secretId to set.
      Returns:
      This builder for chaining.
    • getSecretValueCount

      public int getSecretValueCount()
      Description copied from interface: Service.UpdateGatewaySecretOrBuilder
       Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
      Specified by:
      getSecretValueCount in interface Service.UpdateGatewaySecretOrBuilder
    • containsSecretValue

      public boolean containsSecretValue(String key)
       Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
      Specified by:
      containsSecretValue in interface Service.UpdateGatewaySecretOrBuilder
    • getSecretValue

      @Deprecated public Map<String,String> getSecretValue()
      Deprecated.
      Use getSecretValueMap() instead.
      Specified by:
      getSecretValue in interface Service.UpdateGatewaySecretOrBuilder
    • getSecretValueMap

      public Map<String,String> getSecretValueMap()
       Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
      Specified by:
      getSecretValueMap in interface Service.UpdateGatewaySecretOrBuilder
    • getSecretValueOrDefault

      public String getSecretValueOrDefault(String key, String defaultValue)
       Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
      Specified by:
      getSecretValueOrDefault in interface Service.UpdateGatewaySecretOrBuilder
    • getSecretValueOrThrow

      public String getSecretValueOrThrow(String key)
       Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
      Specified by:
      getSecretValueOrThrow in interface Service.UpdateGatewaySecretOrBuilder
    • clearSecretValue

      public Service.UpdateGatewaySecret.Builder clearSecretValue()
    • removeSecretValue

      public Service.UpdateGatewaySecret.Builder removeSecretValue(String key)
       Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
    • getMutableSecretValue

      @Deprecated public Map<String,String> getMutableSecretValue()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSecretValue

      public Service.UpdateGatewaySecret.Builder putSecretValue(String key, String value)
       Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
    • putAllSecretValue

      public Service.UpdateGatewaySecret.Builder putAllSecretValue(Map<String,String> values)
       Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
    • getAuthConfigCount

      public int getAuthConfigCount()
      Description copied from interface: Service.UpdateGatewaySecretOrBuilder
       Optional new auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 4;
      Specified by:
      getAuthConfigCount in interface Service.UpdateGatewaySecretOrBuilder
    • containsAuthConfig

      public boolean containsAuthConfig(String key)
       Optional new auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 4;
      Specified by:
      containsAuthConfig in interface Service.UpdateGatewaySecretOrBuilder
    • getAuthConfig

      @Deprecated public Map<String,String> getAuthConfig()
      Deprecated.
      Use getAuthConfigMap() instead.
      Specified by:
      getAuthConfig in interface Service.UpdateGatewaySecretOrBuilder
    • getAuthConfigMap

      public Map<String,String> getAuthConfigMap()
       Optional new auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 4;
      Specified by:
      getAuthConfigMap in interface Service.UpdateGatewaySecretOrBuilder
    • getAuthConfigOrDefault

      public String getAuthConfigOrDefault(String key, String defaultValue)
       Optional new auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 4;
      Specified by:
      getAuthConfigOrDefault in interface Service.UpdateGatewaySecretOrBuilder
    • getAuthConfigOrThrow

      public String getAuthConfigOrThrow(String key)
       Optional new auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 4;
      Specified by:
      getAuthConfigOrThrow in interface Service.UpdateGatewaySecretOrBuilder
    • clearAuthConfig

      public Service.UpdateGatewaySecret.Builder clearAuthConfig()
    • removeAuthConfig

      public Service.UpdateGatewaySecret.Builder removeAuthConfig(String key)
       Optional new auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 4;
    • getMutableAuthConfig

      @Deprecated public Map<String,String> getMutableAuthConfig()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAuthConfig

      public Service.UpdateGatewaySecret.Builder putAuthConfig(String key, String value)
       Optional new auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 4;
    • putAllAuthConfig

      public Service.UpdateGatewaySecret.Builder putAllAuthConfig(Map<String,String> values)
       Optional new auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 4;
    • hasUpdatedBy

      public boolean hasUpdatedBy()
       Username of the updater
       
      optional string updated_by = 5;
      Specified by:
      hasUpdatedBy in interface Service.UpdateGatewaySecretOrBuilder
      Returns:
      Whether the updatedBy field is set.
    • getUpdatedBy

      public String getUpdatedBy()
       Username of the updater
       
      optional string updated_by = 5;
      Specified by:
      getUpdatedBy in interface Service.UpdateGatewaySecretOrBuilder
      Returns:
      The updatedBy.
    • getUpdatedByBytes

      public com.google.protobuf.ByteString getUpdatedByBytes()
       Username of the updater
       
      optional string updated_by = 5;
      Specified by:
      getUpdatedByBytes in interface Service.UpdateGatewaySecretOrBuilder
      Returns:
      The bytes for updatedBy.
    • setUpdatedBy

      public Service.UpdateGatewaySecret.Builder setUpdatedBy(String value)
       Username of the updater
       
      optional string updated_by = 5;
      Parameters:
      value - The updatedBy to set.
      Returns:
      This builder for chaining.
    • clearUpdatedBy

      public Service.UpdateGatewaySecret.Builder clearUpdatedBy()
       Username of the updater
       
      optional string updated_by = 5;
      Returns:
      This builder for chaining.
    • setUpdatedByBytes

      public Service.UpdateGatewaySecret.Builder setUpdatedByBytes(com.google.protobuf.ByteString value)
       Username of the updater
       
      optional string updated_by = 5;
      Parameters:
      value - The bytes for updatedBy to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Service.UpdateGatewaySecret.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<Service.UpdateGatewaySecret.Builder>
    • mergeUnknownFields

      public final Service.UpdateGatewaySecret.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<Service.UpdateGatewaySecret.Builder>