Class SparkHistoryServerConfig.Builder (2.44.0)

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

Configuration of the Spark History Server.

Protobuf type google.cloud.bigquery.connection.v1.SparkHistoryServerConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SparkHistoryServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SparkHistoryServerConfig.Builder
Overrides

build()

public SparkHistoryServerConfig build()
Returns
Type Description
SparkHistoryServerConfig

buildPartial()

public SparkHistoryServerConfig buildPartial()
Returns
Type Description
SparkHistoryServerConfig

clear()

public SparkHistoryServerConfig.Builder clear()
Returns
Type Description
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 connection.

Example:

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

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
SparkHistoryServerConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SparkHistoryServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SparkHistoryServerConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SparkHistoryServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SparkHistoryServerConfig.Builder
Overrides

clone()

public SparkHistoryServerConfig.Builder clone()
Returns
Type Description
SparkHistoryServerConfig.Builder
Overrides

getDataprocCluster()

public String getDataprocCluster()

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

Example:

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

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataprocCluster.

getDataprocClusterBytes()

public ByteString getDataprocClusterBytes()

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

Example:

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

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataprocCluster.

getDefaultInstanceForType()

public SparkHistoryServerConfig getDefaultInstanceForType()
Returns
Type Description
SparkHistoryServerConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SparkHistoryServerConfig other)

public SparkHistoryServerConfig.Builder mergeFrom(SparkHistoryServerConfig other)
Parameter
Name Description
other SparkHistoryServerConfig
Returns
Type Description
SparkHistoryServerConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SparkHistoryServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SparkHistoryServerConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SparkHistoryServerConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SparkHistoryServerConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SparkHistoryServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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 connection.

Example:

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

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The dataprocCluster to set.

Returns
Type Description
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 connection.

Example:

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

string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for dataprocCluster to set.

Returns
Type Description
SparkHistoryServerConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SparkHistoryServerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SparkHistoryServerConfig.Builder
Overrides

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

public SparkHistoryServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SparkHistoryServerConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SparkHistoryServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SparkHistoryServerConfig.Builder
Overrides