001// Generated by the protocol buffer compiler.  DO NOT EDIT!
002// source: mqtt_actions.proto
003
004// Protobuf Java Version: 3.25.5
005package com.baidu.bifromq.plugin.authprovider.type;
006
007/**
008 * Protobuf type {@code checktypes.SubAction}
009 */
010public final class SubAction extends
011    com.google.protobuf.GeneratedMessageV3 implements
012    // @@protoc_insertion_point(message_implements:checktypes.SubAction)
013    SubActionOrBuilder {
014private static final long serialVersionUID = 0L;
015  // Use SubAction.newBuilder() to construct.
016  private SubAction(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
017    super(builder);
018  }
019  private SubAction() {
020    topicFilter_ = "";
021    qos_ = 0;
022  }
023
024  @java.lang.Override
025  @SuppressWarnings({"unused"})
026  protected java.lang.Object newInstance(
027      UnusedPrivateParameter unused) {
028    return new SubAction();
029  }
030
031  public static final com.google.protobuf.Descriptors.Descriptor
032      getDescriptor() {
033    return com.baidu.bifromq.plugin.authprovider.type.CheckTypesProto.internal_static_checktypes_SubAction_descriptor;
034  }
035
036  @java.lang.Override
037  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
038      internalGetFieldAccessorTable() {
039    return com.baidu.bifromq.plugin.authprovider.type.CheckTypesProto.internal_static_checktypes_SubAction_fieldAccessorTable
040        .ensureFieldAccessorsInitialized(
041            com.baidu.bifromq.plugin.authprovider.type.SubAction.class, com.baidu.bifromq.plugin.authprovider.type.SubAction.Builder.class);
042  }
043
044  private int bitField0_;
045  public static final int TOPICFILTER_FIELD_NUMBER = 1;
046  @SuppressWarnings("serial")
047  private volatile java.lang.Object topicFilter_ = "";
048  /**
049   * <code>string topicFilter = 1;</code>
050   * @return The topicFilter.
051   */
052  @java.lang.Override
053  public java.lang.String getTopicFilter() {
054    java.lang.Object ref = topicFilter_;
055    if (ref instanceof java.lang.String) {
056      return (java.lang.String) ref;
057    } else {
058      com.google.protobuf.ByteString bs = 
059          (com.google.protobuf.ByteString) ref;
060      java.lang.String s = bs.toStringUtf8();
061      topicFilter_ = s;
062      return s;
063    }
064  }
065  /**
066   * <code>string topicFilter = 1;</code>
067   * @return The bytes for topicFilter.
068   */
069  @java.lang.Override
070  public com.google.protobuf.ByteString
071      getTopicFilterBytes() {
072    java.lang.Object ref = topicFilter_;
073    if (ref instanceof java.lang.String) {
074      com.google.protobuf.ByteString b = 
075          com.google.protobuf.ByteString.copyFromUtf8(
076              (java.lang.String) ref);
077      topicFilter_ = b;
078      return b;
079    } else {
080      return (com.google.protobuf.ByteString) ref;
081    }
082  }
083
084  public static final int QOS_FIELD_NUMBER = 2;
085  private int qos_ = 0;
086  /**
087   * <code>.commontype.QoS qos = 2;</code>
088   * @return The enum numeric value on the wire for qos.
089   */
090  @java.lang.Override public int getQosValue() {
091    return qos_;
092  }
093  /**
094   * <code>.commontype.QoS qos = 2;</code>
095   * @return The qos.
096   */
097  @java.lang.Override public com.baidu.bifromq.type.QoS getQos() {
098    com.baidu.bifromq.type.QoS result = com.baidu.bifromq.type.QoS.forNumber(qos_);
099    return result == null ? com.baidu.bifromq.type.QoS.UNRECOGNIZED : result;
100  }
101
102  public static final int USERPROPS_FIELD_NUMBER = 5;
103  private com.baidu.bifromq.type.UserProperties userProps_;
104  /**
105   * <code>.commontype.UserProperties userProps = 5;</code>
106   * @return Whether the userProps field is set.
107   */
108  @java.lang.Override
109  public boolean hasUserProps() {
110    return ((bitField0_ & 0x00000001) != 0);
111  }
112  /**
113   * <code>.commontype.UserProperties userProps = 5;</code>
114   * @return The userProps.
115   */
116  @java.lang.Override
117  public com.baidu.bifromq.type.UserProperties getUserProps() {
118    return userProps_ == null ? com.baidu.bifromq.type.UserProperties.getDefaultInstance() : userProps_;
119  }
120  /**
121   * <code>.commontype.UserProperties userProps = 5;</code>
122   */
123  @java.lang.Override
124  public com.baidu.bifromq.type.UserPropertiesOrBuilder getUserPropsOrBuilder() {
125    return userProps_ == null ? com.baidu.bifromq.type.UserProperties.getDefaultInstance() : userProps_;
126  }
127
128  private byte memoizedIsInitialized = -1;
129  @java.lang.Override
130  public final boolean isInitialized() {
131    byte isInitialized = memoizedIsInitialized;
132    if (isInitialized == 1) return true;
133    if (isInitialized == 0) return false;
134
135    memoizedIsInitialized = 1;
136    return true;
137  }
138
139  @java.lang.Override
140  public void writeTo(com.google.protobuf.CodedOutputStream output)
141                      throws java.io.IOException {
142    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topicFilter_)) {
143      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topicFilter_);
144    }
145    if (qos_ != com.baidu.bifromq.type.QoS.AT_MOST_ONCE.getNumber()) {
146      output.writeEnum(2, qos_);
147    }
148    if (((bitField0_ & 0x00000001) != 0)) {
149      output.writeMessage(5, getUserProps());
150    }
151    getUnknownFields().writeTo(output);
152  }
153
154  @java.lang.Override
155  public int getSerializedSize() {
156    int size = memoizedSize;
157    if (size != -1) return size;
158
159    size = 0;
160    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topicFilter_)) {
161      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topicFilter_);
162    }
163    if (qos_ != com.baidu.bifromq.type.QoS.AT_MOST_ONCE.getNumber()) {
164      size += com.google.protobuf.CodedOutputStream
165        .computeEnumSize(2, qos_);
166    }
167    if (((bitField0_ & 0x00000001) != 0)) {
168      size += com.google.protobuf.CodedOutputStream
169        .computeMessageSize(5, getUserProps());
170    }
171    size += getUnknownFields().getSerializedSize();
172    memoizedSize = size;
173    return size;
174  }
175
176  @java.lang.Override
177  public boolean equals(final java.lang.Object obj) {
178    if (obj == this) {
179     return true;
180    }
181    if (!(obj instanceof com.baidu.bifromq.plugin.authprovider.type.SubAction)) {
182      return super.equals(obj);
183    }
184    com.baidu.bifromq.plugin.authprovider.type.SubAction other = (com.baidu.bifromq.plugin.authprovider.type.SubAction) obj;
185
186    if (!getTopicFilter()
187        .equals(other.getTopicFilter())) return false;
188    if (qos_ != other.qos_) return false;
189    if (hasUserProps() != other.hasUserProps()) return false;
190    if (hasUserProps()) {
191      if (!getUserProps()
192          .equals(other.getUserProps())) return false;
193    }
194    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
195    return true;
196  }
197
198  @java.lang.Override
199  public int hashCode() {
200    if (memoizedHashCode != 0) {
201      return memoizedHashCode;
202    }
203    int hash = 41;
204    hash = (19 * hash) + getDescriptor().hashCode();
205    hash = (37 * hash) + TOPICFILTER_FIELD_NUMBER;
206    hash = (53 * hash) + getTopicFilter().hashCode();
207    hash = (37 * hash) + QOS_FIELD_NUMBER;
208    hash = (53 * hash) + qos_;
209    if (hasUserProps()) {
210      hash = (37 * hash) + USERPROPS_FIELD_NUMBER;
211      hash = (53 * hash) + getUserProps().hashCode();
212    }
213    hash = (29 * hash) + getUnknownFields().hashCode();
214    memoizedHashCode = hash;
215    return hash;
216  }
217
218  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(
219      java.nio.ByteBuffer data)
220      throws com.google.protobuf.InvalidProtocolBufferException {
221    return PARSER.parseFrom(data);
222  }
223  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(
224      java.nio.ByteBuffer data,
225      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
226      throws com.google.protobuf.InvalidProtocolBufferException {
227    return PARSER.parseFrom(data, extensionRegistry);
228  }
229  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(
230      com.google.protobuf.ByteString data)
231      throws com.google.protobuf.InvalidProtocolBufferException {
232    return PARSER.parseFrom(data);
233  }
234  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(
235      com.google.protobuf.ByteString data,
236      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
237      throws com.google.protobuf.InvalidProtocolBufferException {
238    return PARSER.parseFrom(data, extensionRegistry);
239  }
240  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(byte[] data)
241      throws com.google.protobuf.InvalidProtocolBufferException {
242    return PARSER.parseFrom(data);
243  }
244  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(
245      byte[] data,
246      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
247      throws com.google.protobuf.InvalidProtocolBufferException {
248    return PARSER.parseFrom(data, extensionRegistry);
249  }
250  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(java.io.InputStream input)
251      throws java.io.IOException {
252    return com.google.protobuf.GeneratedMessageV3
253        .parseWithIOException(PARSER, input);
254  }
255  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(
256      java.io.InputStream input,
257      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
258      throws java.io.IOException {
259    return com.google.protobuf.GeneratedMessageV3
260        .parseWithIOException(PARSER, input, extensionRegistry);
261  }
262
263  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseDelimitedFrom(java.io.InputStream input)
264      throws java.io.IOException {
265    return com.google.protobuf.GeneratedMessageV3
266        .parseDelimitedWithIOException(PARSER, input);
267  }
268
269  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseDelimitedFrom(
270      java.io.InputStream input,
271      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
272      throws java.io.IOException {
273    return com.google.protobuf.GeneratedMessageV3
274        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
275  }
276  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(
277      com.google.protobuf.CodedInputStream input)
278      throws java.io.IOException {
279    return com.google.protobuf.GeneratedMessageV3
280        .parseWithIOException(PARSER, input);
281  }
282  public static com.baidu.bifromq.plugin.authprovider.type.SubAction parseFrom(
283      com.google.protobuf.CodedInputStream input,
284      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
285      throws java.io.IOException {
286    return com.google.protobuf.GeneratedMessageV3
287        .parseWithIOException(PARSER, input, extensionRegistry);
288  }
289
290  @java.lang.Override
291  public Builder newBuilderForType() { return newBuilder(); }
292  public static Builder newBuilder() {
293    return DEFAULT_INSTANCE.toBuilder();
294  }
295  public static Builder newBuilder(com.baidu.bifromq.plugin.authprovider.type.SubAction prototype) {
296    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
297  }
298  @java.lang.Override
299  public Builder toBuilder() {
300    return this == DEFAULT_INSTANCE
301        ? new Builder() : new Builder().mergeFrom(this);
302  }
303
304  @java.lang.Override
305  protected Builder newBuilderForType(
306      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
307    Builder builder = new Builder(parent);
308    return builder;
309  }
310  /**
311   * Protobuf type {@code checktypes.SubAction}
312   */
313  public static final class Builder extends
314      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
315      // @@protoc_insertion_point(builder_implements:checktypes.SubAction)
316      com.baidu.bifromq.plugin.authprovider.type.SubActionOrBuilder {
317    public static final com.google.protobuf.Descriptors.Descriptor
318        getDescriptor() {
319      return com.baidu.bifromq.plugin.authprovider.type.CheckTypesProto.internal_static_checktypes_SubAction_descriptor;
320    }
321
322    @java.lang.Override
323    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
324        internalGetFieldAccessorTable() {
325      return com.baidu.bifromq.plugin.authprovider.type.CheckTypesProto.internal_static_checktypes_SubAction_fieldAccessorTable
326          .ensureFieldAccessorsInitialized(
327              com.baidu.bifromq.plugin.authprovider.type.SubAction.class, com.baidu.bifromq.plugin.authprovider.type.SubAction.Builder.class);
328    }
329
330    // Construct using com.baidu.bifromq.plugin.authprovider.type.SubAction.newBuilder()
331    private Builder() {
332      maybeForceBuilderInitialization();
333    }
334
335    private Builder(
336        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
337      super(parent);
338      maybeForceBuilderInitialization();
339    }
340    private void maybeForceBuilderInitialization() {
341      if (com.google.protobuf.GeneratedMessageV3
342              .alwaysUseFieldBuilders) {
343        getUserPropsFieldBuilder();
344      }
345    }
346    @java.lang.Override
347    public Builder clear() {
348      super.clear();
349      bitField0_ = 0;
350      topicFilter_ = "";
351      qos_ = 0;
352      userProps_ = null;
353      if (userPropsBuilder_ != null) {
354        userPropsBuilder_.dispose();
355        userPropsBuilder_ = null;
356      }
357      return this;
358    }
359
360    @java.lang.Override
361    public com.google.protobuf.Descriptors.Descriptor
362        getDescriptorForType() {
363      return com.baidu.bifromq.plugin.authprovider.type.CheckTypesProto.internal_static_checktypes_SubAction_descriptor;
364    }
365
366    @java.lang.Override
367    public com.baidu.bifromq.plugin.authprovider.type.SubAction getDefaultInstanceForType() {
368      return com.baidu.bifromq.plugin.authprovider.type.SubAction.getDefaultInstance();
369    }
370
371    @java.lang.Override
372    public com.baidu.bifromq.plugin.authprovider.type.SubAction build() {
373      com.baidu.bifromq.plugin.authprovider.type.SubAction result = buildPartial();
374      if (!result.isInitialized()) {
375        throw newUninitializedMessageException(result);
376      }
377      return result;
378    }
379
380    @java.lang.Override
381    public com.baidu.bifromq.plugin.authprovider.type.SubAction buildPartial() {
382      com.baidu.bifromq.plugin.authprovider.type.SubAction result = new com.baidu.bifromq.plugin.authprovider.type.SubAction(this);
383      if (bitField0_ != 0) { buildPartial0(result); }
384      onBuilt();
385      return result;
386    }
387
388    private void buildPartial0(com.baidu.bifromq.plugin.authprovider.type.SubAction result) {
389      int from_bitField0_ = bitField0_;
390      if (((from_bitField0_ & 0x00000001) != 0)) {
391        result.topicFilter_ = topicFilter_;
392      }
393      if (((from_bitField0_ & 0x00000002) != 0)) {
394        result.qos_ = qos_;
395      }
396      int to_bitField0_ = 0;
397      if (((from_bitField0_ & 0x00000004) != 0)) {
398        result.userProps_ = userPropsBuilder_ == null
399            ? userProps_
400            : userPropsBuilder_.build();
401        to_bitField0_ |= 0x00000001;
402      }
403      result.bitField0_ |= to_bitField0_;
404    }
405
406    @java.lang.Override
407    public Builder clone() {
408      return super.clone();
409    }
410    @java.lang.Override
411    public Builder setField(
412        com.google.protobuf.Descriptors.FieldDescriptor field,
413        java.lang.Object value) {
414      return super.setField(field, value);
415    }
416    @java.lang.Override
417    public Builder clearField(
418        com.google.protobuf.Descriptors.FieldDescriptor field) {
419      return super.clearField(field);
420    }
421    @java.lang.Override
422    public Builder clearOneof(
423        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
424      return super.clearOneof(oneof);
425    }
426    @java.lang.Override
427    public Builder setRepeatedField(
428        com.google.protobuf.Descriptors.FieldDescriptor field,
429        int index, java.lang.Object value) {
430      return super.setRepeatedField(field, index, value);
431    }
432    @java.lang.Override
433    public Builder addRepeatedField(
434        com.google.protobuf.Descriptors.FieldDescriptor field,
435        java.lang.Object value) {
436      return super.addRepeatedField(field, value);
437    }
438    @java.lang.Override
439    public Builder mergeFrom(com.google.protobuf.Message other) {
440      if (other instanceof com.baidu.bifromq.plugin.authprovider.type.SubAction) {
441        return mergeFrom((com.baidu.bifromq.plugin.authprovider.type.SubAction)other);
442      } else {
443        super.mergeFrom(other);
444        return this;
445      }
446    }
447
448    public Builder mergeFrom(com.baidu.bifromq.plugin.authprovider.type.SubAction other) {
449      if (other == com.baidu.bifromq.plugin.authprovider.type.SubAction.getDefaultInstance()) return this;
450      if (!other.getTopicFilter().isEmpty()) {
451        topicFilter_ = other.topicFilter_;
452        bitField0_ |= 0x00000001;
453        onChanged();
454      }
455      if (other.qos_ != 0) {
456        setQosValue(other.getQosValue());
457      }
458      if (other.hasUserProps()) {
459        mergeUserProps(other.getUserProps());
460      }
461      this.mergeUnknownFields(other.getUnknownFields());
462      onChanged();
463      return this;
464    }
465
466    @java.lang.Override
467    public final boolean isInitialized() {
468      return true;
469    }
470
471    @java.lang.Override
472    public Builder mergeFrom(
473        com.google.protobuf.CodedInputStream input,
474        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
475        throws java.io.IOException {
476      if (extensionRegistry == null) {
477        throw new java.lang.NullPointerException();
478      }
479      try {
480        boolean done = false;
481        while (!done) {
482          int tag = input.readTag();
483          switch (tag) {
484            case 0:
485              done = true;
486              break;
487            case 10: {
488              topicFilter_ = input.readStringRequireUtf8();
489              bitField0_ |= 0x00000001;
490              break;
491            } // case 10
492            case 16: {
493              qos_ = input.readEnum();
494              bitField0_ |= 0x00000002;
495              break;
496            } // case 16
497            case 42: {
498              input.readMessage(
499                  getUserPropsFieldBuilder().getBuilder(),
500                  extensionRegistry);
501              bitField0_ |= 0x00000004;
502              break;
503            } // case 42
504            default: {
505              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
506                done = true; // was an endgroup tag
507              }
508              break;
509            } // default:
510          } // switch (tag)
511        } // while (!done)
512      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
513        throw e.unwrapIOException();
514      } finally {
515        onChanged();
516      } // finally
517      return this;
518    }
519    private int bitField0_;
520
521    private java.lang.Object topicFilter_ = "";
522    /**
523     * <code>string topicFilter = 1;</code>
524     * @return The topicFilter.
525     */
526    public java.lang.String getTopicFilter() {
527      java.lang.Object ref = topicFilter_;
528      if (!(ref instanceof java.lang.String)) {
529        com.google.protobuf.ByteString bs =
530            (com.google.protobuf.ByteString) ref;
531        java.lang.String s = bs.toStringUtf8();
532        topicFilter_ = s;
533        return s;
534      } else {
535        return (java.lang.String) ref;
536      }
537    }
538    /**
539     * <code>string topicFilter = 1;</code>
540     * @return The bytes for topicFilter.
541     */
542    public com.google.protobuf.ByteString
543        getTopicFilterBytes() {
544      java.lang.Object ref = topicFilter_;
545      if (ref instanceof String) {
546        com.google.protobuf.ByteString b = 
547            com.google.protobuf.ByteString.copyFromUtf8(
548                (java.lang.String) ref);
549        topicFilter_ = b;
550        return b;
551      } else {
552        return (com.google.protobuf.ByteString) ref;
553      }
554    }
555    /**
556     * <code>string topicFilter = 1;</code>
557     * @param value The topicFilter to set.
558     * @return This builder for chaining.
559     */
560    public Builder setTopicFilter(
561        java.lang.String value) {
562      if (value == null) { throw new NullPointerException(); }
563      topicFilter_ = value;
564      bitField0_ |= 0x00000001;
565      onChanged();
566      return this;
567    }
568    /**
569     * <code>string topicFilter = 1;</code>
570     * @return This builder for chaining.
571     */
572    public Builder clearTopicFilter() {
573      topicFilter_ = getDefaultInstance().getTopicFilter();
574      bitField0_ = (bitField0_ & ~0x00000001);
575      onChanged();
576      return this;
577    }
578    /**
579     * <code>string topicFilter = 1;</code>
580     * @param value The bytes for topicFilter to set.
581     * @return This builder for chaining.
582     */
583    public Builder setTopicFilterBytes(
584        com.google.protobuf.ByteString value) {
585      if (value == null) { throw new NullPointerException(); }
586      checkByteStringIsUtf8(value);
587      topicFilter_ = value;
588      bitField0_ |= 0x00000001;
589      onChanged();
590      return this;
591    }
592
593    private int qos_ = 0;
594    /**
595     * <code>.commontype.QoS qos = 2;</code>
596     * @return The enum numeric value on the wire for qos.
597     */
598    @java.lang.Override public int getQosValue() {
599      return qos_;
600    }
601    /**
602     * <code>.commontype.QoS qos = 2;</code>
603     * @param value The enum numeric value on the wire for qos to set.
604     * @return This builder for chaining.
605     */
606    public Builder setQosValue(int value) {
607      qos_ = value;
608      bitField0_ |= 0x00000002;
609      onChanged();
610      return this;
611    }
612    /**
613     * <code>.commontype.QoS qos = 2;</code>
614     * @return The qos.
615     */
616    @java.lang.Override
617    public com.baidu.bifromq.type.QoS getQos() {
618      com.baidu.bifromq.type.QoS result = com.baidu.bifromq.type.QoS.forNumber(qos_);
619      return result == null ? com.baidu.bifromq.type.QoS.UNRECOGNIZED : result;
620    }
621    /**
622     * <code>.commontype.QoS qos = 2;</code>
623     * @param value The qos to set.
624     * @return This builder for chaining.
625     */
626    public Builder setQos(com.baidu.bifromq.type.QoS value) {
627      if (value == null) {
628        throw new NullPointerException();
629      }
630      bitField0_ |= 0x00000002;
631      qos_ = value.getNumber();
632      onChanged();
633      return this;
634    }
635    /**
636     * <code>.commontype.QoS qos = 2;</code>
637     * @return This builder for chaining.
638     */
639    public Builder clearQos() {
640      bitField0_ = (bitField0_ & ~0x00000002);
641      qos_ = 0;
642      onChanged();
643      return this;
644    }
645
646    private com.baidu.bifromq.type.UserProperties userProps_;
647    private com.google.protobuf.SingleFieldBuilderV3<
648        com.baidu.bifromq.type.UserProperties, com.baidu.bifromq.type.UserProperties.Builder, com.baidu.bifromq.type.UserPropertiesOrBuilder> userPropsBuilder_;
649    /**
650     * <code>.commontype.UserProperties userProps = 5;</code>
651     * @return Whether the userProps field is set.
652     */
653    public boolean hasUserProps() {
654      return ((bitField0_ & 0x00000004) != 0);
655    }
656    /**
657     * <code>.commontype.UserProperties userProps = 5;</code>
658     * @return The userProps.
659     */
660    public com.baidu.bifromq.type.UserProperties getUserProps() {
661      if (userPropsBuilder_ == null) {
662        return userProps_ == null ? com.baidu.bifromq.type.UserProperties.getDefaultInstance() : userProps_;
663      } else {
664        return userPropsBuilder_.getMessage();
665      }
666    }
667    /**
668     * <code>.commontype.UserProperties userProps = 5;</code>
669     */
670    public Builder setUserProps(com.baidu.bifromq.type.UserProperties value) {
671      if (userPropsBuilder_ == null) {
672        if (value == null) {
673          throw new NullPointerException();
674        }
675        userProps_ = value;
676      } else {
677        userPropsBuilder_.setMessage(value);
678      }
679      bitField0_ |= 0x00000004;
680      onChanged();
681      return this;
682    }
683    /**
684     * <code>.commontype.UserProperties userProps = 5;</code>
685     */
686    public Builder setUserProps(
687        com.baidu.bifromq.type.UserProperties.Builder builderForValue) {
688      if (userPropsBuilder_ == null) {
689        userProps_ = builderForValue.build();
690      } else {
691        userPropsBuilder_.setMessage(builderForValue.build());
692      }
693      bitField0_ |= 0x00000004;
694      onChanged();
695      return this;
696    }
697    /**
698     * <code>.commontype.UserProperties userProps = 5;</code>
699     */
700    public Builder mergeUserProps(com.baidu.bifromq.type.UserProperties value) {
701      if (userPropsBuilder_ == null) {
702        if (((bitField0_ & 0x00000004) != 0) &&
703          userProps_ != null &&
704          userProps_ != com.baidu.bifromq.type.UserProperties.getDefaultInstance()) {
705          getUserPropsBuilder().mergeFrom(value);
706        } else {
707          userProps_ = value;
708        }
709      } else {
710        userPropsBuilder_.mergeFrom(value);
711      }
712      if (userProps_ != null) {
713        bitField0_ |= 0x00000004;
714        onChanged();
715      }
716      return this;
717    }
718    /**
719     * <code>.commontype.UserProperties userProps = 5;</code>
720     */
721    public Builder clearUserProps() {
722      bitField0_ = (bitField0_ & ~0x00000004);
723      userProps_ = null;
724      if (userPropsBuilder_ != null) {
725        userPropsBuilder_.dispose();
726        userPropsBuilder_ = null;
727      }
728      onChanged();
729      return this;
730    }
731    /**
732     * <code>.commontype.UserProperties userProps = 5;</code>
733     */
734    public com.baidu.bifromq.type.UserProperties.Builder getUserPropsBuilder() {
735      bitField0_ |= 0x00000004;
736      onChanged();
737      return getUserPropsFieldBuilder().getBuilder();
738    }
739    /**
740     * <code>.commontype.UserProperties userProps = 5;</code>
741     */
742    public com.baidu.bifromq.type.UserPropertiesOrBuilder getUserPropsOrBuilder() {
743      if (userPropsBuilder_ != null) {
744        return userPropsBuilder_.getMessageOrBuilder();
745      } else {
746        return userProps_ == null ?
747            com.baidu.bifromq.type.UserProperties.getDefaultInstance() : userProps_;
748      }
749    }
750    /**
751     * <code>.commontype.UserProperties userProps = 5;</code>
752     */
753    private com.google.protobuf.SingleFieldBuilderV3<
754        com.baidu.bifromq.type.UserProperties, com.baidu.bifromq.type.UserProperties.Builder, com.baidu.bifromq.type.UserPropertiesOrBuilder> 
755        getUserPropsFieldBuilder() {
756      if (userPropsBuilder_ == null) {
757        userPropsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
758            com.baidu.bifromq.type.UserProperties, com.baidu.bifromq.type.UserProperties.Builder, com.baidu.bifromq.type.UserPropertiesOrBuilder>(
759                getUserProps(),
760                getParentForChildren(),
761                isClean());
762        userProps_ = null;
763      }
764      return userPropsBuilder_;
765    }
766    @java.lang.Override
767    public final Builder setUnknownFields(
768        final com.google.protobuf.UnknownFieldSet unknownFields) {
769      return super.setUnknownFields(unknownFields);
770    }
771
772    @java.lang.Override
773    public final Builder mergeUnknownFields(
774        final com.google.protobuf.UnknownFieldSet unknownFields) {
775      return super.mergeUnknownFields(unknownFields);
776    }
777
778
779    // @@protoc_insertion_point(builder_scope:checktypes.SubAction)
780  }
781
782  // @@protoc_insertion_point(class_scope:checktypes.SubAction)
783  private static final com.baidu.bifromq.plugin.authprovider.type.SubAction DEFAULT_INSTANCE;
784  static {
785    DEFAULT_INSTANCE = new com.baidu.bifromq.plugin.authprovider.type.SubAction();
786  }
787
788  public static com.baidu.bifromq.plugin.authprovider.type.SubAction getDefaultInstance() {
789    return DEFAULT_INSTANCE;
790  }
791
792  private static final com.google.protobuf.Parser<SubAction>
793      PARSER = new com.google.protobuf.AbstractParser<SubAction>() {
794    @java.lang.Override
795    public SubAction parsePartialFrom(
796        com.google.protobuf.CodedInputStream input,
797        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
798        throws com.google.protobuf.InvalidProtocolBufferException {
799      Builder builder = newBuilder();
800      try {
801        builder.mergeFrom(input, extensionRegistry);
802      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
803        throw e.setUnfinishedMessage(builder.buildPartial());
804      } catch (com.google.protobuf.UninitializedMessageException e) {
805        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
806      } catch (java.io.IOException e) {
807        throw new com.google.protobuf.InvalidProtocolBufferException(e)
808            .setUnfinishedMessage(builder.buildPartial());
809      }
810      return builder.buildPartial();
811    }
812  };
813
814  public static com.google.protobuf.Parser<SubAction> parser() {
815    return PARSER;
816  }
817
818  @java.lang.Override
819  public com.google.protobuf.Parser<SubAction> getParserForType() {
820    return PARSER;
821  }
822
823  @java.lang.Override
824  public com.baidu.bifromq.plugin.authprovider.type.SubAction getDefaultInstanceForType() {
825    return DEFAULT_INSTANCE;
826  }
827
828}
829