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

wechat.protobuf.GetChatRoomInfoDetailResponse Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: wechat.proto

package wechat.protobuf;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private GetChatRoomInfoDetailResponse(
      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: {
            wechat.protobuf.BaseResponse.Builder subBuilder = null;
            if (((bitField0_ & 0x00000001) != 0)) {
              subBuilder = baseResponse_.toBuilder();
            }
            baseResponse_ = input.readMessage(wechat.protobuf.BaseResponse.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(baseResponse_);
              baseResponse_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000001;
            break;
          }
          case 18: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000002;
            announcement_ = bs;
            break;
          }
          case 24: {
            bitField0_ |= 0x00000004;
            chatRoomInfoVersion_ = input.readUInt32();
            break;
          }
          case 34: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000008;
            announcementEditor_ = bs;
            break;
          }
          case 40: {
            bitField0_ |= 0x00000010;
            announcementPublishTime_ = input.readUInt32();
            break;
          }
          case 48: {
            bitField0_ |= 0x00000020;
            chatRoomStatus_ = input.readUInt32();
            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_GetChatRoomInfoDetailResponse_descriptor;
  }

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

  private int bitField0_;
  public static final int BASERESPONSE_FIELD_NUMBER = 1;
  private wechat.protobuf.BaseResponse baseResponse_;
  /**
   * optional .wechat_proto.BaseResponse baseResponse = 1;
   * @return Whether the baseResponse field is set.
   */
  @java.lang.Override
  public boolean hasBaseResponse() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * optional .wechat_proto.BaseResponse baseResponse = 1;
   * @return The baseResponse.
   */
  @java.lang.Override
  public wechat.protobuf.BaseResponse getBaseResponse() {
    return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
  }
  /**
   * optional .wechat_proto.BaseResponse baseResponse = 1;
   */
  @java.lang.Override
  public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
    return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
  }

  public static final int ANNOUNCEMENT_FIELD_NUMBER = 2;
  private volatile java.lang.Object announcement_;
  /**
   * 
   * 群公告
   * 
* * optional string announcement = 2; * @return Whether the announcement field is set. */ @java.lang.Override public boolean hasAnnouncement() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * 群公告
   * 
* * optional string announcement = 2; * @return The announcement. */ @java.lang.Override public java.lang.String getAnnouncement() { java.lang.Object ref = announcement_; 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()) { announcement_ = s; } return s; } } /** *
   * 群公告
   * 
* * optional string announcement = 2; * @return The bytes for announcement. */ @java.lang.Override public com.google.protobuf.ByteString getAnnouncementBytes() { java.lang.Object ref = announcement_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); announcement_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHATROOMINFOVERSION_FIELD_NUMBER = 3; private int chatRoomInfoVersion_; /** *
   * 群版本号
   * 
* * optional uint32 chatRoomInfoVersion = 3; * @return Whether the chatRoomInfoVersion field is set. */ @java.lang.Override public boolean hasChatRoomInfoVersion() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * 群版本号
   * 
* * optional uint32 chatRoomInfoVersion = 3; * @return The chatRoomInfoVersion. */ @java.lang.Override public int getChatRoomInfoVersion() { return chatRoomInfoVersion_; } public static final int ANNOUNCEMENTEDITOR_FIELD_NUMBER = 4; private volatile java.lang.Object announcementEditor_; /** *
   * 修改群公告的人微信ID
   * 
* * optional string announcementEditor = 4; * @return Whether the announcementEditor field is set. */ @java.lang.Override public boolean hasAnnouncementEditor() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * 修改群公告的人微信ID
   * 
