Esempio n. 1
0
 public com.xingqiba.MessageProtoHandler.ChatMessage build() {
   com.xingqiba.MessageProtoHandler.ChatMessage result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
Esempio n. 2
0
 private com.xingqiba.MessageProtoHandler.ChatMessage buildParsed()
     throws com.google.protobuf.InvalidProtocolBufferException {
   com.xingqiba.MessageProtoHandler.ChatMessage result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result).asInvalidProtocolBufferException();
   }
   return result;
 }
Esempio n. 3
0
 public com.xingqiba.MessageProtoHandler.ChatMessage buildPartial() {
   com.xingqiba.MessageProtoHandler.ChatMessage result =
       new com.xingqiba.MessageProtoHandler.ChatMessage(this);
   int from_bitField0_ = bitField0_;
   int to_bitField0_ = 0;
   if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
     to_bitField0_ |= 0x00000001;
   }
   result.chatChannel_ = chatChannel_;
   if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
     to_bitField0_ |= 0x00000002;
   }
   result.fromId_ = fromId_;
   if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
     to_bitField0_ |= 0x00000004;
   }
   result.toId_ = toId_;
   if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
     to_bitField0_ |= 0x00000008;
   }
   result.name_ = name_;
   if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
     to_bitField0_ |= 0x00000010;
   }
   result.groupId_ = groupId_;
   if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
     to_bitField0_ |= 0x00000020;
   }
   result.message_ = message_;
   result.bitField0_ = to_bitField0_;
   onBuilt();
   return result;
 }
Esempio n. 4
0
 public Builder mergeFrom(com.xingqiba.MessageProtoHandler.ChatMessage other) {
   if (other == com.xingqiba.MessageProtoHandler.ChatMessage.getDefaultInstance()) return this;
   if (other.hasChatChannel()) {
     setChatChannel(other.getChatChannel());
   }
   if (other.hasFromId()) {
     setFromId(other.getFromId());
   }
   if (other.hasToId()) {
     setToId(other.getToId());
   }
   if (other.hasName()) {
     setName(other.getName());
   }
   if (other.hasGroupId()) {
     setGroupId(other.getGroupId());
   }
   if (other.hasMessage()) {
     setMessage(other.getMessage());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
Esempio n. 5
0
 public com.xingqiba.MessageProtoHandler.ChatMessage getDefaultInstanceForType() {
   return com.xingqiba.MessageProtoHandler.ChatMessage.getDefaultInstance();
 }
Esempio n. 6
0
 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
   return com.xingqiba.MessageProtoHandler.ChatMessage.getDescriptor();
 }