public static final class EnvironmentConfig.Builder extends GeneratedMessageV3.Builder<EnvironmentConfig.Builder> implements EnvironmentConfigOrBuilder
Environment configuration for a workload.
Protobuf type google.cloud.dataproc.v1.EnvironmentConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EnvironmentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EnvironmentConfig build()
Returns
buildPartial()
public EnvironmentConfig buildPartial()
Returns
clear()
public EnvironmentConfig.Builder clear()
Returns
Overrides
clearExecutionConfig()
public EnvironmentConfig.Builder clearExecutionConfig()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public EnvironmentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EnvironmentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPeripheralsConfig()
public EnvironmentConfig.Builder clearPeripheralsConfig()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public EnvironmentConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public EnvironmentConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExecutionConfig()
public ExecutionConfig getExecutionConfig()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getExecutionConfigBuilder()
public ExecutionConfig.Builder getExecutionConfigBuilder()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getExecutionConfigOrBuilder()
public ExecutionConfigOrBuilder getExecutionConfigOrBuilder()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPeripheralsConfig()
public PeripheralsConfig getPeripheralsConfig()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPeripheralsConfigBuilder()
public PeripheralsConfig.Builder getPeripheralsConfigBuilder()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPeripheralsConfigOrBuilder()
public PeripheralsConfigOrBuilder getPeripheralsConfigOrBuilder()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasExecutionConfig()
public boolean hasExecutionConfig()
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the executionConfig field is set.
|
hasPeripheralsConfig()
public boolean hasPeripheralsConfig()
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the peripheralsConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExecutionConfig(ExecutionConfig value)
public EnvironmentConfig.Builder mergeExecutionConfig(ExecutionConfig value)
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeFrom(EnvironmentConfig other)
public EnvironmentConfig.Builder mergeFrom(EnvironmentConfig other)
Parameter
Returns
public EnvironmentConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EnvironmentConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePeripheralsConfig(PeripheralsConfig value)
public EnvironmentConfig.Builder mergePeripheralsConfig(PeripheralsConfig value)
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EnvironmentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setExecutionConfig(ExecutionConfig value)
public EnvironmentConfig.Builder setExecutionConfig(ExecutionConfig value)
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setExecutionConfig(ExecutionConfig.Builder builderForValue)
public EnvironmentConfig.Builder setExecutionConfig(ExecutionConfig.Builder builderForValue)
Optional. Execution configuration for a workload.
.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EnvironmentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPeripheralsConfig(PeripheralsConfig value)
public EnvironmentConfig.Builder setPeripheralsConfig(PeripheralsConfig value)
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setPeripheralsConfig(PeripheralsConfig.Builder builderForValue)
public EnvironmentConfig.Builder setPeripheralsConfig(PeripheralsConfig.Builder builderForValue)
Optional. Peripherals configuration that workload has access to.
.google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EnvironmentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EnvironmentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides