- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
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.v1.SecretVolume.SecretVersion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecretVolume.SecretVersion.BuilderImplements
SecretVolume.SecretVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecretVolume.SecretVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SecretVolume.SecretVersion.Builder |
build()
public SecretVolume.SecretVersion build()
Type | Description |
SecretVolume.SecretVersion |
buildPartial()
public SecretVolume.SecretVersion buildPartial()
Type | Description |
SecretVolume.SecretVersion |
clear()
public SecretVolume.SecretVersion.Builder clear()
Type | Description |
SecretVolume.SecretVersion.Builder |
clearField(Descriptors.FieldDescriptor field)
public SecretVolume.SecretVersion.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SecretVolume.SecretVersion.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SecretVolume.SecretVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SecretVolume.SecretVersion.Builder |
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;
Type | Description |
SecretVolume.SecretVersion.Builder | This builder for chaining. |
clearVersion()
public SecretVolume.SecretVersion.Builder clearVersion()
Version of the secret (version number or the string 'latest'). It is
preferrable to use latest
version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
Type | Description |
SecretVolume.SecretVersion.Builder | This builder for chaining. |
clone()
public SecretVolume.SecretVersion.Builder clone()
Type | Description |
SecretVolume.SecretVersion.Builder |
getDefaultInstanceForType()
public SecretVolume.SecretVersion getDefaultInstanceForType()
Type | Description |
SecretVolume.SecretVersion |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPath()
public String 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;
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;
Type | Description |
ByteString | The bytes for path. |
getVersion()
public String getVersion()
Version of the secret (version number or the string 'latest'). It is
preferrable to use latest
version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
Version of the secret (version number or the string 'latest'). It is
preferrable to use latest
version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SecretVolume.SecretVersion other)
public SecretVolume.SecretVersion.Builder mergeFrom(SecretVolume.SecretVersion other)
Name | Description |
other | SecretVolume.SecretVersion |
Type | Description |
SecretVolume.SecretVersion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SecretVolume.SecretVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SecretVolume.SecretVersion.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SecretVolume.SecretVersion.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SecretVolume.SecretVersion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecretVolume.SecretVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SecretVolume.SecretVersion.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SecretVolume.SecretVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SecretVolume.SecretVersion.Builder |
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;
Name | Description |
value | String The path to set. |
Type | Description |
SecretVolume.SecretVersion.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString The bytes for path to set. |
Type | Description |
SecretVolume.SecretVersion.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecretVolume.SecretVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SecretVolume.SecretVersion.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SecretVolume.SecretVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SecretVolume.SecretVersion.Builder |
setVersion(String value)
public SecretVolume.SecretVersion.Builder setVersion(String value)
Version of the secret (version number or the string 'latest'). It is
preferrable to use latest
version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
Name | Description |
value | String The version to set. |
Type | Description |
SecretVolume.SecretVersion.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public SecretVolume.SecretVersion.Builder setVersionBytes(ByteString value)
Version of the secret (version number or the string 'latest'). It is
preferrable to use latest
version with secret volumes as secret value
changes are reflected immediately.
string version = 1;
Name | Description |
value | ByteString The bytes for version to set. |
Type | Description |
SecretVolume.SecretVersion.Builder | This builder for chaining. |