* * optional string announcementEditor = 4; * @return The announcementEditor. */ @java.lang.Override public java.lang.String getAnnouncementEditor() { java.lang.Object ref = announcementEditor_; 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()) { announcementEditor_ = s; } return s; } } /** *
   * 修改群公告的人微信ID
   * 
* * optional string announcementEditor = 4; * @return The bytes for announcementEditor. */ @java.lang.Override public com.google.protobuf.ByteString getAnnouncementEditorBytes() { java.lang.Object ref = announcementEditor_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); announcementEditor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ANNOUNCEMENTPUBLISHTIME_FIELD_NUMBER = 5; private int announcementPublishTime_; /** *
   * 群公告发布时间
   * 
* * optional uint32 announcementPublishTime = 5; * @return Whether the announcementPublishTime field is set. */ @java.lang.Override public boolean hasAnnouncementPublishTime() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * 群公告发布时间
   * 
* * optional uint32 announcementPublishTime = 5; * @return The announcementPublishTime. */ @java.lang.Override public int getAnnouncementPublishTime() { return announcementPublishTime_; } public static final int CHATROOMSTATUS_FIELD_NUMBER = 6; private int chatRoomStatus_; /** * optional uint32 chatRoomStatus = 6; * @return Whether the chatRoomStatus field is set. */ @java.lang.Override public boolean hasChatRoomStatus() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 chatRoomStatus = 6; * @return The chatRoomStatus. */ @java.lang.Override public int getChatRoomStatus() { return chatRoomStatus_; } 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)) { output.writeMessage(1, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, announcement_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, chatRoomInfoVersion_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, announcementEditor_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, announcementPublishTime_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, chatRoomStatus_); } 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.CodedOutputStream .computeMessageSize(1, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, announcement_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, chatRoomInfoVersion_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, announcementEditor_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, announcementPublishTime_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, chatRoomStatus_); } 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.GetChatRoomInfoDetailResponse)) { return super.equals(obj); } wechat.protobuf.GetChatRoomInfoDetailResponse other = (wechat.protobuf.GetChatRoomInfoDetailResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasAnnouncement() != other.hasAnnouncement()) return false; if (hasAnnouncement()) { if (!getAnnouncement() .equals(other.getAnnouncement())) return false; } if (hasChatRoomInfoVersion() != other.hasChatRoomInfoVersion()) return false; if (hasChatRoomInfoVersion()) { if (getChatRoomInfoVersion() != other.getChatRoomInfoVersion()) return false; } if (hasAnnouncementEditor() != other.hasAnnouncementEditor()) return false; if (hasAnnouncementEditor()) { if (!getAnnouncementEditor() .equals(other.getAnnouncementEditor())) return false; } if (hasAnnouncementPublishTime() != other.hasAnnouncementPublishTime()) return false; if (hasAnnouncementPublishTime()) { if (getAnnouncementPublishTime() != other.getAnnouncementPublishTime()) return false; } if (hasChatRoomStatus() != other.hasChatRoomStatus()) return false; if (hasChatRoomStatus()) { if (getChatRoomStatus() != other.getChatRoomStatus()) 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 (hasBaseResponse()) { hash = (37 * hash) + BASERESPONSE_FIELD_NUMBER; hash = (53 * hash) + getBaseResponse().hashCode(); } if (hasAnnouncement()) { hash = (37 * hash) + ANNOUNCEMENT_FIELD_NUMBER; hash = (53 * hash) + getAnnouncement().hashCode(); } if (hasChatRoomInfoVersion()) { hash = (37 * hash) + CHATROOMINFOVERSION_FIELD_NUMBER; hash = (53 * hash) + getChatRoomInfoVersion(); } if (hasAnnouncementEditor()) { hash = (37 * hash) + ANNOUNCEMENTEDITOR_FIELD_NUMBER; hash = (53 * hash) + getAnnouncementEditor().hashCode(); } if (hasAnnouncementPublishTime()) { hash = (37 * hash) + ANNOUNCEMENTPUBLISHTIME_FIELD_NUMBER; hash = (53 * hash) + getAnnouncementPublishTime(); } if (hasChatRoomStatus()) { hash = (37 * hash) + CHATROOMSTATUS_FIELD_NUMBER; hash = (53 * hash) + getChatRoomStatus(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.GetChatRoomInfoDetailResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.GetChatRoomInfoDetailResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.GetChatRoomInfoDetailResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.GetChatRoomInfoDetailResponse 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.GetChatRoomInfoDetailResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.GetChatRoomInfoDetailResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.GetChatRoomInfoDetailResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.GetChatRoomInfoDetailResponse 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.GetChatRoomInfoDetailResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.GetChatRoomInfoDetailResponse 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.GetChatRoomInfoDetailResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.GetChatRoomInfoDetailResponse 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.GetChatRoomInfoDetailResponse 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.GetChatRoomInfoDetailResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.GetChatRoomInfoDetailResponse) wechat.protobuf.GetChatRoomInfoDetailResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Wechat.internal_static_wechat_proto_GetChatRoomInfoDetailResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Wechat.internal_static_wechat_proto_GetChatRoomInfoDetailResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.GetChatRoomInfoDetailResponse.class, wechat.protobuf.GetChatRoomInfoDetailResponse.Builder.class); } // Construct using wechat.protobuf.GetChatRoomInfoDetailResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseResponseFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); announcement_ = ""; bitField0_ = (bitField0_ & ~0x00000002); chatRoomInfoVersion_ = 0; bitField0_ = (bitField0_ & ~0x00000004); announcementEditor_ = ""; bitField0_ = (bitField0_ & ~0x00000008); announcementPublishTime_ = 0; bitField0_ = (bitField0_ & ~0x00000010); chatRoomStatus_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Wechat.internal_static_wechat_proto_GetChatRoomInfoDetailResponse_descriptor; } @java.lang.Override public wechat.protobuf.GetChatRoomInfoDetailResponse getDefaultInstanceForType() { return wechat.protobuf.GetChatRoomInfoDetailResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.GetChatRoomInfoDetailResponse build() { wechat.protobuf.GetChatRoomInfoDetailResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.GetChatRoomInfoDetailResponse buildPartial() { wechat.protobuf.GetChatRoomInfoDetailResponse result = new wechat.protobuf.GetChatRoomInfoDetailResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (baseResponseBuilder_ == null) { result.baseResponse_ = baseResponse_; } else { result.baseResponse_ = baseResponseBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.announcement_ = announcement_; if (((from_bitField0_ & 0x00000004) != 0)) { result.chatRoomInfoVersion_ = chatRoomInfoVersion_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.announcementEditor_ = announcementEditor_; if (((from_bitField0_ & 0x00000010) != 0)) { result.announcementPublishTime_ = announcementPublishTime_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.chatRoomStatus_ = chatRoomStatus_; to_bitField0_ |= 0x00000020; } 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.GetChatRoomInfoDetailResponse) { return mergeFrom((wechat.protobuf.GetChatRoomInfoDetailResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.GetChatRoomInfoDetailResponse other) { if (other == wechat.protobuf.GetChatRoomInfoDetailResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasAnnouncement()) { bitField0_ |= 0x00000002; announcement_ = other.announcement_; onChanged(); } if (other.hasChatRoomInfoVersion()) { setChatRoomInfoVersion(other.getChatRoomInfoVersion()); } if (other.hasAnnouncementEditor()) { bitField0_ |= 0x00000008; announcementEditor_ = other.announcementEditor_; onChanged(); } if (other.hasAnnouncementPublishTime()) { setAnnouncementPublishTime(other.getAnnouncementPublishTime()); } if (other.hasChatRoomStatus()) { setChatRoomStatus(other.getChatRoomStatus()); } 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.GetChatRoomInfoDetailResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.GetChatRoomInfoDetailResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.BaseResponse baseResponse_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> baseResponseBuilder_; /** * optional .wechat_proto.BaseResponse baseResponse = 1; * @return Whether the baseResponse field is set. */ public boolean hasBaseResponse() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.BaseResponse baseResponse = 1; * @return The baseResponse. */ public wechat.protobuf.BaseResponse getBaseResponse() { if (baseResponseBuilder_ == null) { return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_; } else { return baseResponseBuilder_.getMessage(); } } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public Builder setBaseResponse(wechat.protobuf.BaseResponse value) { if (baseResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseResponse_ = value; onChanged(); } else { baseResponseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public Builder setBaseResponse( wechat.protobuf.BaseResponse.Builder builderForValue) { if (baseResponseBuilder_ == null) { baseResponse_ = builderForValue.build(); onChanged(); } else { baseResponseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public Builder mergeBaseResponse(wechat.protobuf.BaseResponse value) { if (baseResponseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && baseResponse_ != null && baseResponse_ != wechat.protobuf.BaseResponse.getDefaultInstance()) { baseResponse_ = wechat.protobuf.BaseResponse.newBuilder(baseResponse_).mergeFrom(value).buildPartial(); } else { baseResponse_ = value; } onChanged(); } else { baseResponseBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public Builder clearBaseResponse() { if (baseResponseBuilder_ == null) { baseResponse_ = null; onChanged(); } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public wechat.protobuf.BaseResponse.Builder getBaseResponseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseResponseFieldBuilder().getBuilder(); } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() { if (baseResponseBuilder_ != null) { return baseResponseBuilder_.getMessageOrBuilder(); } else { return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_; } } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> getBaseResponseFieldBuilder() { if (baseResponseBuilder_ == null) { baseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>( getBaseResponse(), getParentForChildren(), isClean()); baseResponse_ = null; } return baseResponseBuilder_; } private java.lang.Object announcement_ = ""; /** *
     * 群公告
     * 
* * optional string announcement = 2; * @return Whether the announcement field is set. */ public boolean hasAnnouncement() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * 群公告
     * 
* * optional string announcement = 2; * @return The announcement. */ public java.lang.String getAnnouncement() { java.lang.Object ref = announcement_; 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()) { announcement_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * 群公告
     * 
* * optional string announcement = 2; * @return The bytes for announcement. */ public com.google.protobuf.ByteString getAnnouncementBytes() { java.lang.Object ref = announcement_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); announcement_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 群公告
     * 
* * optional string announcement = 2; * @param value The announcement to set. * @return This builder for chaining. */ public Builder setAnnouncement( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; announcement_ = value; onChanged(); return this; } /** *
     * 群公告
     * 
* * optional string announcement = 2; * @return This builder for chaining. */ public Builder clearAnnouncement() { bitField0_ = (bitField0_ & ~0x00000002); announcement_ = getDefaultInstance().getAnnouncement(); onChanged(); return this; } /** *
     * 群公告
     * 
* * optional string announcement = 2; * @param value The bytes for announcement to set. * @return This builder for chaining. */ public Builder setAnnouncementBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; announcement_ = value; onChanged(); return this; } private int chatRoomInfoVersion_ ; /** *
     * 群版本号
     * 
* * optional uint32 chatRoomInfoVersion = 3; * @return Whether the chatRoomInfoVersion field is set. */ @java.lang.Override public boolean hasChatRoomInfoVersion() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * 群版本号
     * 
* * optional uint32 chatRoomInfoVersion = 3; * @return The chatRoomInfoVersion. */ @java.lang.Override public int getChatRoomInfoVersion() { return chatRoomInfoVersion_; } /** *
     * 群版本号
     * 
* * optional uint32 chatRoomInfoVersion = 3; * @param value The chatRoomInfoVersion to set. * @return This builder for chaining. */ public Builder setChatRoomInfoVersion(int value) { bitField0_ |= 0x00000004; chatRoomInfoVersion_ = value; onChanged(); return this; } /** *
     * 群版本号
     * 
* * optional uint32 chatRoomInfoVersion = 3; * @return This builder for chaining. */ public Builder clearChatRoomInfoVersion() { bitField0_ = (bitField0_ & ~0x00000004); chatRoomInfoVersion_ = 0; onChanged(); return this; } private java.lang.Object announcementEditor_ = ""; /** *
     * 修改群公告的人微信ID
     * 
* * optional string announcementEditor = 4; * @return Whether the announcementEditor field is set. */ public boolean hasAnnouncementEditor() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * 修改群公告的人微信ID
     * 
* * optional string announcementEditor = 4; * @return The announcementEditor. */ public java.lang.String getAnnouncementEditor() { java.lang.Object ref = announcementEditor_; 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()) { announcementEditor_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * 修改群公告的人微信ID
     * 
* * optional string announcementEditor = 4; * @return The bytes for announcementEditor. */ public com.google.protobuf.ByteString getAnnouncementEditorBytes() { java.lang.Object ref = announcementEditor_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); announcementEditor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 修改群公告的人微信ID
     * 
* * optional string announcementEditor = 4; * @param value The announcementEditor to set. * @return This builder for chaining. */ public Builder setAnnouncementEditor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; announcementEditor_ = value; onChanged(); return this; } /** *
     * 修改群公告的人微信ID
     * 
* * optional string announcementEditor = 4; * @return This builder for chaining. */ public Builder clearAnnouncementEditor() { bitField0_ = (bitField0_ & ~0x00000008); announcementEditor_ = getDefaultInstance().getAnnouncementEditor(); onChanged(); return this; } /** *
     * 修改群公告的人微信ID
     * 
* * optional string announcementEditor = 4; * @param value The bytes for announcementEditor to set. * @return This builder for chaining. */ public Builder setAnnouncementEditorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; announcementEditor_ = value; onChanged(); return this; } private int announcementPublishTime_ ; /** *
     * 群公告发布时间
     * 
* * optional uint32 announcementPublishTime = 5; * @return Whether the announcementPublishTime field is set. */ @java.lang.Override public boolean hasAnnouncementPublishTime() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * 群公告发布时间
     * 
