Class VirtualClusterConfig (3.1.1)

public final class VirtualClusterConfig extends GeneratedMessageV3 implements VirtualClusterConfigOrBuilder

Dataproc cluster config for a cluster that does not directly control the underlying compute resources, such as a Dataproc-on-GKE cluster.

Protobuf type google.cloud.dataproc.v1.VirtualClusterConfig

Static Fields

AUXILIARY_SERVICES_CONFIG_FIELD_NUMBER

public static final int AUXILIARY_SERVICES_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

KUBERNETES_CLUSTER_CONFIG_FIELD_NUMBER

public static final int KUBERNETES_CLUSTER_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

STAGING_BUCKET_FIELD_NUMBER

public static final int STAGING_BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int

TEMP_BUCKET_FIELD_NUMBER

public static final int TEMP_BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VirtualClusterConfig getDefaultInstance()
Returns
TypeDescription
VirtualClusterConfig

getDescriptor()

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

newBuilder()

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

newBuilder(VirtualClusterConfig prototype)

public static VirtualClusterConfig.Builder newBuilder(VirtualClusterConfig prototype)
Parameter
NameDescription
prototypeVirtualClusterConfig
Returns
TypeDescription
VirtualClusterConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAuxiliaryServicesConfig()

public AuxiliaryServicesConfig getAuxiliaryServicesConfig()

Optional. Configuration of auxiliary services used by this cluster.

.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AuxiliaryServicesConfig

The auxiliaryServicesConfig.

getAuxiliaryServicesConfigOrBuilder()

public AuxiliaryServicesConfigOrBuilder getAuxiliaryServicesConfigOrBuilder()

Optional. Configuration of auxiliary services used by this cluster.

.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AuxiliaryServicesConfigOrBuilder

getDefaultInstanceForType()

public VirtualClusterConfig getDefaultInstanceForType()
Returns
TypeDescription
VirtualClusterConfig

getInfrastructureConfigCase()

public VirtualClusterConfig.InfrastructureConfigCase getInfrastructureConfigCase()
Returns
TypeDescription
VirtualClusterConfig.InfrastructureConfigCase

getKubernetesClusterConfig()

public KubernetesClusterConfig getKubernetesClusterConfig()

Required. The configuration for running the Dataproc cluster on Kubernetes.

.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KubernetesClusterConfig

The kubernetesClusterConfig.

getKubernetesClusterConfigOrBuilder()

public KubernetesClusterConfigOrBuilder getKubernetesClusterConfigOrBuilder()

Required. The configuration for running the Dataproc cluster on Kubernetes.

.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KubernetesClusterConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStagingBucket()

public String getStagingBucket()

Optional. A Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging and temp buckets). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.

string staging_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The stagingBucket.

getStagingBucketBytes()

public ByteString getStagingBucketBytes()

Optional. A Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging and temp buckets). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.

string staging_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for stagingBucket.

getTempBucket()

public String getTempBucket()

Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see Dataproc staging and temp buckets). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.

string temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The tempBucket.

getTempBucketBytes()

public ByteString getTempBucketBytes()

Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see Dataproc staging and temp buckets). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.

string temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for tempBucket.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAuxiliaryServicesConfig()

public boolean hasAuxiliaryServicesConfig()

Optional. Configuration of auxiliary services used by this cluster.

.google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the auxiliaryServicesConfig field is set.

hasKubernetesClusterConfig()

public boolean hasKubernetesClusterConfig()

Required. The configuration for running the Dataproc cluster on Kubernetes.

.google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the kubernetesClusterConfig 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 VirtualClusterConfig.Builder newBuilderForType()
Returns
TypeDescription
VirtualClusterConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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