public final class EnvVar extends GeneratedMessageV3 implements EnvVarOrBuilder
Represents an environment variable present in a Container or Python Module.
Protobuf type google.cloud.aiplatform.v1.EnvVar
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static EnvVar getDefaultInstance()
Returns |
Type |
Description |
EnvVar |
|
public static final Descriptors.Descriptor getDescriptor()
public static EnvVar.Builder newBuilder()
public static EnvVar.Builder newBuilder(EnvVar prototype)
Parameter |
Name |
Description |
prototype |
EnvVar
|
public static EnvVar parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(ByteString data)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(CodedInputStream input)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(InputStream input)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(ByteBuffer data)
Returns |
Type |
Description |
EnvVar |
|
public static EnvVar parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
EnvVar |
|
public static Parser<EnvVar> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public EnvVar getDefaultInstanceForType()
Returns |
Type |
Description |
EnvVar |
|
Required. Name of the environment variable. Must be a valid C identifier.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. Name of the environment variable. Must be a valid C identifier.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public Parser<EnvVar> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Required. Variables that reference a $(VAR_NAME) are expanded
using the previous defined environment variables in the container and
any service environment variables. If a variable cannot be resolved,
the reference in the input string will be unchanged. The $(VAR_NAME)
syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
references will never be expanded, regardless of whether the variable
exists or not.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The value.
|
public ByteString getValueBytes()
Required. Variables that reference a $(VAR_NAME) are expanded
using the previous defined environment variables in the container and
any service environment variables. If a variable cannot be resolved,
the reference in the input string will be unchanged. The $(VAR_NAME)
syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
references will never be expanded, regardless of whether the variable
exists or not.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for value.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public EnvVar.Builder newBuilderForType()
protected EnvVar.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public EnvVar.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides