• 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 HealthStatusOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.HealthStatus)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Metadata defined as annotations for network endpoint.
31    * </pre>
32    *
33    * <code>map&lt;string, string&gt; annotations = 112032548;</code>
34    */
getAnnotationsCount()35   int getAnnotationsCount();
36   /**
37    *
38    *
39    * <pre>
40    * Metadata defined as annotations for network endpoint.
41    * </pre>
42    *
43    * <code>map&lt;string, string&gt; annotations = 112032548;</code>
44    */
containsAnnotations(java.lang.String key)45   boolean containsAnnotations(java.lang.String key);
46   /** Use {@link #getAnnotationsMap()} instead. */
47   @java.lang.Deprecated
getAnnotations()48   java.util.Map<java.lang.String, java.lang.String> getAnnotations();
49   /**
50    *
51    *
52    * <pre>
53    * Metadata defined as annotations for network endpoint.
54    * </pre>
55    *
56    * <code>map&lt;string, string&gt; annotations = 112032548;</code>
57    */
getAnnotationsMap()58   java.util.Map<java.lang.String, java.lang.String> getAnnotationsMap();
59   /**
60    *
61    *
62    * <pre>
63    * Metadata defined as annotations for network endpoint.
64    * </pre>
65    *
66    * <code>map&lt;string, string&gt; annotations = 112032548;</code>
67    */
68   /* nullable */
getAnnotationsOrDefault( java.lang.String key, java.lang.String defaultValue)69   java.lang.String getAnnotationsOrDefault(
70       java.lang.String key,
71       /* nullable */
72       java.lang.String defaultValue);
73   /**
74    *
75    *
76    * <pre>
77    * Metadata defined as annotations for network endpoint.
78    * </pre>
79    *
80    * <code>map&lt;string, string&gt; annotations = 112032548;</code>
81    */
getAnnotationsOrThrow(java.lang.String key)82   java.lang.String getAnnotationsOrThrow(java.lang.String key);
83 
84   /**
85    *
86    *
87    * <pre>
88    * URL of the forwarding rule associated with the health status of the instance.
89    * </pre>
90    *
91    * <code>optional string forwarding_rule = 269964030;</code>
92    *
93    * @return Whether the forwardingRule field is set.
94    */
hasForwardingRule()95   boolean hasForwardingRule();
96   /**
97    *
98    *
99    * <pre>
100    * URL of the forwarding rule associated with the health status of the instance.
101    * </pre>
102    *
103    * <code>optional string forwarding_rule = 269964030;</code>
104    *
105    * @return The forwardingRule.
106    */
getForwardingRule()107   java.lang.String getForwardingRule();
108   /**
109    *
110    *
111    * <pre>
112    * URL of the forwarding rule associated with the health status of the instance.
113    * </pre>
114    *
115    * <code>optional string forwarding_rule = 269964030;</code>
116    *
117    * @return The bytes for forwardingRule.
118    */
getForwardingRuleBytes()119   com.google.protobuf.ByteString getForwardingRuleBytes();
120 
121   /**
122    *
123    *
124    * <pre>
125    * A forwarding rule IP address assigned to this instance.
126    * </pre>
127    *
128    * <code>optional string forwarding_rule_ip = 172250632;</code>
129    *
130    * @return Whether the forwardingRuleIp field is set.
131    */
hasForwardingRuleIp()132   boolean hasForwardingRuleIp();
133   /**
134    *
135    *
136    * <pre>
137    * A forwarding rule IP address assigned to this instance.
138    * </pre>
139    *
140    * <code>optional string forwarding_rule_ip = 172250632;</code>
141    *
142    * @return The forwardingRuleIp.
143    */
getForwardingRuleIp()144   java.lang.String getForwardingRuleIp();
145   /**
146    *
147    *
148    * <pre>
149    * A forwarding rule IP address assigned to this instance.
150    * </pre>
151    *
152    * <code>optional string forwarding_rule_ip = 172250632;</code>
153    *
154    * @return The bytes for forwardingRuleIp.
155    */
getForwardingRuleIpBytes()156   com.google.protobuf.ByteString getForwardingRuleIpBytes();
157 
158   /**
159    *
160    *
161    * <pre>
162    * Health state of the instance.
163    * Check the HealthState enum for the list of possible values.
164    * </pre>
165    *
166    * <code>optional string health_state = 324007150;</code>
167    *
168    * @return Whether the healthState field is set.
169    */
hasHealthState()170   boolean hasHealthState();
171   /**
172    *
173    *
174    * <pre>
175    * Health state of the instance.
176    * Check the HealthState enum for the list of possible values.
177    * </pre>
178    *
179    * <code>optional string health_state = 324007150;</code>
180    *
181    * @return The healthState.
182    */
getHealthState()183   java.lang.String getHealthState();
184   /**
185    *
186    *
187    * <pre>
188    * Health state of the instance.
189    * Check the HealthState enum for the list of possible values.
190    * </pre>
191    *
192    * <code>optional string health_state = 324007150;</code>
193    *
194    * @return The bytes for healthState.
195    */
getHealthStateBytes()196   com.google.protobuf.ByteString getHealthStateBytes();
197 
198   /**
199    *
200    *
201    * <pre>
202    * URL of the instance resource.
203    * </pre>
204    *
205    * <code>optional string instance = 18257045;</code>
206    *
207    * @return Whether the instance field is set.
208    */
hasInstance()209   boolean hasInstance();
210   /**
211    *
212    *
213    * <pre>
214    * URL of the instance resource.
215    * </pre>
216    *
217    * <code>optional string instance = 18257045;</code>
218    *
219    * @return The instance.
220    */
getInstance()221   java.lang.String getInstance();
222   /**
223    *
224    *
225    * <pre>
226    * URL of the instance resource.
227    * </pre>
228    *
229    * <code>optional string instance = 18257045;</code>
230    *
231    * @return The bytes for instance.
232    */
getInstanceBytes()233   com.google.protobuf.ByteString getInstanceBytes();
234 
235   /**
236    *
237    *
238    * <pre>
239    * For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip.
240    * </pre>
241    *
242    * <code>optional string ip_address = 406272220;</code>
243    *
244    * @return Whether the ipAddress field is set.
245    */
hasIpAddress()246   boolean hasIpAddress();
247   /**
248    *
249    *
250    * <pre>
251    * For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip.
252    * </pre>
253    *
254    * <code>optional string ip_address = 406272220;</code>
255    *
256    * @return The ipAddress.
257    */
getIpAddress()258   java.lang.String getIpAddress();
259   /**
260    *
261    *
262    * <pre>
263    * For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip.
264    * </pre>
265    *
266    * <code>optional string ip_address = 406272220;</code>
267    *
268    * @return The bytes for ipAddress.
269    */
getIpAddressBytes()270   com.google.protobuf.ByteString getIpAddressBytes();
271 
272   /**
273    *
274    *
275    * <pre>
276    * The named port of the instance group, not necessarily the port that is health-checked.
277    * </pre>
278    *
279    * <code>optional int32 port = 3446913;</code>
280    *
281    * @return Whether the port field is set.
282    */
hasPort()283   boolean hasPort();
284   /**
285    *
286    *
287    * <pre>
288    * The named port of the instance group, not necessarily the port that is health-checked.
289    * </pre>
290    *
291    * <code>optional int32 port = 3446913;</code>
292    *
293    * @return The port.
294    */
getPort()295   int getPort();
296 
297   /**
298    * <code>optional string weight = 282149496;</code>
299    *
300    * @return Whether the weight field is set.
301    */
hasWeight()302   boolean hasWeight();
303   /**
304    * <code>optional string weight = 282149496;</code>
305    *
306    * @return The weight.
307    */
getWeight()308   java.lang.String getWeight();
309   /**
310    * <code>optional string weight = 282149496;</code>
311    *
312    * @return The bytes for weight.
313    */
getWeightBytes()314   com.google.protobuf.ByteString getWeightBytes();
315 
316   /**
317    *
318    *
319    * <pre>
320    *
321    * Check the WeightError enum for the list of possible values.
322    * </pre>
323    *
324    * <code>optional string weight_error = 522501505;</code>
325    *
326    * @return Whether the weightError field is set.
327    */
hasWeightError()328   boolean hasWeightError();
329   /**
330    *
331    *
332    * <pre>
333    *
334    * Check the WeightError enum for the list of possible values.
335    * </pre>
336    *
337    * <code>optional string weight_error = 522501505;</code>
338    *
339    * @return The weightError.
340    */
getWeightError()341   java.lang.String getWeightError();
342   /**
343    *
344    *
345    * <pre>
346    *
347    * Check the WeightError enum for the list of possible values.
348    * </pre>
349    *
350    * <code>optional string weight_error = 522501505;</code>
351    *
352    * @return The bytes for weightError.
353    */
getWeightErrorBytes()354   com.google.protobuf.ByteString getWeightErrorBytes();
355 }
356