- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public static final class VersionToPath.Builder extends GeneratedMessageV3.Builder<VersionToPath.Builder> implements VersionToPathOrBuilder
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VersionToPath.BuilderImplements
VersionToPathOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VersionToPath.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VersionToPath.Builder |
build()
public VersionToPath build()
Type | Description |
VersionToPath |
buildPartial()
public VersionToPath buildPartial()
Type | Description |
VersionToPath |
clear()
public VersionToPath.Builder clear()
Type | Description |
VersionToPath.Builder |
clearField(Descriptors.FieldDescriptor field)
public VersionToPath.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VersionToPath.Builder |
clearMode()
public VersionToPath.Builder clearMode()
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;
Type | Description |
VersionToPath.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VersionToPath.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VersionToPath.Builder |
clearPath()
public VersionToPath.Builder clearPath()
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
VersionToPath.Builder | This builder for chaining. |
clearVersion()
public VersionToPath.Builder clearVersion()
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2;
Type | Description |
VersionToPath.Builder | This builder for chaining. |
clone()
public VersionToPath.Builder clone()
Type | Description |
VersionToPath.Builder |
getDefaultInstanceForType()
public VersionToPath getDefaultInstanceForType()
Type | Description |
VersionToPath |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMode()
public int 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;
Type | Description |
int | The mode. |
getPath()
public String getPath()
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The path. |
getPathBytes()
public ByteString getPathBytes()
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for path. |
getVersion()
public String getVersion()
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2;
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2;
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(VersionToPath other)
public VersionToPath.Builder mergeFrom(VersionToPath other)
Name | Description |
other | VersionToPath |
Type | Description |
VersionToPath.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VersionToPath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VersionToPath.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VersionToPath.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VersionToPath.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VersionToPath.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VersionToPath.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VersionToPath.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VersionToPath.Builder |
setMode(int value)
public VersionToPath.Builder setMode(int value)
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;
Name | Description |
value | int The mode to set. |
Type | Description |
VersionToPath.Builder | This builder for chaining. |
setPath(String value)
public VersionToPath.Builder setPath(String value)
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The path to set. |
Type | Description |
VersionToPath.Builder | This builder for chaining. |
setPathBytes(ByteString value)
public VersionToPath.Builder setPathBytes(ByteString value)
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for path to set. |
Type | Description |
VersionToPath.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VersionToPath.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VersionToPath.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VersionToPath.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VersionToPath.Builder |
setVersion(String value)
public VersionToPath.Builder setVersion(String value)
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2;
Name | Description |
value | String The version to set. |
Type | Description |
VersionToPath.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public VersionToPath.Builder setVersionBytes(ByteString value)
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2;
Name | Description |
value | ByteString The bytes for version to set. |
Type | Description |
VersionToPath.Builder | This builder for chaining. |