public com.hifun.soul.proto.common.Skills.CarriedSkill build() { com.hifun.soul.proto.common.Skills.CarriedSkill result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
private com.hifun.soul.proto.common.Skills.CarriedSkill buildParsed() throws com.google.protobuf.InvalidProtocolBufferException { com.hifun.soul.proto.common.Skills.CarriedSkill result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result).asInvalidProtocolBufferException(); } return result; }
public com.hifun.soul.proto.common.Skills.CarriedSkill buildPartial() { com.hifun.soul.proto.common.Skills.CarriedSkill result = new com.hifun.soul.proto.common.Skills.CarriedSkill(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.skillId_ = skillId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.slotIndex_ = slotIndex_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.skillState_ = skillState_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder mergeFrom(com.hifun.soul.proto.common.Skills.CarriedSkill other) { if (other == com.hifun.soul.proto.common.Skills.CarriedSkill.getDefaultInstance()) return this; if (other.hasSkillId()) { setSkillId(other.getSkillId()); } if (other.hasSlotIndex()) { setSlotIndex(other.getSlotIndex()); } if (other.hasSkillState()) { setSkillState(other.getSkillState()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public com.hifun.soul.proto.common.Skills.CarriedSkill getDefaultInstanceForType() { return com.hifun.soul.proto.common.Skills.CarriedSkill.getDefaultInstance(); }
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hifun.soul.proto.common.Skills.CarriedSkill.getDescriptor(); }