• 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/container/v1/cluster_service.proto
18 
19 package com.google.container.v1;
20 
21 public interface StatusConditionOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.container.v1.StatusCondition)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Machine-friendly representation of the condition
31    * Deprecated. Use canonical_code instead.
32    * </pre>
33    *
34    * <code>.google.container.v1.StatusCondition.Code code = 1 [deprecated = true];</code>
35    *
36    * @deprecated google.container.v1.StatusCondition.code is deprecated. See
37    *     google/container/v1/cluster_service.proto;l=3999
38    * @return The enum numeric value on the wire for code.
39    */
40   @java.lang.Deprecated
getCodeValue()41   int getCodeValue();
42   /**
43    *
44    *
45    * <pre>
46    * Machine-friendly representation of the condition
47    * Deprecated. Use canonical_code instead.
48    * </pre>
49    *
50    * <code>.google.container.v1.StatusCondition.Code code = 1 [deprecated = true];</code>
51    *
52    * @deprecated google.container.v1.StatusCondition.code is deprecated. See
53    *     google/container/v1/cluster_service.proto;l=3999
54    * @return The code.
55    */
56   @java.lang.Deprecated
getCode()57   com.google.container.v1.StatusCondition.Code getCode();
58 
59   /**
60    *
61    *
62    * <pre>
63    * Human-friendly representation of the condition
64    * </pre>
65    *
66    * <code>string message = 2;</code>
67    *
68    * @return The message.
69    */
getMessage()70   java.lang.String getMessage();
71   /**
72    *
73    *
74    * <pre>
75    * Human-friendly representation of the condition
76    * </pre>
77    *
78    * <code>string message = 2;</code>
79    *
80    * @return The bytes for message.
81    */
getMessageBytes()82   com.google.protobuf.ByteString getMessageBytes();
83 
84   /**
85    *
86    *
87    * <pre>
88    * Canonical code of the condition.
89    * </pre>
90    *
91    * <code>.google.rpc.Code canonical_code = 3;</code>
92    *
93    * @return The enum numeric value on the wire for canonicalCode.
94    */
getCanonicalCodeValue()95   int getCanonicalCodeValue();
96   /**
97    *
98    *
99    * <pre>
100    * Canonical code of the condition.
101    * </pre>
102    *
103    * <code>.google.rpc.Code canonical_code = 3;</code>
104    *
105    * @return The canonicalCode.
106    */
getCanonicalCode()107   com.google.rpc.Code getCanonicalCode();
108 }
109