- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
public static final class Environment.Builder extends GeneratedMessageV3.Builder<Environment.Builder> implements EnvironmentOrBuilder
An Environment describes a collection of environment variables to set when executing Tasks.
Protobuf type google.cloud.batch.v1.Environment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Environment.BuilderImplements
EnvironmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Environment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.Builder |
build()
public Environment build()
Type | Description |
Environment |
buildPartial()
public Environment buildPartial()
Type | Description |
Environment |
clear()
public Environment.Builder clear()
Type | Description |
Environment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Environment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Environment.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Environment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Environment.Builder |
clearVariables()
public Environment.Builder clearVariables()
Type | Description |
Environment.Builder |
clone()
public Environment.Builder clone()
Type | Description |
Environment.Builder |
containsVariables(String key)
public boolean containsVariables(String key)
A map of environment variable names to values.
map<string, string> variables = 1;
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public Environment getDefaultInstanceForType()
Type | Description |
Environment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMutableVariables()
public Map<String,String> getMutableVariables()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getVariables()
public Map<String,String> getVariables()
Use #getVariablesMap() instead.
Type | Description |
Map<String,String> |
getVariablesCount()
public int getVariablesCount()
A map of environment variable names to values.
map<string, string> variables = 1;
Type | Description |
int |
getVariablesMap()
public Map<String,String> getVariablesMap()
A map of environment variable names to values.
map<string, string> variables = 1;
Type | Description |
Map<String,String> |
getVariablesOrDefault(String key, String defaultValue)
public String getVariablesOrDefault(String key, String defaultValue)
A map of environment variable names to values.
map<string, string> variables = 1;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getVariablesOrThrow(String key)
public String getVariablesOrThrow(String key)
A map of environment variable names to values.
map<string, string> variables = 1;
Name | Description |
key | String |
Type | Description |
String |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Environment other)
public Environment.Builder mergeFrom(Environment other)
Name | Description |
other | Environment |
Type | Description |
Environment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Environment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Environment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Environment.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Environment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Environment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.Builder |
putAllVariables(Map<String,String> values)
public Environment.Builder putAllVariables(Map<String,String> values)
A map of environment variable names to values.
map<string, string> variables = 1;
Name | Description |
values | Map<String,String> |
Type | Description |
Environment.Builder |
putVariables(String key, String value)
public Environment.Builder putVariables(String key, String value)
A map of environment variable names to values.
map<string, string> variables = 1;
Name | Description |
key | String |
value | String |
Type | Description |
Environment.Builder |
removeVariables(String key)
public Environment.Builder removeVariables(String key)
A map of environment variable names to values.
map<string, string> variables = 1;
Name | Description |
key | String |
Type | Description |
Environment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Environment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Environment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Environment.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Environment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.Builder |