Class AuxiliaryServicesConfig.Builder (4.9.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public AuxiliaryServicesConfig build()
Returns

buildPartial()

public AuxiliaryServicesConfig buildPartial()
Returns

clear()

public AuxiliaryServicesConfig.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AuxiliaryServicesConfig.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public AuxiliaryServicesConfig getDefaultInstanceForType()
Returns

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

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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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