Package com.google.cloud.biglake.v1
Class StorageCredential.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StorageCredential.Builder>
com.google.cloud.biglake.v1.StorageCredential.Builder
- All Implemented Interfaces:
StorageCredentialOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StorageCredential
public static final class StorageCredential.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StorageCredential.Builder>
implements StorageCredentialOrBuilder
The storage credential for a path in the table.Protobuf type
google.cloud.biglake.v1.StorageCredential-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Indicates a storage location prefix where the credential is relevant.booleancontainsConfig(String key) The credentials for the storage location.Deprecated.intThe credentials for the storage location.The credentials for the storage location.getConfigOrDefault(String key, String defaultValue) The credentials for the storage location.getConfigOrThrow(String key) The credentials for the storage location.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.Indicates a storage location prefix where the credential is relevant.com.google.protobuf.ByteStringIndicates a storage location prefix where the credential is relevant.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(StorageCredential other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllConfig(Map<String, String> values) The credentials for the storage location.The credentials for the storage location.removeConfig(String key) The credentials for the storage location.Indicates a storage location prefix where the credential is relevant.setPrefixBytes(com.google.protobuf.ByteString value) Indicates a storage location prefix where the credential is relevant.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<StorageCredential.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<StorageCredential.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StorageCredential.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StorageCredential.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StorageCredential.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StorageCredential.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StorageCredential.Builder>
-
mergeFrom
public StorageCredential.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StorageCredential.Builder>- Throws:
IOException
-
getPrefix
Indicates a storage location prefix where the credential is relevant.
string prefix = 1;- Specified by:
getPrefixin interfaceStorageCredentialOrBuilder- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()Indicates a storage location prefix where the credential is relevant.
string prefix = 1;- Specified by:
getPrefixBytesin interfaceStorageCredentialOrBuilder- Returns:
- The bytes for prefix.
-
setPrefix
Indicates a storage location prefix where the credential is relevant.
string prefix = 1;- Parameters:
value- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
Indicates a storage location prefix where the credential is relevant.
string prefix = 1;- Returns:
- This builder for chaining.
-
setPrefixBytes
Indicates a storage location prefix where the credential is relevant.
string prefix = 1;- Parameters:
value- The bytes for prefix to set.- Returns:
- This builder for chaining.
-
getConfigCount
public int getConfigCount()Description copied from interface:StorageCredentialOrBuilderThe 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;- Specified by:
getConfigCountin interfaceStorageCredentialOrBuilder
-
containsConfig
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;- Specified by:
containsConfigin interfaceStorageCredentialOrBuilder
-
getConfig
Deprecated.UsegetConfigMap()instead.- Specified by:
getConfigin interfaceStorageCredentialOrBuilder
-
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;- Specified by:
getConfigMapin interfaceStorageCredentialOrBuilder
-
getConfigOrDefault
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;- Specified by:
getConfigOrDefaultin interfaceStorageCredentialOrBuilder
-
getConfigOrThrow
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;- Specified by:
getConfigOrThrowin interfaceStorageCredentialOrBuilder
-
clearConfig
-
removeConfig
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; -
getMutableConfig
Deprecated.Use alternate mutation accessors instead. -
putConfig
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; -
putAllConfig
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;
-