publicstaticfinalclass VersionToPath.BuilderextendsGeneratedMessageV3.Builder<VersionToPath.Builder>implementsVersionToPathOrBuilder
VersionToPath maps a specific version of a secret to a relative file to mount
to, relative to VolumeMount's mount_path.
Protobuf type google.cloud.run.v2.VersionToPath
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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)
publicVersionToPath.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicVersionToPathbuild()
buildPartial()
publicVersionToPathbuildPartial()
clear()
publicVersionToPath.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicVersionToPath.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearMode()
publicVersionToPath.BuilderclearMode()
Integer octal mode bits to use on this file, must be a value between
01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
used.
Notes
- Internally, a umask of 0222 will be applied to any non-zero value.
- This is an integer representation of the mode bits. So, the octal
integer value should look exactly as the chmod numeric notation with a
leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or
511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or
416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493
(base-10).
- This might be in conflict with other options that affect the
file mode, like fsGroup, and the result can be other mode bits set.
int32 mode = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
publicVersionToPath.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearPath()
publicVersionToPath.BuilderclearPath()
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
clearVersion()
publicVersionToPath.BuilderclearVersion()
The Cloud Secret Manager secret version.
Can be 'latest' for the latest value, or an integer or a secret alias for a
specific version.
string version = 2;
clone()
publicVersionToPath.Builderclone()
Overrides
getDefaultInstanceForType()
publicVersionToPathgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getMode()
Integer octal mode bits to use on this file, must be a value between
01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
used.
Notes
- Internally, a umask of 0222 will be applied to any non-zero value.
- This is an integer representation of the mode bits. So, the octal
integer value should look exactly as the chmod numeric notation with a
leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or
511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or
416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493
(base-10).
- This might be in conflict with other options that affect the
file mode, like fsGroup, and the result can be other mode bits set.
int32 mode = 3;
| Returns |
| Type |
Description |
int |
The mode.
|
getPath()
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The path.
|
getPathBytes()
publicByteStringgetPathBytes()
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for path.
|
getVersion()
The Cloud Secret Manager secret version.
Can be 'latest' for the latest value, or an integer or a secret alias for a
specific version.
string version = 2;
| Returns |
| Type |
Description |
String |
The version.
|
getVersionBytes()
publicByteStringgetVersionBytes()
The Cloud Secret Manager secret version.
Can be 'latest' for the latest value, or an integer or a secret alias for a
specific version.
string version = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for version.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(VersionToPath other)
publicVersionToPath.BuildermergeFrom(VersionToPathother)
publicVersionToPath.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicVersionToPath.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalVersionToPath.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicVersionToPath.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setMode(int value)
publicVersionToPath.BuildersetMode(intvalue)
Integer octal mode bits to use on this file, must be a value between
01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
used.
Notes
- Internally, a umask of 0222 will be applied to any non-zero value.
- This is an integer representation of the mode bits. So, the octal
integer value should look exactly as the chmod numeric notation with a
leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or
511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or
416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493
(base-10).
- This might be in conflict with other options that affect the
file mode, like fsGroup, and the result can be other mode bits set.
int32 mode = 3;
| Parameter |
| Name |
Description |
value |
int
The mode to set.
|
setPath(String value)
publicVersionToPath.BuildersetPath(Stringvalue)
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The path to set.
|
setPathBytes(ByteString value)
publicVersionToPath.BuildersetPathBytes(ByteStringvalue)
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for path to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicVersionToPath.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalVersionToPath.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides
setVersion(String value)
publicVersionToPath.BuildersetVersion(Stringvalue)
The Cloud Secret Manager secret version.
Can be 'latest' for the latest value, or an integer or a secret alias for a
specific version.
string version = 2;
| Parameter |
| Name |
Description |
value |
String
The version to set.
|
setVersionBytes(ByteString value)
publicVersionToPath.BuildersetVersionBytes(ByteStringvalue)
The Cloud Secret Manager secret version.
Can be 'latest' for the latest value, or an integer or a secret alias for a
specific version.
string version = 2;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for version to set.
|