• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/dataproc/v1/clusters.proto
18 
19 package com.google.cloud.dataproc.v1;
20 
21 public interface VirtualClusterConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.VirtualClusterConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Optional. A Cloud Storage bucket used to stage job
31    * dependencies, config files, and job driver console output.
32    * If you do not specify a staging bucket, Cloud
33    * Dataproc will determine a Cloud Storage location (US,
34    * ASIA, or EU) for your cluster's staging bucket according to the
35    * Compute Engine zone where your cluster is deployed, and then create
36    * and manage this project-level, per-location bucket (see
37    * [Dataproc staging and temp
38    * buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
39    * **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
40    * a Cloud Storage bucket.**
41    * </pre>
42    *
43    * <code>string staging_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
44    *
45    * @return The stagingBucket.
46    */
getStagingBucket()47   java.lang.String getStagingBucket();
48   /**
49    *
50    *
51    * <pre>
52    * Optional. A Cloud Storage bucket used to stage job
53    * dependencies, config files, and job driver console output.
54    * If you do not specify a staging bucket, Cloud
55    * Dataproc will determine a Cloud Storage location (US,
56    * ASIA, or EU) for your cluster's staging bucket according to the
57    * Compute Engine zone where your cluster is deployed, and then create
58    * and manage this project-level, per-location bucket (see
59    * [Dataproc staging and temp
60    * buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
61    * **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
62    * a Cloud Storage bucket.**
63    * </pre>
64    *
65    * <code>string staging_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
66    *
67    * @return The bytes for stagingBucket.
68    */
getStagingBucketBytes()69   com.google.protobuf.ByteString getStagingBucketBytes();
70 
71   /**
72    *
73    *
74    * <pre>
75    * Required. The configuration for running the Dataproc cluster on
76    * Kubernetes.
77    * </pre>
78    *
79    * <code>
80    * .google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
81    * </code>
82    *
83    * @return Whether the kubernetesClusterConfig field is set.
84    */
hasKubernetesClusterConfig()85   boolean hasKubernetesClusterConfig();
86   /**
87    *
88    *
89    * <pre>
90    * Required. The configuration for running the Dataproc cluster on
91    * Kubernetes.
92    * </pre>
93    *
94    * <code>
95    * .google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
96    * </code>
97    *
98    * @return The kubernetesClusterConfig.
99    */
getKubernetesClusterConfig()100   com.google.cloud.dataproc.v1.KubernetesClusterConfig getKubernetesClusterConfig();
101   /**
102    *
103    *
104    * <pre>
105    * Required. The configuration for running the Dataproc cluster on
106    * Kubernetes.
107    * </pre>
108    *
109    * <code>
110    * .google.cloud.dataproc.v1.KubernetesClusterConfig kubernetes_cluster_config = 6 [(.google.api.field_behavior) = REQUIRED];
111    * </code>
112    */
113   com.google.cloud.dataproc.v1.KubernetesClusterConfigOrBuilder
getKubernetesClusterConfigOrBuilder()114       getKubernetesClusterConfigOrBuilder();
115 
116   /**
117    *
118    *
119    * <pre>
120    * Optional. Configuration of auxiliary services used by this cluster.
121    * </pre>
122    *
123    * <code>
124    * .google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
125    * </code>
126    *
127    * @return Whether the auxiliaryServicesConfig field is set.
128    */
hasAuxiliaryServicesConfig()129   boolean hasAuxiliaryServicesConfig();
130   /**
131    *
132    *
133    * <pre>
134    * Optional. Configuration of auxiliary services used by this cluster.
135    * </pre>
136    *
137    * <code>
138    * .google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
139    * </code>
140    *
141    * @return The auxiliaryServicesConfig.
142    */
getAuxiliaryServicesConfig()143   com.google.cloud.dataproc.v1.AuxiliaryServicesConfig getAuxiliaryServicesConfig();
144   /**
145    *
146    *
147    * <pre>
148    * Optional. Configuration of auxiliary services used by this cluster.
149    * </pre>
150    *
151    * <code>
152    * .google.cloud.dataproc.v1.AuxiliaryServicesConfig auxiliary_services_config = 7 [(.google.api.field_behavior) = OPTIONAL];
153    * </code>
154    */
155   com.google.cloud.dataproc.v1.AuxiliaryServicesConfigOrBuilder
getAuxiliaryServicesConfigOrBuilder()156       getAuxiliaryServicesConfigOrBuilder();
157 
158   public com.google.cloud.dataproc.v1.VirtualClusterConfig.InfrastructureConfigCase
getInfrastructureConfigCase()159       getInfrastructureConfigCase();
160 }
161