• 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 ManagedInstanceOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ManagedInstance)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified.
31    * Check the CurrentAction enum for the list of possible values.
32    * </pre>
33    *
34    * <code>optional string current_action = 178475964;</code>
35    *
36    * @return Whether the currentAction field is set.
37    */
hasCurrentAction()38   boolean hasCurrentAction();
39   /**
40    *
41    *
42    * <pre>
43    * [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified.
44    * Check the CurrentAction enum for the list of possible values.
45    * </pre>
46    *
47    * <code>optional string current_action = 178475964;</code>
48    *
49    * @return The currentAction.
50    */
getCurrentAction()51   java.lang.String getCurrentAction();
52   /**
53    *
54    *
55    * <pre>
56    * [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified.
57    * Check the CurrentAction enum for the list of possible values.
58    * </pre>
59    *
60    * <code>optional string current_action = 178475964;</code>
61    *
62    * @return The bytes for currentAction.
63    */
getCurrentActionBytes()64   com.google.protobuf.ByteString getCurrentActionBytes();
65 
66   /**
67    *
68    *
69    * <pre>
70    * [Output only] The unique identifier for this resource. This field is empty when instance does not exist.
71    * </pre>
72    *
73    * <code>optional uint64 id = 3355;</code>
74    *
75    * @return Whether the id field is set.
76    */
hasId()77   boolean hasId();
78   /**
79    *
80    *
81    * <pre>
82    * [Output only] The unique identifier for this resource. This field is empty when instance does not exist.
83    * </pre>
84    *
85    * <code>optional uint64 id = 3355;</code>
86    *
87    * @return The id.
88    */
getId()89   long getId();
90 
91   /**
92    *
93    *
94    * <pre>
95    * [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
96    * </pre>
97    *
98    * <code>optional string instance = 18257045;</code>
99    *
100    * @return Whether the instance field is set.
101    */
hasInstance()102   boolean hasInstance();
103   /**
104    *
105    *
106    * <pre>
107    * [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
108    * </pre>
109    *
110    * <code>optional string instance = 18257045;</code>
111    *
112    * @return The instance.
113    */
getInstance()114   java.lang.String getInstance();
115   /**
116    *
117    *
118    * <pre>
119    * [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
120    * </pre>
121    *
122    * <code>optional string instance = 18257045;</code>
123    *
124    * @return The bytes for instance.
125    */
getInstanceBytes()126   com.google.protobuf.ByteString getInstanceBytes();
127 
128   /**
129    *
130    *
131    * <pre>
132    * [Output Only] Health state of the instance per health-check.
133    * </pre>
134    *
135    * <code>
136    * repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
137    * </code>
138    */
getInstanceHealthList()139   java.util.List<com.google.cloud.compute.v1.ManagedInstanceInstanceHealth> getInstanceHealthList();
140   /**
141    *
142    *
143    * <pre>
144    * [Output Only] Health state of the instance per health-check.
145    * </pre>
146    *
147    * <code>
148    * repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
149    * </code>
150    */
getInstanceHealth(int index)151   com.google.cloud.compute.v1.ManagedInstanceInstanceHealth getInstanceHealth(int index);
152   /**
153    *
154    *
155    * <pre>
156    * [Output Only] Health state of the instance per health-check.
157    * </pre>
158    *
159    * <code>
160    * repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
161    * </code>
162    */
getInstanceHealthCount()163   int getInstanceHealthCount();
164   /**
165    *
166    *
167    * <pre>
168    * [Output Only] Health state of the instance per health-check.
169    * </pre>
170    *
171    * <code>
172    * repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
173    * </code>
174    */
175   java.util.List<? extends com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder>
getInstanceHealthOrBuilderList()176       getInstanceHealthOrBuilderList();
177   /**
178    *
179    *
180    * <pre>
181    * [Output Only] Health state of the instance per health-check.
182    * </pre>
183    *
184    * <code>
185    * repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
186    * </code>
187    */
getInstanceHealthOrBuilder( int index)188   com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder getInstanceHealthOrBuilder(
189       int index);
190 
191   /**
192    *
193    *
194    * <pre>
195    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
196    * Check the InstanceStatus enum for the list of possible values.
197    * </pre>
198    *
199    * <code>optional string instance_status = 174577372;</code>
200    *
201    * @return Whether the instanceStatus field is set.
202    */
hasInstanceStatus()203   boolean hasInstanceStatus();
204   /**
205    *
206    *
207    * <pre>
208    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
209    * Check the InstanceStatus enum for the list of possible values.
210    * </pre>
211    *
212    * <code>optional string instance_status = 174577372;</code>
213    *
214    * @return The instanceStatus.
215    */
getInstanceStatus()216   java.lang.String getInstanceStatus();
217   /**
218    *
219    *
220    * <pre>
221    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
222    * Check the InstanceStatus enum for the list of possible values.
223    * </pre>
224    *
225    * <code>optional string instance_status = 174577372;</code>
226    *
227    * @return The bytes for instanceStatus.
228    */
getInstanceStatusBytes()229   com.google.protobuf.ByteString getInstanceStatusBytes();
230 
231   /**
232    *
233    *
234    * <pre>
235    * [Output Only] Information about the last attempt to create or delete the instance.
236    * </pre>
237    *
238    * <code>optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
239    * </code>
240    *
241    * @return Whether the lastAttempt field is set.
242    */
hasLastAttempt()243   boolean hasLastAttempt();
244   /**
245    *
246    *
247    * <pre>
248    * [Output Only] Information about the last attempt to create or delete the instance.
249    * </pre>
250    *
251    * <code>optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
252    * </code>
253    *
254    * @return The lastAttempt.
255    */
getLastAttempt()256   com.google.cloud.compute.v1.ManagedInstanceLastAttempt getLastAttempt();
257   /**
258    *
259    *
260    * <pre>
261    * [Output Only] Information about the last attempt to create or delete the instance.
262    * </pre>
263    *
264    * <code>optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
265    * </code>
266    */
getLastAttemptOrBuilder()267   com.google.cloud.compute.v1.ManagedInstanceLastAttemptOrBuilder getLastAttemptOrBuilder();
268 
269   /**
270    *
271    *
272    * <pre>
273    * [Output Only] Preserved state applied from per-instance config for this instance.
274    * </pre>
275    *
276    * <code>optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
277    * </code>
278    *
279    * @return Whether the preservedStateFromConfig field is set.
280    */
hasPreservedStateFromConfig()281   boolean hasPreservedStateFromConfig();
282   /**
283    *
284    *
285    * <pre>
286    * [Output Only] Preserved state applied from per-instance config for this instance.
287    * </pre>
288    *
289    * <code>optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
290    * </code>
291    *
292    * @return The preservedStateFromConfig.
293    */
getPreservedStateFromConfig()294   com.google.cloud.compute.v1.PreservedState getPreservedStateFromConfig();
295   /**
296    *
297    *
298    * <pre>
299    * [Output Only] Preserved state applied from per-instance config for this instance.
300    * </pre>
301    *
302    * <code>optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
303    * </code>
304    */
getPreservedStateFromConfigOrBuilder()305   com.google.cloud.compute.v1.PreservedStateOrBuilder getPreservedStateFromConfigOrBuilder();
306 
307   /**
308    *
309    *
310    * <pre>
311    * [Output Only] Preserved state generated based on stateful policy for this instance.
312    * </pre>
313    *
314    * <code>optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
315    * </code>
316    *
317    * @return Whether the preservedStateFromPolicy field is set.
318    */
hasPreservedStateFromPolicy()319   boolean hasPreservedStateFromPolicy();
320   /**
321    *
322    *
323    * <pre>
324    * [Output Only] Preserved state generated based on stateful policy for this instance.
325    * </pre>
326    *
327    * <code>optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
328    * </code>
329    *
330    * @return The preservedStateFromPolicy.
331    */
getPreservedStateFromPolicy()332   com.google.cloud.compute.v1.PreservedState getPreservedStateFromPolicy();
333   /**
334    *
335    *
336    * <pre>
337    * [Output Only] Preserved state generated based on stateful policy for this instance.
338    * </pre>
339    *
340    * <code>optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
341    * </code>
342    */
getPreservedStateFromPolicyOrBuilder()343   com.google.cloud.compute.v1.PreservedStateOrBuilder getPreservedStateFromPolicyOrBuilder();
344 
345   /**
346    *
347    *
348    * <pre>
349    * [Output Only] Intended version of this instance.
350    * </pre>
351    *
352    * <code>optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;</code>
353    *
354    * @return Whether the version field is set.
355    */
hasVersion()356   boolean hasVersion();
357   /**
358    *
359    *
360    * <pre>
361    * [Output Only] Intended version of this instance.
362    * </pre>
363    *
364    * <code>optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;</code>
365    *
366    * @return The version.
367    */
getVersion()368   com.google.cloud.compute.v1.ManagedInstanceVersion getVersion();
369   /**
370    *
371    *
372    * <pre>
373    * [Output Only] Intended version of this instance.
374    * </pre>
375    *
376    * <code>optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;</code>
377    */
getVersionOrBuilder()378   com.google.cloud.compute.v1.ManagedInstanceVersionOrBuilder getVersionOrBuilder();
379 }
380