Class MultiZoneConfig.Builder (4.100.0)

public static final class MultiZoneConfig.Builder extends GeneratedMessage.Builder<MultiZoneConfig.Builder> implements MultiZoneConfigOrBuilder

Configuration for multi-zonal clusters that can create instances across multiple Zones within the Region.

Protobuf type google.cloud.dataproc.v1.MultiZoneConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public MultiZoneConfig build()
Returns
Type Description
MultiZoneConfig

buildPartial()

public MultiZoneConfig buildPartial()
Returns
Type Description
MultiZoneConfig

clear()

public MultiZoneConfig.Builder clear()
Returns
Type Description
MultiZoneConfig.Builder
Overrides

clearTargetShape()

public MultiZoneConfig.Builder clearTargetShape()

Optional. The distribution shape of the nodes in the multi-zonal cluster.

.google.cloud.dataproc.v1.MultiZoneConfig.TargetShape target_shape = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiZoneConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public MultiZoneConfig getDefaultInstanceForType()
Returns
Type Description
MultiZoneConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTargetShape()

public MultiZoneConfig.TargetShape getTargetShape()

Optional. The distribution shape of the nodes in the multi-zonal cluster.

.google.cloud.dataproc.v1.MultiZoneConfig.TargetShape target_shape = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiZoneConfig.TargetShape

The targetShape.

getTargetShapeValue()

public int getTargetShapeValue()

Optional. The distribution shape of the nodes in the multi-zonal cluster.

.google.cloud.dataproc.v1.MultiZoneConfig.TargetShape target_shape = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for targetShape.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MultiZoneConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MultiZoneConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MultiZoneConfig.Builder
Overrides

setTargetShape(MultiZoneConfig.TargetShape value)

public MultiZoneConfig.Builder setTargetShape(MultiZoneConfig.TargetShape value)

Optional. The distribution shape of the nodes in the multi-zonal cluster.

.google.cloud.dataproc.v1.MultiZoneConfig.TargetShape target_shape = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MultiZoneConfig.TargetShape

The targetShape to set.

Returns
Type Description
MultiZoneConfig.Builder

This builder for chaining.

setTargetShapeValue(int value)

public MultiZoneConfig.Builder setTargetShapeValue(int value)

Optional. The distribution shape of the nodes in the multi-zonal cluster.

.google.cloud.dataproc.v1.MultiZoneConfig.TargetShape target_shape = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for targetShape to set.

Returns
Type Description
MultiZoneConfig.Builder

This builder for chaining.