Class EnvVarSource (0.2.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static EnvVarSource getDefaultInstance()
Returns
TypeDescription
EnvVarSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EnvVarSource.Builder newBuilder()
Returns
TypeDescription
EnvVarSource.Builder

newBuilder(EnvVarSource prototype)

public static EnvVarSource.Builder newBuilder(EnvVarSource prototype)
Parameter
NameDescription
prototypeEnvVarSource
Returns
TypeDescription
EnvVarSource.Builder

parseDelimitedFrom(InputStream input)

public static EnvVarSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EnvVarSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EnvVarSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EnvVarSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EnvVarSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EnvVarSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EnvVarSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvVarSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EnvVarSource> parser()
Returns
TypeDescription
Parser<EnvVarSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EnvVarSource getDefaultInstanceForType()
Returns
TypeDescription
EnvVarSource

getParserForType()

public Parser<EnvVarSource> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SecretKeySelectorOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the secretKeyRef field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EnvVarSource.Builder newBuilderForType()
Returns
TypeDescription
EnvVarSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EnvVarSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EnvVarSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EnvVarSource.Builder toBuilder()
Returns
TypeDescription
EnvVarSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException