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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuxiliaryServicesConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
Returns
Overrides
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
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
Overrides
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AuxiliaryServicesConfig other)
public AuxiliaryServicesConfig.Builder mergeFrom(AuxiliaryServicesConfig other)
Parameter
Returns
public AuxiliaryServicesConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AuxiliaryServicesConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuxiliaryServicesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AuxiliaryServicesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AuxiliaryServicesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
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
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AuxiliaryServicesConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides