Class VirtualClusterConfig

  • All Implemented Interfaces:
    VirtualClusterConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class VirtualClusterConfig
    extends com.google.protobuf.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](https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview).
     
    Protobuf type google.cloud.dataproc.v1.VirtualClusterConfig
    See Also:
    Serialized Form
    • Field Detail

      • STAGING_BUCKET_FIELD_NUMBER

        public static final int STAGING_BUCKET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • KUBERNETES_CLUSTER_CONFIG_FIELD_NUMBER

        public static final int KUBERNETES_CLUSTER_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUXILIARY_SERVICES_CONFIG_FIELD_NUMBER

        public static final int AUXILIARY_SERVICES_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **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];
        Specified by:
        getStagingBucket in interface VirtualClusterConfigOrBuilder
        Returns:
        The stagingBucket.
      • getStagingBucketBytes

        public com.google.protobuf.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](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
         **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];
        Specified by:
        getStagingBucketBytes in interface VirtualClusterConfigOrBuilder
        Returns:
        The bytes for stagingBucket.
      • 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];
        Specified by:
        hasKubernetesClusterConfig in interface VirtualClusterConfigOrBuilder
        Returns:
        Whether the kubernetesClusterConfig field is set.
      • 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];
        Specified by:
        getKubernetesClusterConfig in interface VirtualClusterConfigOrBuilder
        Returns:
        The kubernetesClusterConfig.
      • 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];
        Specified by:
        hasAuxiliaryServicesConfig in interface VirtualClusterConfigOrBuilder
        Returns:
        Whether the auxiliaryServicesConfig field is set.
      • 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];
        Specified by:
        getAuxiliaryServicesConfig in interface VirtualClusterConfigOrBuilder
        Returns:
        The auxiliaryServicesConfig.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static VirtualClusterConfig parseFrom​(ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualClusterConfig parseFrom​(ByteBuffer data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualClusterConfig parseFrom​(com.google.protobuf.ByteString data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualClusterConfig parseFrom​(com.google.protobuf.ByteString data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualClusterConfig parseFrom​(byte[] data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VirtualClusterConfig parseFrom​(byte[] data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public VirtualClusterConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public VirtualClusterConfig.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected VirtualClusterConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<VirtualClusterConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public VirtualClusterConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder