Class AuxiliaryServicesConfig.Builder (4.42.0)

public static final class AuxiliaryServicesConfig.Builder extends GeneratedMessageV3.Builder<AuxiliaryServicesConfig.Builder> implements AuxiliaryServicesConfigOrBuilder

Auxiliary services configuration for a Cluster.

Protobuf type google.cloud.dataproc.v1.AuxiliaryServicesConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuxiliaryServicesConfig build()
Returns
Type Description
AuxiliaryServicesConfig

buildPartial()

public AuxiliaryServicesConfig buildPartial()
Returns
Type Description
AuxiliaryServicesConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetastoreConfig()

public AuxiliaryServicesConfig.Builder clearMetastoreConfig()

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuxiliaryServicesConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AuxiliaryServicesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AuxiliaryServicesConfig.Builder
Overrides

clearSparkHistoryServerConfig()

public AuxiliaryServicesConfig.Builder clearSparkHistoryServerConfig()

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuxiliaryServicesConfig.Builder

clone()

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

getDefaultInstanceForType()

public AuxiliaryServicesConfig getDefaultInstanceForType()
Returns
Type Description
AuxiliaryServicesConfig

getDescriptorForType()

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

getMetastoreConfig()

public MetastoreConfig getMetastoreConfig()

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MetastoreConfig

The metastoreConfig.

getMetastoreConfigBuilder()

public MetastoreConfig.Builder getMetastoreConfigBuilder()

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MetastoreConfig.Builder

getMetastoreConfigOrBuilder()

public MetastoreConfigOrBuilder getMetastoreConfigOrBuilder()

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MetastoreConfigOrBuilder

getSparkHistoryServerConfig()

public SparkHistoryServerConfig getSparkHistoryServerConfig()

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SparkHistoryServerConfig

The sparkHistoryServerConfig.

getSparkHistoryServerConfigBuilder()

public SparkHistoryServerConfig.Builder getSparkHistoryServerConfigBuilder()

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SparkHistoryServerConfig.Builder

getSparkHistoryServerConfigOrBuilder()

public SparkHistoryServerConfigOrBuilder getSparkHistoryServerConfigOrBuilder()

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SparkHistoryServerConfigOrBuilder

hasMetastoreConfig()

public boolean hasMetastoreConfig()

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the metastoreConfig field is set.

hasSparkHistoryServerConfig()

public boolean hasSparkHistoryServerConfig()

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sparkHistoryServerConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuxiliaryServicesConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetastoreConfig(MetastoreConfig value)

public AuxiliaryServicesConfig.Builder mergeMetastoreConfig(MetastoreConfig value)

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MetastoreConfig
Returns
Type Description
AuxiliaryServicesConfig.Builder

mergeSparkHistoryServerConfig(SparkHistoryServerConfig value)

public AuxiliaryServicesConfig.Builder mergeSparkHistoryServerConfig(SparkHistoryServerConfig value)

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SparkHistoryServerConfig
Returns
Type Description
AuxiliaryServicesConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryServicesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuxiliaryServicesConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetastoreConfig(MetastoreConfig value)

public AuxiliaryServicesConfig.Builder setMetastoreConfig(MetastoreConfig value)

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MetastoreConfig
Returns
Type Description
AuxiliaryServicesConfig.Builder

setMetastoreConfig(MetastoreConfig.Builder builderForValue)

public AuxiliaryServicesConfig.Builder setMetastoreConfig(MetastoreConfig.Builder builderForValue)

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue MetastoreConfig.Builder
Returns
Type Description
AuxiliaryServicesConfig.Builder

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

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

setSparkHistoryServerConfig(SparkHistoryServerConfig value)

public AuxiliaryServicesConfig.Builder setSparkHistoryServerConfig(SparkHistoryServerConfig value)

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SparkHistoryServerConfig
Returns
Type Description
AuxiliaryServicesConfig.Builder

setSparkHistoryServerConfig(SparkHistoryServerConfig.Builder builderForValue)

public AuxiliaryServicesConfig.Builder setSparkHistoryServerConfig(SparkHistoryServerConfig.Builder builderForValue)

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SparkHistoryServerConfig.Builder
Returns
Type Description
AuxiliaryServicesConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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