All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wechat.protobuf.GetOpenIMContactReq Maven / Gradle / Ivy

There is a newer version: 8.0.48.01
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: wechat.proto

package wechat.protobuf;

/**
 * Protobuf type {@code wechat_proto.GetOpenIMContactReq}
 */
public final class GetOpenIMContactReq extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:wechat_proto.GetOpenIMContactReq)
    GetOpenIMContactReqOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetOpenIMContactReq.newBuilder() to construct.
  private GetOpenIMContactReq(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private GetOpenIMContactReq() {
    tpUsername_ = "";
    roomName_ = "";
    ticket_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new GetOpenIMContactReq();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private GetOpenIMContactReq(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000001;
            tpUsername_ = bs;
            break;
          }
          case 18: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000002;
            roomName_ = bs;
            break;
          }
          case 26: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000004;
            ticket_ = bs;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return wechat.protobuf.Wechat.internal_static_wechat_proto_GetOpenIMContactReq_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return wechat.protobuf.Wechat.internal_static_wechat_proto_GetOpenIMContactReq_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            wechat.protobuf.GetOpenIMContactReq.class, wechat.protobuf.GetOpenIMContactReq.Builder.class);
  }

  private int bitField0_;
  public static final int TP_USERNAME_FIELD_NUMBER = 1;
  private volatile java.lang.Object tpUsername_;
  /**
   * 
   *    optional BaseRequest baseRequest = 1;
   * 
* * optional string tp_username = 1; * @return Whether the tpUsername field is set. */ @java.lang.Override public boolean hasTpUsername() { return ((bitField0_ & 0x00000001) != 0); } /** *
   *    optional BaseRequest baseRequest = 1;
   * 
* * optional string tp_username = 1; * @return The tpUsername. */ @java.lang.Override public java.lang.String getTpUsername() { java.lang.Object ref = tpUsername_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { tpUsername_ = s; } return s; } } /** *
   *    optional BaseRequest baseRequest = 1;
   * 
* * optional string tp_username = 1; * @return The bytes for tpUsername. */ @java.lang.Override public com.google.protobuf.ByteString getTpUsernameBytes() { java.lang.Object ref = tpUsername_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tpUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ROOMNAME_FIELD_NUMBER = 2; private volatile java.lang.Object roomName_; /** * optional string roomName = 2; * @return Whether the roomName field is set. */ @java.lang.Override public boolean hasRoomName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string roomName = 2; * @return The roomName. */ @java.lang.Override public java.lang.String getRoomName() { java.lang.Object ref = roomName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { roomName_ = s; } return s; } } /** * optional string roomName = 2; * @return The bytes for roomName. */ @java.lang.Override public com.google.protobuf.ByteString getRoomNameBytes() { java.lang.Object ref = roomName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); roomName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TICKET_FIELD_NUMBER = 3; private volatile java.lang.Object ticket_; /** * optional string ticket = 3; * @return Whether the ticket field is set. */ @java.lang.Override public boolean hasTicket() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string ticket = 3; * @return The ticket. */ @java.lang.Override public java.lang.String getTicket() { java.lang.Object ref = ticket_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { ticket_ = s; } return s; } } /** * optional string ticket = 3; * @return The bytes for ticket. */ @java.lang.Override public com.google.protobuf.ByteString getTicketBytes() { java.lang.Object ref = ticket_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tpUsername_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, roomName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ticket_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tpUsername_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, roomName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ticket_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof wechat.protobuf.GetOpenIMContactReq)) { return super.equals(obj); } wechat.protobuf.GetOpenIMContactReq other = (wechat.protobuf.GetOpenIMContactReq) obj; if (hasTpUsername() != other.hasTpUsername()) return false; if (hasTpUsername()) { if (!getTpUsername() .equals(other.getTpUsername())) return false; } if (hasRoomName() != other.hasRoomName()) return false; if (hasRoomName()) { if (!getRoomName() .equals(other.getRoomName())) return false; } if (hasTicket() != other.hasTicket()) return false; if (hasTicket()) { if (!getTicket() .equals(other.getTicket())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTpUsername()) { hash = (37 * hash) + TP_USERNAME_FIELD_NUMBER; hash = (53 * hash) + getTpUsername().hashCode(); } if (hasRoomName()) { hash = (37 * hash) + ROOMNAME_FIELD_NUMBER; hash = (53 * hash) + getRoomName().hashCode(); } if (hasTicket()) { hash = (37 * hash) + TICKET_FIELD_NUMBER; hash = (53 * hash) + getTicket().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.GetOpenIMContactReq parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.GetOpenIMContactReq parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.GetOpenIMContactReq parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.GetOpenIMContactReq parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.GetOpenIMContactReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.GetOpenIMContactReq parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.GetOpenIMContactReq parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.GetOpenIMContactReq parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static wechat.protobuf.GetOpenIMContactReq parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.GetOpenIMContactReq parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static wechat.protobuf.GetOpenIMContactReq parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.GetOpenIMContactReq parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(wechat.protobuf.GetOpenIMContactReq prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code wechat_proto.GetOpenIMContactReq} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.GetOpenIMContactReq) wechat.protobuf.GetOpenIMContactReqOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Wechat.internal_static_wechat_proto_GetOpenIMContactReq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Wechat.internal_static_wechat_proto_GetOpenIMContactReq_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.GetOpenIMContactReq.class, wechat.protobuf.GetOpenIMContactReq.Builder.class); } // Construct using wechat.protobuf.GetOpenIMContactReq.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); tpUsername_ = ""; bitField0_ = (bitField0_ & ~0x00000001); roomName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); ticket_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Wechat.internal_static_wechat_proto_GetOpenIMContactReq_descriptor; } @java.lang.Override public wechat.protobuf.GetOpenIMContactReq getDefaultInstanceForType() { return wechat.protobuf.GetOpenIMContactReq.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.GetOpenIMContactReq build() { wechat.protobuf.GetOpenIMContactReq result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.GetOpenIMContactReq buildPartial() { wechat.protobuf.GetOpenIMContactReq result = new wechat.protobuf.GetOpenIMContactReq(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.tpUsername_ = tpUsername_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.roomName_ = roomName_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.ticket_ = ticket_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof wechat.protobuf.GetOpenIMContactReq) { return mergeFrom((wechat.protobuf.GetOpenIMContactReq)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.GetOpenIMContactReq other) { if (other == wechat.protobuf.GetOpenIMContactReq.getDefaultInstance()) return this; if (other.hasTpUsername()) { bitField0_ |= 0x00000001; tpUsername_ = other.tpUsername_; onChanged(); } if (other.hasRoomName()) { bitField0_ |= 0x00000002; roomName_ = other.roomName_; onChanged(); } if (other.hasTicket()) { bitField0_ |= 0x00000004; ticket_ = other.ticket_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { wechat.protobuf.GetOpenIMContactReq parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.GetOpenIMContactReq) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object tpUsername_ = ""; /** *
     *    optional BaseRequest baseRequest = 1;
     * 
* * optional string tp_username = 1; * @return Whether the tpUsername field is set. */ public boolean hasTpUsername() { return ((bitField0_ & 0x00000001) != 0); } /** *
     *    optional BaseRequest baseRequest = 1;
     * 
* * optional string tp_username = 1; * @return The tpUsername. */ public java.lang.String getTpUsername() { java.lang.Object ref = tpUsername_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { tpUsername_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     *    optional BaseRequest baseRequest = 1;
     * 
* * optional string tp_username = 1; * @return The bytes for tpUsername. */ public com.google.protobuf.ByteString getTpUsernameBytes() { java.lang.Object ref = tpUsername_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tpUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *    optional BaseRequest baseRequest = 1;
     * 
* * optional string tp_username = 1; * @param value The tpUsername to set. * @return This builder for chaining. */ public Builder setTpUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; tpUsername_ = value; onChanged(); return this; } /** *
     *    optional BaseRequest baseRequest = 1;
     * 
* * optional string tp_username = 1; * @return This builder for chaining. */ public Builder clearTpUsername() { bitField0_ = (bitField0_ & ~0x00000001); tpUsername_ = getDefaultInstance().getTpUsername(); onChanged(); return this; } /** *
     *    optional BaseRequest baseRequest = 1;
     * 
* * optional string tp_username = 1; * @param value The bytes for tpUsername to set. * @return This builder for chaining. */ public Builder setTpUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; tpUsername_ = value; onChanged(); return this; } private java.lang.Object roomName_ = ""; /** * optional string roomName = 2; * @return Whether the roomName field is set. */ public boolean hasRoomName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string roomName = 2; * @return The roomName. */ public java.lang.String getRoomName() { java.lang.Object ref = roomName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { roomName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string roomName = 2; * @return The bytes for roomName. */ public com.google.protobuf.ByteString getRoomNameBytes() { java.lang.Object ref = roomName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); roomName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string roomName = 2; * @param value The roomName to set. * @return This builder for chaining. */ public Builder setRoomName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; roomName_ = value; onChanged(); return this; } /** * optional string roomName = 2; * @return This builder for chaining. */ public Builder clearRoomName() { bitField0_ = (bitField0_ & ~0x00000002); roomName_ = getDefaultInstance().getRoomName(); onChanged(); return this; } /** * optional string roomName = 2; * @param value The bytes for roomName to set. * @return This builder for chaining. */ public Builder setRoomNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; roomName_ = value; onChanged(); return this; } private java.lang.Object ticket_ = ""; /** * optional string ticket = 3; * @return Whether the ticket field is set. */ public boolean hasTicket() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string ticket = 3; * @return The ticket. */ public java.lang.String getTicket() { java.lang.Object ref = ticket_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { ticket_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string ticket = 3; * @return The bytes for ticket. */ public com.google.protobuf.ByteString getTicketBytes() { java.lang.Object ref = ticket_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string ticket = 3; * @param value The ticket to set. * @return This builder for chaining. */ public Builder setTicket( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; ticket_ = value; onChanged(); return this; } /** * optional string ticket = 3; * @return This builder for chaining. */ public Builder clearTicket() { bitField0_ = (bitField0_ & ~0x00000004); ticket_ = getDefaultInstance().getTicket(); onChanged(); return this; } /** * optional string ticket = 3; * @param value The bytes for ticket to set. * @return This builder for chaining. */ public Builder setTicketBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; ticket_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:wechat_proto.GetOpenIMContactReq) } // @@protoc_insertion_point(class_scope:wechat_proto.GetOpenIMContactReq) private static final wechat.protobuf.GetOpenIMContactReq DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.GetOpenIMContactReq(); } public static wechat.protobuf.GetOpenIMContactReq getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetOpenIMContactReq parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetOpenIMContactReq(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public wechat.protobuf.GetOpenIMContactReq getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy