Interface StorageCredentialOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StorageCredential, StorageCredential.Builder

@Generated public interface StorageCredentialOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The credentials for the storage location.
    Deprecated.
    int
    The credentials for the storage location.
    The credentials for the storage location.
    getConfigOrDefault(String key, String defaultValue)
    The credentials for the storage location.
    The credentials for the storage location.
    Indicates a storage location prefix where the credential is relevant.
    com.google.protobuf.ByteString
    Indicates a storage location prefix where the credential is relevant.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPrefix

      String getPrefix()
       Indicates a storage location prefix where the credential is relevant.
       
      string prefix = 1;
      Returns:
      The prefix.
    • getPrefixBytes

      com.google.protobuf.ByteString getPrefixBytes()
       Indicates a storage location prefix where the credential is relevant.
       
      string prefix = 1;
      Returns:
      The bytes for prefix.
    • getConfigCount

      int getConfigCount()
       The credentials for the storage location. The keys that are populated are:
       - `gcs.oauth2.token`
       - `gcs.oauth2.token_expires_at`
       - `expiration-time` (to support federation from Polaris).
       
      map<string, string> config = 2;
    • containsConfig

      boolean containsConfig(String key)
       The credentials for the storage location. The keys that are populated are:
       - `gcs.oauth2.token`
       - `gcs.oauth2.token_expires_at`
       - `expiration-time` (to support federation from Polaris).
       
      map<string, string> config = 2;
    • getConfig

      Deprecated.
      Use getConfigMap() instead.
    • getConfigMap

      Map<String,String> getConfigMap()
       The credentials for the storage location. The keys that are populated are:
       - `gcs.oauth2.token`
       - `gcs.oauth2.token_expires_at`
       - `expiration-time` (to support federation from Polaris).
       
      map<string, string> config = 2;
    • getConfigOrDefault

      String getConfigOrDefault(String key, String defaultValue)
       The credentials for the storage location. The keys that are populated are:
       - `gcs.oauth2.token`
       - `gcs.oauth2.token_expires_at`
       - `expiration-time` (to support federation from Polaris).
       
      map<string, string> config = 2;
    • getConfigOrThrow

      String getConfigOrThrow(String key)
       The credentials for the storage location. The keys that are populated are:
       - `gcs.oauth2.token`
       - `gcs.oauth2.token_expires_at`
       - `expiration-time` (to support federation from Polaris).
       
      map<string, string> config = 2;