publicstaticfinalclass SecretVolume.SecretVersion.BuilderextendsGeneratedMessageV3.Builder<SecretVolume.SecretVersion.Builder>implementsSecretVolume.SecretVersionOrBuilder
Configuration for a single version.
Protobuf type google.cloud.functions.v1.SecretVolume.SecretVersion
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicSecretVolume.SecretVersion.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicSecretVolume.SecretVersionbuild()
buildPartial()
publicSecretVolume.SecretVersionbuildPartial()
clear()
publicSecretVolume.SecretVersion.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicSecretVolume.SecretVersion.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicSecretVolume.SecretVersion.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearPath()
publicSecretVolume.SecretVersion.BuilderclearPath()
Relative path of the file under the mount path where the secret value for
this version will be fetched and made available. For example, setting the
mount_path as '/etc/secrets' and path as /secret_foo would mount the
secret value file at /etc/secrets/secret_foo.
string path = 2;
clearVersion()
publicSecretVolume.SecretVersion.BuilderclearVersion()
Version of the secret (version number or the string 'latest'). It is
preferable to use latest version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
clone()
publicSecretVolume.SecretVersion.Builderclone()
Overrides
getDefaultInstanceForType()
publicSecretVolume.SecretVersiongetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getPath()
Relative path of the file under the mount path where the secret value for
this version will be fetched and made available. For example, setting the
mount_path as '/etc/secrets' and path as /secret_foo would mount the
secret value file at /etc/secrets/secret_foo.
string path = 2;
| Returns |
| Type |
Description |
String |
The path.
|
getPathBytes()
publicByteStringgetPathBytes()
Relative path of the file under the mount path where the secret value for
this version will be fetched and made available. For example, setting the
mount_path as '/etc/secrets' and path as /secret_foo would mount the
secret value file at /etc/secrets/secret_foo.
string path = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for path.
|
getVersion()
Version of the secret (version number or the string 'latest'). It is
preferable to use latest version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
| Returns |
| Type |
Description |
String |
The version.
|
getVersionBytes()
publicByteStringgetVersionBytes()
Version of the secret (version number or the string 'latest'). It is
preferable to use latest version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for version.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(SecretVolume.SecretVersion other)
publicSecretVolume.SecretVersion.BuildermergeFrom(SecretVolume.SecretVersionother)
publicSecretVolume.SecretVersion.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicSecretVolume.SecretVersion.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalSecretVolume.SecretVersion.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicSecretVolume.SecretVersion.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setPath(String value)
publicSecretVolume.SecretVersion.BuildersetPath(Stringvalue)
Relative path of the file under the mount path where the secret value for
this version will be fetched and made available. For example, setting the
mount_path as '/etc/secrets' and path as /secret_foo would mount the
secret value file at /etc/secrets/secret_foo.
string path = 2;
| Parameter |
| Name |
Description |
value |
String
The path to set.
|
setPathBytes(ByteString value)
publicSecretVolume.SecretVersion.BuildersetPathBytes(ByteStringvalue)
Relative path of the file under the mount path where the secret value for
this version will be fetched and made available. For example, setting the
mount_path as '/etc/secrets' and path as /secret_foo would mount the
secret value file at /etc/secrets/secret_foo.
string path = 2;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for path to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicSecretVolume.SecretVersion.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalSecretVolume.SecretVersion.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides
setVersion(String value)
publicSecretVolume.SecretVersion.BuildersetVersion(Stringvalue)
Version of the secret (version number or the string 'latest'). It is
preferable to use latest version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
| Parameter |
| Name |
Description |
value |
String
The version to set.
|
setVersionBytes(ByteString value)
publicSecretVolume.SecretVersion.BuildersetVersionBytes(ByteStringvalue)
Version of the secret (version number or the string 'latest'). It is
preferable to use latest version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for version to set.
|