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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SparkHistoryServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SparkHistoryServerConfig build()
buildPartial()
public SparkHistoryServerConfig buildPartial()
clear()
public SparkHistoryServerConfig.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public SparkHistoryServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SparkHistoryServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SparkHistoryServerConfig.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SparkHistoryServerConfig other)
public SparkHistoryServerConfig.Builder mergeFrom(SparkHistoryServerConfig other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SparkHistoryServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SparkHistoryServerConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SparkHistoryServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SparkHistoryServerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SparkHistoryServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SparkHistoryServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides