Send feedback
Class VersionToPath.Builder (0.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.14.0 keyboard_arrow_down
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
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()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VersionToPath . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public VersionToPath build ()
buildPartial()
public VersionToPath buildPartial ()
clear()
public VersionToPath . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VersionToPath . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public VersionToPath . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPath()
public VersionToPath . Builder clearPath ()
Required. The relative path of the secret in the container.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
clearVersion()
public VersionToPath . Builder clearVersion ()
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()
public VersionToPath . Builder clone ()
Overrides
getDefaultInstanceForType()
public VersionToPath getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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()
public ByteString getPathBytes ()
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()
public String 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()
public ByteString getVersionBytes ()
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()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(VersionToPath other)
public VersionToPath . Builder mergeFrom ( VersionToPath other )
public VersionToPath . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public VersionToPath . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VersionToPath . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VersionToPath . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
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;
Parameter Name Description value
int
The mode to set.
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];
Parameter Name Description value
String
The path to set.
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];
Parameter Name Description value
ByteString
The bytes for path to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VersionToPath . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VersionToPath . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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 or a secret alias for a
specific version.
string version = 2;
Parameter Name Description value
String
The version to set.
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 or a secret alias for a
specific version.
string version = 2;
Parameter Name Description value
ByteString
The bytes for version to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-19 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-19 UTC."]]