• 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 TargetSslProxyOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TargetSslProxy)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored.
31    * </pre>
32    *
33    * <code>optional string certificate_map = 156463796;</code>
34    *
35    * @return Whether the certificateMap field is set.
36    */
hasCertificateMap()37   boolean hasCertificateMap();
38   /**
39    *
40    *
41    * <pre>
42    * URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored.
43    * </pre>
44    *
45    * <code>optional string certificate_map = 156463796;</code>
46    *
47    * @return The certificateMap.
48    */
getCertificateMap()49   java.lang.String getCertificateMap();
50   /**
51    *
52    *
53    * <pre>
54    * URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored.
55    * </pre>
56    *
57    * <code>optional string certificate_map = 156463796;</code>
58    *
59    * @return The bytes for certificateMap.
60    */
getCertificateMapBytes()61   com.google.protobuf.ByteString getCertificateMapBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * [Output Only] Creation timestamp in RFC3339 text format.
68    * </pre>
69    *
70    * <code>optional string creation_timestamp = 30525366;</code>
71    *
72    * @return Whether the creationTimestamp field is set.
73    */
hasCreationTimestamp()74   boolean hasCreationTimestamp();
75   /**
76    *
77    *
78    * <pre>
79    * [Output Only] Creation timestamp in RFC3339 text format.
80    * </pre>
81    *
82    * <code>optional string creation_timestamp = 30525366;</code>
83    *
84    * @return The creationTimestamp.
85    */
getCreationTimestamp()86   java.lang.String getCreationTimestamp();
87   /**
88    *
89    *
90    * <pre>
91    * [Output Only] Creation timestamp in RFC3339 text format.
92    * </pre>
93    *
94    * <code>optional string creation_timestamp = 30525366;</code>
95    *
96    * @return The bytes for creationTimestamp.
97    */
getCreationTimestampBytes()98   com.google.protobuf.ByteString getCreationTimestampBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * An optional description of this resource. Provide this property when you create the resource.
105    * </pre>
106    *
107    * <code>optional string description = 422937596;</code>
108    *
109    * @return Whether the description field is set.
110    */
hasDescription()111   boolean hasDescription();
112   /**
113    *
114    *
115    * <pre>
116    * An optional description of this resource. Provide this property when you create the resource.
117    * </pre>
118    *
119    * <code>optional string description = 422937596;</code>
120    *
121    * @return The description.
122    */
getDescription()123   java.lang.String getDescription();
124   /**
125    *
126    *
127    * <pre>
128    * An optional description of this resource. Provide this property when you create the resource.
129    * </pre>
130    *
131    * <code>optional string description = 422937596;</code>
132    *
133    * @return The bytes for description.
134    */
getDescriptionBytes()135   com.google.protobuf.ByteString getDescriptionBytes();
136 
137   /**
138    *
139    *
140    * <pre>
141    * [Output Only] The unique identifier for the resource. This identifier is defined 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] The unique identifier for the resource. This identifier is defined 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] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
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] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
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] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
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    * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
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    * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
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    * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
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    * Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
241    * Check the ProxyHeader enum for the list of possible values.
242    * </pre>
243    *
244    * <code>optional string proxy_header = 160374142;</code>
245    *
246    * @return Whether the proxyHeader field is set.
247    */
hasProxyHeader()248   boolean hasProxyHeader();
249   /**
250    *
251    *
252    * <pre>
253    * Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
254    * Check the ProxyHeader enum for the list of possible values.
255    * </pre>
256    *
257    * <code>optional string proxy_header = 160374142;</code>
258    *
259    * @return The proxyHeader.
260    */
getProxyHeader()261   java.lang.String getProxyHeader();
262   /**
263    *
264    *
265    * <pre>
266    * Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
267    * Check the ProxyHeader enum for the list of possible values.
268    * </pre>
269    *
270    * <code>optional string proxy_header = 160374142;</code>
271    *
272    * @return The bytes for proxyHeader.
273    */
getProxyHeaderBytes()274   com.google.protobuf.ByteString getProxyHeaderBytes();
275 
276   /**
277    *
278    *
279    * <pre>
280    * [Output Only] Server-defined URL for the resource.
281    * </pre>
282    *
283    * <code>optional string self_link = 456214797;</code>
284    *
285    * @return Whether the selfLink field is set.
286    */
hasSelfLink()287   boolean hasSelfLink();
288   /**
289    *
290    *
291    * <pre>
292    * [Output Only] Server-defined URL for the resource.
293    * </pre>
294    *
295    * <code>optional string self_link = 456214797;</code>
296    *
297    * @return The selfLink.
298    */
getSelfLink()299   java.lang.String getSelfLink();
300   /**
301    *
302    *
303    * <pre>
304    * [Output Only] Server-defined URL for the resource.
305    * </pre>
306    *
307    * <code>optional string self_link = 456214797;</code>
308    *
309    * @return The bytes for selfLink.
310    */
getSelfLinkBytes()311   com.google.protobuf.ByteString getSelfLinkBytes();
312 
313   /**
314    *
315    *
316    * <pre>
317    * URL to the BackendService resource.
318    * </pre>
319    *
320    * <code>optional string service = 373540533;</code>
321    *
322    * @return Whether the service field is set.
323    */
hasService()324   boolean hasService();
325   /**
326    *
327    *
328    * <pre>
329    * URL to the BackendService resource.
330    * </pre>
331    *
332    * <code>optional string service = 373540533;</code>
333    *
334    * @return The service.
335    */
getService()336   java.lang.String getService();
337   /**
338    *
339    *
340    * <pre>
341    * URL to the BackendService resource.
342    * </pre>
343    *
344    * <code>optional string service = 373540533;</code>
345    *
346    * @return The bytes for service.
347    */
getServiceBytes()348   com.google.protobuf.ByteString getServiceBytes();
349 
350   /**
351    *
352    *
353    * <pre>
354    * URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
355    * </pre>
356    *
357    * <code>repeated string ssl_certificates = 366006543;</code>
358    *
359    * @return A list containing the sslCertificates.
360    */
getSslCertificatesList()361   java.util.List<java.lang.String> getSslCertificatesList();
362   /**
363    *
364    *
365    * <pre>
366    * URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
367    * </pre>
368    *
369    * <code>repeated string ssl_certificates = 366006543;</code>
370    *
371    * @return The count of sslCertificates.
372    */
getSslCertificatesCount()373   int getSslCertificatesCount();
374   /**
375    *
376    *
377    * <pre>
378    * URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
379    * </pre>
380    *
381    * <code>repeated string ssl_certificates = 366006543;</code>
382    *
383    * @param index The index of the element to return.
384    * @return The sslCertificates at the given index.
385    */
getSslCertificates(int index)386   java.lang.String getSslCertificates(int index);
387   /**
388    *
389    *
390    * <pre>
391    * URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
392    * </pre>
393    *
394    * <code>repeated string ssl_certificates = 366006543;</code>
395    *
396    * @param index The index of the value to return.
397    * @return The bytes of the sslCertificates at the given index.
398    */
getSslCertificatesBytes(int index)399   com.google.protobuf.ByteString getSslCertificatesBytes(int index);
400 
401   /**
402    *
403    *
404    * <pre>
405    * URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
406    * </pre>
407    *
408    * <code>optional string ssl_policy = 295190213;</code>
409    *
410    * @return Whether the sslPolicy field is set.
411    */
hasSslPolicy()412   boolean hasSslPolicy();
413   /**
414    *
415    *
416    * <pre>
417    * URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
418    * </pre>
419    *
420    * <code>optional string ssl_policy = 295190213;</code>
421    *
422    * @return The sslPolicy.
423    */
getSslPolicy()424   java.lang.String getSslPolicy();
425   /**
426    *
427    *
428    * <pre>
429    * URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
430    * </pre>
431    *
432    * <code>optional string ssl_policy = 295190213;</code>
433    *
434    * @return The bytes for sslPolicy.
435    */
getSslPolicyBytes()436   com.google.protobuf.ByteString getSslPolicyBytes();
437 }
438