Class RuntimeConfig.Builder (2.3.1)

public static final class RuntimeConfig.Builder extends GeneratedMessageV3.Builder<RuntimeConfig.Builder> implements RuntimeConfigOrBuilder

Runtime configuration for a workload.

Protobuf type google.cloud.dataproc.v1.RuntimeConfig

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeConfig.Builder
Overrides

build()

public RuntimeConfig build()
Returns
Type Description
RuntimeConfig

buildPartial()

public RuntimeConfig buildPartial()
Returns
Type Description
RuntimeConfig

clear()

public RuntimeConfig.Builder clear()
Returns
Type Description
RuntimeConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuntimeConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuntimeConfig.Builder
Overrides

clearProperties()

public RuntimeConfig.Builder clearProperties()
Returns
Type Description
RuntimeConfig.Builder

clone()

public RuntimeConfig.Builder clone()
Returns
Type Description
RuntimeConfig.Builder
Overrides

containsProperties(String key)

public boolean containsProperties(String key)

Optional. A mapping of property names to values, which are used to configure workload execution.

map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public RuntimeConfig getDefaultInstanceForType()
Returns
Type Description
RuntimeConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableProperties()

public Map<String,String> getMutableProperties()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getProperties()

public Map<String,String> getProperties()

Use #getPropertiesMap() instead.

Returns
Type Description
Map<String,String>

getPropertiesCount()

public int getPropertiesCount()

Optional. A mapping of property names to values, which are used to configure workload execution.

map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPropertiesMap()

public Map<String,String> getPropertiesMap()

Optional. A mapping of property names to values, which are used to configure workload execution.

map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getPropertiesOrDefault(String key, String defaultValue)

public String getPropertiesOrDefault(String key, String defaultValue)

Optional. A mapping of property names to values, which are used to configure workload execution.

map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getPropertiesOrThrow(String key)

public String getPropertiesOrThrow(String key)

Optional. A mapping of property names to values, which are used to configure workload execution.

map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RuntimeConfig other)

public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
Parameter
Name Description
other RuntimeConfig
Returns
Type Description
RuntimeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuntimeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuntimeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeConfig.Builder
Overrides

putAllProperties(Map<String,String> values)

public RuntimeConfig.Builder putAllProperties(Map<String,String> values)

Optional. A mapping of property names to values, which are used to configure workload execution.

map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
RuntimeConfig.Builder

putProperties(String key, String value)

public RuntimeConfig.Builder putProperties(String key, String value)

Optional. A mapping of property names to values, which are used to configure workload execution.

map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
RuntimeConfig.Builder

removeProperties(String key)

public RuntimeConfig.Builder removeProperties(String key)

Optional. A mapping of property names to values, which are used to configure workload execution.

map<string, string> properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
RuntimeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuntimeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeConfig.Builder
Overrides