public static final class SparkHistoryServerConfig.Builder extends GeneratedMessage.Builder<SparkHistoryServerConfig.Builder> implements SparkHistoryServerConfigOrBuilderSpark History Server configuration for the workload.
Protobuf type google.cloud.dataproc.v1.SparkHistoryServerConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SparkHistoryServerConfig.BuilderImplements
SparkHistoryServerConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 | |
|---|---|
| Type | Description |
SparkHistoryServerConfig.Builder |
This builder for chaining. |
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 | |
|---|---|
| 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 workload.
Example:
projects/[project_id]/regions/[region]/clusters/[cluster_name]
string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];
| 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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SparkHistoryServerConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SparkHistoryServerConfig.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
StringThe 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 workload.
Example:
projects/[project_id]/regions/[region]/clusters/[cluster_name]
string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataprocCluster to set. |
| Returns | |
|---|---|
| Type | Description |
SparkHistoryServerConfig.Builder |
This builder for chaining. |