• 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/iam/v1/options.proto
18 
19 package com.google.iam.v1;
20 
21 /**
22  *
23  *
24  * <pre>
25  * Encapsulates settings provided to GetIamPolicy.
26  * </pre>
27  *
28  * Protobuf type {@code google.iam.v1.GetPolicyOptions}
29  */
30 public final class GetPolicyOptions extends com.google.protobuf.GeneratedMessageV3
31     implements
32     // @@protoc_insertion_point(message_implements:google.iam.v1.GetPolicyOptions)
33     GetPolicyOptionsOrBuilder {
34   private static final long serialVersionUID = 0L;
35   // Use GetPolicyOptions.newBuilder() to construct.
GetPolicyOptions(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36   private GetPolicyOptions(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
37     super(builder);
38   }
39 
GetPolicyOptions()40   private GetPolicyOptions() {}
41 
42   @java.lang.Override
43   @SuppressWarnings({"unused"})
newInstance(UnusedPrivateParameter unused)44   protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
45     return new GetPolicyOptions();
46   }
47 
48   @java.lang.Override
getUnknownFields()49   public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
50     return this.unknownFields;
51   }
52 
getDescriptor()53   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
54     return com.google.iam.v1.OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor;
55   }
56 
57   @java.lang.Override
58   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()59       internalGetFieldAccessorTable() {
60     return com.google.iam.v1.OptionsProto
61         .internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable
62         .ensureFieldAccessorsInitialized(
63             com.google.iam.v1.GetPolicyOptions.class,
64             com.google.iam.v1.GetPolicyOptions.Builder.class);
65   }
66 
67   public static final int REQUESTED_POLICY_VERSION_FIELD_NUMBER = 1;
68   private int requestedPolicyVersion_ = 0;
69   /**
70    *
71    *
72    * <pre>
73    * Optional. The maximum policy version that will be used to format the
74    * policy.
75    * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
76    * rejected.
77    * Requests for policies with any conditional role bindings must specify
78    * version 3. Policies with no conditional role bindings may specify any valid
79    * value or leave the field unset.
80    * The policy in the response might use the policy version that you specified,
81    * or it might use a lower policy version. For example, if you specify version
82    * 3, but the policy has no conditional role bindings, the response uses
83    * version 1.
84    * To learn which resources support conditions in their IAM policies, see the
85    * [IAM
86    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
87    * </pre>
88    *
89    * <code>int32 requested_policy_version = 1;</code>
90    *
91    * @return The requestedPolicyVersion.
92    */
93   @java.lang.Override
getRequestedPolicyVersion()94   public int getRequestedPolicyVersion() {
95     return requestedPolicyVersion_;
96   }
97 
98   private byte memoizedIsInitialized = -1;
99 
100   @java.lang.Override
isInitialized()101   public final boolean isInitialized() {
102     byte isInitialized = memoizedIsInitialized;
103     if (isInitialized == 1) return true;
104     if (isInitialized == 0) return false;
105 
106     memoizedIsInitialized = 1;
107     return true;
108   }
109 
110   @java.lang.Override
writeTo(com.google.protobuf.CodedOutputStream output)111   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
112     if (requestedPolicyVersion_ != 0) {
113       output.writeInt32(1, requestedPolicyVersion_);
114     }
115     getUnknownFields().writeTo(output);
116   }
117 
118   @java.lang.Override
getSerializedSize()119   public int getSerializedSize() {
120     int size = memoizedSize;
121     if (size != -1) return size;
122 
123     size = 0;
124     if (requestedPolicyVersion_ != 0) {
125       size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, requestedPolicyVersion_);
126     }
127     size += getUnknownFields().getSerializedSize();
128     memoizedSize = size;
129     return size;
130   }
131 
132   @java.lang.Override
equals(final java.lang.Object obj)133   public boolean equals(final java.lang.Object obj) {
134     if (obj == this) {
135       return true;
136     }
137     if (!(obj instanceof com.google.iam.v1.GetPolicyOptions)) {
138       return super.equals(obj);
139     }
140     com.google.iam.v1.GetPolicyOptions other = (com.google.iam.v1.GetPolicyOptions) obj;
141 
142     if (getRequestedPolicyVersion() != other.getRequestedPolicyVersion()) return false;
143     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
144     return true;
145   }
146 
147   @java.lang.Override
hashCode()148   public int hashCode() {
149     if (memoizedHashCode != 0) {
150       return memoizedHashCode;
151     }
152     int hash = 41;
153     hash = (19 * hash) + getDescriptor().hashCode();
154     hash = (37 * hash) + REQUESTED_POLICY_VERSION_FIELD_NUMBER;
155     hash = (53 * hash) + getRequestedPolicyVersion();
156     hash = (29 * hash) + getUnknownFields().hashCode();
157     memoizedHashCode = hash;
158     return hash;
159   }
160 
parseFrom(java.nio.ByteBuffer data)161   public static com.google.iam.v1.GetPolicyOptions parseFrom(java.nio.ByteBuffer data)
162       throws com.google.protobuf.InvalidProtocolBufferException {
163     return PARSER.parseFrom(data);
164   }
165 
parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)166   public static com.google.iam.v1.GetPolicyOptions parseFrom(
167       java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
168       throws com.google.protobuf.InvalidProtocolBufferException {
169     return PARSER.parseFrom(data, extensionRegistry);
170   }
171 
parseFrom(com.google.protobuf.ByteString data)172   public static com.google.iam.v1.GetPolicyOptions parseFrom(com.google.protobuf.ByteString data)
173       throws com.google.protobuf.InvalidProtocolBufferException {
174     return PARSER.parseFrom(data);
175   }
176 
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)177   public static com.google.iam.v1.GetPolicyOptions parseFrom(
178       com.google.protobuf.ByteString data,
179       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
180       throws com.google.protobuf.InvalidProtocolBufferException {
181     return PARSER.parseFrom(data, extensionRegistry);
182   }
183 
parseFrom(byte[] data)184   public static com.google.iam.v1.GetPolicyOptions parseFrom(byte[] data)
185       throws com.google.protobuf.InvalidProtocolBufferException {
186     return PARSER.parseFrom(data);
187   }
188 
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)189   public static com.google.iam.v1.GetPolicyOptions parseFrom(
190       byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
191       throws com.google.protobuf.InvalidProtocolBufferException {
192     return PARSER.parseFrom(data, extensionRegistry);
193   }
194 
parseFrom(java.io.InputStream input)195   public static com.google.iam.v1.GetPolicyOptions parseFrom(java.io.InputStream input)
196       throws java.io.IOException {
197     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
198   }
199 
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)200   public static com.google.iam.v1.GetPolicyOptions parseFrom(
201       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
202       throws java.io.IOException {
203     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
204         PARSER, input, extensionRegistry);
205   }
206 
parseDelimitedFrom(java.io.InputStream input)207   public static com.google.iam.v1.GetPolicyOptions parseDelimitedFrom(java.io.InputStream input)
208       throws java.io.IOException {
209     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
210   }
211 
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)212   public static com.google.iam.v1.GetPolicyOptions parseDelimitedFrom(
213       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
214       throws java.io.IOException {
215     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
216         PARSER, input, extensionRegistry);
217   }
218 
parseFrom( com.google.protobuf.CodedInputStream input)219   public static com.google.iam.v1.GetPolicyOptions parseFrom(
220       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
221     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
222   }
223 
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)224   public static com.google.iam.v1.GetPolicyOptions parseFrom(
225       com.google.protobuf.CodedInputStream input,
226       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
227       throws java.io.IOException {
228     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
229         PARSER, input, extensionRegistry);
230   }
231 
232   @java.lang.Override
newBuilderForType()233   public Builder newBuilderForType() {
234     return newBuilder();
235   }
236 
newBuilder()237   public static Builder newBuilder() {
238     return DEFAULT_INSTANCE.toBuilder();
239   }
240 
newBuilder(com.google.iam.v1.GetPolicyOptions prototype)241   public static Builder newBuilder(com.google.iam.v1.GetPolicyOptions prototype) {
242     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
243   }
244 
245   @java.lang.Override
toBuilder()246   public Builder toBuilder() {
247     return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
248   }
249 
250   @java.lang.Override
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)251   protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
252     Builder builder = new Builder(parent);
253     return builder;
254   }
255   /**
256    *
257    *
258    * <pre>
259    * Encapsulates settings provided to GetIamPolicy.
260    * </pre>
261    *
262    * Protobuf type {@code google.iam.v1.GetPolicyOptions}
263    */
264   public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
265       implements
266       // @@protoc_insertion_point(builder_implements:google.iam.v1.GetPolicyOptions)
267       com.google.iam.v1.GetPolicyOptionsOrBuilder {
getDescriptor()268     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
269       return com.google.iam.v1.OptionsProto
270           .internal_static_google_iam_v1_GetPolicyOptions_descriptor;
271     }
272 
273     @java.lang.Override
274     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()275         internalGetFieldAccessorTable() {
276       return com.google.iam.v1.OptionsProto
277           .internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable
278           .ensureFieldAccessorsInitialized(
279               com.google.iam.v1.GetPolicyOptions.class,
280               com.google.iam.v1.GetPolicyOptions.Builder.class);
281     }
282 
283     // Construct using com.google.iam.v1.GetPolicyOptions.newBuilder()
Builder()284     private Builder() {}
285 
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)286     private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
287       super(parent);
288     }
289 
290     @java.lang.Override
clear()291     public Builder clear() {
292       super.clear();
293       bitField0_ = 0;
294       requestedPolicyVersion_ = 0;
295       return this;
296     }
297 
298     @java.lang.Override
getDescriptorForType()299     public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
300       return com.google.iam.v1.OptionsProto
301           .internal_static_google_iam_v1_GetPolicyOptions_descriptor;
302     }
303 
304     @java.lang.Override
getDefaultInstanceForType()305     public com.google.iam.v1.GetPolicyOptions getDefaultInstanceForType() {
306       return com.google.iam.v1.GetPolicyOptions.getDefaultInstance();
307     }
308 
309     @java.lang.Override
build()310     public com.google.iam.v1.GetPolicyOptions build() {
311       com.google.iam.v1.GetPolicyOptions result = buildPartial();
312       if (!result.isInitialized()) {
313         throw newUninitializedMessageException(result);
314       }
315       return result;
316     }
317 
318     @java.lang.Override
buildPartial()319     public com.google.iam.v1.GetPolicyOptions buildPartial() {
320       com.google.iam.v1.GetPolicyOptions result = new com.google.iam.v1.GetPolicyOptions(this);
321       if (bitField0_ != 0) {
322         buildPartial0(result);
323       }
324       onBuilt();
325       return result;
326     }
327 
buildPartial0(com.google.iam.v1.GetPolicyOptions result)328     private void buildPartial0(com.google.iam.v1.GetPolicyOptions result) {
329       int from_bitField0_ = bitField0_;
330       if (((from_bitField0_ & 0x00000001) != 0)) {
331         result.requestedPolicyVersion_ = requestedPolicyVersion_;
332       }
333     }
334 
335     @java.lang.Override
clone()336     public Builder clone() {
337       return super.clone();
338     }
339 
340     @java.lang.Override
setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)341     public Builder setField(
342         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
343       return super.setField(field, value);
344     }
345 
346     @java.lang.Override
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)347     public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
348       return super.clearField(field);
349     }
350 
351     @java.lang.Override
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)352     public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
353       return super.clearOneof(oneof);
354     }
355 
356     @java.lang.Override
setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)357     public Builder setRepeatedField(
358         com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
359       return super.setRepeatedField(field, index, value);
360     }
361 
362     @java.lang.Override
addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)363     public Builder addRepeatedField(
364         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
365       return super.addRepeatedField(field, value);
366     }
367 
368     @java.lang.Override
mergeFrom(com.google.protobuf.Message other)369     public Builder mergeFrom(com.google.protobuf.Message other) {
370       if (other instanceof com.google.iam.v1.GetPolicyOptions) {
371         return mergeFrom((com.google.iam.v1.GetPolicyOptions) other);
372       } else {
373         super.mergeFrom(other);
374         return this;
375       }
376     }
377 
mergeFrom(com.google.iam.v1.GetPolicyOptions other)378     public Builder mergeFrom(com.google.iam.v1.GetPolicyOptions other) {
379       if (other == com.google.iam.v1.GetPolicyOptions.getDefaultInstance()) return this;
380       if (other.getRequestedPolicyVersion() != 0) {
381         setRequestedPolicyVersion(other.getRequestedPolicyVersion());
382       }
383       this.mergeUnknownFields(other.getUnknownFields());
384       onChanged();
385       return this;
386     }
387 
388     @java.lang.Override
isInitialized()389     public final boolean isInitialized() {
390       return true;
391     }
392 
393     @java.lang.Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)394     public Builder mergeFrom(
395         com.google.protobuf.CodedInputStream input,
396         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
397         throws java.io.IOException {
398       if (extensionRegistry == null) {
399         throw new java.lang.NullPointerException();
400       }
401       try {
402         boolean done = false;
403         while (!done) {
404           int tag = input.readTag();
405           switch (tag) {
406             case 0:
407               done = true;
408               break;
409             case 8:
410               {
411                 requestedPolicyVersion_ = input.readInt32();
412                 bitField0_ |= 0x00000001;
413                 break;
414               } // case 8
415             default:
416               {
417                 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
418                   done = true; // was an endgroup tag
419                 }
420                 break;
421               } // default:
422           } // switch (tag)
423         } // while (!done)
424       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
425         throw e.unwrapIOException();
426       } finally {
427         onChanged();
428       } // finally
429       return this;
430     }
431 
432     private int bitField0_;
433 
434     private int requestedPolicyVersion_;
435     /**
436      *
437      *
438      * <pre>
439      * Optional. The maximum policy version that will be used to format the
440      * policy.
441      * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
442      * rejected.
443      * Requests for policies with any conditional role bindings must specify
444      * version 3. Policies with no conditional role bindings may specify any valid
445      * value or leave the field unset.
446      * The policy in the response might use the policy version that you specified,
447      * or it might use a lower policy version. For example, if you specify version
448      * 3, but the policy has no conditional role bindings, the response uses
449      * version 1.
450      * To learn which resources support conditions in their IAM policies, see the
451      * [IAM
452      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
453      * </pre>
454      *
455      * <code>int32 requested_policy_version = 1;</code>
456      *
457      * @return The requestedPolicyVersion.
458      */
459     @java.lang.Override
getRequestedPolicyVersion()460     public int getRequestedPolicyVersion() {
461       return requestedPolicyVersion_;
462     }
463     /**
464      *
465      *
466      * <pre>
467      * Optional. The maximum policy version that will be used to format the
468      * policy.
469      * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
470      * rejected.
471      * Requests for policies with any conditional role bindings must specify
472      * version 3. Policies with no conditional role bindings may specify any valid
473      * value or leave the field unset.
474      * The policy in the response might use the policy version that you specified,
475      * or it might use a lower policy version. For example, if you specify version
476      * 3, but the policy has no conditional role bindings, the response uses
477      * version 1.
478      * To learn which resources support conditions in their IAM policies, see the
479      * [IAM
480      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
481      * </pre>
482      *
483      * <code>int32 requested_policy_version = 1;</code>
484      *
485      * @param value The requestedPolicyVersion to set.
486      * @return This builder for chaining.
487      */
setRequestedPolicyVersion(int value)488     public Builder setRequestedPolicyVersion(int value) {
489 
490       requestedPolicyVersion_ = value;
491       bitField0_ |= 0x00000001;
492       onChanged();
493       return this;
494     }
495     /**
496      *
497      *
498      * <pre>
499      * Optional. The maximum policy version that will be used to format the
500      * policy.
501      * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
502      * rejected.
503      * Requests for policies with any conditional role bindings must specify
504      * version 3. Policies with no conditional role bindings may specify any valid
505      * value or leave the field unset.
506      * The policy in the response might use the policy version that you specified,
507      * or it might use a lower policy version. For example, if you specify version
508      * 3, but the policy has no conditional role bindings, the response uses
509      * version 1.
510      * To learn which resources support conditions in their IAM policies, see the
511      * [IAM
512      * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
513      * </pre>
514      *
515      * <code>int32 requested_policy_version = 1;</code>
516      *
517      * @return This builder for chaining.
518      */
clearRequestedPolicyVersion()519     public Builder clearRequestedPolicyVersion() {
520       bitField0_ = (bitField0_ & ~0x00000001);
521       requestedPolicyVersion_ = 0;
522       onChanged();
523       return this;
524     }
525 
526     @java.lang.Override
setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)527     public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
528       return super.setUnknownFields(unknownFields);
529     }
530 
531     @java.lang.Override
mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)532     public final Builder mergeUnknownFields(
533         final com.google.protobuf.UnknownFieldSet unknownFields) {
534       return super.mergeUnknownFields(unknownFields);
535     }
536 
537     // @@protoc_insertion_point(builder_scope:google.iam.v1.GetPolicyOptions)
538   }
539 
540   // @@protoc_insertion_point(class_scope:google.iam.v1.GetPolicyOptions)
541   private static final com.google.iam.v1.GetPolicyOptions DEFAULT_INSTANCE;
542 
543   static {
544     DEFAULT_INSTANCE = new com.google.iam.v1.GetPolicyOptions();
545   }
546 
getDefaultInstance()547   public static com.google.iam.v1.GetPolicyOptions getDefaultInstance() {
548     return DEFAULT_INSTANCE;
549   }
550 
551   private static final com.google.protobuf.Parser<GetPolicyOptions> PARSER =
552       new com.google.protobuf.AbstractParser<GetPolicyOptions>() {
553         @java.lang.Override
554         public GetPolicyOptions parsePartialFrom(
555             com.google.protobuf.CodedInputStream input,
556             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
557             throws com.google.protobuf.InvalidProtocolBufferException {
558           Builder builder = newBuilder();
559           try {
560             builder.mergeFrom(input, extensionRegistry);
561           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
562             throw e.setUnfinishedMessage(builder.buildPartial());
563           } catch (com.google.protobuf.UninitializedMessageException e) {
564             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
565           } catch (java.io.IOException e) {
566             throw new com.google.protobuf.InvalidProtocolBufferException(e)
567                 .setUnfinishedMessage(builder.buildPartial());
568           }
569           return builder.buildPartial();
570         }
571       };
572 
parser()573   public static com.google.protobuf.Parser<GetPolicyOptions> parser() {
574     return PARSER;
575   }
576 
577   @java.lang.Override
getParserForType()578   public com.google.protobuf.Parser<GetPolicyOptions> getParserForType() {
579     return PARSER;
580   }
581 
582   @java.lang.Override
getDefaultInstanceForType()583   public com.google.iam.v1.GetPolicyOptions getDefaultInstanceForType() {
584     return DEFAULT_INSTANCE;
585   }
586 }
587