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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
clearContainerImage()
public RuntimeConfig.Builder clearContainerImage()
Optional. Optional custom container image for the job runtime environment.
If not specified, a default container image will be used.
string container_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
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
clearVersion()
public RuntimeConfig.Builder clearVersion()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
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
getContainerImage()
public String getContainerImage()
Optional. Optional custom container image for the job runtime environment.
If not specified, a default container image will be used.
string container_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The containerImage.
|
getContainerImageBytes()
public ByteString getContainerImageBytes()
Optional. Optional custom container image for the job runtime environment.
If not specified, a default container image will be used.
string container_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for containerImage.
|
getDefaultInstanceForType()
public RuntimeConfig getDefaultInstanceForType()
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
getVersion()
public String getVersion()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
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
setContainerImage(String value)
public RuntimeConfig.Builder setContainerImage(String value)
Optional. Optional custom container image for the job runtime environment.
If not specified, a default container image will be used.
string container_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The containerImage to set.
|
Returns
setContainerImageBytes(ByteString value)
public RuntimeConfig.Builder setContainerImageBytes(ByteString value)
Optional. Optional custom container image for the job runtime environment.
If not specified, a default container image will be used.
string container_image = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes for containerImage to set.
|
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
setVersion(String value)
public RuntimeConfig.Builder setVersion(String value)
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The version to set.
|
Returns
setVersionBytes(ByteString value)
public RuntimeConfig.Builder setVersionBytes(ByteString value)
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes for version to set.
|
Returns