public static final class SecretVolume.SecretVersion extends GeneratedMessageV3 implements SecretVolume.SecretVersionOrBuilder
Configuration for a single version.
Protobuf type google.cloud.functions.v1.SecretVolume.SecretVersion
Static Fields
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SecretVolume.SecretVersion getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SecretVolume.SecretVersion.Builder newBuilder()
newBuilder(SecretVolume.SecretVersion prototype)
public static SecretVolume.SecretVersion.Builder newBuilder(SecretVolume.SecretVersion prototype)
public static SecretVolume.SecretVersion parseDelimitedFrom(InputStream input)
public static SecretVolume.SecretVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SecretVolume.SecretVersion parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecretVolume.SecretVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SecretVolume.SecretVersion parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecretVolume.SecretVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecretVolume.SecretVersion parseFrom(CodedInputStream input)
public static SecretVolume.SecretVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecretVolume.SecretVersion parseFrom(InputStream input)
public static SecretVolume.SecretVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SecretVolume.SecretVersion parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecretVolume.SecretVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SecretVolume.SecretVersion> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SecretVolume.SecretVersion getDefaultInstanceForType()
getParserForType()
public Parser<SecretVolume.SecretVersion> getParserForType()
Overrides
getPath()
Relative path of the file under the mount path where the secret value for
this version is fetched and made available. For example, setting the
mount_path as '/etc/secrets' and path as /secret_foo
mounts 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 is fetched and made available. For example, setting the
mount_path as '/etc/secrets' and path as /secret_foo
mounts the
secret value file at /etc/secrets/secret_foo
.
string path = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for path.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
ByteString | The bytes for version.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SecretVolume.SecretVersion.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecretVolume.SecretVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SecretVolume.SecretVersion.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides