Class SparkHistoryServerConfig (4.36.0)

public final class SparkHistoryServerConfig extends GeneratedMessageV3 implements SparkHistoryServerConfigOrBuilder

Spark History Server configuration for the workload.

Protobuf type google.cloud.dataproc.v1.SparkHistoryServerConfig

Static Fields

DATAPROC_CLUSTER_FIELD_NUMBER

public static final int DATAPROC_CLUSTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SparkHistoryServerConfig getDefaultInstance()
Returns
TypeDescription
SparkHistoryServerConfig

getDescriptor()

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

newBuilder()

public static SparkHistoryServerConfig.Builder newBuilder()
Returns
TypeDescription
SparkHistoryServerConfig.Builder

newBuilder(SparkHistoryServerConfig prototype)

public static SparkHistoryServerConfig.Builder newBuilder(SparkHistoryServerConfig prototype)
Parameter
NameDescription
prototypeSparkHistoryServerConfig
Returns
TypeDescription
SparkHistoryServerConfig.Builder

parseDelimitedFrom(InputStream input)

public static SparkHistoryServerConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SparkHistoryServerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SparkHistoryServerConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SparkHistoryServerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SparkHistoryServerConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SparkHistoryServerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SparkHistoryServerConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SparkHistoryServerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SparkHistoryServerConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SparkHistoryServerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SparkHistoryServerConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SparkHistoryServerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SparkHistoryServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SparkHistoryServerConfig> parser()
Returns
TypeDescription
Parser<SparkHistoryServerConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<SparkHistoryServerConfig> getParserForType()
Returns
TypeDescription
Parser<SparkHistoryServerConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SparkHistoryServerConfig.Builder newBuilderForType()
Returns
TypeDescription
SparkHistoryServerConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SparkHistoryServerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SparkHistoryServerConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SparkHistoryServerConfig.Builder toBuilder()
Returns
TypeDescription
SparkHistoryServerConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException