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