Class EnvVarSource (0.49.0)

public final class EnvVarSource extends GeneratedMessageV3 implements EnvVarSourceOrBuilder

EnvVarSource represents a source for the value of an EnvVar.

Protobuf type google.cloud.run.v2.EnvVarSource

Static Fields

SECRET_KEY_REF_FIELD_NUMBER

public static final int SECRET_KEY_REF_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EnvVarSource getDefaultInstance()
Returns
Type Description
EnvVarSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EnvVarSource.Builder newBuilder()
Returns
Type Description
EnvVarSource.Builder

newBuilder(EnvVarSource prototype)

public static EnvVarSource.Builder newBuilder(EnvVarSource prototype)
Parameter
Name Description
prototype EnvVarSource
Returns
Type Description
EnvVarSource.Builder

parseDelimitedFrom(InputStream input)

public static EnvVarSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EnvVarSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EnvVarSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EnvVarSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EnvVarSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EnvVarSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EnvVarSource> parser()
Returns
Type Description
Parser<EnvVarSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EnvVarSource getDefaultInstanceForType()
Returns
Type Description
EnvVarSource

getParserForType()

public Parser<EnvVarSource> getParserForType()
Returns
Type Description
Parser<EnvVarSource>
Overrides

getSecretKeyRef()

public SecretKeySelector getSecretKeyRef()

Selects a secret and a specific version from Cloud Secret Manager.

.google.cloud.run.v2.SecretKeySelector secret_key_ref = 1;

Returns
Type Description
SecretKeySelector

The secretKeyRef.

getSecretKeyRefOrBuilder()

public SecretKeySelectorOrBuilder getSecretKeyRefOrBuilder()

Selects a secret and a specific version from Cloud Secret Manager.

.google.cloud.run.v2.SecretKeySelector secret_key_ref = 1;

Returns
Type Description
SecretKeySelectorOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasSecretKeyRef()

public boolean hasSecretKeyRef()

Selects a secret and a specific version from Cloud Secret Manager.

.google.cloud.run.v2.SecretKeySelector secret_key_ref = 1;

Returns
Type Description
boolean

Whether the secretKeyRef field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EnvVarSource.Builder newBuilderForType()
Returns
Type Description
EnvVarSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EnvVarSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EnvVarSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EnvVarSource.Builder toBuilder()
Returns
Type Description
EnvVarSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException