public final class EnvVar extends GeneratedMessageV3 implements EnvVarOrBuilder
Represents an environment variable present in a Container or Python Module.
Protobuf type google.cloud.aiplatform.v1beta1.EnvVar
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
public static EnvVar getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static EnvVar.Builder newBuilder()
Returns
public static EnvVar.Builder newBuilder(EnvVar prototype)
Parameter
Name | Description |
prototype | EnvVar
|
Returns
public static EnvVar parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EnvVar parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EnvVar parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static EnvVar parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EnvVar parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static EnvVar parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EnvVar parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EnvVar parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EnvVar parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EnvVar parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EnvVar parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static EnvVar parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<EnvVar> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public EnvVar getDefaultInstanceForType()
Returns
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
public Parser<EnvVar> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
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
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public EnvVar.Builder newBuilderForType()
Returns
protected EnvVar.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public EnvVar.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions