public com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver build() { com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
private com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result).asInvalidProtocolBufferException(); } return result; }
public com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver buildPartial() { com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver result = new com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { userId_ = new com.google.protobuf.UnmodifiableLazyStringList(userId_); bitField0_ = (bitField0_ & ~0x00000001); } result.userId_ = userId_; if (((bitField0_ & 0x00000002) == 0x00000002)) { dead_ = java.util.Collections.unmodifiableList(dead_); bitField0_ = (bitField0_ & ~0x00000002); } result.dead_ = dead_; if (((bitField0_ & 0x00000004) == 0x00000004)) { attackCounts_ = java.util.Collections.unmodifiableList(attackCounts_); bitField0_ = (bitField0_ & ~0x00000004); } result.attackCounts_ = attackCounts_; if (((bitField0_ & 0x00000008) == 0x00000008)) { hitCounts_ = java.util.Collections.unmodifiableList(hitCounts_); bitField0_ = (bitField0_ & ~0x00000008); } result.hitCounts_ = hitCounts_; if (((bitField0_ & 0x00000010) == 0x00000010)) { damage_ = java.util.Collections.unmodifiableList(damage_); bitField0_ = (bitField0_ & ~0x00000010); } result.damage_ = damage_; if (((bitField0_ & 0x00000020) == 0x00000020)) { killCounts_ = java.util.Collections.unmodifiableList(killCounts_); bitField0_ = (bitField0_ & ~0x00000020); } result.killCounts_ = killCounts_; if (((bitField0_ & 0x00000040) == 0x00000040)) { userTools_ = java.util.Collections.unmodifiableList(userTools_); bitField0_ = (bitField0_ & ~0x00000040); } result.userTools_ = userTools_; if (((bitField0_ & 0x00000080) == 0x00000080)) { useSkill_ = java.util.Collections.unmodifiableList(useSkill_); bitField0_ = (bitField0_ & ~0x00000080); } result.useSkill_ = useSkill_; onBuilt(); return result; }
public Builder mergeFrom( com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver other) { if (other == com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver.getDefaultInstance()) return this; if (!other.userId_.isEmpty()) { if (userId_.isEmpty()) { userId_ = other.userId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUserIdIsMutable(); userId_.addAll(other.userId_); } onChanged(); } if (!other.dead_.isEmpty()) { if (dead_.isEmpty()) { dead_ = other.dead_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDeadIsMutable(); dead_.addAll(other.dead_); } onChanged(); } if (!other.attackCounts_.isEmpty()) { if (attackCounts_.isEmpty()) { attackCounts_ = other.attackCounts_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureAttackCountsIsMutable(); attackCounts_.addAll(other.attackCounts_); } onChanged(); } if (!other.hitCounts_.isEmpty()) { if (hitCounts_.isEmpty()) { hitCounts_ = other.hitCounts_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureHitCountsIsMutable(); hitCounts_.addAll(other.hitCounts_); } onChanged(); } if (!other.damage_.isEmpty()) { if (damage_.isEmpty()) { damage_ = other.damage_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureDamageIsMutable(); damage_.addAll(other.damage_); } onChanged(); } if (!other.killCounts_.isEmpty()) { if (killCounts_.isEmpty()) { killCounts_ = other.killCounts_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureKillCountsIsMutable(); killCounts_.addAll(other.killCounts_); } onChanged(); } if (!other.userTools_.isEmpty()) { if (userTools_.isEmpty()) { userTools_ = other.userTools_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureUserToolsIsMutable(); userTools_.addAll(other.userTools_); } onChanged(); } if (!other.useSkill_.isEmpty()) { if (useSkill_.isEmpty()) { useSkill_ = other.useSkill_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureUseSkillIsMutable(); useSkill_.addAll(other.useSkill_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver getDefaultInstanceForType() { return com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver.getDefaultInstance(); }
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.xinqihd.sns.gameserver.proto.XinqiBceRobotOver.BceRobotOver.getDescriptor(); }