- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RuntimeConfig.BuilderImplements
RuntimeConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
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 |
clearAutotuningConfig()
public RuntimeConfig.Builder clearAutotuningConfig()
Optional. Autotuning configuration of the workload.
.google.cloud.dataproc.v1.AutotuningConfig autotuning_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
clearCohort()
public RuntimeConfig.Builder clearCohort()
Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs.
string cohort = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
RuntimeConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
clearProperties()
public RuntimeConfig.Builder clearProperties()
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
clearRepositoryConfig()
public RuntimeConfig.Builder clearRepositoryConfig()
Optional. Dependency repository configuration.
.google.cloud.dataproc.v1.RepositoryConfig repository_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
clearVersion()
public RuntimeConfig.Builder clearVersion()
Optional. Version of the batch runtime.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
This builder for chaining. |
clone()
public RuntimeConfig.Builder clone()
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
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 |
getAutotuningConfig()
public AutotuningConfig getAutotuningConfig()
Optional. Autotuning configuration of the workload.
.google.cloud.dataproc.v1.AutotuningConfig autotuning_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutotuningConfig |
The autotuningConfig. |
getAutotuningConfigBuilder()
public AutotuningConfig.Builder getAutotuningConfigBuilder()
Optional. Autotuning configuration of the workload.
.google.cloud.dataproc.v1.AutotuningConfig autotuning_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutotuningConfig.Builder |
getAutotuningConfigOrBuilder()
public AutotuningConfigOrBuilder getAutotuningConfigOrBuilder()
Optional. Autotuning configuration of the workload.
.google.cloud.dataproc.v1.AutotuningConfig autotuning_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutotuningConfigOrBuilder |
getCohort()
public String getCohort()
Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs.
string cohort = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The cohort. |
getCohortBytes()
public ByteString getCohortBytes()
Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs.
string cohort = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cohort. |
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 | |
---|---|
Type | Description |
RuntimeConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMutableProperties() (deprecated)
public Map<String,String> getMutableProperties()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getProperties() (deprecated)
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 |
getRepositoryConfig()
public RepositoryConfig getRepositoryConfig()
Optional. Dependency repository configuration.
.google.cloud.dataproc.v1.RepositoryConfig repository_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RepositoryConfig |
The repositoryConfig. |
getRepositoryConfigBuilder()
public RepositoryConfig.Builder getRepositoryConfigBuilder()
Optional. Dependency repository configuration.
.google.cloud.dataproc.v1.RepositoryConfig repository_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RepositoryConfig.Builder |
getRepositoryConfigOrBuilder()
public RepositoryConfigOrBuilder getRepositoryConfigOrBuilder()
Optional. Dependency repository configuration.
.google.cloud.dataproc.v1.RepositoryConfig repository_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RepositoryConfigOrBuilder |
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. |
hasAutotuningConfig()
public boolean hasAutotuningConfig()
Optional. Autotuning configuration of the workload.
.google.cloud.dataproc.v1.AutotuningConfig autotuning_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the autotuningConfig field is set. |
hasRepositoryConfig()
public boolean hasRepositoryConfig()
Optional. Dependency repository configuration.
.google.cloud.dataproc.v1.RepositoryConfig repository_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the repositoryConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAutotuningConfig(AutotuningConfig value)
public RuntimeConfig.Builder mergeAutotuningConfig(AutotuningConfig value)
Optional. Autotuning configuration of the workload.
.google.cloud.dataproc.v1.AutotuningConfig autotuning_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
AutotuningConfig |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RuntimeConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
mergeRepositoryConfig(RepositoryConfig value)
public RuntimeConfig.Builder mergeRepositoryConfig(RepositoryConfig value)
Optional. Dependency repository configuration.
.google.cloud.dataproc.v1.RepositoryConfig repository_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
RepositoryConfig |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
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 |
setAutotuningConfig(AutotuningConfig value)
public RuntimeConfig.Builder setAutotuningConfig(AutotuningConfig value)
Optional. Autotuning configuration of the workload.
.google.cloud.dataproc.v1.AutotuningConfig autotuning_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
AutotuningConfig |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
setAutotuningConfig(AutotuningConfig.Builder builderForValue)
public RuntimeConfig.Builder setAutotuningConfig(AutotuningConfig.Builder builderForValue)
Optional. Autotuning configuration of the workload.
.google.cloud.dataproc.v1.AutotuningConfig autotuning_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
AutotuningConfig.Builder |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
setCohort(String value)
public RuntimeConfig.Builder setCohort(String value)
Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs.
string cohort = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The cohort to set. |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
This builder for chaining. |
setCohortBytes(ByteString value)
public RuntimeConfig.Builder setCohortBytes(ByteString value)
Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs.
string cohort = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cohort to set. |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
RuntimeConfig.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
RuntimeConfig.Builder |
This builder for chaining. |
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 |
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 |
setRepositoryConfig(RepositoryConfig value)
public RuntimeConfig.Builder setRepositoryConfig(RepositoryConfig value)
Optional. Dependency repository configuration.
.google.cloud.dataproc.v1.RepositoryConfig repository_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
RepositoryConfig |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
setRepositoryConfig(RepositoryConfig.Builder builderForValue)
public RuntimeConfig.Builder setRepositoryConfig(RepositoryConfig.Builder builderForValue)
Optional. Dependency repository configuration.
.google.cloud.dataproc.v1.RepositoryConfig repository_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
RepositoryConfig.Builder |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
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 | |
---|---|
Type | Description |
RuntimeConfig.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
RuntimeConfig.Builder |
This builder for chaining. |