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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RuntimeConfig build()
buildPartial()
public RuntimeConfig buildPartial()
clear()
public RuntimeConfig.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProperties()
public RuntimeConfig.Builder clearProperties()
clearVersion()
public RuntimeConfig.Builder clearVersion()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public RuntimeConfig.Builder clone()
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableProperties() (deprecated)
public Map<String,String> getMutableProperties()
Use alternate mutation accessors instead.
getProperties() (deprecated)
public Map<String,String> getProperties()
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];
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];
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
|
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 |
---|
Type | Description |
ByteString | The bytes for version.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RuntimeConfig other)
public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RuntimeConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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
|
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|