• 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 InstanceGroupOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceGroup)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] The creation timestamp for this instance group in RFC3339 text format.
31    * </pre>
32    *
33    * <code>optional string creation_timestamp = 30525366;</code>
34    *
35    * @return Whether the creationTimestamp field is set.
36    */
hasCreationTimestamp()37   boolean hasCreationTimestamp();
38   /**
39    *
40    *
41    * <pre>
42    * [Output Only] The creation timestamp for this instance group in RFC3339 text format.
43    * </pre>
44    *
45    * <code>optional string creation_timestamp = 30525366;</code>
46    *
47    * @return The creationTimestamp.
48    */
getCreationTimestamp()49   java.lang.String getCreationTimestamp();
50   /**
51    *
52    *
53    * <pre>
54    * [Output Only] The creation timestamp for this instance group in RFC3339 text format.
55    * </pre>
56    *
57    * <code>optional string creation_timestamp = 30525366;</code>
58    *
59    * @return The bytes for creationTimestamp.
60    */
getCreationTimestampBytes()61   com.google.protobuf.ByteString getCreationTimestampBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * An optional description of this resource. Provide this property when you create the resource.
68    * </pre>
69    *
70    * <code>optional string description = 422937596;</code>
71    *
72    * @return Whether the description field is set.
73    */
hasDescription()74   boolean hasDescription();
75   /**
76    *
77    *
78    * <pre>
79    * An optional description of this resource. Provide this property when you create the resource.
80    * </pre>
81    *
82    * <code>optional string description = 422937596;</code>
83    *
84    * @return The description.
85    */
getDescription()86   java.lang.String getDescription();
87   /**
88    *
89    *
90    * <pre>
91    * An optional description of this resource. Provide this property when you create the resource.
92    * </pre>
93    *
94    * <code>optional string description = 422937596;</code>
95    *
96    * @return The bytes for description.
97    */
getDescriptionBytes()98   com.google.protobuf.ByteString getDescriptionBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.
105    * </pre>
106    *
107    * <code>optional string fingerprint = 234678500;</code>
108    *
109    * @return Whether the fingerprint field is set.
110    */
hasFingerprint()111   boolean hasFingerprint();
112   /**
113    *
114    *
115    * <pre>
116    * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.
117    * </pre>
118    *
119    * <code>optional string fingerprint = 234678500;</code>
120    *
121    * @return The fingerprint.
122    */
getFingerprint()123   java.lang.String getFingerprint();
124   /**
125    *
126    *
127    * <pre>
128    * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.
129    * </pre>
130    *
131    * <code>optional string fingerprint = 234678500;</code>
132    *
133    * @return The bytes for fingerprint.
134    */
getFingerprintBytes()135   com.google.protobuf.ByteString getFingerprintBytes();
136 
137   /**
138    *
139    *
140    * <pre>
141    * [Output Only] A unique identifier for this instance group, generated by the server.
142    * </pre>
143    *
144    * <code>optional uint64 id = 3355;</code>
145    *
146    * @return Whether the id field is set.
147    */
hasId()148   boolean hasId();
149   /**
150    *
151    *
152    * <pre>
153    * [Output Only] A unique identifier for this instance group, generated by the server.
154    * </pre>
155    *
156    * <code>optional uint64 id = 3355;</code>
157    *
158    * @return The id.
159    */
getId()160   long getId();
161 
162   /**
163    *
164    *
165    * <pre>
166    * [Output Only] The resource type, which is always compute#instanceGroup for instance groups.
167    * </pre>
168    *
169    * <code>optional string kind = 3292052;</code>
170    *
171    * @return Whether the kind field is set.
172    */
hasKind()173   boolean hasKind();
174   /**
175    *
176    *
177    * <pre>
178    * [Output Only] The resource type, which is always compute#instanceGroup for instance groups.
179    * </pre>
180    *
181    * <code>optional string kind = 3292052;</code>
182    *
183    * @return The kind.
184    */
getKind()185   java.lang.String getKind();
186   /**
187    *
188    *
189    * <pre>
190    * [Output Only] The resource type, which is always compute#instanceGroup for instance groups.
191    * </pre>
192    *
193    * <code>optional string kind = 3292052;</code>
194    *
195    * @return The bytes for kind.
196    */
getKindBytes()197   com.google.protobuf.ByteString getKindBytes();
198 
199   /**
200    *
201    *
202    * <pre>
203    * The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
204    * </pre>
205    *
206    * <code>optional string name = 3373707;</code>
207    *
208    * @return Whether the name field is set.
209    */
hasName()210   boolean hasName();
211   /**
212    *
213    *
214    * <pre>
215    * The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
216    * </pre>
217    *
218    * <code>optional string name = 3373707;</code>
219    *
220    * @return The name.
221    */
getName()222   java.lang.String getName();
223   /**
224    *
225    *
226    * <pre>
227    * The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
228    * </pre>
229    *
230    * <code>optional string name = 3373707;</code>
231    *
232    * @return The bytes for name.
233    */
getNameBytes()234   com.google.protobuf.ByteString getNameBytes();
235 
236   /**
237    *
238    *
239    * <pre>
240    *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
241    * </pre>
242    *
243    * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code>
244    */
getNamedPortsList()245   java.util.List<com.google.cloud.compute.v1.NamedPort> getNamedPortsList();
246   /**
247    *
248    *
249    * <pre>
250    *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
251    * </pre>
252    *
253    * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code>
254    */
getNamedPorts(int index)255   com.google.cloud.compute.v1.NamedPort getNamedPorts(int index);
256   /**
257    *
258    *
259    * <pre>
260    *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
261    * </pre>
262    *
263    * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code>
264    */
getNamedPortsCount()265   int getNamedPortsCount();
266   /**
267    *
268    *
269    * <pre>
270    *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
271    * </pre>
272    *
273    * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code>
274    */
275   java.util.List<? extends com.google.cloud.compute.v1.NamedPortOrBuilder>
getNamedPortsOrBuilderList()276       getNamedPortsOrBuilderList();
277   /**
278    *
279    *
280    * <pre>
281    *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
282    * </pre>
283    *
284    * <code>repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;</code>
285    */
getNamedPortsOrBuilder(int index)286   com.google.cloud.compute.v1.NamedPortOrBuilder getNamedPortsOrBuilder(int index);
287 
288   /**
289    *
290    *
291    * <pre>
292    * [Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
293    * </pre>
294    *
295    * <code>optional string network = 232872494;</code>
296    *
297    * @return Whether the network field is set.
298    */
hasNetwork()299   boolean hasNetwork();
300   /**
301    *
302    *
303    * <pre>
304    * [Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
305    * </pre>
306    *
307    * <code>optional string network = 232872494;</code>
308    *
309    * @return The network.
310    */
getNetwork()311   java.lang.String getNetwork();
312   /**
313    *
314    *
315    * <pre>
316    * [Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
317    * </pre>
318    *
319    * <code>optional string network = 232872494;</code>
320    *
321    * @return The bytes for network.
322    */
getNetworkBytes()323   com.google.protobuf.ByteString getNetworkBytes();
324 
325   /**
326    *
327    *
328    * <pre>
329    * [Output Only] The URL of the region where the instance group is located (for regional resources).
330    * </pre>
331    *
332    * <code>optional string region = 138946292;</code>
333    *
334    * @return Whether the region field is set.
335    */
hasRegion()336   boolean hasRegion();
337   /**
338    *
339    *
340    * <pre>
341    * [Output Only] The URL of the region where the instance group is located (for regional resources).
342    * </pre>
343    *
344    * <code>optional string region = 138946292;</code>
345    *
346    * @return The region.
347    */
getRegion()348   java.lang.String getRegion();
349   /**
350    *
351    *
352    * <pre>
353    * [Output Only] The URL of the region where the instance group is located (for regional resources).
354    * </pre>
355    *
356    * <code>optional string region = 138946292;</code>
357    *
358    * @return The bytes for region.
359    */
getRegionBytes()360   com.google.protobuf.ByteString getRegionBytes();
361 
362   /**
363    *
364    *
365    * <pre>
366    * [Output Only] The URL for this instance group. The server generates this URL.
367    * </pre>
368    *
369    * <code>optional string self_link = 456214797;</code>
370    *
371    * @return Whether the selfLink field is set.
372    */
hasSelfLink()373   boolean hasSelfLink();
374   /**
375    *
376    *
377    * <pre>
378    * [Output Only] The URL for this instance group. The server generates this URL.
379    * </pre>
380    *
381    * <code>optional string self_link = 456214797;</code>
382    *
383    * @return The selfLink.
384    */
getSelfLink()385   java.lang.String getSelfLink();
386   /**
387    *
388    *
389    * <pre>
390    * [Output Only] The URL for this instance group. The server generates this URL.
391    * </pre>
392    *
393    * <code>optional string self_link = 456214797;</code>
394    *
395    * @return The bytes for selfLink.
396    */
getSelfLinkBytes()397   com.google.protobuf.ByteString getSelfLinkBytes();
398 
399   /**
400    *
401    *
402    * <pre>
403    * [Output Only] The total number of instances in the instance group.
404    * </pre>
405    *
406    * <code>optional int32 size = 3530753;</code>
407    *
408    * @return Whether the size field is set.
409    */
hasSize()410   boolean hasSize();
411   /**
412    *
413    *
414    * <pre>
415    * [Output Only] The total number of instances in the instance group.
416    * </pre>
417    *
418    * <code>optional int32 size = 3530753;</code>
419    *
420    * @return The size.
421    */
getSize()422   int getSize();
423 
424   /**
425    *
426    *
427    * <pre>
428    * [Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
429    * </pre>
430    *
431    * <code>optional string subnetwork = 307827694;</code>
432    *
433    * @return Whether the subnetwork field is set.
434    */
hasSubnetwork()435   boolean hasSubnetwork();
436   /**
437    *
438    *
439    * <pre>
440    * [Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
441    * </pre>
442    *
443    * <code>optional string subnetwork = 307827694;</code>
444    *
445    * @return The subnetwork.
446    */
getSubnetwork()447   java.lang.String getSubnetwork();
448   /**
449    *
450    *
451    * <pre>
452    * [Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
453    * </pre>
454    *
455    * <code>optional string subnetwork = 307827694;</code>
456    *
457    * @return The bytes for subnetwork.
458    */
getSubnetworkBytes()459   com.google.protobuf.ByteString getSubnetworkBytes();
460 
461   /**
462    *
463    *
464    * <pre>
465    * [Output Only] The URL of the zone where the instance group is located (for zonal resources).
466    * </pre>
467    *
468    * <code>optional string zone = 3744684;</code>
469    *
470    * @return Whether the zone field is set.
471    */
hasZone()472   boolean hasZone();
473   /**
474    *
475    *
476    * <pre>
477    * [Output Only] The URL of the zone where the instance group is located (for zonal resources).
478    * </pre>
479    *
480    * <code>optional string zone = 3744684;</code>
481    *
482    * @return The zone.
483    */
getZone()484   java.lang.String getZone();
485   /**
486    *
487    *
488    * <pre>
489    * [Output Only] The URL of the zone where the instance group is located (for zonal resources).
490    * </pre>
491    *
492    * <code>optional string zone = 3744684;</code>
493    *
494    * @return The bytes for zone.
495    */
getZoneBytes()496   com.google.protobuf.ByteString getZoneBytes();
497 }
498