public final class EnvVar extends com.google.protobuf.GeneratedMessageV3 implements EnvVarOrBuilder
EnvVar represents an environment variable present in a Container.Protobuf type
google.cloud.run.v2.EnvVar| Modifier and Type | Class and Description |
|---|---|
static class |
EnvVar.Builder
EnvVar represents an environment variable present in a Container.
|
static class |
EnvVar.ValuesCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
static int |
VALUE_SOURCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static EnvVar |
getDefaultInstance() |
EnvVar |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Parser<EnvVar> |
getParserForType() |
int |
getSerializedSize() |
String |
getValue()
Literal value of the environment variable.
|
com.google.protobuf.ByteString |
getValueBytes()
Literal value of the environment variable.
|
EnvVar.ValuesCase |
getValuesCase() |
EnvVarSource |
getValueSource()
Source for the environment variable's value.
|
EnvVarSourceOrBuilder |
getValueSourceOrBuilder()
Source for the environment variable's value.
|
int |
hashCode() |
boolean |
hasValue()
Literal value of the environment variable.
|
boolean |
hasValueSource()
Source for the environment variable's value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EnvVar.Builder |
newBuilder() |
static EnvVar.Builder |
newBuilder(EnvVar prototype) |
EnvVar.Builder |
newBuilderForType() |
protected EnvVar.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static EnvVar |
parseDelimitedFrom(InputStream input) |
static EnvVar |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVar |
parseFrom(byte[] data) |
static EnvVar |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVar |
parseFrom(ByteBuffer data) |
static EnvVar |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVar |
parseFrom(com.google.protobuf.ByteString data) |
static EnvVar |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVar |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EnvVar |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVar |
parseFrom(InputStream input) |
static EnvVar |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EnvVar> |
parser() |
EnvVar.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int VALUE_SOURCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public EnvVar.ValuesCase getValuesCase()
getValuesCase in interface EnvVarOrBuilderpublic String getName()
Required. Name of the environment variable. Must not exceed 32768 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface EnvVarOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. Name of the environment variable. Must not exceed 32768 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface EnvVarOrBuilderpublic boolean hasValue()
Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.
string value = 2;hasValue in interface EnvVarOrBuilderpublic String getValue()
Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.
string value = 2;getValue in interface EnvVarOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.
string value = 2;getValueBytes in interface EnvVarOrBuilderpublic boolean hasValueSource()
Source for the environment variable's value.
.google.cloud.run.v2.EnvVarSource value_source = 3;hasValueSource in interface EnvVarOrBuilderpublic EnvVarSource getValueSource()
Source for the environment variable's value.
.google.cloud.run.v2.EnvVarSource value_source = 3;getValueSource in interface EnvVarOrBuilderpublic EnvVarSourceOrBuilder getValueSourceOrBuilder()
Source for the environment variable's value.
.google.cloud.run.v2.EnvVarSource value_source = 3;getValueSourceOrBuilder in interface EnvVarOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EnvVar parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVar parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVar parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVar parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVar parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVar parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVar parseFrom(InputStream input) throws IOException
IOExceptionpublic static EnvVar parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EnvVar parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EnvVar parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EnvVar parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EnvVar parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EnvVar.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EnvVar.Builder newBuilder()
public static EnvVar.Builder newBuilder(EnvVar prototype)
public EnvVar.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EnvVar.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EnvVar getDefaultInstance()
public static com.google.protobuf.Parser<EnvVar> parser()
public com.google.protobuf.Parser<EnvVar> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EnvVar getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.