Class SparkHistoryServerConfig.Builder (4.26.0)

public static final class SparkHistoryServerConfig.Builder extends GeneratedMessageV3.Builder<SparkHistoryServerConfig.Builder> implements SparkHistoryServerConfigOrBuilder

Spark History Server configuration for the workload.

Protobuf type google.cloud.dataproc.v1.SparkHistoryServerConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SparkHistoryServerConfig build()
Returns
TypeDescription
SparkHistoryServerConfig

buildPartial()

public SparkHistoryServerConfig buildPartial()
Returns
TypeDescription
SparkHistoryServerConfig

clear()

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

clearDataprocCluster()

public SparkHistoryServerConfig.Builder clearDataprocCluster()

Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.

Example:

  • projects/[project_id]/regions/[region]/clusters/[cluster_name]

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SparkHistoryServerConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SparkHistoryServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SparkHistoryServerConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SparkHistoryServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SparkHistoryServerConfig.Builder
Overrides

clone()

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

getDataprocCluster()

public String getDataprocCluster()

Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.

Example:

  • projects/[project_id]/regions/[region]/clusters/[cluster_name]

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The dataprocCluster.

getDataprocClusterBytes()

public ByteString getDataprocClusterBytes()

Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.

Example:

  • projects/[project_id]/regions/[region]/clusters/[cluster_name]

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for dataprocCluster.

getDefaultInstanceForType()

public SparkHistoryServerConfig getDefaultInstanceForType()
Returns
TypeDescription
SparkHistoryServerConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SparkHistoryServerConfig other)

public SparkHistoryServerConfig.Builder mergeFrom(SparkHistoryServerConfig other)
Parameter
NameDescription
otherSparkHistoryServerConfig
Returns
TypeDescription
SparkHistoryServerConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SparkHistoryServerConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SparkHistoryServerConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataprocCluster(String value)

public SparkHistoryServerConfig.Builder setDataprocCluster(String value)

Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.

Example:

  • projects/[project_id]/regions/[region]/clusters/[cluster_name]

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The dataprocCluster to set.

Returns
TypeDescription
SparkHistoryServerConfig.Builder

This builder for chaining.

setDataprocClusterBytes(ByteString value)

public SparkHistoryServerConfig.Builder setDataprocClusterBytes(ByteString value)

Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.

Example:

  • projects/[project_id]/regions/[region]/clusters/[cluster_name]

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for dataprocCluster to set.

Returns
TypeDescription
SparkHistoryServerConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SparkHistoryServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SparkHistoryServerConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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