• 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/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface NodeGroupOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NodeGroup)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Specifies how autoscaling should behave.
31    * </pre>
32    *
33    * <code>
34    * optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
35    * </code>
36    *
37    * @return Whether the autoscalingPolicy field is set.
38    */
hasAutoscalingPolicy()39   boolean hasAutoscalingPolicy();
40   /**
41    *
42    *
43    * <pre>
44    * Specifies how autoscaling should behave.
45    * </pre>
46    *
47    * <code>
48    * optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
49    * </code>
50    *
51    * @return The autoscalingPolicy.
52    */
getAutoscalingPolicy()53   com.google.cloud.compute.v1.NodeGroupAutoscalingPolicy getAutoscalingPolicy();
54   /**
55    *
56    *
57    * <pre>
58    * Specifies how autoscaling should behave.
59    * </pre>
60    *
61    * <code>
62    * optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
63    * </code>
64    */
getAutoscalingPolicyOrBuilder()65   com.google.cloud.compute.v1.NodeGroupAutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder();
66 
67   /**
68    *
69    *
70    * <pre>
71    * [Output Only] Creation timestamp in RFC3339 text format.
72    * </pre>
73    *
74    * <code>optional string creation_timestamp = 30525366;</code>
75    *
76    * @return Whether the creationTimestamp field is set.
77    */
hasCreationTimestamp()78   boolean hasCreationTimestamp();
79   /**
80    *
81    *
82    * <pre>
83    * [Output Only] Creation timestamp in RFC3339 text format.
84    * </pre>
85    *
86    * <code>optional string creation_timestamp = 30525366;</code>
87    *
88    * @return The creationTimestamp.
89    */
getCreationTimestamp()90   java.lang.String getCreationTimestamp();
91   /**
92    *
93    *
94    * <pre>
95    * [Output Only] Creation timestamp in RFC3339 text format.
96    * </pre>
97    *
98    * <code>optional string creation_timestamp = 30525366;</code>
99    *
100    * @return The bytes for creationTimestamp.
101    */
getCreationTimestampBytes()102   com.google.protobuf.ByteString getCreationTimestampBytes();
103 
104   /**
105    *
106    *
107    * <pre>
108    * An optional description of this resource. Provide this property when you create the resource.
109    * </pre>
110    *
111    * <code>optional string description = 422937596;</code>
112    *
113    * @return Whether the description field is set.
114    */
hasDescription()115   boolean hasDescription();
116   /**
117    *
118    *
119    * <pre>
120    * An optional description of this resource. Provide this property when you create the resource.
121    * </pre>
122    *
123    * <code>optional string description = 422937596;</code>
124    *
125    * @return The description.
126    */
getDescription()127   java.lang.String getDescription();
128   /**
129    *
130    *
131    * <pre>
132    * An optional description of this resource. Provide this property when you create the resource.
133    * </pre>
134    *
135    * <code>optional string description = 422937596;</code>
136    *
137    * @return The bytes for description.
138    */
getDescriptionBytes()139   com.google.protobuf.ByteString getDescriptionBytes();
140 
141   /**
142    * <code>optional string fingerprint = 234678500;</code>
143    *
144    * @return Whether the fingerprint field is set.
145    */
hasFingerprint()146   boolean hasFingerprint();
147   /**
148    * <code>optional string fingerprint = 234678500;</code>
149    *
150    * @return The fingerprint.
151    */
getFingerprint()152   java.lang.String getFingerprint();
153   /**
154    * <code>optional string fingerprint = 234678500;</code>
155    *
156    * @return The bytes for fingerprint.
157    */
getFingerprintBytes()158   com.google.protobuf.ByteString getFingerprintBytes();
159 
160   /**
161    *
162    *
163    * <pre>
164    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
165    * </pre>
166    *
167    * <code>optional uint64 id = 3355;</code>
168    *
169    * @return Whether the id field is set.
170    */
hasId()171   boolean hasId();
172   /**
173    *
174    *
175    * <pre>
176    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
177    * </pre>
178    *
179    * <code>optional uint64 id = 3355;</code>
180    *
181    * @return The id.
182    */
getId()183   long getId();
184 
185   /**
186    *
187    *
188    * <pre>
189    * [Output Only] The type of the resource. Always compute#nodeGroup for node group.
190    * </pre>
191    *
192    * <code>optional string kind = 3292052;</code>
193    *
194    * @return Whether the kind field is set.
195    */
hasKind()196   boolean hasKind();
197   /**
198    *
199    *
200    * <pre>
201    * [Output Only] The type of the resource. Always compute#nodeGroup for node group.
202    * </pre>
203    *
204    * <code>optional string kind = 3292052;</code>
205    *
206    * @return The kind.
207    */
getKind()208   java.lang.String getKind();
209   /**
210    *
211    *
212    * <pre>
213    * [Output Only] The type of the resource. Always compute#nodeGroup for node group.
214    * </pre>
215    *
216    * <code>optional string kind = 3292052;</code>
217    *
218    * @return The bytes for kind.
219    */
getKindBytes()220   com.google.protobuf.ByteString getKindBytes();
221 
222   /**
223    *
224    *
225    * <pre>
226    * An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
227    * </pre>
228    *
229    * <code>optional string location_hint = 350519505;</code>
230    *
231    * @return Whether the locationHint field is set.
232    */
hasLocationHint()233   boolean hasLocationHint();
234   /**
235    *
236    *
237    * <pre>
238    * An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
239    * </pre>
240    *
241    * <code>optional string location_hint = 350519505;</code>
242    *
243    * @return The locationHint.
244    */
getLocationHint()245   java.lang.String getLocationHint();
246   /**
247    *
248    *
249    * <pre>
250    * An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
251    * </pre>
252    *
253    * <code>optional string location_hint = 350519505;</code>
254    *
255    * @return The bytes for locationHint.
256    */
getLocationHintBytes()257   com.google.protobuf.ByteString getLocationHintBytes();
258 
259   /**
260    *
261    *
262    * <pre>
263    * Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
264    * Check the MaintenancePolicy enum for the list of possible values.
265    * </pre>
266    *
267    * <code>optional string maintenance_policy = 528327646;</code>
268    *
269    * @return Whether the maintenancePolicy field is set.
270    */
hasMaintenancePolicy()271   boolean hasMaintenancePolicy();
272   /**
273    *
274    *
275    * <pre>
276    * Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
277    * Check the MaintenancePolicy enum for the list of possible values.
278    * </pre>
279    *
280    * <code>optional string maintenance_policy = 528327646;</code>
281    *
282    * @return The maintenancePolicy.
283    */
getMaintenancePolicy()284   java.lang.String getMaintenancePolicy();
285   /**
286    *
287    *
288    * <pre>
289    * Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
290    * Check the MaintenancePolicy enum for the list of possible values.
291    * </pre>
292    *
293    * <code>optional string maintenance_policy = 528327646;</code>
294    *
295    * @return The bytes for maintenancePolicy.
296    */
getMaintenancePolicyBytes()297   com.google.protobuf.ByteString getMaintenancePolicyBytes();
298 
299   /**
300    * <code>
301    * optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
302    * </code>
303    *
304    * @return Whether the maintenanceWindow field is set.
305    */
hasMaintenanceWindow()306   boolean hasMaintenanceWindow();
307   /**
308    * <code>
309    * optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
310    * </code>
311    *
312    * @return The maintenanceWindow.
313    */
getMaintenanceWindow()314   com.google.cloud.compute.v1.NodeGroupMaintenanceWindow getMaintenanceWindow();
315   /**
316    * <code>
317    * optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
318    * </code>
319    */
getMaintenanceWindowOrBuilder()320   com.google.cloud.compute.v1.NodeGroupMaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder();
321 
322   /**
323    *
324    *
325    * <pre>
326    * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
327    * </pre>
328    *
329    * <code>optional string name = 3373707;</code>
330    *
331    * @return Whether the name field is set.
332    */
hasName()333   boolean hasName();
334   /**
335    *
336    *
337    * <pre>
338    * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
339    * </pre>
340    *
341    * <code>optional string name = 3373707;</code>
342    *
343    * @return The name.
344    */
getName()345   java.lang.String getName();
346   /**
347    *
348    *
349    * <pre>
350    * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
351    * </pre>
352    *
353    * <code>optional string name = 3373707;</code>
354    *
355    * @return The bytes for name.
356    */
getNameBytes()357   com.google.protobuf.ByteString getNameBytes();
358 
359   /**
360    *
361    *
362    * <pre>
363    * URL of the node template to create the node group from.
364    * </pre>
365    *
366    * <code>optional string node_template = 323154455;</code>
367    *
368    * @return Whether the nodeTemplate field is set.
369    */
hasNodeTemplate()370   boolean hasNodeTemplate();
371   /**
372    *
373    *
374    * <pre>
375    * URL of the node template to create the node group from.
376    * </pre>
377    *
378    * <code>optional string node_template = 323154455;</code>
379    *
380    * @return The nodeTemplate.
381    */
getNodeTemplate()382   java.lang.String getNodeTemplate();
383   /**
384    *
385    *
386    * <pre>
387    * URL of the node template to create the node group from.
388    * </pre>
389    *
390    * <code>optional string node_template = 323154455;</code>
391    *
392    * @return The bytes for nodeTemplate.
393    */
getNodeTemplateBytes()394   com.google.protobuf.ByteString getNodeTemplateBytes();
395 
396   /**
397    *
398    *
399    * <pre>
400    * [Output Only] Server-defined URL for the resource.
401    * </pre>
402    *
403    * <code>optional string self_link = 456214797;</code>
404    *
405    * @return Whether the selfLink field is set.
406    */
hasSelfLink()407   boolean hasSelfLink();
408   /**
409    *
410    *
411    * <pre>
412    * [Output Only] Server-defined URL for the resource.
413    * </pre>
414    *
415    * <code>optional string self_link = 456214797;</code>
416    *
417    * @return The selfLink.
418    */
getSelfLink()419   java.lang.String getSelfLink();
420   /**
421    *
422    *
423    * <pre>
424    * [Output Only] Server-defined URL for the resource.
425    * </pre>
426    *
427    * <code>optional string self_link = 456214797;</code>
428    *
429    * @return The bytes for selfLink.
430    */
getSelfLinkBytes()431   com.google.protobuf.ByteString getSelfLinkBytes();
432 
433   /**
434    *
435    *
436    * <pre>
437    * Share-settings for the node group
438    * </pre>
439    *
440    * <code>optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;</code>
441    *
442    * @return Whether the shareSettings field is set.
443    */
hasShareSettings()444   boolean hasShareSettings();
445   /**
446    *
447    *
448    * <pre>
449    * Share-settings for the node group
450    * </pre>
451    *
452    * <code>optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;</code>
453    *
454    * @return The shareSettings.
455    */
getShareSettings()456   com.google.cloud.compute.v1.ShareSettings getShareSettings();
457   /**
458    *
459    *
460    * <pre>
461    * Share-settings for the node group
462    * </pre>
463    *
464    * <code>optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;</code>
465    */
getShareSettingsOrBuilder()466   com.google.cloud.compute.v1.ShareSettingsOrBuilder getShareSettingsOrBuilder();
467 
468   /**
469    *
470    *
471    * <pre>
472    * [Output Only] The total number of nodes in the node group.
473    * </pre>
474    *
475    * <code>optional int32 size = 3530753;</code>
476    *
477    * @return Whether the size field is set.
478    */
hasSize()479   boolean hasSize();
480   /**
481    *
482    *
483    * <pre>
484    * [Output Only] The total number of nodes in the node group.
485    * </pre>
486    *
487    * <code>optional int32 size = 3530753;</code>
488    *
489    * @return The size.
490    */
getSize()491   int getSize();
492 
493   /**
494    *
495    *
496    * <pre>
497    *
498    * Check the Status enum for the list of possible values.
499    * </pre>
500    *
501    * <code>optional string status = 181260274;</code>
502    *
503    * @return Whether the status field is set.
504    */
hasStatus()505   boolean hasStatus();
506   /**
507    *
508    *
509    * <pre>
510    *
511    * Check the Status enum for the list of possible values.
512    * </pre>
513    *
514    * <code>optional string status = 181260274;</code>
515    *
516    * @return The status.
517    */
getStatus()518   java.lang.String getStatus();
519   /**
520    *
521    *
522    * <pre>
523    *
524    * Check the Status enum for the list of possible values.
525    * </pre>
526    *
527    * <code>optional string status = 181260274;</code>
528    *
529    * @return The bytes for status.
530    */
getStatusBytes()531   com.google.protobuf.ByteString getStatusBytes();
532 
533   /**
534    *
535    *
536    * <pre>
537    * [Output Only] The name of the zone where the node group resides, such as us-central1-a.
538    * </pre>
539    *
540    * <code>optional string zone = 3744684;</code>
541    *
542    * @return Whether the zone field is set.
543    */
hasZone()544   boolean hasZone();
545   /**
546    *
547    *
548    * <pre>
549    * [Output Only] The name of the zone where the node group resides, such as us-central1-a.
550    * </pre>
551    *
552    * <code>optional string zone = 3744684;</code>
553    *
554    * @return The zone.
555    */
getZone()556   java.lang.String getZone();
557   /**
558    *
559    *
560    * <pre>
561    * [Output Only] The name of the zone where the node group resides, such as us-central1-a.
562    * </pre>
563    *
564    * <code>optional string zone = 3744684;</code>
565    *
566    * @return The bytes for zone.
567    */
getZoneBytes()568   com.google.protobuf.ByteString getZoneBytes();
569 }
570