public final class VirtualClusterConfig extends GeneratedMessageV3 implements VirtualClusterConfigOrBuilder
The 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
AUXILIARY_SERVICES_CONFIG_FIELD_NUMBER
public static final int AUXILIARY_SERVICES_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KUBERNETES_CLUSTER_CONFIG_FIELD_NUMBER
public static final int KUBERNETES_CLUSTER_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STAGING_BUCKET_FIELD_NUMBER
public static final int STAGING_BUCKET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VirtualClusterConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VirtualClusterConfig.Builder newBuilder()
newBuilder(VirtualClusterConfig prototype)
public static VirtualClusterConfig.Builder newBuilder(VirtualClusterConfig prototype)
public static VirtualClusterConfig parseDelimitedFrom(InputStream input)
public static VirtualClusterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VirtualClusterConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VirtualClusterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VirtualClusterConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VirtualClusterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VirtualClusterConfig parseFrom(CodedInputStream input)
public static VirtualClusterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VirtualClusterConfig parseFrom(InputStream input)
public static VirtualClusterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VirtualClusterConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VirtualClusterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VirtualClusterConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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];
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];
getDefaultInstanceForType()
public VirtualClusterConfig getDefaultInstanceForType()
getInfrastructureConfigCase()
public VirtualClusterConfig.InfrastructureConfigCase getInfrastructureConfigCase()
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];
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];
getParserForType()
public Parser<VirtualClusterConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStagingBucket()
public String getStagingBucket()
Optional. A Cloud 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 |
---|
Type | Description |
String | The stagingBucket.
|
getStagingBucketBytes()
public ByteString getStagingBucketBytes()
Optional. A Cloud 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 |
---|
Type | Description |
ByteString | The bytes for stagingBucket.
|
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 |
---|
Type | Description |
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 |
---|
Type | Description |
boolean | Whether the kubernetesClusterConfig field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VirtualClusterConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VirtualClusterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VirtualClusterConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides