Class AuxiliaryServicesConfig.Builder (4.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuxiliaryServicesConfig build()
Returns
TypeDescription
AuxiliaryServicesConfig

buildPartial()

public AuxiliaryServicesConfig buildPartial()
Returns
TypeDescription
AuxiliaryServicesConfig

clear()

public AuxiliaryServicesConfig.Builder clear()
Returns
TypeDescription
AuxiliaryServicesConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AuxiliaryServicesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AuxiliaryServicesConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AuxiliaryServicesConfig getDefaultInstanceForType()
Returns
TypeDescription
AuxiliaryServicesConfig

getDescriptorForType()

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

Whether the sparkHistoryServerConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AuxiliaryServicesConfig other)

public AuxiliaryServicesConfig.Builder mergeFrom(AuxiliaryServicesConfig other)
Parameter
NameDescription
otherAuxiliaryServicesConfig
Returns
TypeDescription
AuxiliaryServicesConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryServicesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuxiliaryServicesConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AuxiliaryServicesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSparkHistoryServerConfig
Returns
TypeDescription
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
NameDescription
builderForValueSparkHistoryServerConfig.Builder
Returns
TypeDescription
AuxiliaryServicesConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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