public interface StorageCredentialOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsConfig(String key)
public abstract 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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getConfig() (deprecated)
public abstract Map<String,String> getConfig()
Use #getConfigMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getConfigCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getConfigMap()
public abstract 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;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getConfigOrDefault(String key, String defaultValue)
public abstract 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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getConfigOrThrow(String key)
public abstract 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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getPrefix()
public abstract String getPrefix()
Indicates a storage location prefix where the credential is relevant.
string prefix = 1;
Returns | |
---|---|
Type | Description |
String |
The prefix. |
getPrefixBytes()
public abstract ByteString getPrefixBytes()
Indicates a storage location prefix where the credential is relevant.
string prefix = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for prefix. |