Class EnvironmentConfig.Builder (4.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EnvironmentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

build()

public EnvironmentConfig build()
Returns
TypeDescription
EnvironmentConfig

buildPartial()

public EnvironmentConfig buildPartial()
Returns
TypeDescription
EnvironmentConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public EnvironmentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EnvironmentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
EnvironmentConfig.Builder

clone()

public EnvironmentConfig.Builder clone()
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

getDefaultInstanceForType()

public EnvironmentConfig getDefaultInstanceForType()
Returns
TypeDescription
EnvironmentConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the peripheralsConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueExecutionConfig
Returns
TypeDescription
EnvironmentConfig.Builder

mergeFrom(EnvironmentConfig other)

public EnvironmentConfig.Builder mergeFrom(EnvironmentConfig other)
Parameter
NameDescription
otherEnvironmentConfig
Returns
TypeDescription
EnvironmentConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EnvironmentConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EnvironmentConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePeripheralsConfig
Returns
TypeDescription
EnvironmentConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueExecutionConfig
Returns
TypeDescription
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
NameDescription
builderForValueExecutionConfig.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EnvironmentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePeripheralsConfig
Returns
TypeDescription
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
NameDescription
builderForValuePeripheralsConfig.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

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

public EnvironmentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides