Class EnvVarSource (0.14.0)

publicfinalclass EnvVarSourceextendsGeneratedMessageV3implementsEnvVarSourceOrBuilder

EnvVarSource represents a source for the value of an EnvVar.

Protobuf type google.cloud.run.v2.EnvVarSource

Inherited Members

Static Fields

SECRET_KEY_REF_FIELD_NUMBER

publicstaticfinalintSECRET_KEY_REF_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticEnvVarSourcegetDefaultInstance()
Returns
Type Description
EnvVarSource

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticEnvVarSource.BuildernewBuilder()
Returns
Type Description
EnvVarSource.Builder

newBuilder(EnvVarSource prototype)

publicstaticEnvVarSource.BuildernewBuilder(EnvVarSourceprototype)
Parameter
Name Description
prototype EnvVarSource
Returns
Type Description
EnvVarSource.Builder

parseDelimitedFrom(InputStream input)

publicstaticEnvVarSourceparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEnvVarSourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticEnvVarSourceparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticEnvVarSourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticEnvVarSourceparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticEnvVarSourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticEnvVarSourceparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEnvVarSourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticEnvVarSourceparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEnvVarSourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticEnvVarSourceparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticEnvVarSourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvVarSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<EnvVarSource>parser()
Returns
Type Description
Parser<EnvVarSource>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicEnvVarSourcegetDefaultInstanceForType()
Returns
Type Description
EnvVarSource

getParserForType()

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

getSecretKeyRef()

publicSecretKeySelectorgetSecretKeyRef()

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()

publicSecretKeySelectorOrBuildergetSecretKeyRefOrBuilder()

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()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasSecretKeyRef()

publicbooleanhasSecretKeyRef()

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()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicEnvVarSource.BuildernewBuilderForType()
Returns
Type Description
EnvVarSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedEnvVarSource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EnvVarSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicEnvVarSource.BuildertoBuilder()
Returns
Type Description
EnvVarSource.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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 2025年10月30日 UTC.