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
Returns
Overrides
build()
public RuntimeConfig build()
Returns
buildPartial()
public RuntimeConfig buildPartial()
Returns
clear()
public RuntimeConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProperties()
public RuntimeConfig.Builder clearProperties()
Returns
clone()
public RuntimeConfig.Builder clone()
Returns
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
Returns
getDefaultInstanceForType()
public RuntimeConfig getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMutableProperties()
public Map<String,String> getMutableProperties()
Use alternate mutation accessors instead.
Returns
getProperties()
public Map<String,String> getProperties()
Returns
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
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
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
Returns
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
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(RuntimeConfig other)
public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
Parameter
Returns
public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RuntimeConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides