Class Service.GatewaySecretInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.Service.GatewaySecretInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Service.GatewaySecretInfoOrBuilder
Enclosing class:
Service

public static final class Service.GatewaySecretInfo extends com.google.protobuf.GeneratedMessageV3 implements Service.GatewaySecretInfoOrBuilder
 Secret metadata entity (does not include the decrypted secret value)
 
Protobuf type mlflow.GatewaySecretInfo
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasSecretId

      public boolean hasSecretId()
       Unique identifier for the secret (UUID)
       
      optional string secret_id = 1;
      Specified by:
      hasSecretId in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      Whether the secretId field is set.
    • getSecretId

      public String getSecretId()
       Unique identifier for the secret (UUID)
       
      optional string secret_id = 1;
      Specified by:
      getSecretId in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The secretId.
    • getSecretIdBytes

      public com.google.protobuf.ByteString getSecretIdBytes()
       Unique identifier for the secret (UUID)
       
      optional string secret_id = 1;
      Specified by:
      getSecretIdBytes in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The bytes for secretId.
    • hasSecretName

      public boolean hasSecretName()
       User-friendly name for the secret (must be unique)
       
      optional string secret_name = 2;
      Specified by:
      hasSecretName in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      Whether the secretName field is set.
    • getSecretName

      public String getSecretName()
       User-friendly name for the secret (must be unique)
       
      optional string secret_name = 2;
      Specified by:
      getSecretName in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The secretName.
    • getSecretNameBytes

      public com.google.protobuf.ByteString getSecretNameBytes()
       User-friendly name for the secret (must be unique)
       
      optional string secret_name = 2;
      Specified by:
      getSecretNameBytes in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The bytes for secretName.
    • getMaskedValuesCount

      public int getMaskedValuesCount()
      Description copied from interface: Service.GatewaySecretInfoOrBuilder
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
      Specified by:
      getMaskedValuesCount in interface Service.GatewaySecretInfoOrBuilder
    • containsMaskedValues

      public boolean containsMaskedValues(String key)
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
      Specified by:
      containsMaskedValues in interface Service.GatewaySecretInfoOrBuilder
    • getMaskedValues

      @Deprecated public Map<String,String> getMaskedValues()
      Deprecated.
      Specified by:
      getMaskedValues in interface Service.GatewaySecretInfoOrBuilder
    • getMaskedValuesMap

      public Map<String,String> getMaskedValuesMap()
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
      Specified by:
      getMaskedValuesMap in interface Service.GatewaySecretInfoOrBuilder
    • getMaskedValuesOrDefault

      public String getMaskedValuesOrDefault(String key, String defaultValue)
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
      Specified by:
      getMaskedValuesOrDefault in interface Service.GatewaySecretInfoOrBuilder
    • getMaskedValuesOrThrow

      public String getMaskedValuesOrThrow(String key)
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
      Specified by:
      getMaskedValuesOrThrow in interface Service.GatewaySecretInfoOrBuilder
    • hasCreatedAt

      public boolean hasCreatedAt()
       Timestamp (milliseconds since epoch) when the secret was created
       
      optional int64 created_at = 4;
      Specified by:
      hasCreatedAt in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public long getCreatedAt()
       Timestamp (milliseconds since epoch) when the secret was created
       
      optional int64 created_at = 4;
      Specified by:
      getCreatedAt in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The createdAt.
    • hasLastUpdatedAt

      public boolean hasLastUpdatedAt()
       Timestamp (milliseconds since epoch) when the secret was last updated
       
      optional int64 last_updated_at = 5;
      Specified by:
      hasLastUpdatedAt in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      Whether the lastUpdatedAt field is set.
    • getLastUpdatedAt

      public long getLastUpdatedAt()
       Timestamp (milliseconds since epoch) when the secret was last updated
       
      optional int64 last_updated_at = 5;
      Specified by:
      getLastUpdatedAt in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The lastUpdatedAt.
    • hasProvider

      public boolean hasProvider()
       LLM provider identifier (e.g., "openai", "anthropic", "cohere")
       
      optional string provider = 6;
      Specified by:
      hasProvider in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      Whether the provider field is set.
    • getProvider

      public String getProvider()
       LLM provider identifier (e.g., "openai", "anthropic", "cohere")
       
      optional string provider = 6;
      Specified by:
      getProvider in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The provider.
    • getProviderBytes

      public com.google.protobuf.ByteString getProviderBytes()
       LLM provider identifier (e.g., "openai", "anthropic", "cohere")
       
      optional string provider = 6;
      Specified by:
      getProviderBytes in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The bytes for provider.
    • hasCreatedBy

      public boolean hasCreatedBy()
       User ID who created the secret
       
      optional string created_by = 7;
      Specified by:
      hasCreatedBy in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public String getCreatedBy()
       User ID who created the secret
       
      optional string created_by = 7;
      Specified by:
      getCreatedBy in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The createdBy.
    • getCreatedByBytes

      public com.google.protobuf.ByteString getCreatedByBytes()
       User ID who created the secret
       
      optional string created_by = 7;
      Specified by:
      getCreatedByBytes in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The bytes for createdBy.
    • hasLastUpdatedBy

      public boolean hasLastUpdatedBy()
       User ID who last updated the secret
       
      optional string last_updated_by = 8;
      Specified by:
      hasLastUpdatedBy in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      Whether the lastUpdatedBy field is set.
    • getLastUpdatedBy

      public String getLastUpdatedBy()
       User ID who last updated the secret
       
      optional string last_updated_by = 8;
      Specified by:
      getLastUpdatedBy in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The lastUpdatedBy.
    • getLastUpdatedByBytes

      public com.google.protobuf.ByteString getLastUpdatedByBytes()
       User ID who last updated the secret
       
      optional string last_updated_by = 8;
      Specified by:
      getLastUpdatedByBytes in interface Service.GatewaySecretInfoOrBuilder
      Returns:
      The bytes for lastUpdatedBy.
    • getAuthConfigCount

      public int getAuthConfigCount()
      Description copied from interface: Service.GatewaySecretInfoOrBuilder
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;
      Specified by:
      getAuthConfigCount in interface Service.GatewaySecretInfoOrBuilder
    • containsAuthConfig

      public boolean containsAuthConfig(String key)
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;
      Specified by:
      containsAuthConfig in interface Service.GatewaySecretInfoOrBuilder
    • getAuthConfig

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

      public Map<String,String> getAuthConfigMap()
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;
      Specified by:
      getAuthConfigMap in interface Service.GatewaySecretInfoOrBuilder
    • getAuthConfigOrDefault

      public String getAuthConfigOrDefault(String key, String defaultValue)
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;
      Specified by:
      getAuthConfigOrDefault in interface Service.GatewaySecretInfoOrBuilder
    • getAuthConfigOrThrow

      public String getAuthConfigOrThrow(String key)
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;
      Specified by:
      getAuthConfigOrThrow in interface Service.GatewaySecretInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Service.GatewaySecretInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Service.GatewaySecretInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Service.GatewaySecretInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Service.GatewaySecretInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Service.GatewaySecretInfo.Builder newBuilder()
    • newBuilder

      public static Service.GatewaySecretInfo.Builder newBuilder(Service.GatewaySecretInfo prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Service.GatewaySecretInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Service.GatewaySecretInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Service.GatewaySecretInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<Service.GatewaySecretInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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