• 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 MasterAuthOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.container.v1.MasterAuth)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The username to use for HTTP basic authentication to the master endpoint.
31    * For clusters v1.6.0 and later, basic authentication can be disabled by
32    * leaving username unspecified (or setting it to the empty string).
33    * Warning: basic authentication is deprecated, and will be removed in GKE
34    * control plane versions 1.19 and newer. For a list of recommended
35    * authentication methods, see:
36    * https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
37    * </pre>
38    *
39    * <code>string username = 1 [deprecated = true];</code>
40    *
41    * @deprecated google.container.v1.MasterAuth.username is deprecated. See
42    *     google/container/v1/cluster_service.proto;l=1054
43    * @return The username.
44    */
45   @java.lang.Deprecated
getUsername()46   java.lang.String getUsername();
47   /**
48    *
49    *
50    * <pre>
51    * The username to use for HTTP basic authentication to the master endpoint.
52    * For clusters v1.6.0 and later, basic authentication can be disabled by
53    * leaving username unspecified (or setting it to the empty string).
54    * Warning: basic authentication is deprecated, and will be removed in GKE
55    * control plane versions 1.19 and newer. For a list of recommended
56    * authentication methods, see:
57    * https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
58    * </pre>
59    *
60    * <code>string username = 1 [deprecated = true];</code>
61    *
62    * @deprecated google.container.v1.MasterAuth.username is deprecated. See
63    *     google/container/v1/cluster_service.proto;l=1054
64    * @return The bytes for username.
65    */
66   @java.lang.Deprecated
getUsernameBytes()67   com.google.protobuf.ByteString getUsernameBytes();
68 
69   /**
70    *
71    *
72    * <pre>
73    * The password to use for HTTP basic authentication to the master endpoint.
74    * Because the master endpoint is open to the Internet, you should create a
75    * strong password.  If a password is provided for cluster creation, username
76    * must be non-empty.
77    * Warning: basic authentication is deprecated, and will be removed in GKE
78    * control plane versions 1.19 and newer. For a list of recommended
79    * authentication methods, see:
80    * https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
81    * </pre>
82    *
83    * <code>string password = 2 [deprecated = true];</code>
84    *
85    * @deprecated google.container.v1.MasterAuth.password is deprecated. See
86    *     google/container/v1/cluster_service.proto;l=1065
87    * @return The password.
88    */
89   @java.lang.Deprecated
getPassword()90   java.lang.String getPassword();
91   /**
92    *
93    *
94    * <pre>
95    * The password to use for HTTP basic authentication to the master endpoint.
96    * Because the master endpoint is open to the Internet, you should create a
97    * strong password.  If a password is provided for cluster creation, username
98    * must be non-empty.
99    * Warning: basic authentication is deprecated, and will be removed in GKE
100    * control plane versions 1.19 and newer. For a list of recommended
101    * authentication methods, see:
102    * https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
103    * </pre>
104    *
105    * <code>string password = 2 [deprecated = true];</code>
106    *
107    * @deprecated google.container.v1.MasterAuth.password is deprecated. See
108    *     google/container/v1/cluster_service.proto;l=1065
109    * @return The bytes for password.
110    */
111   @java.lang.Deprecated
getPasswordBytes()112   com.google.protobuf.ByteString getPasswordBytes();
113 
114   /**
115    *
116    *
117    * <pre>
118    * Configuration for client certificate authentication on the cluster. For
119    * clusters before v1.12, if no configuration is specified, a client
120    * certificate is issued.
121    * </pre>
122    *
123    * <code>.google.container.v1.ClientCertificateConfig client_certificate_config = 3;</code>
124    *
125    * @return Whether the clientCertificateConfig field is set.
126    */
hasClientCertificateConfig()127   boolean hasClientCertificateConfig();
128   /**
129    *
130    *
131    * <pre>
132    * Configuration for client certificate authentication on the cluster. For
133    * clusters before v1.12, if no configuration is specified, a client
134    * certificate is issued.
135    * </pre>
136    *
137    * <code>.google.container.v1.ClientCertificateConfig client_certificate_config = 3;</code>
138    *
139    * @return The clientCertificateConfig.
140    */
getClientCertificateConfig()141   com.google.container.v1.ClientCertificateConfig getClientCertificateConfig();
142   /**
143    *
144    *
145    * <pre>
146    * Configuration for client certificate authentication on the cluster. For
147    * clusters before v1.12, if no configuration is specified, a client
148    * certificate is issued.
149    * </pre>
150    *
151    * <code>.google.container.v1.ClientCertificateConfig client_certificate_config = 3;</code>
152    */
getClientCertificateConfigOrBuilder()153   com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder();
154 
155   /**
156    *
157    *
158    * <pre>
159    * [Output only] Base64-encoded public certificate that is the root of
160    * trust for the cluster.
161    * </pre>
162    *
163    * <code>string cluster_ca_certificate = 100;</code>
164    *
165    * @return The clusterCaCertificate.
166    */
getClusterCaCertificate()167   java.lang.String getClusterCaCertificate();
168   /**
169    *
170    *
171    * <pre>
172    * [Output only] Base64-encoded public certificate that is the root of
173    * trust for the cluster.
174    * </pre>
175    *
176    * <code>string cluster_ca_certificate = 100;</code>
177    *
178    * @return The bytes for clusterCaCertificate.
179    */
getClusterCaCertificateBytes()180   com.google.protobuf.ByteString getClusterCaCertificateBytes();
181 
182   /**
183    *
184    *
185    * <pre>
186    * [Output only] Base64-encoded public certificate used by clients to
187    * authenticate to the cluster endpoint.
188    * </pre>
189    *
190    * <code>string client_certificate = 101;</code>
191    *
192    * @return The clientCertificate.
193    */
getClientCertificate()194   java.lang.String getClientCertificate();
195   /**
196    *
197    *
198    * <pre>
199    * [Output only] Base64-encoded public certificate used by clients to
200    * authenticate to the cluster endpoint.
201    * </pre>
202    *
203    * <code>string client_certificate = 101;</code>
204    *
205    * @return The bytes for clientCertificate.
206    */
getClientCertificateBytes()207   com.google.protobuf.ByteString getClientCertificateBytes();
208 
209   /**
210    *
211    *
212    * <pre>
213    * [Output only] Base64-encoded private key used by clients to authenticate
214    * to the cluster endpoint.
215    * </pre>
216    *
217    * <code>string client_key = 102;</code>
218    *
219    * @return The clientKey.
220    */
getClientKey()221   java.lang.String getClientKey();
222   /**
223    *
224    *
225    * <pre>
226    * [Output only] Base64-encoded private key used by clients to authenticate
227    * to the cluster endpoint.
228    * </pre>
229    *
230    * <code>string client_key = 102;</code>
231    *
232    * @return The bytes for clientKey.
233    */
getClientKeyBytes()234   com.google.protobuf.ByteString getClientKeyBytes();
235 }
236