• 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 TargetHttpsProxyOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TargetHttpsProxy)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact.
31    * </pre>
32    *
33    * <code>optional string authorization_policy = 33945528;</code>
34    *
35    * @return Whether the authorizationPolicy field is set.
36    */
hasAuthorizationPolicy()37   boolean hasAuthorizationPolicy();
38   /**
39    *
40    *
41    * <pre>
42    * Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact.
43    * </pre>
44    *
45    * <code>optional string authorization_policy = 33945528;</code>
46    *
47    * @return The authorizationPolicy.
48    */
getAuthorizationPolicy()49   java.lang.String getAuthorizationPolicy();
50   /**
51    *
52    *
53    * <pre>
54    * Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact.
55    * </pre>
56    *
57    * <code>optional string authorization_policy = 33945528;</code>
58    *
59    * @return The bytes for authorizationPolicy.
60    */
getAuthorizationPolicyBytes()61   com.google.protobuf.ByteString getAuthorizationPolicyBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * 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.
68    * </pre>
69    *
70    * <code>optional string certificate_map = 156463796;</code>
71    *
72    * @return Whether the certificateMap field is set.
73    */
hasCertificateMap()74   boolean hasCertificateMap();
75   /**
76    *
77    *
78    * <pre>
79    * 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.
80    * </pre>
81    *
82    * <code>optional string certificate_map = 156463796;</code>
83    *
84    * @return The certificateMap.
85    */
getCertificateMap()86   java.lang.String getCertificateMap();
87   /**
88    *
89    *
90    * <pre>
91    * 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.
92    * </pre>
93    *
94    * <code>optional string certificate_map = 156463796;</code>
95    *
96    * @return The bytes for certificateMap.
97    */
getCertificateMapBytes()98   com.google.protobuf.ByteString getCertificateMapBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * [Output Only] Creation timestamp in RFC3339 text format.
105    * </pre>
106    *
107    * <code>optional string creation_timestamp = 30525366;</code>
108    *
109    * @return Whether the creationTimestamp field is set.
110    */
hasCreationTimestamp()111   boolean hasCreationTimestamp();
112   /**
113    *
114    *
115    * <pre>
116    * [Output Only] Creation timestamp in RFC3339 text format.
117    * </pre>
118    *
119    * <code>optional string creation_timestamp = 30525366;</code>
120    *
121    * @return The creationTimestamp.
122    */
getCreationTimestamp()123   java.lang.String getCreationTimestamp();
124   /**
125    *
126    *
127    * <pre>
128    * [Output Only] Creation timestamp in RFC3339 text format.
129    * </pre>
130    *
131    * <code>optional string creation_timestamp = 30525366;</code>
132    *
133    * @return The bytes for creationTimestamp.
134    */
getCreationTimestampBytes()135   com.google.protobuf.ByteString getCreationTimestampBytes();
136 
137   /**
138    *
139    *
140    * <pre>
141    * An optional description of this resource. Provide this property when you create the resource.
142    * </pre>
143    *
144    * <code>optional string description = 422937596;</code>
145    *
146    * @return Whether the description field is set.
147    */
hasDescription()148   boolean hasDescription();
149   /**
150    *
151    *
152    * <pre>
153    * An optional description of this resource. Provide this property when you create the resource.
154    * </pre>
155    *
156    * <code>optional string description = 422937596;</code>
157    *
158    * @return The description.
159    */
getDescription()160   java.lang.String getDescription();
161   /**
162    *
163    *
164    * <pre>
165    * An optional description of this resource. Provide this property when you create the resource.
166    * </pre>
167    *
168    * <code>optional string description = 422937596;</code>
169    *
170    * @return The bytes for description.
171    */
getDescriptionBytes()172   com.google.protobuf.ByteString getDescriptionBytes();
173 
174   /**
175    *
176    *
177    * <pre>
178    * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy.
179    * </pre>
180    *
181    * <code>optional string fingerprint = 234678500;</code>
182    *
183    * @return Whether the fingerprint field is set.
184    */
hasFingerprint()185   boolean hasFingerprint();
186   /**
187    *
188    *
189    * <pre>
190    * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy.
191    * </pre>
192    *
193    * <code>optional string fingerprint = 234678500;</code>
194    *
195    * @return The fingerprint.
196    */
getFingerprint()197   java.lang.String getFingerprint();
198   /**
199    *
200    *
201    * <pre>
202    * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy.
203    * </pre>
204    *
205    * <code>optional string fingerprint = 234678500;</code>
206    *
207    * @return The bytes for fingerprint.
208    */
getFingerprintBytes()209   com.google.protobuf.ByteString getFingerprintBytes();
210 
211   /**
212    *
213    *
214    * <pre>
215    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
216    * </pre>
217    *
218    * <code>optional uint64 id = 3355;</code>
219    *
220    * @return Whether the id field is set.
221    */
hasId()222   boolean hasId();
223   /**
224    *
225    *
226    * <pre>
227    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
228    * </pre>
229    *
230    * <code>optional uint64 id = 3355;</code>
231    *
232    * @return The id.
233    */
getId()234   long getId();
235 
236   /**
237    *
238    *
239    * <pre>
240    * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
241    * </pre>
242    *
243    * <code>optional string kind = 3292052;</code>
244    *
245    * @return Whether the kind field is set.
246    */
hasKind()247   boolean hasKind();
248   /**
249    *
250    *
251    * <pre>
252    * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
253    * </pre>
254    *
255    * <code>optional string kind = 3292052;</code>
256    *
257    * @return The kind.
258    */
getKind()259   java.lang.String getKind();
260   /**
261    *
262    *
263    * <pre>
264    * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
265    * </pre>
266    *
267    * <code>optional string kind = 3292052;</code>
268    *
269    * @return The bytes for kind.
270    */
getKindBytes()271   com.google.protobuf.ByteString getKindBytes();
272 
273   /**
274    *
275    *
276    * <pre>
277    * 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.
278    * </pre>
279    *
280    * <code>optional string name = 3373707;</code>
281    *
282    * @return Whether the name field is set.
283    */
hasName()284   boolean hasName();
285   /**
286    *
287    *
288    * <pre>
289    * 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.
290    * </pre>
291    *
292    * <code>optional string name = 3373707;</code>
293    *
294    * @return The name.
295    */
getName()296   java.lang.String getName();
297   /**
298    *
299    *
300    * <pre>
301    * 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.
302    * </pre>
303    *
304    * <code>optional string name = 3373707;</code>
305    *
306    * @return The bytes for name.
307    */
getNameBytes()308   com.google.protobuf.ByteString getNameBytes();
309 
310   /**
311    *
312    *
313    * <pre>
314    * This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false.
315    * </pre>
316    *
317    * <code>optional bool proxy_bind = 286025582;</code>
318    *
319    * @return Whether the proxyBind field is set.
320    */
hasProxyBind()321   boolean hasProxyBind();
322   /**
323    *
324    *
325    * <pre>
326    * This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false.
327    * </pre>
328    *
329    * <code>optional bool proxy_bind = 286025582;</code>
330    *
331    * @return The proxyBind.
332    */
getProxyBind()333   boolean getProxyBind();
334 
335   /**
336    *
337    *
338    * <pre>
339    * Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied.
340    * Check the QuicOverride enum for the list of possible values.
341    * </pre>
342    *
343    * <code>optional string quic_override = 456577197;</code>
344    *
345    * @return Whether the quicOverride field is set.
346    */
hasQuicOverride()347   boolean hasQuicOverride();
348   /**
349    *
350    *
351    * <pre>
352    * Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied.
353    * Check the QuicOverride enum for the list of possible values.
354    * </pre>
355    *
356    * <code>optional string quic_override = 456577197;</code>
357    *
358    * @return The quicOverride.
359    */
getQuicOverride()360   java.lang.String getQuicOverride();
361   /**
362    *
363    *
364    * <pre>
365    * Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied.
366    * Check the QuicOverride enum for the list of possible values.
367    * </pre>
368    *
369    * <code>optional string quic_override = 456577197;</code>
370    *
371    * @return The bytes for quicOverride.
372    */
getQuicOverrideBytes()373   com.google.protobuf.ByteString getQuicOverrideBytes();
374 
375   /**
376    *
377    *
378    * <pre>
379    * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
380    * </pre>
381    *
382    * <code>optional string region = 138946292;</code>
383    *
384    * @return Whether the region field is set.
385    */
hasRegion()386   boolean hasRegion();
387   /**
388    *
389    *
390    * <pre>
391    * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
392    * </pre>
393    *
394    * <code>optional string region = 138946292;</code>
395    *
396    * @return The region.
397    */
getRegion()398   java.lang.String getRegion();
399   /**
400    *
401    *
402    * <pre>
403    * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
404    * </pre>
405    *
406    * <code>optional string region = 138946292;</code>
407    *
408    * @return The bytes for region.
409    */
getRegionBytes()410   com.google.protobuf.ByteString getRegionBytes();
411 
412   /**
413    *
414    *
415    * <pre>
416    * [Output Only] Server-defined URL for the resource.
417    * </pre>
418    *
419    * <code>optional string self_link = 456214797;</code>
420    *
421    * @return Whether the selfLink field is set.
422    */
hasSelfLink()423   boolean hasSelfLink();
424   /**
425    *
426    *
427    * <pre>
428    * [Output Only] Server-defined URL for the resource.
429    * </pre>
430    *
431    * <code>optional string self_link = 456214797;</code>
432    *
433    * @return The selfLink.
434    */
getSelfLink()435   java.lang.String getSelfLink();
436   /**
437    *
438    *
439    * <pre>
440    * [Output Only] Server-defined URL for the resource.
441    * </pre>
442    *
443    * <code>optional string self_link = 456214797;</code>
444    *
445    * @return The bytes for selfLink.
446    */
getSelfLinkBytes()447   com.google.protobuf.ByteString getSelfLinkBytes();
448 
449   /**
450    *
451    *
452    * <pre>
453    * Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.
454    * </pre>
455    *
456    * <code>optional string server_tls_policy = 295825266;</code>
457    *
458    * @return Whether the serverTlsPolicy field is set.
459    */
hasServerTlsPolicy()460   boolean hasServerTlsPolicy();
461   /**
462    *
463    *
464    * <pre>
465    * Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.
466    * </pre>
467    *
468    * <code>optional string server_tls_policy = 295825266;</code>
469    *
470    * @return The serverTlsPolicy.
471    */
getServerTlsPolicy()472   java.lang.String getServerTlsPolicy();
473   /**
474    *
475    *
476    * <pre>
477    * Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.
478    * </pre>
479    *
480    * <code>optional string server_tls_policy = 295825266;</code>
481    *
482    * @return The bytes for serverTlsPolicy.
483    */
getServerTlsPolicyBytes()484   com.google.protobuf.ByteString getServerTlsPolicyBytes();
485 
486   /**
487    *
488    *
489    * <pre>
490    * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. 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.
491    * </pre>
492    *
493    * <code>repeated string ssl_certificates = 366006543;</code>
494    *
495    * @return A list containing the sslCertificates.
496    */
getSslCertificatesList()497   java.util.List<java.lang.String> getSslCertificatesList();
498   /**
499    *
500    *
501    * <pre>
502    * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. 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.
503    * </pre>
504    *
505    * <code>repeated string ssl_certificates = 366006543;</code>
506    *
507    * @return The count of sslCertificates.
508    */
getSslCertificatesCount()509   int getSslCertificatesCount();
510   /**
511    *
512    *
513    * <pre>
514    * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. 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.
515    * </pre>
516    *
517    * <code>repeated string ssl_certificates = 366006543;</code>
518    *
519    * @param index The index of the element to return.
520    * @return The sslCertificates at the given index.
521    */
getSslCertificates(int index)522   java.lang.String getSslCertificates(int index);
523   /**
524    *
525    *
526    * <pre>
527    * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. 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.
528    * </pre>
529    *
530    * <code>repeated string ssl_certificates = 366006543;</code>
531    *
532    * @param index The index of the value to return.
533    * @return The bytes of the sslCertificates at the given index.
534    */
getSslCertificatesBytes(int index)535   com.google.protobuf.ByteString getSslCertificatesBytes(int index);
536 
537   /**
538    *
539    *
540    * <pre>
541    * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
542    * </pre>
543    *
544    * <code>optional string ssl_policy = 295190213;</code>
545    *
546    * @return Whether the sslPolicy field is set.
547    */
hasSslPolicy()548   boolean hasSslPolicy();
549   /**
550    *
551    *
552    * <pre>
553    * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
554    * </pre>
555    *
556    * <code>optional string ssl_policy = 295190213;</code>
557    *
558    * @return The sslPolicy.
559    */
getSslPolicy()560   java.lang.String getSslPolicy();
561   /**
562    *
563    *
564    * <pre>
565    * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
566    * </pre>
567    *
568    * <code>optional string ssl_policy = 295190213;</code>
569    *
570    * @return The bytes for sslPolicy.
571    */
getSslPolicyBytes()572   com.google.protobuf.ByteString getSslPolicyBytes();
573 
574   /**
575    *
576    *
577    * <pre>
578    * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/ url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map
579    * </pre>
580    *
581    * <code>optional string url_map = 367020684;</code>
582    *
583    * @return Whether the urlMap field is set.
584    */
hasUrlMap()585   boolean hasUrlMap();
586   /**
587    *
588    *
589    * <pre>
590    * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/ url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map
591    * </pre>
592    *
593    * <code>optional string url_map = 367020684;</code>
594    *
595    * @return The urlMap.
596    */
getUrlMap()597   java.lang.String getUrlMap();
598   /**
599    *
600    *
601    * <pre>
602    * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/ url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map
603    * </pre>
604    *
605    * <code>optional string url_map = 367020684;</code>
606    *
607    * @return The bytes for urlMap.
608    */
getUrlMapBytes()609   com.google.protobuf.ByteString getUrlMapBytes();
610 }
611