• 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 /**
22  *
23  *
24  * <pre>
25  * Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.
26  * </pre>
27  *
28  * Protobuf type {@code google.cloud.compute.v1.TargetHttpsProxy}
29  */
30 public final class TargetHttpsProxy extends com.google.protobuf.GeneratedMessageV3
31     implements
32     // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.TargetHttpsProxy)
33     TargetHttpsProxyOrBuilder {
34   private static final long serialVersionUID = 0L;
35   // Use TargetHttpsProxy.newBuilder() to construct.
TargetHttpsProxy(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36   private TargetHttpsProxy(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
37     super(builder);
38   }
39 
TargetHttpsProxy()40   private TargetHttpsProxy() {
41     authorizationPolicy_ = "";
42     certificateMap_ = "";
43     creationTimestamp_ = "";
44     description_ = "";
45     fingerprint_ = "";
46     kind_ = "";
47     name_ = "";
48     quicOverride_ = "";
49     region_ = "";
50     selfLink_ = "";
51     serverTlsPolicy_ = "";
52     sslCertificates_ = com.google.protobuf.LazyStringArrayList.EMPTY;
53     sslPolicy_ = "";
54     urlMap_ = "";
55   }
56 
57   @java.lang.Override
58   @SuppressWarnings({"unused"})
newInstance(UnusedPrivateParameter unused)59   protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
60     return new TargetHttpsProxy();
61   }
62 
63   @java.lang.Override
getUnknownFields()64   public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
65     return this.unknownFields;
66   }
67 
getDescriptor()68   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
69     return com.google.cloud.compute.v1.Compute
70         .internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor;
71   }
72 
73   @java.lang.Override
74   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()75       internalGetFieldAccessorTable() {
76     return com.google.cloud.compute.v1.Compute
77         .internal_static_google_cloud_compute_v1_TargetHttpsProxy_fieldAccessorTable
78         .ensureFieldAccessorsInitialized(
79             com.google.cloud.compute.v1.TargetHttpsProxy.class,
80             com.google.cloud.compute.v1.TargetHttpsProxy.Builder.class);
81   }
82 
83   /**
84    *
85    *
86    * <pre>
87    * 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.
88    * </pre>
89    *
90    * Protobuf enum {@code google.cloud.compute.v1.TargetHttpsProxy.QuicOverride}
91    */
92   public enum QuicOverride implements com.google.protobuf.ProtocolMessageEnum {
93     /**
94      *
95      *
96      * <pre>
97      * A value indicating that the enum field is not set.
98      * </pre>
99      *
100      * <code>UNDEFINED_QUIC_OVERRIDE = 0;</code>
101      */
102     UNDEFINED_QUIC_OVERRIDE(0),
103     /**
104      *
105      *
106      * <pre>
107      * The load balancer will not attempt to negotiate QUIC with clients.
108      * </pre>
109      *
110      * <code>DISABLE = 241807048;</code>
111      */
112     DISABLE(241807048),
113     /**
114      *
115      *
116      * <pre>
117      * The load balancer will attempt to negotiate QUIC with clients.
118      * </pre>
119      *
120      * <code>ENABLE = 438835587;</code>
121      */
122     ENABLE(438835587),
123     /**
124      *
125      *
126      * <pre>
127      * No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request.
128      * </pre>
129      *
130      * <code>NONE = 2402104;</code>
131      */
132     NONE(2402104),
133     UNRECOGNIZED(-1),
134     ;
135 
136     /**
137      *
138      *
139      * <pre>
140      * A value indicating that the enum field is not set.
141      * </pre>
142      *
143      * <code>UNDEFINED_QUIC_OVERRIDE = 0;</code>
144      */
145     public static final int UNDEFINED_QUIC_OVERRIDE_VALUE = 0;
146     /**
147      *
148      *
149      * <pre>
150      * The load balancer will not attempt to negotiate QUIC with clients.
151      * </pre>
152      *
153      * <code>DISABLE = 241807048;</code>
154      */
155     public static final int DISABLE_VALUE = 241807048;
156     /**
157      *
158      *
159      * <pre>
160      * The load balancer will attempt to negotiate QUIC with clients.
161      * </pre>
162      *
163      * <code>ENABLE = 438835587;</code>
164      */
165     public static final int ENABLE_VALUE = 438835587;
166     /**
167      *
168      *
169      * <pre>
170      * No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request.
171      * </pre>
172      *
173      * <code>NONE = 2402104;</code>
174      */
175     public static final int NONE_VALUE = 2402104;
176 
getNumber()177     public final int getNumber() {
178       if (this == UNRECOGNIZED) {
179         throw new java.lang.IllegalArgumentException(
180             "Can't get the number of an unknown enum value.");
181       }
182       return value;
183     }
184 
185     /**
186      * @param value The numeric wire value of the corresponding enum entry.
187      * @return The enum associated with the given numeric wire value.
188      * @deprecated Use {@link #forNumber(int)} instead.
189      */
190     @java.lang.Deprecated
valueOf(int value)191     public static QuicOverride valueOf(int value) {
192       return forNumber(value);
193     }
194 
195     /**
196      * @param value The numeric wire value of the corresponding enum entry.
197      * @return The enum associated with the given numeric wire value.
198      */
forNumber(int value)199     public static QuicOverride forNumber(int value) {
200       switch (value) {
201         case 0:
202           return UNDEFINED_QUIC_OVERRIDE;
203         case 241807048:
204           return DISABLE;
205         case 438835587:
206           return ENABLE;
207         case 2402104:
208           return NONE;
209         default:
210           return null;
211       }
212     }
213 
internalGetValueMap()214     public static com.google.protobuf.Internal.EnumLiteMap<QuicOverride> internalGetValueMap() {
215       return internalValueMap;
216     }
217 
218     private static final com.google.protobuf.Internal.EnumLiteMap<QuicOverride> internalValueMap =
219         new com.google.protobuf.Internal.EnumLiteMap<QuicOverride>() {
220           public QuicOverride findValueByNumber(int number) {
221             return QuicOverride.forNumber(number);
222           }
223         };
224 
getValueDescriptor()225     public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
226       if (this == UNRECOGNIZED) {
227         throw new java.lang.IllegalStateException(
228             "Can't get the descriptor of an unrecognized enum value.");
229       }
230       return getDescriptor().getValues().get(ordinal());
231     }
232 
getDescriptorForType()233     public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
234       return getDescriptor();
235     }
236 
getDescriptor()237     public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
238       return com.google.cloud.compute.v1.TargetHttpsProxy.getDescriptor().getEnumTypes().get(0);
239     }
240 
241     private static final QuicOverride[] VALUES = values();
242 
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)243     public static QuicOverride valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
244       if (desc.getType() != getDescriptor()) {
245         throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
246       }
247       if (desc.getIndex() == -1) {
248         return UNRECOGNIZED;
249       }
250       return VALUES[desc.getIndex()];
251     }
252 
253     private final int value;
254 
QuicOverride(int value)255     private QuicOverride(int value) {
256       this.value = value;
257     }
258 
259     // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.TargetHttpsProxy.QuicOverride)
260   }
261 
262   private int bitField0_;
263   public static final int AUTHORIZATION_POLICY_FIELD_NUMBER = 33945528;
264 
265   @SuppressWarnings("serial")
266   private volatile java.lang.Object authorizationPolicy_ = "";
267   /**
268    *
269    *
270    * <pre>
271    * 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.
272    * </pre>
273    *
274    * <code>optional string authorization_policy = 33945528;</code>
275    *
276    * @return Whether the authorizationPolicy field is set.
277    */
278   @java.lang.Override
hasAuthorizationPolicy()279   public boolean hasAuthorizationPolicy() {
280     return ((bitField0_ & 0x00000001) != 0);
281   }
282   /**
283    *
284    *
285    * <pre>
286    * 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.
287    * </pre>
288    *
289    * <code>optional string authorization_policy = 33945528;</code>
290    *
291    * @return The authorizationPolicy.
292    */
293   @java.lang.Override
getAuthorizationPolicy()294   public java.lang.String getAuthorizationPolicy() {
295     java.lang.Object ref = authorizationPolicy_;
296     if (ref instanceof java.lang.String) {
297       return (java.lang.String) ref;
298     } else {
299       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
300       java.lang.String s = bs.toStringUtf8();
301       authorizationPolicy_ = s;
302       return s;
303     }
304   }
305   /**
306    *
307    *
308    * <pre>
309    * 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.
310    * </pre>
311    *
312    * <code>optional string authorization_policy = 33945528;</code>
313    *
314    * @return The bytes for authorizationPolicy.
315    */
316   @java.lang.Override
getAuthorizationPolicyBytes()317   public com.google.protobuf.ByteString getAuthorizationPolicyBytes() {
318     java.lang.Object ref = authorizationPolicy_;
319     if (ref instanceof java.lang.String) {
320       com.google.protobuf.ByteString b =
321           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
322       authorizationPolicy_ = b;
323       return b;
324     } else {
325       return (com.google.protobuf.ByteString) ref;
326     }
327   }
328 
329   public static final int CERTIFICATE_MAP_FIELD_NUMBER = 156463796;
330 
331   @SuppressWarnings("serial")
332   private volatile java.lang.Object certificateMap_ = "";
333   /**
334    *
335    *
336    * <pre>
337    * 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.
338    * </pre>
339    *
340    * <code>optional string certificate_map = 156463796;</code>
341    *
342    * @return Whether the certificateMap field is set.
343    */
344   @java.lang.Override
hasCertificateMap()345   public boolean hasCertificateMap() {
346     return ((bitField0_ & 0x00000002) != 0);
347   }
348   /**
349    *
350    *
351    * <pre>
352    * 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.
353    * </pre>
354    *
355    * <code>optional string certificate_map = 156463796;</code>
356    *
357    * @return The certificateMap.
358    */
359   @java.lang.Override
getCertificateMap()360   public java.lang.String getCertificateMap() {
361     java.lang.Object ref = certificateMap_;
362     if (ref instanceof java.lang.String) {
363       return (java.lang.String) ref;
364     } else {
365       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
366       java.lang.String s = bs.toStringUtf8();
367       certificateMap_ = s;
368       return s;
369     }
370   }
371   /**
372    *
373    *
374    * <pre>
375    * 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.
376    * </pre>
377    *
378    * <code>optional string certificate_map = 156463796;</code>
379    *
380    * @return The bytes for certificateMap.
381    */
382   @java.lang.Override
getCertificateMapBytes()383   public com.google.protobuf.ByteString getCertificateMapBytes() {
384     java.lang.Object ref = certificateMap_;
385     if (ref instanceof java.lang.String) {
386       com.google.protobuf.ByteString b =
387           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
388       certificateMap_ = b;
389       return b;
390     } else {
391       return (com.google.protobuf.ByteString) ref;
392     }
393   }
394 
395   public static final int CREATION_TIMESTAMP_FIELD_NUMBER = 30525366;
396 
397   @SuppressWarnings("serial")
398   private volatile java.lang.Object creationTimestamp_ = "";
399   /**
400    *
401    *
402    * <pre>
403    * [Output Only] Creation timestamp in RFC3339 text format.
404    * </pre>
405    *
406    * <code>optional string creation_timestamp = 30525366;</code>
407    *
408    * @return Whether the creationTimestamp field is set.
409    */
410   @java.lang.Override
hasCreationTimestamp()411   public boolean hasCreationTimestamp() {
412     return ((bitField0_ & 0x00000004) != 0);
413   }
414   /**
415    *
416    *
417    * <pre>
418    * [Output Only] Creation timestamp in RFC3339 text format.
419    * </pre>
420    *
421    * <code>optional string creation_timestamp = 30525366;</code>
422    *
423    * @return The creationTimestamp.
424    */
425   @java.lang.Override
getCreationTimestamp()426   public java.lang.String getCreationTimestamp() {
427     java.lang.Object ref = creationTimestamp_;
428     if (ref instanceof java.lang.String) {
429       return (java.lang.String) ref;
430     } else {
431       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
432       java.lang.String s = bs.toStringUtf8();
433       creationTimestamp_ = s;
434       return s;
435     }
436   }
437   /**
438    *
439    *
440    * <pre>
441    * [Output Only] Creation timestamp in RFC3339 text format.
442    * </pre>
443    *
444    * <code>optional string creation_timestamp = 30525366;</code>
445    *
446    * @return The bytes for creationTimestamp.
447    */
448   @java.lang.Override
getCreationTimestampBytes()449   public com.google.protobuf.ByteString getCreationTimestampBytes() {
450     java.lang.Object ref = creationTimestamp_;
451     if (ref instanceof java.lang.String) {
452       com.google.protobuf.ByteString b =
453           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
454       creationTimestamp_ = b;
455       return b;
456     } else {
457       return (com.google.protobuf.ByteString) ref;
458     }
459   }
460 
461   public static final int DESCRIPTION_FIELD_NUMBER = 422937596;
462 
463   @SuppressWarnings("serial")
464   private volatile java.lang.Object description_ = "";
465   /**
466    *
467    *
468    * <pre>
469    * An optional description of this resource. Provide this property when you create the resource.
470    * </pre>
471    *
472    * <code>optional string description = 422937596;</code>
473    *
474    * @return Whether the description field is set.
475    */
476   @java.lang.Override
hasDescription()477   public boolean hasDescription() {
478     return ((bitField0_ & 0x00000008) != 0);
479   }
480   /**
481    *
482    *
483    * <pre>
484    * An optional description of this resource. Provide this property when you create the resource.
485    * </pre>
486    *
487    * <code>optional string description = 422937596;</code>
488    *
489    * @return The description.
490    */
491   @java.lang.Override
getDescription()492   public java.lang.String getDescription() {
493     java.lang.Object ref = description_;
494     if (ref instanceof java.lang.String) {
495       return (java.lang.String) ref;
496     } else {
497       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
498       java.lang.String s = bs.toStringUtf8();
499       description_ = s;
500       return s;
501     }
502   }
503   /**
504    *
505    *
506    * <pre>
507    * An optional description of this resource. Provide this property when you create the resource.
508    * </pre>
509    *
510    * <code>optional string description = 422937596;</code>
511    *
512    * @return The bytes for description.
513    */
514   @java.lang.Override
getDescriptionBytes()515   public com.google.protobuf.ByteString getDescriptionBytes() {
516     java.lang.Object ref = description_;
517     if (ref instanceof java.lang.String) {
518       com.google.protobuf.ByteString b =
519           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
520       description_ = b;
521       return b;
522     } else {
523       return (com.google.protobuf.ByteString) ref;
524     }
525   }
526 
527   public static final int FINGERPRINT_FIELD_NUMBER = 234678500;
528 
529   @SuppressWarnings("serial")
530   private volatile java.lang.Object fingerprint_ = "";
531   /**
532    *
533    *
534    * <pre>
535    * 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.
536    * </pre>
537    *
538    * <code>optional string fingerprint = 234678500;</code>
539    *
540    * @return Whether the fingerprint field is set.
541    */
542   @java.lang.Override
hasFingerprint()543   public boolean hasFingerprint() {
544     return ((bitField0_ & 0x00000010) != 0);
545   }
546   /**
547    *
548    *
549    * <pre>
550    * 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.
551    * </pre>
552    *
553    * <code>optional string fingerprint = 234678500;</code>
554    *
555    * @return The fingerprint.
556    */
557   @java.lang.Override
getFingerprint()558   public java.lang.String getFingerprint() {
559     java.lang.Object ref = fingerprint_;
560     if (ref instanceof java.lang.String) {
561       return (java.lang.String) ref;
562     } else {
563       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
564       java.lang.String s = bs.toStringUtf8();
565       fingerprint_ = s;
566       return s;
567     }
568   }
569   /**
570    *
571    *
572    * <pre>
573    * 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.
574    * </pre>
575    *
576    * <code>optional string fingerprint = 234678500;</code>
577    *
578    * @return The bytes for fingerprint.
579    */
580   @java.lang.Override
getFingerprintBytes()581   public com.google.protobuf.ByteString getFingerprintBytes() {
582     java.lang.Object ref = fingerprint_;
583     if (ref instanceof java.lang.String) {
584       com.google.protobuf.ByteString b =
585           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
586       fingerprint_ = b;
587       return b;
588     } else {
589       return (com.google.protobuf.ByteString) ref;
590     }
591   }
592 
593   public static final int ID_FIELD_NUMBER = 3355;
594   private long id_ = 0L;
595   /**
596    *
597    *
598    * <pre>
599    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
600    * </pre>
601    *
602    * <code>optional uint64 id = 3355;</code>
603    *
604    * @return Whether the id field is set.
605    */
606   @java.lang.Override
hasId()607   public boolean hasId() {
608     return ((bitField0_ & 0x00000020) != 0);
609   }
610   /**
611    *
612    *
613    * <pre>
614    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
615    * </pre>
616    *
617    * <code>optional uint64 id = 3355;</code>
618    *
619    * @return The id.
620    */
621   @java.lang.Override
getId()622   public long getId() {
623     return id_;
624   }
625 
626   public static final int KIND_FIELD_NUMBER = 3292052;
627 
628   @SuppressWarnings("serial")
629   private volatile java.lang.Object kind_ = "";
630   /**
631    *
632    *
633    * <pre>
634    * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
635    * </pre>
636    *
637    * <code>optional string kind = 3292052;</code>
638    *
639    * @return Whether the kind field is set.
640    */
641   @java.lang.Override
hasKind()642   public boolean hasKind() {
643     return ((bitField0_ & 0x00000040) != 0);
644   }
645   /**
646    *
647    *
648    * <pre>
649    * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
650    * </pre>
651    *
652    * <code>optional string kind = 3292052;</code>
653    *
654    * @return The kind.
655    */
656   @java.lang.Override
getKind()657   public java.lang.String getKind() {
658     java.lang.Object ref = kind_;
659     if (ref instanceof java.lang.String) {
660       return (java.lang.String) ref;
661     } else {
662       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
663       java.lang.String s = bs.toStringUtf8();
664       kind_ = s;
665       return s;
666     }
667   }
668   /**
669    *
670    *
671    * <pre>
672    * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
673    * </pre>
674    *
675    * <code>optional string kind = 3292052;</code>
676    *
677    * @return The bytes for kind.
678    */
679   @java.lang.Override
getKindBytes()680   public com.google.protobuf.ByteString getKindBytes() {
681     java.lang.Object ref = kind_;
682     if (ref instanceof java.lang.String) {
683       com.google.protobuf.ByteString b =
684           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
685       kind_ = b;
686       return b;
687     } else {
688       return (com.google.protobuf.ByteString) ref;
689     }
690   }
691 
692   public static final int NAME_FIELD_NUMBER = 3373707;
693 
694   @SuppressWarnings("serial")
695   private volatile java.lang.Object name_ = "";
696   /**
697    *
698    *
699    * <pre>
700    * 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.
701    * </pre>
702    *
703    * <code>optional string name = 3373707;</code>
704    *
705    * @return Whether the name field is set.
706    */
707   @java.lang.Override
hasName()708   public boolean hasName() {
709     return ((bitField0_ & 0x00000080) != 0);
710   }
711   /**
712    *
713    *
714    * <pre>
715    * 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.
716    * </pre>
717    *
718    * <code>optional string name = 3373707;</code>
719    *
720    * @return The name.
721    */
722   @java.lang.Override
getName()723   public java.lang.String getName() {
724     java.lang.Object ref = name_;
725     if (ref instanceof java.lang.String) {
726       return (java.lang.String) ref;
727     } else {
728       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
729       java.lang.String s = bs.toStringUtf8();
730       name_ = s;
731       return s;
732     }
733   }
734   /**
735    *
736    *
737    * <pre>
738    * 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.
739    * </pre>
740    *
741    * <code>optional string name = 3373707;</code>
742    *
743    * @return The bytes for name.
744    */
745   @java.lang.Override
getNameBytes()746   public com.google.protobuf.ByteString getNameBytes() {
747     java.lang.Object ref = name_;
748     if (ref instanceof java.lang.String) {
749       com.google.protobuf.ByteString b =
750           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
751       name_ = b;
752       return b;
753     } else {
754       return (com.google.protobuf.ByteString) ref;
755     }
756   }
757 
758   public static final int PROXY_BIND_FIELD_NUMBER = 286025582;
759   private boolean proxyBind_ = false;
760   /**
761    *
762    *
763    * <pre>
764    * 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.
765    * </pre>
766    *
767    * <code>optional bool proxy_bind = 286025582;</code>
768    *
769    * @return Whether the proxyBind field is set.
770    */
771   @java.lang.Override
hasProxyBind()772   public boolean hasProxyBind() {
773     return ((bitField0_ & 0x00000100) != 0);
774   }
775   /**
776    *
777    *
778    * <pre>
779    * 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.
780    * </pre>
781    *
782    * <code>optional bool proxy_bind = 286025582;</code>
783    *
784    * @return The proxyBind.
785    */
786   @java.lang.Override
getProxyBind()787   public boolean getProxyBind() {
788     return proxyBind_;
789   }
790 
791   public static final int QUIC_OVERRIDE_FIELD_NUMBER = 456577197;
792 
793   @SuppressWarnings("serial")
794   private volatile java.lang.Object quicOverride_ = "";
795   /**
796    *
797    *
798    * <pre>
799    * 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.
800    * Check the QuicOverride enum for the list of possible values.
801    * </pre>
802    *
803    * <code>optional string quic_override = 456577197;</code>
804    *
805    * @return Whether the quicOverride field is set.
806    */
807   @java.lang.Override
hasQuicOverride()808   public boolean hasQuicOverride() {
809     return ((bitField0_ & 0x00000200) != 0);
810   }
811   /**
812    *
813    *
814    * <pre>
815    * 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.
816    * Check the QuicOverride enum for the list of possible values.
817    * </pre>
818    *
819    * <code>optional string quic_override = 456577197;</code>
820    *
821    * @return The quicOverride.
822    */
823   @java.lang.Override
getQuicOverride()824   public java.lang.String getQuicOverride() {
825     java.lang.Object ref = quicOverride_;
826     if (ref instanceof java.lang.String) {
827       return (java.lang.String) ref;
828     } else {
829       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
830       java.lang.String s = bs.toStringUtf8();
831       quicOverride_ = s;
832       return s;
833     }
834   }
835   /**
836    *
837    *
838    * <pre>
839    * 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.
840    * Check the QuicOverride enum for the list of possible values.
841    * </pre>
842    *
843    * <code>optional string quic_override = 456577197;</code>
844    *
845    * @return The bytes for quicOverride.
846    */
847   @java.lang.Override
getQuicOverrideBytes()848   public com.google.protobuf.ByteString getQuicOverrideBytes() {
849     java.lang.Object ref = quicOverride_;
850     if (ref instanceof java.lang.String) {
851       com.google.protobuf.ByteString b =
852           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
853       quicOverride_ = b;
854       return b;
855     } else {
856       return (com.google.protobuf.ByteString) ref;
857     }
858   }
859 
860   public static final int REGION_FIELD_NUMBER = 138946292;
861 
862   @SuppressWarnings("serial")
863   private volatile java.lang.Object region_ = "";
864   /**
865    *
866    *
867    * <pre>
868    * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
869    * </pre>
870    *
871    * <code>optional string region = 138946292;</code>
872    *
873    * @return Whether the region field is set.
874    */
875   @java.lang.Override
hasRegion()876   public boolean hasRegion() {
877     return ((bitField0_ & 0x00000400) != 0);
878   }
879   /**
880    *
881    *
882    * <pre>
883    * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
884    * </pre>
885    *
886    * <code>optional string region = 138946292;</code>
887    *
888    * @return The region.
889    */
890   @java.lang.Override
getRegion()891   public java.lang.String getRegion() {
892     java.lang.Object ref = region_;
893     if (ref instanceof java.lang.String) {
894       return (java.lang.String) ref;
895     } else {
896       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
897       java.lang.String s = bs.toStringUtf8();
898       region_ = s;
899       return s;
900     }
901   }
902   /**
903    *
904    *
905    * <pre>
906    * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
907    * </pre>
908    *
909    * <code>optional string region = 138946292;</code>
910    *
911    * @return The bytes for region.
912    */
913   @java.lang.Override
getRegionBytes()914   public com.google.protobuf.ByteString getRegionBytes() {
915     java.lang.Object ref = region_;
916     if (ref instanceof java.lang.String) {
917       com.google.protobuf.ByteString b =
918           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
919       region_ = b;
920       return b;
921     } else {
922       return (com.google.protobuf.ByteString) ref;
923     }
924   }
925 
926   public static final int SELF_LINK_FIELD_NUMBER = 456214797;
927 
928   @SuppressWarnings("serial")
929   private volatile java.lang.Object selfLink_ = "";
930   /**
931    *
932    *
933    * <pre>
934    * [Output Only] Server-defined URL for the resource.
935    * </pre>
936    *
937    * <code>optional string self_link = 456214797;</code>
938    *
939    * @return Whether the selfLink field is set.
940    */
941   @java.lang.Override
hasSelfLink()942   public boolean hasSelfLink() {
943     return ((bitField0_ & 0x00000800) != 0);
944   }
945   /**
946    *
947    *
948    * <pre>
949    * [Output Only] Server-defined URL for the resource.
950    * </pre>
951    *
952    * <code>optional string self_link = 456214797;</code>
953    *
954    * @return The selfLink.
955    */
956   @java.lang.Override
getSelfLink()957   public java.lang.String getSelfLink() {
958     java.lang.Object ref = selfLink_;
959     if (ref instanceof java.lang.String) {
960       return (java.lang.String) ref;
961     } else {
962       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
963       java.lang.String s = bs.toStringUtf8();
964       selfLink_ = s;
965       return s;
966     }
967   }
968   /**
969    *
970    *
971    * <pre>
972    * [Output Only] Server-defined URL for the resource.
973    * </pre>
974    *
975    * <code>optional string self_link = 456214797;</code>
976    *
977    * @return The bytes for selfLink.
978    */
979   @java.lang.Override
getSelfLinkBytes()980   public com.google.protobuf.ByteString getSelfLinkBytes() {
981     java.lang.Object ref = selfLink_;
982     if (ref instanceof java.lang.String) {
983       com.google.protobuf.ByteString b =
984           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
985       selfLink_ = b;
986       return b;
987     } else {
988       return (com.google.protobuf.ByteString) ref;
989     }
990   }
991 
992   public static final int SERVER_TLS_POLICY_FIELD_NUMBER = 295825266;
993 
994   @SuppressWarnings("serial")
995   private volatile java.lang.Object serverTlsPolicy_ = "";
996   /**
997    *
998    *
999    * <pre>
1000    * 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.
1001    * </pre>
1002    *
1003    * <code>optional string server_tls_policy = 295825266;</code>
1004    *
1005    * @return Whether the serverTlsPolicy field is set.
1006    */
1007   @java.lang.Override
hasServerTlsPolicy()1008   public boolean hasServerTlsPolicy() {
1009     return ((bitField0_ & 0x00001000) != 0);
1010   }
1011   /**
1012    *
1013    *
1014    * <pre>
1015    * 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.
1016    * </pre>
1017    *
1018    * <code>optional string server_tls_policy = 295825266;</code>
1019    *
1020    * @return The serverTlsPolicy.
1021    */
1022   @java.lang.Override
getServerTlsPolicy()1023   public java.lang.String getServerTlsPolicy() {
1024     java.lang.Object ref = serverTlsPolicy_;
1025     if (ref instanceof java.lang.String) {
1026       return (java.lang.String) ref;
1027     } else {
1028       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
1029       java.lang.String s = bs.toStringUtf8();
1030       serverTlsPolicy_ = s;
1031       return s;
1032     }
1033   }
1034   /**
1035    *
1036    *
1037    * <pre>
1038    * 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.
1039    * </pre>
1040    *
1041    * <code>optional string server_tls_policy = 295825266;</code>
1042    *
1043    * @return The bytes for serverTlsPolicy.
1044    */
1045   @java.lang.Override
getServerTlsPolicyBytes()1046   public com.google.protobuf.ByteString getServerTlsPolicyBytes() {
1047     java.lang.Object ref = serverTlsPolicy_;
1048     if (ref instanceof java.lang.String) {
1049       com.google.protobuf.ByteString b =
1050           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
1051       serverTlsPolicy_ = b;
1052       return b;
1053     } else {
1054       return (com.google.protobuf.ByteString) ref;
1055     }
1056   }
1057 
1058   public static final int SSL_CERTIFICATES_FIELD_NUMBER = 366006543;
1059 
1060   @SuppressWarnings("serial")
1061   private com.google.protobuf.LazyStringList sslCertificates_;
1062   /**
1063    *
1064    *
1065    * <pre>
1066    * 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.
1067    * </pre>
1068    *
1069    * <code>repeated string ssl_certificates = 366006543;</code>
1070    *
1071    * @return A list containing the sslCertificates.
1072    */
getSslCertificatesList()1073   public com.google.protobuf.ProtocolStringList getSslCertificatesList() {
1074     return sslCertificates_;
1075   }
1076   /**
1077    *
1078    *
1079    * <pre>
1080    * 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.
1081    * </pre>
1082    *
1083    * <code>repeated string ssl_certificates = 366006543;</code>
1084    *
1085    * @return The count of sslCertificates.
1086    */
getSslCertificatesCount()1087   public int getSslCertificatesCount() {
1088     return sslCertificates_.size();
1089   }
1090   /**
1091    *
1092    *
1093    * <pre>
1094    * 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.
1095    * </pre>
1096    *
1097    * <code>repeated string ssl_certificates = 366006543;</code>
1098    *
1099    * @param index The index of the element to return.
1100    * @return The sslCertificates at the given index.
1101    */
getSslCertificates(int index)1102   public java.lang.String getSslCertificates(int index) {
1103     return sslCertificates_.get(index);
1104   }
1105   /**
1106    *
1107    *
1108    * <pre>
1109    * 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.
1110    * </pre>
1111    *
1112    * <code>repeated string ssl_certificates = 366006543;</code>
1113    *
1114    * @param index The index of the value to return.
1115    * @return The bytes of the sslCertificates at the given index.
1116    */
getSslCertificatesBytes(int index)1117   public com.google.protobuf.ByteString getSslCertificatesBytes(int index) {
1118     return sslCertificates_.getByteString(index);
1119   }
1120 
1121   public static final int SSL_POLICY_FIELD_NUMBER = 295190213;
1122 
1123   @SuppressWarnings("serial")
1124   private volatile java.lang.Object sslPolicy_ = "";
1125   /**
1126    *
1127    *
1128    * <pre>
1129    * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
1130    * </pre>
1131    *
1132    * <code>optional string ssl_policy = 295190213;</code>
1133    *
1134    * @return Whether the sslPolicy field is set.
1135    */
1136   @java.lang.Override
hasSslPolicy()1137   public boolean hasSslPolicy() {
1138     return ((bitField0_ & 0x00002000) != 0);
1139   }
1140   /**
1141    *
1142    *
1143    * <pre>
1144    * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
1145    * </pre>
1146    *
1147    * <code>optional string ssl_policy = 295190213;</code>
1148    *
1149    * @return The sslPolicy.
1150    */
1151   @java.lang.Override
getSslPolicy()1152   public java.lang.String getSslPolicy() {
1153     java.lang.Object ref = sslPolicy_;
1154     if (ref instanceof java.lang.String) {
1155       return (java.lang.String) ref;
1156     } else {
1157       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
1158       java.lang.String s = bs.toStringUtf8();
1159       sslPolicy_ = s;
1160       return s;
1161     }
1162   }
1163   /**
1164    *
1165    *
1166    * <pre>
1167    * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
1168    * </pre>
1169    *
1170    * <code>optional string ssl_policy = 295190213;</code>
1171    *
1172    * @return The bytes for sslPolicy.
1173    */
1174   @java.lang.Override
getSslPolicyBytes()1175   public com.google.protobuf.ByteString getSslPolicyBytes() {
1176     java.lang.Object ref = sslPolicy_;
1177     if (ref instanceof java.lang.String) {
1178       com.google.protobuf.ByteString b =
1179           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
1180       sslPolicy_ = b;
1181       return b;
1182     } else {
1183       return (com.google.protobuf.ByteString) ref;
1184     }
1185   }
1186 
1187   public static final int URL_MAP_FIELD_NUMBER = 367020684;
1188 
1189   @SuppressWarnings("serial")
1190   private volatile java.lang.Object urlMap_ = "";
1191   /**
1192    *
1193    *
1194    * <pre>
1195    * 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
1196    * </pre>
1197    *
1198    * <code>optional string url_map = 367020684;</code>
1199    *
1200    * @return Whether the urlMap field is set.
1201    */
1202   @java.lang.Override
hasUrlMap()1203   public boolean hasUrlMap() {
1204     return ((bitField0_ & 0x00004000) != 0);
1205   }
1206   /**
1207    *
1208    *
1209    * <pre>
1210    * 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
1211    * </pre>
1212    *
1213    * <code>optional string url_map = 367020684;</code>
1214    *
1215    * @return The urlMap.
1216    */
1217   @java.lang.Override
getUrlMap()1218   public java.lang.String getUrlMap() {
1219     java.lang.Object ref = urlMap_;
1220     if (ref instanceof java.lang.String) {
1221       return (java.lang.String) ref;
1222     } else {
1223       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
1224       java.lang.String s = bs.toStringUtf8();
1225       urlMap_ = s;
1226       return s;
1227     }
1228   }
1229   /**
1230    *
1231    *
1232    * <pre>
1233    * 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
1234    * </pre>
1235    *
1236    * <code>optional string url_map = 367020684;</code>
1237    *
1238    * @return The bytes for urlMap.
1239    */
1240   @java.lang.Override
getUrlMapBytes()1241   public com.google.protobuf.ByteString getUrlMapBytes() {
1242     java.lang.Object ref = urlMap_;
1243     if (ref instanceof java.lang.String) {
1244       com.google.protobuf.ByteString b =
1245           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
1246       urlMap_ = b;
1247       return b;
1248     } else {
1249       return (com.google.protobuf.ByteString) ref;
1250     }
1251   }
1252 
1253   private byte memoizedIsInitialized = -1;
1254 
1255   @java.lang.Override
isInitialized()1256   public final boolean isInitialized() {
1257     byte isInitialized = memoizedIsInitialized;
1258     if (isInitialized == 1) return true;
1259     if (isInitialized == 0) return false;
1260 
1261     memoizedIsInitialized = 1;
1262     return true;
1263   }
1264 
1265   @java.lang.Override
writeTo(com.google.protobuf.CodedOutputStream output)1266   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
1267     if (((bitField0_ & 0x00000020) != 0)) {
1268       output.writeUInt64(3355, id_);
1269     }
1270     if (((bitField0_ & 0x00000040) != 0)) {
1271       com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_);
1272     }
1273     if (((bitField0_ & 0x00000080) != 0)) {
1274       com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_);
1275     }
1276     if (((bitField0_ & 0x00000004) != 0)) {
1277       com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_);
1278     }
1279     if (((bitField0_ & 0x00000001) != 0)) {
1280       com.google.protobuf.GeneratedMessageV3.writeString(output, 33945528, authorizationPolicy_);
1281     }
1282     if (((bitField0_ & 0x00000400) != 0)) {
1283       com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_);
1284     }
1285     if (((bitField0_ & 0x00000002) != 0)) {
1286       com.google.protobuf.GeneratedMessageV3.writeString(output, 156463796, certificateMap_);
1287     }
1288     if (((bitField0_ & 0x00000010) != 0)) {
1289       com.google.protobuf.GeneratedMessageV3.writeString(output, 234678500, fingerprint_);
1290     }
1291     if (((bitField0_ & 0x00000100) != 0)) {
1292       output.writeBool(286025582, proxyBind_);
1293     }
1294     if (((bitField0_ & 0x00002000) != 0)) {
1295       com.google.protobuf.GeneratedMessageV3.writeString(output, 295190213, sslPolicy_);
1296     }
1297     if (((bitField0_ & 0x00001000) != 0)) {
1298       com.google.protobuf.GeneratedMessageV3.writeString(output, 295825266, serverTlsPolicy_);
1299     }
1300     for (int i = 0; i < sslCertificates_.size(); i++) {
1301       com.google.protobuf.GeneratedMessageV3.writeString(
1302           output, 366006543, sslCertificates_.getRaw(i));
1303     }
1304     if (((bitField0_ & 0x00004000) != 0)) {
1305       com.google.protobuf.GeneratedMessageV3.writeString(output, 367020684, urlMap_);
1306     }
1307     if (((bitField0_ & 0x00000008) != 0)) {
1308       com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_);
1309     }
1310     if (((bitField0_ & 0x00000800) != 0)) {
1311       com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_);
1312     }
1313     if (((bitField0_ & 0x00000200) != 0)) {
1314       com.google.protobuf.GeneratedMessageV3.writeString(output, 456577197, quicOverride_);
1315     }
1316     getUnknownFields().writeTo(output);
1317   }
1318 
1319   @java.lang.Override
getSerializedSize()1320   public int getSerializedSize() {
1321     int size = memoizedSize;
1322     if (size != -1) return size;
1323 
1324     size = 0;
1325     if (((bitField0_ & 0x00000020) != 0)) {
1326       size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_);
1327     }
1328     if (((bitField0_ & 0x00000040) != 0)) {
1329       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_);
1330     }
1331     if (((bitField0_ & 0x00000080) != 0)) {
1332       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_);
1333     }
1334     if (((bitField0_ & 0x00000004) != 0)) {
1335       size +=
1336           com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_);
1337     }
1338     if (((bitField0_ & 0x00000001) != 0)) {
1339       size +=
1340           com.google.protobuf.GeneratedMessageV3.computeStringSize(33945528, authorizationPolicy_);
1341     }
1342     if (((bitField0_ & 0x00000400) != 0)) {
1343       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_);
1344     }
1345     if (((bitField0_ & 0x00000002) != 0)) {
1346       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(156463796, certificateMap_);
1347     }
1348     if (((bitField0_ & 0x00000010) != 0)) {
1349       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(234678500, fingerprint_);
1350     }
1351     if (((bitField0_ & 0x00000100) != 0)) {
1352       size += com.google.protobuf.CodedOutputStream.computeBoolSize(286025582, proxyBind_);
1353     }
1354     if (((bitField0_ & 0x00002000) != 0)) {
1355       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(295190213, sslPolicy_);
1356     }
1357     if (((bitField0_ & 0x00001000) != 0)) {
1358       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(295825266, serverTlsPolicy_);
1359     }
1360     {
1361       int dataSize = 0;
1362       for (int i = 0; i < sslCertificates_.size(); i++) {
1363         dataSize += computeStringSizeNoTag(sslCertificates_.getRaw(i));
1364       }
1365       size += dataSize;
1366       size += 5 * getSslCertificatesList().size();
1367     }
1368     if (((bitField0_ & 0x00004000) != 0)) {
1369       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(367020684, urlMap_);
1370     }
1371     if (((bitField0_ & 0x00000008) != 0)) {
1372       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_);
1373     }
1374     if (((bitField0_ & 0x00000800) != 0)) {
1375       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_);
1376     }
1377     if (((bitField0_ & 0x00000200) != 0)) {
1378       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456577197, quicOverride_);
1379     }
1380     size += getUnknownFields().getSerializedSize();
1381     memoizedSize = size;
1382     return size;
1383   }
1384 
1385   @java.lang.Override
equals(final java.lang.Object obj)1386   public boolean equals(final java.lang.Object obj) {
1387     if (obj == this) {
1388       return true;
1389     }
1390     if (!(obj instanceof com.google.cloud.compute.v1.TargetHttpsProxy)) {
1391       return super.equals(obj);
1392     }
1393     com.google.cloud.compute.v1.TargetHttpsProxy other =
1394         (com.google.cloud.compute.v1.TargetHttpsProxy) obj;
1395 
1396     if (hasAuthorizationPolicy() != other.hasAuthorizationPolicy()) return false;
1397     if (hasAuthorizationPolicy()) {
1398       if (!getAuthorizationPolicy().equals(other.getAuthorizationPolicy())) return false;
1399     }
1400     if (hasCertificateMap() != other.hasCertificateMap()) return false;
1401     if (hasCertificateMap()) {
1402       if (!getCertificateMap().equals(other.getCertificateMap())) return false;
1403     }
1404     if (hasCreationTimestamp() != other.hasCreationTimestamp()) return false;
1405     if (hasCreationTimestamp()) {
1406       if (!getCreationTimestamp().equals(other.getCreationTimestamp())) return false;
1407     }
1408     if (hasDescription() != other.hasDescription()) return false;
1409     if (hasDescription()) {
1410       if (!getDescription().equals(other.getDescription())) return false;
1411     }
1412     if (hasFingerprint() != other.hasFingerprint()) return false;
1413     if (hasFingerprint()) {
1414       if (!getFingerprint().equals(other.getFingerprint())) return false;
1415     }
1416     if (hasId() != other.hasId()) return false;
1417     if (hasId()) {
1418       if (getId() != other.getId()) return false;
1419     }
1420     if (hasKind() != other.hasKind()) return false;
1421     if (hasKind()) {
1422       if (!getKind().equals(other.getKind())) return false;
1423     }
1424     if (hasName() != other.hasName()) return false;
1425     if (hasName()) {
1426       if (!getName().equals(other.getName())) return false;
1427     }
1428     if (hasProxyBind() != other.hasProxyBind()) return false;
1429     if (hasProxyBind()) {
1430       if (getProxyBind() != other.getProxyBind()) return false;
1431     }
1432     if (hasQuicOverride() != other.hasQuicOverride()) return false;
1433     if (hasQuicOverride()) {
1434       if (!getQuicOverride().equals(other.getQuicOverride())) return false;
1435     }
1436     if (hasRegion() != other.hasRegion()) return false;
1437     if (hasRegion()) {
1438       if (!getRegion().equals(other.getRegion())) return false;
1439     }
1440     if (hasSelfLink() != other.hasSelfLink()) return false;
1441     if (hasSelfLink()) {
1442       if (!getSelfLink().equals(other.getSelfLink())) return false;
1443     }
1444     if (hasServerTlsPolicy() != other.hasServerTlsPolicy()) return false;
1445     if (hasServerTlsPolicy()) {
1446       if (!getServerTlsPolicy().equals(other.getServerTlsPolicy())) return false;
1447     }
1448     if (!getSslCertificatesList().equals(other.getSslCertificatesList())) return false;
1449     if (hasSslPolicy() != other.hasSslPolicy()) return false;
1450     if (hasSslPolicy()) {
1451       if (!getSslPolicy().equals(other.getSslPolicy())) return false;
1452     }
1453     if (hasUrlMap() != other.hasUrlMap()) return false;
1454     if (hasUrlMap()) {
1455       if (!getUrlMap().equals(other.getUrlMap())) return false;
1456     }
1457     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1458     return true;
1459   }
1460 
1461   @java.lang.Override
hashCode()1462   public int hashCode() {
1463     if (memoizedHashCode != 0) {
1464       return memoizedHashCode;
1465     }
1466     int hash = 41;
1467     hash = (19 * hash) + getDescriptor().hashCode();
1468     if (hasAuthorizationPolicy()) {
1469       hash = (37 * hash) + AUTHORIZATION_POLICY_FIELD_NUMBER;
1470       hash = (53 * hash) + getAuthorizationPolicy().hashCode();
1471     }
1472     if (hasCertificateMap()) {
1473       hash = (37 * hash) + CERTIFICATE_MAP_FIELD_NUMBER;
1474       hash = (53 * hash) + getCertificateMap().hashCode();
1475     }
1476     if (hasCreationTimestamp()) {
1477       hash = (37 * hash) + CREATION_TIMESTAMP_FIELD_NUMBER;
1478       hash = (53 * hash) + getCreationTimestamp().hashCode();
1479     }
1480     if (hasDescription()) {
1481       hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
1482       hash = (53 * hash) + getDescription().hashCode();
1483     }
1484     if (hasFingerprint()) {
1485       hash = (37 * hash) + FINGERPRINT_FIELD_NUMBER;
1486       hash = (53 * hash) + getFingerprint().hashCode();
1487     }
1488     if (hasId()) {
1489       hash = (37 * hash) + ID_FIELD_NUMBER;
1490       hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId());
1491     }
1492     if (hasKind()) {
1493       hash = (37 * hash) + KIND_FIELD_NUMBER;
1494       hash = (53 * hash) + getKind().hashCode();
1495     }
1496     if (hasName()) {
1497       hash = (37 * hash) + NAME_FIELD_NUMBER;
1498       hash = (53 * hash) + getName().hashCode();
1499     }
1500     if (hasProxyBind()) {
1501       hash = (37 * hash) + PROXY_BIND_FIELD_NUMBER;
1502       hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getProxyBind());
1503     }
1504     if (hasQuicOverride()) {
1505       hash = (37 * hash) + QUIC_OVERRIDE_FIELD_NUMBER;
1506       hash = (53 * hash) + getQuicOverride().hashCode();
1507     }
1508     if (hasRegion()) {
1509       hash = (37 * hash) + REGION_FIELD_NUMBER;
1510       hash = (53 * hash) + getRegion().hashCode();
1511     }
1512     if (hasSelfLink()) {
1513       hash = (37 * hash) + SELF_LINK_FIELD_NUMBER;
1514       hash = (53 * hash) + getSelfLink().hashCode();
1515     }
1516     if (hasServerTlsPolicy()) {
1517       hash = (37 * hash) + SERVER_TLS_POLICY_FIELD_NUMBER;
1518       hash = (53 * hash) + getServerTlsPolicy().hashCode();
1519     }
1520     if (getSslCertificatesCount() > 0) {
1521       hash = (37 * hash) + SSL_CERTIFICATES_FIELD_NUMBER;
1522       hash = (53 * hash) + getSslCertificatesList().hashCode();
1523     }
1524     if (hasSslPolicy()) {
1525       hash = (37 * hash) + SSL_POLICY_FIELD_NUMBER;
1526       hash = (53 * hash) + getSslPolicy().hashCode();
1527     }
1528     if (hasUrlMap()) {
1529       hash = (37 * hash) + URL_MAP_FIELD_NUMBER;
1530       hash = (53 * hash) + getUrlMap().hashCode();
1531     }
1532     hash = (29 * hash) + getUnknownFields().hashCode();
1533     memoizedHashCode = hash;
1534     return hash;
1535   }
1536 
parseFrom(java.nio.ByteBuffer data)1537   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(java.nio.ByteBuffer data)
1538       throws com.google.protobuf.InvalidProtocolBufferException {
1539     return PARSER.parseFrom(data);
1540   }
1541 
parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1542   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(
1543       java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1544       throws com.google.protobuf.InvalidProtocolBufferException {
1545     return PARSER.parseFrom(data, extensionRegistry);
1546   }
1547 
parseFrom( com.google.protobuf.ByteString data)1548   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(
1549       com.google.protobuf.ByteString data)
1550       throws com.google.protobuf.InvalidProtocolBufferException {
1551     return PARSER.parseFrom(data);
1552   }
1553 
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1554   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(
1555       com.google.protobuf.ByteString data,
1556       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1557       throws com.google.protobuf.InvalidProtocolBufferException {
1558     return PARSER.parseFrom(data, extensionRegistry);
1559   }
1560 
parseFrom(byte[] data)1561   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(byte[] data)
1562       throws com.google.protobuf.InvalidProtocolBufferException {
1563     return PARSER.parseFrom(data);
1564   }
1565 
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1566   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(
1567       byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1568       throws com.google.protobuf.InvalidProtocolBufferException {
1569     return PARSER.parseFrom(data, extensionRegistry);
1570   }
1571 
parseFrom(java.io.InputStream input)1572   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(java.io.InputStream input)
1573       throws java.io.IOException {
1574     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
1575   }
1576 
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1577   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(
1578       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1579       throws java.io.IOException {
1580     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
1581         PARSER, input, extensionRegistry);
1582   }
1583 
parseDelimitedFrom( java.io.InputStream input)1584   public static com.google.cloud.compute.v1.TargetHttpsProxy parseDelimitedFrom(
1585       java.io.InputStream input) throws java.io.IOException {
1586     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
1587   }
1588 
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1589   public static com.google.cloud.compute.v1.TargetHttpsProxy parseDelimitedFrom(
1590       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1591       throws java.io.IOException {
1592     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
1593         PARSER, input, extensionRegistry);
1594   }
1595 
parseFrom( com.google.protobuf.CodedInputStream input)1596   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(
1597       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
1598     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
1599   }
1600 
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1601   public static com.google.cloud.compute.v1.TargetHttpsProxy parseFrom(
1602       com.google.protobuf.CodedInputStream input,
1603       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1604       throws java.io.IOException {
1605     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
1606         PARSER, input, extensionRegistry);
1607   }
1608 
1609   @java.lang.Override
newBuilderForType()1610   public Builder newBuilderForType() {
1611     return newBuilder();
1612   }
1613 
newBuilder()1614   public static Builder newBuilder() {
1615     return DEFAULT_INSTANCE.toBuilder();
1616   }
1617 
newBuilder(com.google.cloud.compute.v1.TargetHttpsProxy prototype)1618   public static Builder newBuilder(com.google.cloud.compute.v1.TargetHttpsProxy prototype) {
1619     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1620   }
1621 
1622   @java.lang.Override
toBuilder()1623   public Builder toBuilder() {
1624     return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
1625   }
1626 
1627   @java.lang.Override
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1628   protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1629     Builder builder = new Builder(parent);
1630     return builder;
1631   }
1632   /**
1633    *
1634    *
1635    * <pre>
1636    * Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.
1637    * </pre>
1638    *
1639    * Protobuf type {@code google.cloud.compute.v1.TargetHttpsProxy}
1640    */
1641   public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
1642       implements
1643       // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.TargetHttpsProxy)
1644       com.google.cloud.compute.v1.TargetHttpsProxyOrBuilder {
getDescriptor()1645     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
1646       return com.google.cloud.compute.v1.Compute
1647           .internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor;
1648     }
1649 
1650     @java.lang.Override
1651     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()1652         internalGetFieldAccessorTable() {
1653       return com.google.cloud.compute.v1.Compute
1654           .internal_static_google_cloud_compute_v1_TargetHttpsProxy_fieldAccessorTable
1655           .ensureFieldAccessorsInitialized(
1656               com.google.cloud.compute.v1.TargetHttpsProxy.class,
1657               com.google.cloud.compute.v1.TargetHttpsProxy.Builder.class);
1658     }
1659 
1660     // Construct using com.google.cloud.compute.v1.TargetHttpsProxy.newBuilder()
Builder()1661     private Builder() {}
1662 
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1663     private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1664       super(parent);
1665     }
1666 
1667     @java.lang.Override
clear()1668     public Builder clear() {
1669       super.clear();
1670       bitField0_ = 0;
1671       authorizationPolicy_ = "";
1672       certificateMap_ = "";
1673       creationTimestamp_ = "";
1674       description_ = "";
1675       fingerprint_ = "";
1676       id_ = 0L;
1677       kind_ = "";
1678       name_ = "";
1679       proxyBind_ = false;
1680       quicOverride_ = "";
1681       region_ = "";
1682       selfLink_ = "";
1683       serverTlsPolicy_ = "";
1684       sslCertificates_ = com.google.protobuf.LazyStringArrayList.EMPTY;
1685       bitField0_ = (bitField0_ & ~0x00002000);
1686       sslPolicy_ = "";
1687       urlMap_ = "";
1688       return this;
1689     }
1690 
1691     @java.lang.Override
getDescriptorForType()1692     public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
1693       return com.google.cloud.compute.v1.Compute
1694           .internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor;
1695     }
1696 
1697     @java.lang.Override
getDefaultInstanceForType()1698     public com.google.cloud.compute.v1.TargetHttpsProxy getDefaultInstanceForType() {
1699       return com.google.cloud.compute.v1.TargetHttpsProxy.getDefaultInstance();
1700     }
1701 
1702     @java.lang.Override
build()1703     public com.google.cloud.compute.v1.TargetHttpsProxy build() {
1704       com.google.cloud.compute.v1.TargetHttpsProxy result = buildPartial();
1705       if (!result.isInitialized()) {
1706         throw newUninitializedMessageException(result);
1707       }
1708       return result;
1709     }
1710 
1711     @java.lang.Override
buildPartial()1712     public com.google.cloud.compute.v1.TargetHttpsProxy buildPartial() {
1713       com.google.cloud.compute.v1.TargetHttpsProxy result =
1714           new com.google.cloud.compute.v1.TargetHttpsProxy(this);
1715       buildPartialRepeatedFields(result);
1716       if (bitField0_ != 0) {
1717         buildPartial0(result);
1718       }
1719       onBuilt();
1720       return result;
1721     }
1722 
buildPartialRepeatedFields(com.google.cloud.compute.v1.TargetHttpsProxy result)1723     private void buildPartialRepeatedFields(com.google.cloud.compute.v1.TargetHttpsProxy result) {
1724       if (((bitField0_ & 0x00002000) != 0)) {
1725         sslCertificates_ = sslCertificates_.getUnmodifiableView();
1726         bitField0_ = (bitField0_ & ~0x00002000);
1727       }
1728       result.sslCertificates_ = sslCertificates_;
1729     }
1730 
buildPartial0(com.google.cloud.compute.v1.TargetHttpsProxy result)1731     private void buildPartial0(com.google.cloud.compute.v1.TargetHttpsProxy result) {
1732       int from_bitField0_ = bitField0_;
1733       int to_bitField0_ = 0;
1734       if (((from_bitField0_ & 0x00000001) != 0)) {
1735         result.authorizationPolicy_ = authorizationPolicy_;
1736         to_bitField0_ |= 0x00000001;
1737       }
1738       if (((from_bitField0_ & 0x00000002) != 0)) {
1739         result.certificateMap_ = certificateMap_;
1740         to_bitField0_ |= 0x00000002;
1741       }
1742       if (((from_bitField0_ & 0x00000004) != 0)) {
1743         result.creationTimestamp_ = creationTimestamp_;
1744         to_bitField0_ |= 0x00000004;
1745       }
1746       if (((from_bitField0_ & 0x00000008) != 0)) {
1747         result.description_ = description_;
1748         to_bitField0_ |= 0x00000008;
1749       }
1750       if (((from_bitField0_ & 0x00000010) != 0)) {
1751         result.fingerprint_ = fingerprint_;
1752         to_bitField0_ |= 0x00000010;
1753       }
1754       if (((from_bitField0_ & 0x00000020) != 0)) {
1755         result.id_ = id_;
1756         to_bitField0_ |= 0x00000020;
1757       }
1758       if (((from_bitField0_ & 0x00000040) != 0)) {
1759         result.kind_ = kind_;
1760         to_bitField0_ |= 0x00000040;
1761       }
1762       if (((from_bitField0_ & 0x00000080) != 0)) {
1763         result.name_ = name_;
1764         to_bitField0_ |= 0x00000080;
1765       }
1766       if (((from_bitField0_ & 0x00000100) != 0)) {
1767         result.proxyBind_ = proxyBind_;
1768         to_bitField0_ |= 0x00000100;
1769       }
1770       if (((from_bitField0_ & 0x00000200) != 0)) {
1771         result.quicOverride_ = quicOverride_;
1772         to_bitField0_ |= 0x00000200;
1773       }
1774       if (((from_bitField0_ & 0x00000400) != 0)) {
1775         result.region_ = region_;
1776         to_bitField0_ |= 0x00000400;
1777       }
1778       if (((from_bitField0_ & 0x00000800) != 0)) {
1779         result.selfLink_ = selfLink_;
1780         to_bitField0_ |= 0x00000800;
1781       }
1782       if (((from_bitField0_ & 0x00001000) != 0)) {
1783         result.serverTlsPolicy_ = serverTlsPolicy_;
1784         to_bitField0_ |= 0x00001000;
1785       }
1786       if (((from_bitField0_ & 0x00004000) != 0)) {
1787         result.sslPolicy_ = sslPolicy_;
1788         to_bitField0_ |= 0x00002000;
1789       }
1790       if (((from_bitField0_ & 0x00008000) != 0)) {
1791         result.urlMap_ = urlMap_;
1792         to_bitField0_ |= 0x00004000;
1793       }
1794       result.bitField0_ |= to_bitField0_;
1795     }
1796 
1797     @java.lang.Override
clone()1798     public Builder clone() {
1799       return super.clone();
1800     }
1801 
1802     @java.lang.Override
setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1803     public Builder setField(
1804         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
1805       return super.setField(field, value);
1806     }
1807 
1808     @java.lang.Override
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)1809     public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
1810       return super.clearField(field);
1811     }
1812 
1813     @java.lang.Override
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)1814     public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
1815       return super.clearOneof(oneof);
1816     }
1817 
1818     @java.lang.Override
setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)1819     public Builder setRepeatedField(
1820         com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
1821       return super.setRepeatedField(field, index, value);
1822     }
1823 
1824     @java.lang.Override
addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)1825     public Builder addRepeatedField(
1826         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
1827       return super.addRepeatedField(field, value);
1828     }
1829 
1830     @java.lang.Override
mergeFrom(com.google.protobuf.Message other)1831     public Builder mergeFrom(com.google.protobuf.Message other) {
1832       if (other instanceof com.google.cloud.compute.v1.TargetHttpsProxy) {
1833         return mergeFrom((com.google.cloud.compute.v1.TargetHttpsProxy) other);
1834       } else {
1835         super.mergeFrom(other);
1836         return this;
1837       }
1838     }
1839 
mergeFrom(com.google.cloud.compute.v1.TargetHttpsProxy other)1840     public Builder mergeFrom(com.google.cloud.compute.v1.TargetHttpsProxy other) {
1841       if (other == com.google.cloud.compute.v1.TargetHttpsProxy.getDefaultInstance()) return this;
1842       if (other.hasAuthorizationPolicy()) {
1843         authorizationPolicy_ = other.authorizationPolicy_;
1844         bitField0_ |= 0x00000001;
1845         onChanged();
1846       }
1847       if (other.hasCertificateMap()) {
1848         certificateMap_ = other.certificateMap_;
1849         bitField0_ |= 0x00000002;
1850         onChanged();
1851       }
1852       if (other.hasCreationTimestamp()) {
1853         creationTimestamp_ = other.creationTimestamp_;
1854         bitField0_ |= 0x00000004;
1855         onChanged();
1856       }
1857       if (other.hasDescription()) {
1858         description_ = other.description_;
1859         bitField0_ |= 0x00000008;
1860         onChanged();
1861       }
1862       if (other.hasFingerprint()) {
1863         fingerprint_ = other.fingerprint_;
1864         bitField0_ |= 0x00000010;
1865         onChanged();
1866       }
1867       if (other.hasId()) {
1868         setId(other.getId());
1869       }
1870       if (other.hasKind()) {
1871         kind_ = other.kind_;
1872         bitField0_ |= 0x00000040;
1873         onChanged();
1874       }
1875       if (other.hasName()) {
1876         name_ = other.name_;
1877         bitField0_ |= 0x00000080;
1878         onChanged();
1879       }
1880       if (other.hasProxyBind()) {
1881         setProxyBind(other.getProxyBind());
1882       }
1883       if (other.hasQuicOverride()) {
1884         quicOverride_ = other.quicOverride_;
1885         bitField0_ |= 0x00000200;
1886         onChanged();
1887       }
1888       if (other.hasRegion()) {
1889         region_ = other.region_;
1890         bitField0_ |= 0x00000400;
1891         onChanged();
1892       }
1893       if (other.hasSelfLink()) {
1894         selfLink_ = other.selfLink_;
1895         bitField0_ |= 0x00000800;
1896         onChanged();
1897       }
1898       if (other.hasServerTlsPolicy()) {
1899         serverTlsPolicy_ = other.serverTlsPolicy_;
1900         bitField0_ |= 0x00001000;
1901         onChanged();
1902       }
1903       if (!other.sslCertificates_.isEmpty()) {
1904         if (sslCertificates_.isEmpty()) {
1905           sslCertificates_ = other.sslCertificates_;
1906           bitField0_ = (bitField0_ & ~0x00002000);
1907         } else {
1908           ensureSslCertificatesIsMutable();
1909           sslCertificates_.addAll(other.sslCertificates_);
1910         }
1911         onChanged();
1912       }
1913       if (other.hasSslPolicy()) {
1914         sslPolicy_ = other.sslPolicy_;
1915         bitField0_ |= 0x00004000;
1916         onChanged();
1917       }
1918       if (other.hasUrlMap()) {
1919         urlMap_ = other.urlMap_;
1920         bitField0_ |= 0x00008000;
1921         onChanged();
1922       }
1923       this.mergeUnknownFields(other.getUnknownFields());
1924       onChanged();
1925       return this;
1926     }
1927 
1928     @java.lang.Override
isInitialized()1929     public final boolean isInitialized() {
1930       return true;
1931     }
1932 
1933     @java.lang.Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1934     public Builder mergeFrom(
1935         com.google.protobuf.CodedInputStream input,
1936         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1937         throws java.io.IOException {
1938       if (extensionRegistry == null) {
1939         throw new java.lang.NullPointerException();
1940       }
1941       try {
1942         boolean done = false;
1943         while (!done) {
1944           int tag = input.readTag();
1945           switch (tag) {
1946             case 0:
1947               done = true;
1948               break;
1949             case 26840:
1950               {
1951                 id_ = input.readUInt64();
1952                 bitField0_ |= 0x00000020;
1953                 break;
1954               } // case 26840
1955             case 26336418:
1956               {
1957                 kind_ = input.readStringRequireUtf8();
1958                 bitField0_ |= 0x00000040;
1959                 break;
1960               } // case 26336418
1961             case 26989658:
1962               {
1963                 name_ = input.readStringRequireUtf8();
1964                 bitField0_ |= 0x00000080;
1965                 break;
1966               } // case 26989658
1967             case 244202930:
1968               {
1969                 creationTimestamp_ = input.readStringRequireUtf8();
1970                 bitField0_ |= 0x00000004;
1971                 break;
1972               } // case 244202930
1973             case 271564226:
1974               {
1975                 authorizationPolicy_ = input.readStringRequireUtf8();
1976                 bitField0_ |= 0x00000001;
1977                 break;
1978               } // case 271564226
1979             case 1111570338:
1980               {
1981                 region_ = input.readStringRequireUtf8();
1982                 bitField0_ |= 0x00000400;
1983                 break;
1984               } // case 1111570338
1985             case 1251710370:
1986               {
1987                 certificateMap_ = input.readStringRequireUtf8();
1988                 bitField0_ |= 0x00000002;
1989                 break;
1990               } // case 1251710370
1991             case 1877428002:
1992               {
1993                 fingerprint_ = input.readStringRequireUtf8();
1994                 bitField0_ |= 0x00000010;
1995                 break;
1996               } // case 1877428002
1997             case -2006762640:
1998               {
1999                 proxyBind_ = input.readBool();
2000                 bitField0_ |= 0x00000100;
2001                 break;
2002               } // case -2006762640
2003             case -1933445590:
2004               {
2005                 sslPolicy_ = input.readStringRequireUtf8();
2006                 bitField0_ |= 0x00004000;
2007                 break;
2008               } // case -1933445590
2009             case -1928365166:
2010               {
2011                 serverTlsPolicy_ = input.readStringRequireUtf8();
2012                 bitField0_ |= 0x00001000;
2013                 break;
2014               } // case -1928365166
2015             case -1366914950:
2016               {
2017                 java.lang.String s = input.readStringRequireUtf8();
2018                 ensureSslCertificatesIsMutable();
2019                 sslCertificates_.add(s);
2020                 break;
2021               } // case -1366914950
2022             case -1358801822:
2023               {
2024                 urlMap_ = input.readStringRequireUtf8();
2025                 bitField0_ |= 0x00008000;
2026                 break;
2027               } // case -1358801822
2028             case -911466526:
2029               {
2030                 description_ = input.readStringRequireUtf8();
2031                 bitField0_ |= 0x00000008;
2032                 break;
2033               } // case -911466526
2034             case -645248918:
2035               {
2036                 selfLink_ = input.readStringRequireUtf8();
2037                 bitField0_ |= 0x00000800;
2038                 break;
2039               } // case -645248918
2040             case -642349718:
2041               {
2042                 quicOverride_ = input.readStringRequireUtf8();
2043                 bitField0_ |= 0x00000200;
2044                 break;
2045               } // case -642349718
2046             default:
2047               {
2048                 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
2049                   done = true; // was an endgroup tag
2050                 }
2051                 break;
2052               } // default:
2053           } // switch (tag)
2054         } // while (!done)
2055       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2056         throw e.unwrapIOException();
2057       } finally {
2058         onChanged();
2059       } // finally
2060       return this;
2061     }
2062 
2063     private int bitField0_;
2064 
2065     private java.lang.Object authorizationPolicy_ = "";
2066     /**
2067      *
2068      *
2069      * <pre>
2070      * 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.
2071      * </pre>
2072      *
2073      * <code>optional string authorization_policy = 33945528;</code>
2074      *
2075      * @return Whether the authorizationPolicy field is set.
2076      */
hasAuthorizationPolicy()2077     public boolean hasAuthorizationPolicy() {
2078       return ((bitField0_ & 0x00000001) != 0);
2079     }
2080     /**
2081      *
2082      *
2083      * <pre>
2084      * 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.
2085      * </pre>
2086      *
2087      * <code>optional string authorization_policy = 33945528;</code>
2088      *
2089      * @return The authorizationPolicy.
2090      */
getAuthorizationPolicy()2091     public java.lang.String getAuthorizationPolicy() {
2092       java.lang.Object ref = authorizationPolicy_;
2093       if (!(ref instanceof java.lang.String)) {
2094         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
2095         java.lang.String s = bs.toStringUtf8();
2096         authorizationPolicy_ = s;
2097         return s;
2098       } else {
2099         return (java.lang.String) ref;
2100       }
2101     }
2102     /**
2103      *
2104      *
2105      * <pre>
2106      * 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.
2107      * </pre>
2108      *
2109      * <code>optional string authorization_policy = 33945528;</code>
2110      *
2111      * @return The bytes for authorizationPolicy.
2112      */
getAuthorizationPolicyBytes()2113     public com.google.protobuf.ByteString getAuthorizationPolicyBytes() {
2114       java.lang.Object ref = authorizationPolicy_;
2115       if (ref instanceof String) {
2116         com.google.protobuf.ByteString b =
2117             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
2118         authorizationPolicy_ = b;
2119         return b;
2120       } else {
2121         return (com.google.protobuf.ByteString) ref;
2122       }
2123     }
2124     /**
2125      *
2126      *
2127      * <pre>
2128      * 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.
2129      * </pre>
2130      *
2131      * <code>optional string authorization_policy = 33945528;</code>
2132      *
2133      * @param value The authorizationPolicy to set.
2134      * @return This builder for chaining.
2135      */
setAuthorizationPolicy(java.lang.String value)2136     public Builder setAuthorizationPolicy(java.lang.String value) {
2137       if (value == null) {
2138         throw new NullPointerException();
2139       }
2140       authorizationPolicy_ = value;
2141       bitField0_ |= 0x00000001;
2142       onChanged();
2143       return this;
2144     }
2145     /**
2146      *
2147      *
2148      * <pre>
2149      * 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.
2150      * </pre>
2151      *
2152      * <code>optional string authorization_policy = 33945528;</code>
2153      *
2154      * @return This builder for chaining.
2155      */
clearAuthorizationPolicy()2156     public Builder clearAuthorizationPolicy() {
2157       authorizationPolicy_ = getDefaultInstance().getAuthorizationPolicy();
2158       bitField0_ = (bitField0_ & ~0x00000001);
2159       onChanged();
2160       return this;
2161     }
2162     /**
2163      *
2164      *
2165      * <pre>
2166      * 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.
2167      * </pre>
2168      *
2169      * <code>optional string authorization_policy = 33945528;</code>
2170      *
2171      * @param value The bytes for authorizationPolicy to set.
2172      * @return This builder for chaining.
2173      */
setAuthorizationPolicyBytes(com.google.protobuf.ByteString value)2174     public Builder setAuthorizationPolicyBytes(com.google.protobuf.ByteString value) {
2175       if (value == null) {
2176         throw new NullPointerException();
2177       }
2178       checkByteStringIsUtf8(value);
2179       authorizationPolicy_ = value;
2180       bitField0_ |= 0x00000001;
2181       onChanged();
2182       return this;
2183     }
2184 
2185     private java.lang.Object certificateMap_ = "";
2186     /**
2187      *
2188      *
2189      * <pre>
2190      * 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.
2191      * </pre>
2192      *
2193      * <code>optional string certificate_map = 156463796;</code>
2194      *
2195      * @return Whether the certificateMap field is set.
2196      */
hasCertificateMap()2197     public boolean hasCertificateMap() {
2198       return ((bitField0_ & 0x00000002) != 0);
2199     }
2200     /**
2201      *
2202      *
2203      * <pre>
2204      * 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.
2205      * </pre>
2206      *
2207      * <code>optional string certificate_map = 156463796;</code>
2208      *
2209      * @return The certificateMap.
2210      */
getCertificateMap()2211     public java.lang.String getCertificateMap() {
2212       java.lang.Object ref = certificateMap_;
2213       if (!(ref instanceof java.lang.String)) {
2214         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
2215         java.lang.String s = bs.toStringUtf8();
2216         certificateMap_ = s;
2217         return s;
2218       } else {
2219         return (java.lang.String) ref;
2220       }
2221     }
2222     /**
2223      *
2224      *
2225      * <pre>
2226      * 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.
2227      * </pre>
2228      *
2229      * <code>optional string certificate_map = 156463796;</code>
2230      *
2231      * @return The bytes for certificateMap.
2232      */
getCertificateMapBytes()2233     public com.google.protobuf.ByteString getCertificateMapBytes() {
2234       java.lang.Object ref = certificateMap_;
2235       if (ref instanceof String) {
2236         com.google.protobuf.ByteString b =
2237             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
2238         certificateMap_ = b;
2239         return b;
2240       } else {
2241         return (com.google.protobuf.ByteString) ref;
2242       }
2243     }
2244     /**
2245      *
2246      *
2247      * <pre>
2248      * 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.
2249      * </pre>
2250      *
2251      * <code>optional string certificate_map = 156463796;</code>
2252      *
2253      * @param value The certificateMap to set.
2254      * @return This builder for chaining.
2255      */
setCertificateMap(java.lang.String value)2256     public Builder setCertificateMap(java.lang.String value) {
2257       if (value == null) {
2258         throw new NullPointerException();
2259       }
2260       certificateMap_ = value;
2261       bitField0_ |= 0x00000002;
2262       onChanged();
2263       return this;
2264     }
2265     /**
2266      *
2267      *
2268      * <pre>
2269      * 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.
2270      * </pre>
2271      *
2272      * <code>optional string certificate_map = 156463796;</code>
2273      *
2274      * @return This builder for chaining.
2275      */
clearCertificateMap()2276     public Builder clearCertificateMap() {
2277       certificateMap_ = getDefaultInstance().getCertificateMap();
2278       bitField0_ = (bitField0_ & ~0x00000002);
2279       onChanged();
2280       return this;
2281     }
2282     /**
2283      *
2284      *
2285      * <pre>
2286      * 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.
2287      * </pre>
2288      *
2289      * <code>optional string certificate_map = 156463796;</code>
2290      *
2291      * @param value The bytes for certificateMap to set.
2292      * @return This builder for chaining.
2293      */
setCertificateMapBytes(com.google.protobuf.ByteString value)2294     public Builder setCertificateMapBytes(com.google.protobuf.ByteString value) {
2295       if (value == null) {
2296         throw new NullPointerException();
2297       }
2298       checkByteStringIsUtf8(value);
2299       certificateMap_ = value;
2300       bitField0_ |= 0x00000002;
2301       onChanged();
2302       return this;
2303     }
2304 
2305     private java.lang.Object creationTimestamp_ = "";
2306     /**
2307      *
2308      *
2309      * <pre>
2310      * [Output Only] Creation timestamp in RFC3339 text format.
2311      * </pre>
2312      *
2313      * <code>optional string creation_timestamp = 30525366;</code>
2314      *
2315      * @return Whether the creationTimestamp field is set.
2316      */
hasCreationTimestamp()2317     public boolean hasCreationTimestamp() {
2318       return ((bitField0_ & 0x00000004) != 0);
2319     }
2320     /**
2321      *
2322      *
2323      * <pre>
2324      * [Output Only] Creation timestamp in RFC3339 text format.
2325      * </pre>
2326      *
2327      * <code>optional string creation_timestamp = 30525366;</code>
2328      *
2329      * @return The creationTimestamp.
2330      */
getCreationTimestamp()2331     public java.lang.String getCreationTimestamp() {
2332       java.lang.Object ref = creationTimestamp_;
2333       if (!(ref instanceof java.lang.String)) {
2334         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
2335         java.lang.String s = bs.toStringUtf8();
2336         creationTimestamp_ = s;
2337         return s;
2338       } else {
2339         return (java.lang.String) ref;
2340       }
2341     }
2342     /**
2343      *
2344      *
2345      * <pre>
2346      * [Output Only] Creation timestamp in RFC3339 text format.
2347      * </pre>
2348      *
2349      * <code>optional string creation_timestamp = 30525366;</code>
2350      *
2351      * @return The bytes for creationTimestamp.
2352      */
getCreationTimestampBytes()2353     public com.google.protobuf.ByteString getCreationTimestampBytes() {
2354       java.lang.Object ref = creationTimestamp_;
2355       if (ref instanceof String) {
2356         com.google.protobuf.ByteString b =
2357             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
2358         creationTimestamp_ = b;
2359         return b;
2360       } else {
2361         return (com.google.protobuf.ByteString) ref;
2362       }
2363     }
2364     /**
2365      *
2366      *
2367      * <pre>
2368      * [Output Only] Creation timestamp in RFC3339 text format.
2369      * </pre>
2370      *
2371      * <code>optional string creation_timestamp = 30525366;</code>
2372      *
2373      * @param value The creationTimestamp to set.
2374      * @return This builder for chaining.
2375      */
setCreationTimestamp(java.lang.String value)2376     public Builder setCreationTimestamp(java.lang.String value) {
2377       if (value == null) {
2378         throw new NullPointerException();
2379       }
2380       creationTimestamp_ = value;
2381       bitField0_ |= 0x00000004;
2382       onChanged();
2383       return this;
2384     }
2385     /**
2386      *
2387      *
2388      * <pre>
2389      * [Output Only] Creation timestamp in RFC3339 text format.
2390      * </pre>
2391      *
2392      * <code>optional string creation_timestamp = 30525366;</code>
2393      *
2394      * @return This builder for chaining.
2395      */
clearCreationTimestamp()2396     public Builder clearCreationTimestamp() {
2397       creationTimestamp_ = getDefaultInstance().getCreationTimestamp();
2398       bitField0_ = (bitField0_ & ~0x00000004);
2399       onChanged();
2400       return this;
2401     }
2402     /**
2403      *
2404      *
2405      * <pre>
2406      * [Output Only] Creation timestamp in RFC3339 text format.
2407      * </pre>
2408      *
2409      * <code>optional string creation_timestamp = 30525366;</code>
2410      *
2411      * @param value The bytes for creationTimestamp to set.
2412      * @return This builder for chaining.
2413      */
setCreationTimestampBytes(com.google.protobuf.ByteString value)2414     public Builder setCreationTimestampBytes(com.google.protobuf.ByteString value) {
2415       if (value == null) {
2416         throw new NullPointerException();
2417       }
2418       checkByteStringIsUtf8(value);
2419       creationTimestamp_ = value;
2420       bitField0_ |= 0x00000004;
2421       onChanged();
2422       return this;
2423     }
2424 
2425     private java.lang.Object description_ = "";
2426     /**
2427      *
2428      *
2429      * <pre>
2430      * An optional description of this resource. Provide this property when you create the resource.
2431      * </pre>
2432      *
2433      * <code>optional string description = 422937596;</code>
2434      *
2435      * @return Whether the description field is set.
2436      */
hasDescription()2437     public boolean hasDescription() {
2438       return ((bitField0_ & 0x00000008) != 0);
2439     }
2440     /**
2441      *
2442      *
2443      * <pre>
2444      * An optional description of this resource. Provide this property when you create the resource.
2445      * </pre>
2446      *
2447      * <code>optional string description = 422937596;</code>
2448      *
2449      * @return The description.
2450      */
getDescription()2451     public java.lang.String getDescription() {
2452       java.lang.Object ref = description_;
2453       if (!(ref instanceof java.lang.String)) {
2454         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
2455         java.lang.String s = bs.toStringUtf8();
2456         description_ = s;
2457         return s;
2458       } else {
2459         return (java.lang.String) ref;
2460       }
2461     }
2462     /**
2463      *
2464      *
2465      * <pre>
2466      * An optional description of this resource. Provide this property when you create the resource.
2467      * </pre>
2468      *
2469      * <code>optional string description = 422937596;</code>
2470      *
2471      * @return The bytes for description.
2472      */
getDescriptionBytes()2473     public com.google.protobuf.ByteString getDescriptionBytes() {
2474       java.lang.Object ref = description_;
2475       if (ref instanceof String) {
2476         com.google.protobuf.ByteString b =
2477             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
2478         description_ = b;
2479         return b;
2480       } else {
2481         return (com.google.protobuf.ByteString) ref;
2482       }
2483     }
2484     /**
2485      *
2486      *
2487      * <pre>
2488      * An optional description of this resource. Provide this property when you create the resource.
2489      * </pre>
2490      *
2491      * <code>optional string description = 422937596;</code>
2492      *
2493      * @param value The description to set.
2494      * @return This builder for chaining.
2495      */
setDescription(java.lang.String value)2496     public Builder setDescription(java.lang.String value) {
2497       if (value == null) {
2498         throw new NullPointerException();
2499       }
2500       description_ = value;
2501       bitField0_ |= 0x00000008;
2502       onChanged();
2503       return this;
2504     }
2505     /**
2506      *
2507      *
2508      * <pre>
2509      * An optional description of this resource. Provide this property when you create the resource.
2510      * </pre>
2511      *
2512      * <code>optional string description = 422937596;</code>
2513      *
2514      * @return This builder for chaining.
2515      */
clearDescription()2516     public Builder clearDescription() {
2517       description_ = getDefaultInstance().getDescription();
2518       bitField0_ = (bitField0_ & ~0x00000008);
2519       onChanged();
2520       return this;
2521     }
2522     /**
2523      *
2524      *
2525      * <pre>
2526      * An optional description of this resource. Provide this property when you create the resource.
2527      * </pre>
2528      *
2529      * <code>optional string description = 422937596;</code>
2530      *
2531      * @param value The bytes for description to set.
2532      * @return This builder for chaining.
2533      */
setDescriptionBytes(com.google.protobuf.ByteString value)2534     public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
2535       if (value == null) {
2536         throw new NullPointerException();
2537       }
2538       checkByteStringIsUtf8(value);
2539       description_ = value;
2540       bitField0_ |= 0x00000008;
2541       onChanged();
2542       return this;
2543     }
2544 
2545     private java.lang.Object fingerprint_ = "";
2546     /**
2547      *
2548      *
2549      * <pre>
2550      * 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.
2551      * </pre>
2552      *
2553      * <code>optional string fingerprint = 234678500;</code>
2554      *
2555      * @return Whether the fingerprint field is set.
2556      */
hasFingerprint()2557     public boolean hasFingerprint() {
2558       return ((bitField0_ & 0x00000010) != 0);
2559     }
2560     /**
2561      *
2562      *
2563      * <pre>
2564      * 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.
2565      * </pre>
2566      *
2567      * <code>optional string fingerprint = 234678500;</code>
2568      *
2569      * @return The fingerprint.
2570      */
getFingerprint()2571     public java.lang.String getFingerprint() {
2572       java.lang.Object ref = fingerprint_;
2573       if (!(ref instanceof java.lang.String)) {
2574         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
2575         java.lang.String s = bs.toStringUtf8();
2576         fingerprint_ = s;
2577         return s;
2578       } else {
2579         return (java.lang.String) ref;
2580       }
2581     }
2582     /**
2583      *
2584      *
2585      * <pre>
2586      * 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.
2587      * </pre>
2588      *
2589      * <code>optional string fingerprint = 234678500;</code>
2590      *
2591      * @return The bytes for fingerprint.
2592      */
getFingerprintBytes()2593     public com.google.protobuf.ByteString getFingerprintBytes() {
2594       java.lang.Object ref = fingerprint_;
2595       if (ref instanceof String) {
2596         com.google.protobuf.ByteString b =
2597             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
2598         fingerprint_ = b;
2599         return b;
2600       } else {
2601         return (com.google.protobuf.ByteString) ref;
2602       }
2603     }
2604     /**
2605      *
2606      *
2607      * <pre>
2608      * 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.
2609      * </pre>
2610      *
2611      * <code>optional string fingerprint = 234678500;</code>
2612      *
2613      * @param value The fingerprint to set.
2614      * @return This builder for chaining.
2615      */
setFingerprint(java.lang.String value)2616     public Builder setFingerprint(java.lang.String value) {
2617       if (value == null) {
2618         throw new NullPointerException();
2619       }
2620       fingerprint_ = value;
2621       bitField0_ |= 0x00000010;
2622       onChanged();
2623       return this;
2624     }
2625     /**
2626      *
2627      *
2628      * <pre>
2629      * 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.
2630      * </pre>
2631      *
2632      * <code>optional string fingerprint = 234678500;</code>
2633      *
2634      * @return This builder for chaining.
2635      */
clearFingerprint()2636     public Builder clearFingerprint() {
2637       fingerprint_ = getDefaultInstance().getFingerprint();
2638       bitField0_ = (bitField0_ & ~0x00000010);
2639       onChanged();
2640       return this;
2641     }
2642     /**
2643      *
2644      *
2645      * <pre>
2646      * 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.
2647      * </pre>
2648      *
2649      * <code>optional string fingerprint = 234678500;</code>
2650      *
2651      * @param value The bytes for fingerprint to set.
2652      * @return This builder for chaining.
2653      */
setFingerprintBytes(com.google.protobuf.ByteString value)2654     public Builder setFingerprintBytes(com.google.protobuf.ByteString value) {
2655       if (value == null) {
2656         throw new NullPointerException();
2657       }
2658       checkByteStringIsUtf8(value);
2659       fingerprint_ = value;
2660       bitField0_ |= 0x00000010;
2661       onChanged();
2662       return this;
2663     }
2664 
2665     private long id_;
2666     /**
2667      *
2668      *
2669      * <pre>
2670      * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
2671      * </pre>
2672      *
2673      * <code>optional uint64 id = 3355;</code>
2674      *
2675      * @return Whether the id field is set.
2676      */
2677     @java.lang.Override
hasId()2678     public boolean hasId() {
2679       return ((bitField0_ & 0x00000020) != 0);
2680     }
2681     /**
2682      *
2683      *
2684      * <pre>
2685      * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
2686      * </pre>
2687      *
2688      * <code>optional uint64 id = 3355;</code>
2689      *
2690      * @return The id.
2691      */
2692     @java.lang.Override
getId()2693     public long getId() {
2694       return id_;
2695     }
2696     /**
2697      *
2698      *
2699      * <pre>
2700      * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
2701      * </pre>
2702      *
2703      * <code>optional uint64 id = 3355;</code>
2704      *
2705      * @param value The id to set.
2706      * @return This builder for chaining.
2707      */
setId(long value)2708     public Builder setId(long value) {
2709 
2710       id_ = value;
2711       bitField0_ |= 0x00000020;
2712       onChanged();
2713       return this;
2714     }
2715     /**
2716      *
2717      *
2718      * <pre>
2719      * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
2720      * </pre>
2721      *
2722      * <code>optional uint64 id = 3355;</code>
2723      *
2724      * @return This builder for chaining.
2725      */
clearId()2726     public Builder clearId() {
2727       bitField0_ = (bitField0_ & ~0x00000020);
2728       id_ = 0L;
2729       onChanged();
2730       return this;
2731     }
2732 
2733     private java.lang.Object kind_ = "";
2734     /**
2735      *
2736      *
2737      * <pre>
2738      * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
2739      * </pre>
2740      *
2741      * <code>optional string kind = 3292052;</code>
2742      *
2743      * @return Whether the kind field is set.
2744      */
hasKind()2745     public boolean hasKind() {
2746       return ((bitField0_ & 0x00000040) != 0);
2747     }
2748     /**
2749      *
2750      *
2751      * <pre>
2752      * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
2753      * </pre>
2754      *
2755      * <code>optional string kind = 3292052;</code>
2756      *
2757      * @return The kind.
2758      */
getKind()2759     public java.lang.String getKind() {
2760       java.lang.Object ref = kind_;
2761       if (!(ref instanceof java.lang.String)) {
2762         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
2763         java.lang.String s = bs.toStringUtf8();
2764         kind_ = s;
2765         return s;
2766       } else {
2767         return (java.lang.String) ref;
2768       }
2769     }
2770     /**
2771      *
2772      *
2773      * <pre>
2774      * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
2775      * </pre>
2776      *
2777      * <code>optional string kind = 3292052;</code>
2778      *
2779      * @return The bytes for kind.
2780      */
getKindBytes()2781     public com.google.protobuf.ByteString getKindBytes() {
2782       java.lang.Object ref = kind_;
2783       if (ref instanceof String) {
2784         com.google.protobuf.ByteString b =
2785             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
2786         kind_ = b;
2787         return b;
2788       } else {
2789         return (com.google.protobuf.ByteString) ref;
2790       }
2791     }
2792     /**
2793      *
2794      *
2795      * <pre>
2796      * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
2797      * </pre>
2798      *
2799      * <code>optional string kind = 3292052;</code>
2800      *
2801      * @param value The kind to set.
2802      * @return This builder for chaining.
2803      */
setKind(java.lang.String value)2804     public Builder setKind(java.lang.String value) {
2805       if (value == null) {
2806         throw new NullPointerException();
2807       }
2808       kind_ = value;
2809       bitField0_ |= 0x00000040;
2810       onChanged();
2811       return this;
2812     }
2813     /**
2814      *
2815      *
2816      * <pre>
2817      * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
2818      * </pre>
2819      *
2820      * <code>optional string kind = 3292052;</code>
2821      *
2822      * @return This builder for chaining.
2823      */
clearKind()2824     public Builder clearKind() {
2825       kind_ = getDefaultInstance().getKind();
2826       bitField0_ = (bitField0_ & ~0x00000040);
2827       onChanged();
2828       return this;
2829     }
2830     /**
2831      *
2832      *
2833      * <pre>
2834      * [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.
2835      * </pre>
2836      *
2837      * <code>optional string kind = 3292052;</code>
2838      *
2839      * @param value The bytes for kind to set.
2840      * @return This builder for chaining.
2841      */
setKindBytes(com.google.protobuf.ByteString value)2842     public Builder setKindBytes(com.google.protobuf.ByteString value) {
2843       if (value == null) {
2844         throw new NullPointerException();
2845       }
2846       checkByteStringIsUtf8(value);
2847       kind_ = value;
2848       bitField0_ |= 0x00000040;
2849       onChanged();
2850       return this;
2851     }
2852 
2853     private java.lang.Object name_ = "";
2854     /**
2855      *
2856      *
2857      * <pre>
2858      * 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.
2859      * </pre>
2860      *
2861      * <code>optional string name = 3373707;</code>
2862      *
2863      * @return Whether the name field is set.
2864      */
hasName()2865     public boolean hasName() {
2866       return ((bitField0_ & 0x00000080) != 0);
2867     }
2868     /**
2869      *
2870      *
2871      * <pre>
2872      * 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.
2873      * </pre>
2874      *
2875      * <code>optional string name = 3373707;</code>
2876      *
2877      * @return The name.
2878      */
getName()2879     public java.lang.String getName() {
2880       java.lang.Object ref = name_;
2881       if (!(ref instanceof java.lang.String)) {
2882         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
2883         java.lang.String s = bs.toStringUtf8();
2884         name_ = s;
2885         return s;
2886       } else {
2887         return (java.lang.String) ref;
2888       }
2889     }
2890     /**
2891      *
2892      *
2893      * <pre>
2894      * 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.
2895      * </pre>
2896      *
2897      * <code>optional string name = 3373707;</code>
2898      *
2899      * @return The bytes for name.
2900      */
getNameBytes()2901     public com.google.protobuf.ByteString getNameBytes() {
2902       java.lang.Object ref = name_;
2903       if (ref instanceof String) {
2904         com.google.protobuf.ByteString b =
2905             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
2906         name_ = b;
2907         return b;
2908       } else {
2909         return (com.google.protobuf.ByteString) ref;
2910       }
2911     }
2912     /**
2913      *
2914      *
2915      * <pre>
2916      * 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.
2917      * </pre>
2918      *
2919      * <code>optional string name = 3373707;</code>
2920      *
2921      * @param value The name to set.
2922      * @return This builder for chaining.
2923      */
setName(java.lang.String value)2924     public Builder setName(java.lang.String value) {
2925       if (value == null) {
2926         throw new NullPointerException();
2927       }
2928       name_ = value;
2929       bitField0_ |= 0x00000080;
2930       onChanged();
2931       return this;
2932     }
2933     /**
2934      *
2935      *
2936      * <pre>
2937      * 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.
2938      * </pre>
2939      *
2940      * <code>optional string name = 3373707;</code>
2941      *
2942      * @return This builder for chaining.
2943      */
clearName()2944     public Builder clearName() {
2945       name_ = getDefaultInstance().getName();
2946       bitField0_ = (bitField0_ & ~0x00000080);
2947       onChanged();
2948       return this;
2949     }
2950     /**
2951      *
2952      *
2953      * <pre>
2954      * 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.
2955      * </pre>
2956      *
2957      * <code>optional string name = 3373707;</code>
2958      *
2959      * @param value The bytes for name to set.
2960      * @return This builder for chaining.
2961      */
setNameBytes(com.google.protobuf.ByteString value)2962     public Builder setNameBytes(com.google.protobuf.ByteString value) {
2963       if (value == null) {
2964         throw new NullPointerException();
2965       }
2966       checkByteStringIsUtf8(value);
2967       name_ = value;
2968       bitField0_ |= 0x00000080;
2969       onChanged();
2970       return this;
2971     }
2972 
2973     private boolean proxyBind_;
2974     /**
2975      *
2976      *
2977      * <pre>
2978      * 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.
2979      * </pre>
2980      *
2981      * <code>optional bool proxy_bind = 286025582;</code>
2982      *
2983      * @return Whether the proxyBind field is set.
2984      */
2985     @java.lang.Override
hasProxyBind()2986     public boolean hasProxyBind() {
2987       return ((bitField0_ & 0x00000100) != 0);
2988     }
2989     /**
2990      *
2991      *
2992      * <pre>
2993      * 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.
2994      * </pre>
2995      *
2996      * <code>optional bool proxy_bind = 286025582;</code>
2997      *
2998      * @return The proxyBind.
2999      */
3000     @java.lang.Override
getProxyBind()3001     public boolean getProxyBind() {
3002       return proxyBind_;
3003     }
3004     /**
3005      *
3006      *
3007      * <pre>
3008      * 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.
3009      * </pre>
3010      *
3011      * <code>optional bool proxy_bind = 286025582;</code>
3012      *
3013      * @param value The proxyBind to set.
3014      * @return This builder for chaining.
3015      */
setProxyBind(boolean value)3016     public Builder setProxyBind(boolean value) {
3017 
3018       proxyBind_ = value;
3019       bitField0_ |= 0x00000100;
3020       onChanged();
3021       return this;
3022     }
3023     /**
3024      *
3025      *
3026      * <pre>
3027      * 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.
3028      * </pre>
3029      *
3030      * <code>optional bool proxy_bind = 286025582;</code>
3031      *
3032      * @return This builder for chaining.
3033      */
clearProxyBind()3034     public Builder clearProxyBind() {
3035       bitField0_ = (bitField0_ & ~0x00000100);
3036       proxyBind_ = false;
3037       onChanged();
3038       return this;
3039     }
3040 
3041     private java.lang.Object quicOverride_ = "";
3042     /**
3043      *
3044      *
3045      * <pre>
3046      * 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.
3047      * Check the QuicOverride enum for the list of possible values.
3048      * </pre>
3049      *
3050      * <code>optional string quic_override = 456577197;</code>
3051      *
3052      * @return Whether the quicOverride field is set.
3053      */
hasQuicOverride()3054     public boolean hasQuicOverride() {
3055       return ((bitField0_ & 0x00000200) != 0);
3056     }
3057     /**
3058      *
3059      *
3060      * <pre>
3061      * 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.
3062      * Check the QuicOverride enum for the list of possible values.
3063      * </pre>
3064      *
3065      * <code>optional string quic_override = 456577197;</code>
3066      *
3067      * @return The quicOverride.
3068      */
getQuicOverride()3069     public java.lang.String getQuicOverride() {
3070       java.lang.Object ref = quicOverride_;
3071       if (!(ref instanceof java.lang.String)) {
3072         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
3073         java.lang.String s = bs.toStringUtf8();
3074         quicOverride_ = s;
3075         return s;
3076       } else {
3077         return (java.lang.String) ref;
3078       }
3079     }
3080     /**
3081      *
3082      *
3083      * <pre>
3084      * 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.
3085      * Check the QuicOverride enum for the list of possible values.
3086      * </pre>
3087      *
3088      * <code>optional string quic_override = 456577197;</code>
3089      *
3090      * @return The bytes for quicOverride.
3091      */
getQuicOverrideBytes()3092     public com.google.protobuf.ByteString getQuicOverrideBytes() {
3093       java.lang.Object ref = quicOverride_;
3094       if (ref instanceof String) {
3095         com.google.protobuf.ByteString b =
3096             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
3097         quicOverride_ = b;
3098         return b;
3099       } else {
3100         return (com.google.protobuf.ByteString) ref;
3101       }
3102     }
3103     /**
3104      *
3105      *
3106      * <pre>
3107      * 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.
3108      * Check the QuicOverride enum for the list of possible values.
3109      * </pre>
3110      *
3111      * <code>optional string quic_override = 456577197;</code>
3112      *
3113      * @param value The quicOverride to set.
3114      * @return This builder for chaining.
3115      */
setQuicOverride(java.lang.String value)3116     public Builder setQuicOverride(java.lang.String value) {
3117       if (value == null) {
3118         throw new NullPointerException();
3119       }
3120       quicOverride_ = value;
3121       bitField0_ |= 0x00000200;
3122       onChanged();
3123       return this;
3124     }
3125     /**
3126      *
3127      *
3128      * <pre>
3129      * 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.
3130      * Check the QuicOverride enum for the list of possible values.
3131      * </pre>
3132      *
3133      * <code>optional string quic_override = 456577197;</code>
3134      *
3135      * @return This builder for chaining.
3136      */
clearQuicOverride()3137     public Builder clearQuicOverride() {
3138       quicOverride_ = getDefaultInstance().getQuicOverride();
3139       bitField0_ = (bitField0_ & ~0x00000200);
3140       onChanged();
3141       return this;
3142     }
3143     /**
3144      *
3145      *
3146      * <pre>
3147      * 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.
3148      * Check the QuicOverride enum for the list of possible values.
3149      * </pre>
3150      *
3151      * <code>optional string quic_override = 456577197;</code>
3152      *
3153      * @param value The bytes for quicOverride to set.
3154      * @return This builder for chaining.
3155      */
setQuicOverrideBytes(com.google.protobuf.ByteString value)3156     public Builder setQuicOverrideBytes(com.google.protobuf.ByteString value) {
3157       if (value == null) {
3158         throw new NullPointerException();
3159       }
3160       checkByteStringIsUtf8(value);
3161       quicOverride_ = value;
3162       bitField0_ |= 0x00000200;
3163       onChanged();
3164       return this;
3165     }
3166 
3167     private java.lang.Object region_ = "";
3168     /**
3169      *
3170      *
3171      * <pre>
3172      * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
3173      * </pre>
3174      *
3175      * <code>optional string region = 138946292;</code>
3176      *
3177      * @return Whether the region field is set.
3178      */
hasRegion()3179     public boolean hasRegion() {
3180       return ((bitField0_ & 0x00000400) != 0);
3181     }
3182     /**
3183      *
3184      *
3185      * <pre>
3186      * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
3187      * </pre>
3188      *
3189      * <code>optional string region = 138946292;</code>
3190      *
3191      * @return The region.
3192      */
getRegion()3193     public java.lang.String getRegion() {
3194       java.lang.Object ref = region_;
3195       if (!(ref instanceof java.lang.String)) {
3196         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
3197         java.lang.String s = bs.toStringUtf8();
3198         region_ = s;
3199         return s;
3200       } else {
3201         return (java.lang.String) ref;
3202       }
3203     }
3204     /**
3205      *
3206      *
3207      * <pre>
3208      * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
3209      * </pre>
3210      *
3211      * <code>optional string region = 138946292;</code>
3212      *
3213      * @return The bytes for region.
3214      */
getRegionBytes()3215     public com.google.protobuf.ByteString getRegionBytes() {
3216       java.lang.Object ref = region_;
3217       if (ref instanceof String) {
3218         com.google.protobuf.ByteString b =
3219             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
3220         region_ = b;
3221         return b;
3222       } else {
3223         return (com.google.protobuf.ByteString) ref;
3224       }
3225     }
3226     /**
3227      *
3228      *
3229      * <pre>
3230      * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
3231      * </pre>
3232      *
3233      * <code>optional string region = 138946292;</code>
3234      *
3235      * @param value The region to set.
3236      * @return This builder for chaining.
3237      */
setRegion(java.lang.String value)3238     public Builder setRegion(java.lang.String value) {
3239       if (value == null) {
3240         throw new NullPointerException();
3241       }
3242       region_ = value;
3243       bitField0_ |= 0x00000400;
3244       onChanged();
3245       return this;
3246     }
3247     /**
3248      *
3249      *
3250      * <pre>
3251      * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
3252      * </pre>
3253      *
3254      * <code>optional string region = 138946292;</code>
3255      *
3256      * @return This builder for chaining.
3257      */
clearRegion()3258     public Builder clearRegion() {
3259       region_ = getDefaultInstance().getRegion();
3260       bitField0_ = (bitField0_ & ~0x00000400);
3261       onChanged();
3262       return this;
3263     }
3264     /**
3265      *
3266      *
3267      * <pre>
3268      * [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.
3269      * </pre>
3270      *
3271      * <code>optional string region = 138946292;</code>
3272      *
3273      * @param value The bytes for region to set.
3274      * @return This builder for chaining.
3275      */
setRegionBytes(com.google.protobuf.ByteString value)3276     public Builder setRegionBytes(com.google.protobuf.ByteString value) {
3277       if (value == null) {
3278         throw new NullPointerException();
3279       }
3280       checkByteStringIsUtf8(value);
3281       region_ = value;
3282       bitField0_ |= 0x00000400;
3283       onChanged();
3284       return this;
3285     }
3286 
3287     private java.lang.Object selfLink_ = "";
3288     /**
3289      *
3290      *
3291      * <pre>
3292      * [Output Only] Server-defined URL for the resource.
3293      * </pre>
3294      *
3295      * <code>optional string self_link = 456214797;</code>
3296      *
3297      * @return Whether the selfLink field is set.
3298      */
hasSelfLink()3299     public boolean hasSelfLink() {
3300       return ((bitField0_ & 0x00000800) != 0);
3301     }
3302     /**
3303      *
3304      *
3305      * <pre>
3306      * [Output Only] Server-defined URL for the resource.
3307      * </pre>
3308      *
3309      * <code>optional string self_link = 456214797;</code>
3310      *
3311      * @return The selfLink.
3312      */
getSelfLink()3313     public java.lang.String getSelfLink() {
3314       java.lang.Object ref = selfLink_;
3315       if (!(ref instanceof java.lang.String)) {
3316         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
3317         java.lang.String s = bs.toStringUtf8();
3318         selfLink_ = s;
3319         return s;
3320       } else {
3321         return (java.lang.String) ref;
3322       }
3323     }
3324     /**
3325      *
3326      *
3327      * <pre>
3328      * [Output Only] Server-defined URL for the resource.
3329      * </pre>
3330      *
3331      * <code>optional string self_link = 456214797;</code>
3332      *
3333      * @return The bytes for selfLink.
3334      */
getSelfLinkBytes()3335     public com.google.protobuf.ByteString getSelfLinkBytes() {
3336       java.lang.Object ref = selfLink_;
3337       if (ref instanceof String) {
3338         com.google.protobuf.ByteString b =
3339             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
3340         selfLink_ = b;
3341         return b;
3342       } else {
3343         return (com.google.protobuf.ByteString) ref;
3344       }
3345     }
3346     /**
3347      *
3348      *
3349      * <pre>
3350      * [Output Only] Server-defined URL for the resource.
3351      * </pre>
3352      *
3353      * <code>optional string self_link = 456214797;</code>
3354      *
3355      * @param value The selfLink to set.
3356      * @return This builder for chaining.
3357      */
setSelfLink(java.lang.String value)3358     public Builder setSelfLink(java.lang.String value) {
3359       if (value == null) {
3360         throw new NullPointerException();
3361       }
3362       selfLink_ = value;
3363       bitField0_ |= 0x00000800;
3364       onChanged();
3365       return this;
3366     }
3367     /**
3368      *
3369      *
3370      * <pre>
3371      * [Output Only] Server-defined URL for the resource.
3372      * </pre>
3373      *
3374      * <code>optional string self_link = 456214797;</code>
3375      *
3376      * @return This builder for chaining.
3377      */
clearSelfLink()3378     public Builder clearSelfLink() {
3379       selfLink_ = getDefaultInstance().getSelfLink();
3380       bitField0_ = (bitField0_ & ~0x00000800);
3381       onChanged();
3382       return this;
3383     }
3384     /**
3385      *
3386      *
3387      * <pre>
3388      * [Output Only] Server-defined URL for the resource.
3389      * </pre>
3390      *
3391      * <code>optional string self_link = 456214797;</code>
3392      *
3393      * @param value The bytes for selfLink to set.
3394      * @return This builder for chaining.
3395      */
setSelfLinkBytes(com.google.protobuf.ByteString value)3396     public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) {
3397       if (value == null) {
3398         throw new NullPointerException();
3399       }
3400       checkByteStringIsUtf8(value);
3401       selfLink_ = value;
3402       bitField0_ |= 0x00000800;
3403       onChanged();
3404       return this;
3405     }
3406 
3407     private java.lang.Object serverTlsPolicy_ = "";
3408     /**
3409      *
3410      *
3411      * <pre>
3412      * 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.
3413      * </pre>
3414      *
3415      * <code>optional string server_tls_policy = 295825266;</code>
3416      *
3417      * @return Whether the serverTlsPolicy field is set.
3418      */
hasServerTlsPolicy()3419     public boolean hasServerTlsPolicy() {
3420       return ((bitField0_ & 0x00001000) != 0);
3421     }
3422     /**
3423      *
3424      *
3425      * <pre>
3426      * 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.
3427      * </pre>
3428      *
3429      * <code>optional string server_tls_policy = 295825266;</code>
3430      *
3431      * @return The serverTlsPolicy.
3432      */
getServerTlsPolicy()3433     public java.lang.String getServerTlsPolicy() {
3434       java.lang.Object ref = serverTlsPolicy_;
3435       if (!(ref instanceof java.lang.String)) {
3436         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
3437         java.lang.String s = bs.toStringUtf8();
3438         serverTlsPolicy_ = s;
3439         return s;
3440       } else {
3441         return (java.lang.String) ref;
3442       }
3443     }
3444     /**
3445      *
3446      *
3447      * <pre>
3448      * 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.
3449      * </pre>
3450      *
3451      * <code>optional string server_tls_policy = 295825266;</code>
3452      *
3453      * @return The bytes for serverTlsPolicy.
3454      */
getServerTlsPolicyBytes()3455     public com.google.protobuf.ByteString getServerTlsPolicyBytes() {
3456       java.lang.Object ref = serverTlsPolicy_;
3457       if (ref instanceof String) {
3458         com.google.protobuf.ByteString b =
3459             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
3460         serverTlsPolicy_ = b;
3461         return b;
3462       } else {
3463         return (com.google.protobuf.ByteString) ref;
3464       }
3465     }
3466     /**
3467      *
3468      *
3469      * <pre>
3470      * 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.
3471      * </pre>
3472      *
3473      * <code>optional string server_tls_policy = 295825266;</code>
3474      *
3475      * @param value The serverTlsPolicy to set.
3476      * @return This builder for chaining.
3477      */
setServerTlsPolicy(java.lang.String value)3478     public Builder setServerTlsPolicy(java.lang.String value) {
3479       if (value == null) {
3480         throw new NullPointerException();
3481       }
3482       serverTlsPolicy_ = value;
3483       bitField0_ |= 0x00001000;
3484       onChanged();
3485       return this;
3486     }
3487     /**
3488      *
3489      *
3490      * <pre>
3491      * 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.
3492      * </pre>
3493      *
3494      * <code>optional string server_tls_policy = 295825266;</code>
3495      *
3496      * @return This builder for chaining.
3497      */
clearServerTlsPolicy()3498     public Builder clearServerTlsPolicy() {
3499       serverTlsPolicy_ = getDefaultInstance().getServerTlsPolicy();
3500       bitField0_ = (bitField0_ & ~0x00001000);
3501       onChanged();
3502       return this;
3503     }
3504     /**
3505      *
3506      *
3507      * <pre>
3508      * 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.
3509      * </pre>
3510      *
3511      * <code>optional string server_tls_policy = 295825266;</code>
3512      *
3513      * @param value The bytes for serverTlsPolicy to set.
3514      * @return This builder for chaining.
3515      */
setServerTlsPolicyBytes(com.google.protobuf.ByteString value)3516     public Builder setServerTlsPolicyBytes(com.google.protobuf.ByteString value) {
3517       if (value == null) {
3518         throw new NullPointerException();
3519       }
3520       checkByteStringIsUtf8(value);
3521       serverTlsPolicy_ = value;
3522       bitField0_ |= 0x00001000;
3523       onChanged();
3524       return this;
3525     }
3526 
3527     private com.google.protobuf.LazyStringList sslCertificates_ =
3528         com.google.protobuf.LazyStringArrayList.EMPTY;
3529 
ensureSslCertificatesIsMutable()3530     private void ensureSslCertificatesIsMutable() {
3531       if (!((bitField0_ & 0x00002000) != 0)) {
3532         sslCertificates_ = new com.google.protobuf.LazyStringArrayList(sslCertificates_);
3533         bitField0_ |= 0x00002000;
3534       }
3535     }
3536     /**
3537      *
3538      *
3539      * <pre>
3540      * 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.
3541      * </pre>
3542      *
3543      * <code>repeated string ssl_certificates = 366006543;</code>
3544      *
3545      * @return A list containing the sslCertificates.
3546      */
getSslCertificatesList()3547     public com.google.protobuf.ProtocolStringList getSslCertificatesList() {
3548       return sslCertificates_.getUnmodifiableView();
3549     }
3550     /**
3551      *
3552      *
3553      * <pre>
3554      * 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.
3555      * </pre>
3556      *
3557      * <code>repeated string ssl_certificates = 366006543;</code>
3558      *
3559      * @return The count of sslCertificates.
3560      */
getSslCertificatesCount()3561     public int getSslCertificatesCount() {
3562       return sslCertificates_.size();
3563     }
3564     /**
3565      *
3566      *
3567      * <pre>
3568      * 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.
3569      * </pre>
3570      *
3571      * <code>repeated string ssl_certificates = 366006543;</code>
3572      *
3573      * @param index The index of the element to return.
3574      * @return The sslCertificates at the given index.
3575      */
getSslCertificates(int index)3576     public java.lang.String getSslCertificates(int index) {
3577       return sslCertificates_.get(index);
3578     }
3579     /**
3580      *
3581      *
3582      * <pre>
3583      * 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.
3584      * </pre>
3585      *
3586      * <code>repeated string ssl_certificates = 366006543;</code>
3587      *
3588      * @param index The index of the value to return.
3589      * @return The bytes of the sslCertificates at the given index.
3590      */
getSslCertificatesBytes(int index)3591     public com.google.protobuf.ByteString getSslCertificatesBytes(int index) {
3592       return sslCertificates_.getByteString(index);
3593     }
3594     /**
3595      *
3596      *
3597      * <pre>
3598      * 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.
3599      * </pre>
3600      *
3601      * <code>repeated string ssl_certificates = 366006543;</code>
3602      *
3603      * @param index The index to set the value at.
3604      * @param value The sslCertificates to set.
3605      * @return This builder for chaining.
3606      */
setSslCertificates(int index, java.lang.String value)3607     public Builder setSslCertificates(int index, java.lang.String value) {
3608       if (value == null) {
3609         throw new NullPointerException();
3610       }
3611       ensureSslCertificatesIsMutable();
3612       sslCertificates_.set(index, value);
3613       onChanged();
3614       return this;
3615     }
3616     /**
3617      *
3618      *
3619      * <pre>
3620      * 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.
3621      * </pre>
3622      *
3623      * <code>repeated string ssl_certificates = 366006543;</code>
3624      *
3625      * @param value The sslCertificates to add.
3626      * @return This builder for chaining.
3627      */
addSslCertificates(java.lang.String value)3628     public Builder addSslCertificates(java.lang.String value) {
3629       if (value == null) {
3630         throw new NullPointerException();
3631       }
3632       ensureSslCertificatesIsMutable();
3633       sslCertificates_.add(value);
3634       onChanged();
3635       return this;
3636     }
3637     /**
3638      *
3639      *
3640      * <pre>
3641      * 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.
3642      * </pre>
3643      *
3644      * <code>repeated string ssl_certificates = 366006543;</code>
3645      *
3646      * @param values The sslCertificates to add.
3647      * @return This builder for chaining.
3648      */
addAllSslCertificates(java.lang.Iterable<java.lang.String> values)3649     public Builder addAllSslCertificates(java.lang.Iterable<java.lang.String> values) {
3650       ensureSslCertificatesIsMutable();
3651       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sslCertificates_);
3652       onChanged();
3653       return this;
3654     }
3655     /**
3656      *
3657      *
3658      * <pre>
3659      * 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.
3660      * </pre>
3661      *
3662      * <code>repeated string ssl_certificates = 366006543;</code>
3663      *
3664      * @return This builder for chaining.
3665      */
clearSslCertificates()3666     public Builder clearSslCertificates() {
3667       sslCertificates_ = com.google.protobuf.LazyStringArrayList.EMPTY;
3668       bitField0_ = (bitField0_ & ~0x00002000);
3669       onChanged();
3670       return this;
3671     }
3672     /**
3673      *
3674      *
3675      * <pre>
3676      * 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.
3677      * </pre>
3678      *
3679      * <code>repeated string ssl_certificates = 366006543;</code>
3680      *
3681      * @param value The bytes of the sslCertificates to add.
3682      * @return This builder for chaining.
3683      */
addSslCertificatesBytes(com.google.protobuf.ByteString value)3684     public Builder addSslCertificatesBytes(com.google.protobuf.ByteString value) {
3685       if (value == null) {
3686         throw new NullPointerException();
3687       }
3688       checkByteStringIsUtf8(value);
3689       ensureSslCertificatesIsMutable();
3690       sslCertificates_.add(value);
3691       onChanged();
3692       return this;
3693     }
3694 
3695     private java.lang.Object sslPolicy_ = "";
3696     /**
3697      *
3698      *
3699      * <pre>
3700      * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
3701      * </pre>
3702      *
3703      * <code>optional string ssl_policy = 295190213;</code>
3704      *
3705      * @return Whether the sslPolicy field is set.
3706      */
hasSslPolicy()3707     public boolean hasSslPolicy() {
3708       return ((bitField0_ & 0x00004000) != 0);
3709     }
3710     /**
3711      *
3712      *
3713      * <pre>
3714      * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
3715      * </pre>
3716      *
3717      * <code>optional string ssl_policy = 295190213;</code>
3718      *
3719      * @return The sslPolicy.
3720      */
getSslPolicy()3721     public java.lang.String getSslPolicy() {
3722       java.lang.Object ref = sslPolicy_;
3723       if (!(ref instanceof java.lang.String)) {
3724         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
3725         java.lang.String s = bs.toStringUtf8();
3726         sslPolicy_ = s;
3727         return s;
3728       } else {
3729         return (java.lang.String) ref;
3730       }
3731     }
3732     /**
3733      *
3734      *
3735      * <pre>
3736      * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
3737      * </pre>
3738      *
3739      * <code>optional string ssl_policy = 295190213;</code>
3740      *
3741      * @return The bytes for sslPolicy.
3742      */
getSslPolicyBytes()3743     public com.google.protobuf.ByteString getSslPolicyBytes() {
3744       java.lang.Object ref = sslPolicy_;
3745       if (ref instanceof String) {
3746         com.google.protobuf.ByteString b =
3747             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
3748         sslPolicy_ = b;
3749         return b;
3750       } else {
3751         return (com.google.protobuf.ByteString) ref;
3752       }
3753     }
3754     /**
3755      *
3756      *
3757      * <pre>
3758      * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
3759      * </pre>
3760      *
3761      * <code>optional string ssl_policy = 295190213;</code>
3762      *
3763      * @param value The sslPolicy to set.
3764      * @return This builder for chaining.
3765      */
setSslPolicy(java.lang.String value)3766     public Builder setSslPolicy(java.lang.String value) {
3767       if (value == null) {
3768         throw new NullPointerException();
3769       }
3770       sslPolicy_ = value;
3771       bitField0_ |= 0x00004000;
3772       onChanged();
3773       return this;
3774     }
3775     /**
3776      *
3777      *
3778      * <pre>
3779      * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
3780      * </pre>
3781      *
3782      * <code>optional string ssl_policy = 295190213;</code>
3783      *
3784      * @return This builder for chaining.
3785      */
clearSslPolicy()3786     public Builder clearSslPolicy() {
3787       sslPolicy_ = getDefaultInstance().getSslPolicy();
3788       bitField0_ = (bitField0_ & ~0x00004000);
3789       onChanged();
3790       return this;
3791     }
3792     /**
3793      *
3794      *
3795      * <pre>
3796      * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
3797      * </pre>
3798      *
3799      * <code>optional string ssl_policy = 295190213;</code>
3800      *
3801      * @param value The bytes for sslPolicy to set.
3802      * @return This builder for chaining.
3803      */
setSslPolicyBytes(com.google.protobuf.ByteString value)3804     public Builder setSslPolicyBytes(com.google.protobuf.ByteString value) {
3805       if (value == null) {
3806         throw new NullPointerException();
3807       }
3808       checkByteStringIsUtf8(value);
3809       sslPolicy_ = value;
3810       bitField0_ |= 0x00004000;
3811       onChanged();
3812       return this;
3813     }
3814 
3815     private java.lang.Object urlMap_ = "";
3816     /**
3817      *
3818      *
3819      * <pre>
3820      * 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
3821      * </pre>
3822      *
3823      * <code>optional string url_map = 367020684;</code>
3824      *
3825      * @return Whether the urlMap field is set.
3826      */
hasUrlMap()3827     public boolean hasUrlMap() {
3828       return ((bitField0_ & 0x00008000) != 0);
3829     }
3830     /**
3831      *
3832      *
3833      * <pre>
3834      * 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
3835      * </pre>
3836      *
3837      * <code>optional string url_map = 367020684;</code>
3838      *
3839      * @return The urlMap.
3840      */
getUrlMap()3841     public java.lang.String getUrlMap() {
3842       java.lang.Object ref = urlMap_;
3843       if (!(ref instanceof java.lang.String)) {
3844         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
3845         java.lang.String s = bs.toStringUtf8();
3846         urlMap_ = s;
3847         return s;
3848       } else {
3849         return (java.lang.String) ref;
3850       }
3851     }
3852     /**
3853      *
3854      *
3855      * <pre>
3856      * 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
3857      * </pre>
3858      *
3859      * <code>optional string url_map = 367020684;</code>
3860      *
3861      * @return The bytes for urlMap.
3862      */
getUrlMapBytes()3863     public com.google.protobuf.ByteString getUrlMapBytes() {
3864       java.lang.Object ref = urlMap_;
3865       if (ref instanceof String) {
3866         com.google.protobuf.ByteString b =
3867             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
3868         urlMap_ = b;
3869         return b;
3870       } else {
3871         return (com.google.protobuf.ByteString) ref;
3872       }
3873     }
3874     /**
3875      *
3876      *
3877      * <pre>
3878      * 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
3879      * </pre>
3880      *
3881      * <code>optional string url_map = 367020684;</code>
3882      *
3883      * @param value The urlMap to set.
3884      * @return This builder for chaining.
3885      */
setUrlMap(java.lang.String value)3886     public Builder setUrlMap(java.lang.String value) {
3887       if (value == null) {
3888         throw new NullPointerException();
3889       }
3890       urlMap_ = value;
3891       bitField0_ |= 0x00008000;
3892       onChanged();
3893       return this;
3894     }
3895     /**
3896      *
3897      *
3898      * <pre>
3899      * 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
3900      * </pre>
3901      *
3902      * <code>optional string url_map = 367020684;</code>
3903      *
3904      * @return This builder for chaining.
3905      */
clearUrlMap()3906     public Builder clearUrlMap() {
3907       urlMap_ = getDefaultInstance().getUrlMap();
3908       bitField0_ = (bitField0_ & ~0x00008000);
3909       onChanged();
3910       return this;
3911     }
3912     /**
3913      *
3914      *
3915      * <pre>
3916      * 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
3917      * </pre>
3918      *
3919      * <code>optional string url_map = 367020684;</code>
3920      *
3921      * @param value The bytes for urlMap to set.
3922      * @return This builder for chaining.
3923      */
setUrlMapBytes(com.google.protobuf.ByteString value)3924     public Builder setUrlMapBytes(com.google.protobuf.ByteString value) {
3925       if (value == null) {
3926         throw new NullPointerException();
3927       }
3928       checkByteStringIsUtf8(value);
3929       urlMap_ = value;
3930       bitField0_ |= 0x00008000;
3931       onChanged();
3932       return this;
3933     }
3934 
3935     @java.lang.Override
setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)3936     public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
3937       return super.setUnknownFields(unknownFields);
3938     }
3939 
3940     @java.lang.Override
mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)3941     public final Builder mergeUnknownFields(
3942         final com.google.protobuf.UnknownFieldSet unknownFields) {
3943       return super.mergeUnknownFields(unknownFields);
3944     }
3945 
3946     // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.TargetHttpsProxy)
3947   }
3948 
3949   // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.TargetHttpsProxy)
3950   private static final com.google.cloud.compute.v1.TargetHttpsProxy DEFAULT_INSTANCE;
3951 
3952   static {
3953     DEFAULT_INSTANCE = new com.google.cloud.compute.v1.TargetHttpsProxy();
3954   }
3955 
getDefaultInstance()3956   public static com.google.cloud.compute.v1.TargetHttpsProxy getDefaultInstance() {
3957     return DEFAULT_INSTANCE;
3958   }
3959 
3960   private static final com.google.protobuf.Parser<TargetHttpsProxy> PARSER =
3961       new com.google.protobuf.AbstractParser<TargetHttpsProxy>() {
3962         @java.lang.Override
3963         public TargetHttpsProxy parsePartialFrom(
3964             com.google.protobuf.CodedInputStream input,
3965             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3966             throws com.google.protobuf.InvalidProtocolBufferException {
3967           Builder builder = newBuilder();
3968           try {
3969             builder.mergeFrom(input, extensionRegistry);
3970           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3971             throw e.setUnfinishedMessage(builder.buildPartial());
3972           } catch (com.google.protobuf.UninitializedMessageException e) {
3973             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
3974           } catch (java.io.IOException e) {
3975             throw new com.google.protobuf.InvalidProtocolBufferException(e)
3976                 .setUnfinishedMessage(builder.buildPartial());
3977           }
3978           return builder.buildPartial();
3979         }
3980       };
3981 
parser()3982   public static com.google.protobuf.Parser<TargetHttpsProxy> parser() {
3983     return PARSER;
3984   }
3985 
3986   @java.lang.Override
getParserForType()3987   public com.google.protobuf.Parser<TargetHttpsProxy> getParserForType() {
3988     return PARSER;
3989   }
3990 
3991   @java.lang.Override
getDefaultInstanceForType()3992   public com.google.cloud.compute.v1.TargetHttpsProxy getDefaultInstanceForType() {
3993     return DEFAULT_INSTANCE;
3994   }
3995 }
3996