Class EnvVarSource.Builder (0.1.2)

publicstaticfinalclass EnvVarSource.BuilderextendsGeneratedMessageV3.Builder<EnvVarSource.Builder>implementsEnvVarSourceOrBuilder

EnvVarSource represents a source for the value of an EnvVar.

Protobuf type google.cloud.run.v2.EnvVarSource

Inherited Members

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicEnvVarSource.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicEnvVarSourcebuild()
Returns
Type Description

buildPartial()

publicEnvVarSourcebuildPartial()
Returns
Type Description

clear()

publicEnvVarSource.Builderclear()
Returns
Type Description
Overrides

clearField(Descriptors.FieldDescriptor field)

publicEnvVarSource.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicEnvVarSource.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearSecretKeyRef()

publicEnvVarSource.BuilderclearSecretKeyRef()

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

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

Returns
Type Description

clone()

publicEnvVarSource.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicEnvVarSourcegetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
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.

getSecretKeyRefBuilder()

publicSecretKeySelector.BuildergetSecretKeyRefBuilder()

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

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

Returns
Type Description

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

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(EnvVarSource other)

publicEnvVarSource.BuildermergeFrom(EnvVarSourceother)
Parameter
Name Description
other EnvVarSource
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicEnvVarSource.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicEnvVarSource.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeSecretKeyRef(SecretKeySelector value)

publicEnvVarSource.BuildermergeSecretKeyRef(SecretKeySelectorvalue)

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

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

Parameter
Name Description
Returns
Type Description

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalEnvVarSource.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicEnvVarSource.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicEnvVarSource.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setSecretKeyRef(SecretKeySelector value)

publicEnvVarSource.BuildersetSecretKeyRef(SecretKeySelectorvalue)

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

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

Parameter
Name Description
Returns
Type Description

setSecretKeyRef(SecretKeySelector.Builder builderForValue)

publicEnvVarSource.BuildersetSecretKeyRef(SecretKeySelector.BuilderbuilderForValue)

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

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

Parameter
Name Description
builderForValue SecretKeySelector.Builder
Returns
Type Description

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalEnvVarSource.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

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.