public static final class EnvVar.Builder extends GeneratedMessageV3.Builder<EnvVar.Builder> implements EnvVarOrBuilder
Represents an environment variable present in a Container or Python Module.
Protobuf type google.cloud.aiplatform.v1beta1.EnvVar
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public EnvVar.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public EnvVar buildPartial()
public EnvVar.Builder clear()
Overrides
public EnvVar.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public EnvVar.Builder clearName()
Required. Name of the environment variable. Must be a valid C identifier.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
public EnvVar.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public EnvVar.Builder clearValue()
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];
public EnvVar.Builder clone()
Overrides
public EnvVar getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public EnvVar.Builder mergeFrom(EnvVar other)
Parameter |
---|
Name | Description |
other | EnvVar
|
public EnvVar.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public EnvVar.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final EnvVar.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public EnvVar.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public EnvVar.Builder setName(String value)
Required. Name of the environment variable. Must be a valid C identifier.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The name to set.
|
public EnvVar.Builder setNameBytes(ByteString value)
Required. Name of the environment variable. Must be a valid C identifier.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
public EnvVar.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final EnvVar.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public EnvVar.Builder setValue(String value)
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];
Parameter |
---|
Name | Description |
value | String
The value to set.
|
public EnvVar.Builder setValueBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for value to set.
|