* * optional uint32 announcementPublishTime = 5; * @return The announcementPublishTime. */ @java.lang.Override public int getAnnouncementPublishTime() { return announcementPublishTime_; } /** *
     * 群公告发布时间
     * 
* * optional uint32 announcementPublishTime = 5; * @param value The announcementPublishTime to set. * @return This builder for chaining. */ public Builder setAnnouncementPublishTime(int value) { bitField0_ |= 0x00000010; announcementPublishTime_ = value; onChanged(); return this; } /** *
     * 群公告发布时间
     * 
* * optional uint32 announcementPublishTime = 5; * @return This builder for chaining. */ public Builder clearAnnouncementPublishTime() { bitField0_ = (bitField0_ & ~0x00000010); announcementPublishTime_ = 0; onChanged(); return this; } private int chatRoomStatus_ ; /** * optional uint32 chatRoomStatus = 6; * @return Whether the chatRoomStatus field is set. */ @java.lang.Override public boolean hasChatRoomStatus() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 chatRoomStatus = 6; * @return The chatRoomStatus. */ @java.lang.Override public int getChatRoomStatus() { return chatRoomStatus_; } /** * optional uint32 chatRoomStatus = 6; * @param value The chatRoomStatus to set. * @return This builder for chaining. */ public Builder setChatRoomStatus(int value) { bitField0_ |= 0x00000020; chatRoomStatus_ = value; onChanged(); return this; } /** * optional uint32 chatRoomStatus = 6; * @return This builder for chaining. */ public Builder clearChatRoomStatus() { bitField0_ = (bitField0_ & ~0x00000020); chatRoomStatus_ = 0; 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.GetChatRoomInfoDetailResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.GetChatRoomInfoDetailResponse) private static final wechat.protobuf.GetChatRoomInfoDetailResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.GetChatRoomInfoDetailResponse(); } public static wechat.protobuf.GetChatRoomInfoDetailResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetChatRoomInfoDetailResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetChatRoomInfoDetailResponse(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.GetChatRoomInfoDetailResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy