public static final class SecretVolume.SecretVersion.Builder extends GeneratedMessageV3.Builder<SecretVolume.SecretVersion.Builder> implements SecretVolume.SecretVersionOrBuilder
Configuration for a single version.
Protobuf type google.cloud.functions.v2beta.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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecretVolume.SecretVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecretVolume.SecretVersion build()
buildPartial()
public SecretVolume.SecretVersion buildPartial()
clear()
public SecretVolume.SecretVersion.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SecretVolume.SecretVersion.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecretVolume.SecretVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPath()
public SecretVolume.SecretVersion.Builder clearPath()
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()
public SecretVolume.SecretVersion.Builder clearVersion()
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()
public SecretVolume.SecretVersion.Builder clone()
Overrides
getDefaultInstanceForType()
public SecretVolume.SecretVersion getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
public ByteString getPathBytes()
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()
public String 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()
public ByteString getVersionBytes()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecretVolume.SecretVersion other)
public SecretVolume.SecretVersion.Builder mergeFrom(SecretVolume.SecretVersion other)
public SecretVolume.SecretVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecretVolume.SecretVersion.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecretVolume.SecretVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SecretVolume.SecretVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPath(String value)
public SecretVolume.SecretVersion.Builder setPath(String value)
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)
public SecretVolume.SecretVersion.Builder setPathBytes(ByteString value)
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)
public SecretVolume.SecretVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecretVolume.SecretVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersion(String value)
public SecretVolume.SecretVersion.Builder setVersion(String value)
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)
public SecretVolume.SecretVersion.Builder setVersionBytes(ByteString value)
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.
|