public Builder mergeFrom( com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements other) { if (other == com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements .getDefaultInstance()) return this; if (!other.taskIds_.isEmpty()) { if (taskIds_.isEmpty()) { taskIds_ = other.taskIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTaskIdsIsMutable(); taskIds_.addAll(other.taskIds_); } onChanged(); } if (!other.step_.isEmpty()) { if (step_.isEmpty()) { step_ = other.step_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStepIsMutable(); step_.addAll(other.step_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements build() { com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
private com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result).asInvalidProtocolBufferException(); } return result; }
public com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements buildPartial() { com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements result = new com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { taskIds_ = new com.google.protobuf.UnmodifiableLazyStringList(taskIds_); bitField0_ = (bitField0_ & ~0x00000001); } result.taskIds_ = taskIds_; if (((bitField0_ & 0x00000002) == 0x00000002)) { step_ = java.util.Collections.unmodifiableList(step_); bitField0_ = (bitField0_ & ~0x00000002); } result.step_ = step_; onBuilt(); return result; }
public com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements getDefaultInstanceForType() { return com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements .getDefaultInstance(); }
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.xinqihd.sns.gameserver.proto.XinqiBseUserAchievements.BseUserAchievements .getDescriptor(); }