Class AuxiliaryServicesConfig (4.17.0)

public final class AuxiliaryServicesConfig extends GeneratedMessageV3 implements AuxiliaryServicesConfigOrBuilder

Auxiliary services configuration for a Cluster.

Protobuf type google.cloud.dataproc.v1.AuxiliaryServicesConfig

Static Fields

METASTORE_CONFIG_FIELD_NUMBER

public static final int METASTORE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SPARK_HISTORY_SERVER_CONFIG_FIELD_NUMBER

public static final int SPARK_HISTORY_SERVER_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AuxiliaryServicesConfig getDefaultInstance()
Returns
TypeDescription
AuxiliaryServicesConfig

getDescriptor()

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

newBuilder()

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

newBuilder(AuxiliaryServicesConfig prototype)

public static AuxiliaryServicesConfig.Builder newBuilder(AuxiliaryServicesConfig prototype)
Parameter
NameDescription
prototypeAuxiliaryServicesConfig
Returns
TypeDescription
AuxiliaryServicesConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AuxiliaryServicesConfig getDefaultInstanceForType()
Returns
TypeDescription
AuxiliaryServicesConfig

getMetastoreConfig()

public MetastoreConfig getMetastoreConfig()

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MetastoreConfig

The metastoreConfig.

getMetastoreConfigOrBuilder()

public MetastoreConfigOrBuilder getMetastoreConfigOrBuilder()

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MetastoreConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSparkHistoryServerConfig()

public SparkHistoryServerConfig getSparkHistoryServerConfig()

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SparkHistoryServerConfig

The sparkHistoryServerConfig.

getSparkHistoryServerConfigOrBuilder()

public SparkHistoryServerConfigOrBuilder getSparkHistoryServerConfigOrBuilder()

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SparkHistoryServerConfigOrBuilder

hasMetastoreConfig()

public boolean hasMetastoreConfig()

Optional. The Hive Metastore configuration for this workload.

.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the metastoreConfig field is set.

hasSparkHistoryServerConfig()

public boolean hasSparkHistoryServerConfig()

Optional. The Spark History Server configuration for the workload.

.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the sparkHistoryServerConfig field is set.

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 AuxiliaryServicesConfig.Builder newBuilderForType()
Returns
TypeDescription
AuxiliaryServicesConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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