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
Inherited Members
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SparkHistoryServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SparkHistoryServerConfig build()
Returns
buildPartial()
public SparkHistoryServerConfig buildPartial()
Returns
clear()
public SparkHistoryServerConfig.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public SparkHistoryServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SparkHistoryServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SparkHistoryServerConfig.Builder clone()
Returns
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SparkHistoryServerConfig other)
public SparkHistoryServerConfig.Builder mergeFrom(SparkHistoryServerConfig other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SparkHistoryServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SparkHistoryServerConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SparkHistoryServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
value | String
The dataprocCluster to set.
|
Returns
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 | ByteString
The bytes for dataprocCluster to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SparkHistoryServerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SparkHistoryServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SparkHistoryServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides