Class AuxiliaryServicesConfig.Builder (4.80.0)

public static final class AuxiliaryServicesConfig.Builder extends GeneratedMessage.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

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

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

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

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 GeneratedMessage.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

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

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