public static final class SecretVolume.SecretVersion extends GeneratedMessageV3 implements SecretVolume.SecretVersionOrBuilder
Configuration for a single version.
Protobuf type google.cloud.functions.v2.SecretVolume.SecretVersion
Static Fields
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SecretVolume.SecretVersion getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SecretVolume.SecretVersion.Builder newBuilder()
Returns
newBuilder(SecretVolume.SecretVersion prototype)
public static SecretVolume.SecretVersion.Builder newBuilder(SecretVolume.SecretVersion prototype)
Parameter
Returns
public static SecretVolume.SecretVersion parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecretVolume.SecretVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SecretVolume.SecretVersion parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecretVolume.SecretVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SecretVolume.SecretVersion parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecretVolume.SecretVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecretVolume.SecretVersion parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SecretVolume.SecretVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecretVolume.SecretVersion parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecretVolume.SecretVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SecretVolume.SecretVersion parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecretVolume.SecretVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SecretVolume.SecretVersion> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SecretVolume.SecretVersion getDefaultInstanceForType()
Returns
getParserForType()
public Parser<SecretVolume.SecretVersion> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SecretVolume.SecretVersion.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecretVolume.SecretVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SecretVolume.SecretVersion.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions