Class EnvironmentConfig.Builder (4.41.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EnvironmentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EnvironmentConfig.Builder
Overrides

build()

public EnvironmentConfig build()
Returns
Type Description
EnvironmentConfig

buildPartial()

public EnvironmentConfig buildPartial()
Returns
Type Description
EnvironmentConfig

clear()

public EnvironmentConfig.Builder clear()
Returns
Type Description
EnvironmentConfig.Builder
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
Type Description
EnvironmentConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public EnvironmentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EnvironmentConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EnvironmentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EnvironmentConfig.Builder
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
Type Description
EnvironmentConfig.Builder

clone()

public EnvironmentConfig.Builder clone()
Returns
Type Description
EnvironmentConfig.Builder
Overrides

getDefaultInstanceForType()

public EnvironmentConfig getDefaultInstanceForType()
Returns
Type Description
EnvironmentConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
ExecutionConfig

The executionConfig.

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
Type Description
ExecutionConfig.Builder

getExecutionConfigOrBuilder()

public ExecutionConfigOrBuilder getExecutionConfigOrBuilder()

Optional. Execution configuration for a workload.

.google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionConfigOrBuilder

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
Type Description
PeripheralsConfig

The peripheralsConfig.

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
Type Description
PeripheralsConfig.Builder

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
Type Description
PeripheralsConfigOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value ExecutionConfig
Returns
Type Description
EnvironmentConfig.Builder

mergeFrom(EnvironmentConfig other)

public EnvironmentConfig.Builder mergeFrom(EnvironmentConfig other)
Parameter
Name Description
other EnvironmentConfig
Returns
Type Description
EnvironmentConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EnvironmentConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvironmentConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EnvironmentConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EnvironmentConfig.Builder
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
Name Description
value PeripheralsConfig
Returns
Type Description
EnvironmentConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EnvironmentConfig.Builder
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
Name Description
value ExecutionConfig
Returns
Type Description
EnvironmentConfig.Builder

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
Name Description
builderForValue ExecutionConfig.Builder
Returns
Type Description
EnvironmentConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EnvironmentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EnvironmentConfig.Builder
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
Name Description
value PeripheralsConfig
Returns
Type Description
EnvironmentConfig.Builder

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
Name Description
builderForValue PeripheralsConfig.Builder
Returns
Type Description
EnvironmentConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EnvironmentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EnvironmentConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EnvironmentConfig.Builder
Overrides