Send feedback
Class Environment.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.1.0 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Environment . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public Environment build ()
Returns
buildPartial()
public Environment buildPartial ()
Returns
clear()
public Environment . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Environment . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Environment . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearVariables()
public Environment . Builder clearVariables ()
Returns
clone()
public Environment . Builder clone ()
Returns
Overrides
containsVariables(String key)
public boolean containsVariables ( String key )
A map of environment variable names to values.
map<string, string> variables = 1;
Parameter
Returns
getDefaultInstanceForType()
public Environment getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getMutableVariables()
public Map<String , String > getMutableVariables ()
Use alternate mutation accessors instead.
Returns
getVariables()
public Map<String , String > getVariables ()
Returns
getVariablesCount()
public int getVariablesCount ()
A map of environment variable names to values.
map<string, string> variables = 1;
Returns
getVariablesMap()
public Map<String , String > getVariablesMap ()
A map of environment variable names to values.
map<string, string> variables = 1;
Returns
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;
Parameters
Returns
getVariablesOrThrow(String key)
public String getVariablesOrThrow ( String key )
A map of environment variable names to values.
map<string, string> variables = 1;
Parameter
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField ( int number )
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Environment other)
public Environment . Builder mergeFrom ( Environment other )
Parameter
Returns
public Environment . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Environment . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Environment . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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;
Parameter
Returns
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;
Parameters
Returns
removeVariables(String key)
public Environment . Builder removeVariables ( String key )
A map of environment variable names to values.
map<string, string> variables = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Environment . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Environment . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Environment . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]