.BattlePassInfoNotify.BpTierType bp_tier_type = 15;
+ * @return The enum numeric value on the wire for bpTierType.
+ */
+ int getBpTierTypeValue();
+ /**
+ * .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
+ * @return The bpTierType.
+ */
+ emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType getBpTierType();
+
+ /**
+ * uint64 taken_free_reward = 9;
+ * @return The takenFreeReward.
+ */
+ long getTakenFreeReward();
+
+ /**
+ * uint64 taken_premium_reward1 = 4;
+ * @return The takenPremiumReward1.
+ */
+ long getTakenPremiumReward1();
+
+ /**
+ * uint64 taken_premium_reward2 = 1;
+ * @return The takenPremiumReward2.
+ */
+ long getTakenPremiumReward2();
+
+ /**
+ * uint64 taken_premium_extended_reward = 7;
+ * @return The takenPremiumExtendedReward.
+ */
+ long getTakenPremiumExtendedReward();
+
+ /**
+ * uint64 unkfield = 2;
+ * @return The unkfield.
+ */
+ long getUnkfield();
+
+ /**
+ * uint64 taken_premium_optional_reward = 8;
+ * @return The takenPremiumOptionalReward.
+ */
+ long getTakenPremiumOptionalReward();
+
+ /**
+ * uint64 taken_free_extended_reward = 12;
+ * @return The takenFreeExtendedReward.
+ */
+ long getTakenFreeExtendedReward();
+
+ /**
+ * uint32 cur_week_add_exp_sum = 3;
+ * @return The curWeekAddExpSum.
+ */
+ int getCurWeekAddExpSum();
+
+ /**
+ * uint32 cur_bp_id = 5;
+ * @return The curBpId.
+ */
+ int getCurBpId();
+
+ /**
+ * uint32 exp = 6;
+ * @return The exp.
+ */
+ int getExp();
+
+ /**
+ * uint32 level = 10;
+ * @return The level.
+ */
+ int getLevel();
+ }
/**
* Protobuf type {@code BattlePassInfoNotify}
*/
- public static final class BattlePassInfoNotify extends ProtoMessageoptional uint64 taken_premium_reward2 = 1;
- */
- private long takenPremiumReward2;
-
- /**
- * - * LOIGEPGJHEK - *- * - *
optional uint64 unkfield = 2;
- */
- private long unkfield;
-
- /**
- * optional uint64 taken_premium_reward1 = 4;
- */
- private long takenPremiumReward1;
-
- /**
- * optional uint64 taken_premium_extended_reward = 7;
- */
- private long takenPremiumExtendedReward;
-
- /**
- * - * KFCJBDNBEEK - *- * - *
optional uint64 taken_premium_optional_reward = 8;
- */
- private long takenPremiumOptionalReward;
-
- /**
- * optional uint64 taken_free_reward = 9;
- */
- private long takenFreeReward;
-
- /**
- * - * PODMLBJMKEJ - *- * - *
optional uint64 taken_free_extended_reward = 12;
- */
- private long takenFreeExtendedReward;
-
- /**
- * - * NAMKBIBEMBN - *- * - *
optional uint64 idk = 14;
- */
- private long idk;
-
- /**
- * optional uint32 cur_week_add_exp_sum = 3;
- */
- private int curWeekAddExpSum;
-
- /**
- * optional uint32 cur_bp_id = 5;
- */
- private int curBpId;
-
- /**
- * optional uint32 exp = 6;
- */
- private int exp;
-
- /**
- * optional uint32 level = 10;
- */
- private int level;
-
- /**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
- */
- private int bpTierType;
-
+ public static final class BattlePassInfoNotify extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:BattlePassInfoNotify)
+ BattlePassInfoNotifyOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ BattlePassInfoNotify.class.getName());
+ }
+ // Use BattlePassInfoNotify.newBuilder() to construct.
+ private BattlePassInfoNotify(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private BattlePassInfoNotify() {
+ bpTierType_ = 0;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.internal_static_BattlePassInfoNotify_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.internal_static_BattlePassInfoNotify_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.class, emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.Builder.class);
}
/**
- * @return a new empty instance of {@code BattlePassInfoNotify}
+ * Protobuf enum {@code BattlePassInfoNotify.BpTierType}
*/
- public static BattlePassInfoNotify newInstance() {
- return new BattlePassInfoNotify();
- }
-
- /**
- * optional uint64 taken_premium_reward2 = 1;
- * @return whether the takenPremiumReward2 field is set
- */
- public boolean hasTakenPremiumReward2() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint64 taken_premium_reward2 = 1;
- * @return this
- */
- public BattlePassInfoNotify clearTakenPremiumReward2() {
- bitField0_ &= ~0x00000001;
- takenPremiumReward2 = 0L;
- return this;
- }
-
- /**
- * optional uint64 taken_premium_reward2 = 1;
- * @return the takenPremiumReward2
- */
- public long getTakenPremiumReward2() {
- return takenPremiumReward2;
- }
-
- /**
- * optional uint64 taken_premium_reward2 = 1;
- * @param value the takenPremiumReward2 to set
- * @return this
- */
- public BattlePassInfoNotify setTakenPremiumReward2(final long value) {
- bitField0_ |= 0x00000001;
- takenPremiumReward2 = value;
- return this;
- }
-
- /**
- * - * LOIGEPGJHEK - *- * - *
optional uint64 unkfield = 2;
- * @return whether the unkfield field is set
- */
- public boolean hasUnkfield() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * - * LOIGEPGJHEK - *- * - *
optional uint64 unkfield = 2;
- * @return this
- */
- public BattlePassInfoNotify clearUnkfield() {
- bitField0_ &= ~0x00000002;
- unkfield = 0L;
- return this;
- }
-
- /**
- * - * LOIGEPGJHEK - *- * - *
optional uint64 unkfield = 2;
- * @return the unkfield
- */
- public long getUnkfield() {
- return unkfield;
- }
-
- /**
- * - * LOIGEPGJHEK - *- * - *
optional uint64 unkfield = 2;
- * @param value the unkfield to set
- * @return this
- */
- public BattlePassInfoNotify setUnkfield(final long value) {
- bitField0_ |= 0x00000002;
- unkfield = value;
- return this;
- }
-
- /**
- * optional uint64 taken_premium_reward1 = 4;
- * @return whether the takenPremiumReward1 field is set
- */
- public boolean hasTakenPremiumReward1() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint64 taken_premium_reward1 = 4;
- * @return this
- */
- public BattlePassInfoNotify clearTakenPremiumReward1() {
- bitField0_ &= ~0x00000004;
- takenPremiumReward1 = 0L;
- return this;
- }
-
- /**
- * optional uint64 taken_premium_reward1 = 4;
- * @return the takenPremiumReward1
- */
- public long getTakenPremiumReward1() {
- return takenPremiumReward1;
- }
-
- /**
- * optional uint64 taken_premium_reward1 = 4;
- * @param value the takenPremiumReward1 to set
- * @return this
- */
- public BattlePassInfoNotify setTakenPremiumReward1(final long value) {
- bitField0_ |= 0x00000004;
- takenPremiumReward1 = value;
- return this;
- }
-
- /**
- * optional uint64 taken_premium_extended_reward = 7;
- * @return whether the takenPremiumExtendedReward field is set
- */
- public boolean hasTakenPremiumExtendedReward() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional uint64 taken_premium_extended_reward = 7;
- * @return this
- */
- public BattlePassInfoNotify clearTakenPremiumExtendedReward() {
- bitField0_ &= ~0x00000008;
- takenPremiumExtendedReward = 0L;
- return this;
- }
-
- /**
- * optional uint64 taken_premium_extended_reward = 7;
- * @return the takenPremiumExtendedReward
- */
- public long getTakenPremiumExtendedReward() {
- return takenPremiumExtendedReward;
- }
-
- /**
- * optional uint64 taken_premium_extended_reward = 7;
- * @param value the takenPremiumExtendedReward to set
- * @return this
- */
- public BattlePassInfoNotify setTakenPremiumExtendedReward(final long value) {
- bitField0_ |= 0x00000008;
- takenPremiumExtendedReward = value;
- return this;
- }
-
- /**
- * - * KFCJBDNBEEK - *- * - *
optional uint64 taken_premium_optional_reward = 8;
- * @return whether the takenPremiumOptionalReward field is set
- */
- public boolean hasTakenPremiumOptionalReward() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * - * KFCJBDNBEEK - *- * - *
optional uint64 taken_premium_optional_reward = 8;
- * @return this
- */
- public BattlePassInfoNotify clearTakenPremiumOptionalReward() {
- bitField0_ &= ~0x00000010;
- takenPremiumOptionalReward = 0L;
- return this;
- }
-
- /**
- * - * KFCJBDNBEEK - *- * - *
optional uint64 taken_premium_optional_reward = 8;
- * @return the takenPremiumOptionalReward
- */
- public long getTakenPremiumOptionalReward() {
- return takenPremiumOptionalReward;
- }
-
- /**
- * - * KFCJBDNBEEK - *- * - *
optional uint64 taken_premium_optional_reward = 8;
- * @param value the takenPremiumOptionalReward to set
- * @return this
- */
- public BattlePassInfoNotify setTakenPremiumOptionalReward(final long value) {
- bitField0_ |= 0x00000010;
- takenPremiumOptionalReward = value;
- return this;
- }
-
- /**
- * optional uint64 taken_free_reward = 9;
- * @return whether the takenFreeReward field is set
- */
- public boolean hasTakenFreeReward() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * optional uint64 taken_free_reward = 9;
- * @return this
- */
- public BattlePassInfoNotify clearTakenFreeReward() {
- bitField0_ &= ~0x00000020;
- takenFreeReward = 0L;
- return this;
- }
-
- /**
- * optional uint64 taken_free_reward = 9;
- * @return the takenFreeReward
- */
- public long getTakenFreeReward() {
- return takenFreeReward;
- }
-
- /**
- * optional uint64 taken_free_reward = 9;
- * @param value the takenFreeReward to set
- * @return this
- */
- public BattlePassInfoNotify setTakenFreeReward(final long value) {
- bitField0_ |= 0x00000020;
- takenFreeReward = value;
- return this;
- }
-
- /**
- * - * PODMLBJMKEJ - *- * - *
optional uint64 taken_free_extended_reward = 12;
- * @return whether the takenFreeExtendedReward field is set
- */
- public boolean hasTakenFreeExtendedReward() {
- return (bitField0_ & 0x00000040) != 0;
- }
-
- /**
- * - * PODMLBJMKEJ - *- * - *
optional uint64 taken_free_extended_reward = 12;
- * @return this
- */
- public BattlePassInfoNotify clearTakenFreeExtendedReward() {
- bitField0_ &= ~0x00000040;
- takenFreeExtendedReward = 0L;
- return this;
- }
-
- /**
- * - * PODMLBJMKEJ - *- * - *
optional uint64 taken_free_extended_reward = 12;
- * @return the takenFreeExtendedReward
- */
- public long getTakenFreeExtendedReward() {
- return takenFreeExtendedReward;
- }
-
- /**
- * - * PODMLBJMKEJ - *- * - *
optional uint64 taken_free_extended_reward = 12;
- * @param value the takenFreeExtendedReward to set
- * @return this
- */
- public BattlePassInfoNotify setTakenFreeExtendedReward(final long value) {
- bitField0_ |= 0x00000040;
- takenFreeExtendedReward = value;
- return this;
- }
-
- /**
- * - * NAMKBIBEMBN - *- * - *
optional uint64 idk = 14;
- * @return whether the idk field is set
- */
- public boolean hasIdk() {
- return (bitField0_ & 0x00000080) != 0;
- }
-
- /**
- * - * NAMKBIBEMBN - *- * - *
optional uint64 idk = 14;
- * @return this
- */
- public BattlePassInfoNotify clearIdk() {
- bitField0_ &= ~0x00000080;
- idk = 0L;
- return this;
- }
-
- /**
- * - * NAMKBIBEMBN - *- * - *
optional uint64 idk = 14;
- * @return the idk
- */
- public long getIdk() {
- return idk;
- }
-
- /**
- * - * NAMKBIBEMBN - *- * - *
optional uint64 idk = 14;
- * @param value the idk to set
- * @return this
- */
- public BattlePassInfoNotify setIdk(final long value) {
- bitField0_ |= 0x00000080;
- idk = value;
- return this;
- }
-
- /**
- * optional uint32 cur_week_add_exp_sum = 3;
- * @return whether the curWeekAddExpSum field is set
- */
- public boolean hasCurWeekAddExpSum() {
- return (bitField0_ & 0x00000100) != 0;
- }
-
- /**
- * optional uint32 cur_week_add_exp_sum = 3;
- * @return this
- */
- public BattlePassInfoNotify clearCurWeekAddExpSum() {
- bitField0_ &= ~0x00000100;
- curWeekAddExpSum = 0;
- return this;
- }
-
- /**
- * optional uint32 cur_week_add_exp_sum = 3;
- * @return the curWeekAddExpSum
- */
- public int getCurWeekAddExpSum() {
- return curWeekAddExpSum;
- }
-
- /**
- * optional uint32 cur_week_add_exp_sum = 3;
- * @param value the curWeekAddExpSum to set
- * @return this
- */
- public BattlePassInfoNotify setCurWeekAddExpSum(final int value) {
- bitField0_ |= 0x00000100;
- curWeekAddExpSum = value;
- return this;
- }
-
- /**
- * optional uint32 cur_bp_id = 5;
- * @return whether the curBpId field is set
- */
- public boolean hasCurBpId() {
- return (bitField0_ & 0x00000200) != 0;
- }
-
- /**
- * optional uint32 cur_bp_id = 5;
- * @return this
- */
- public BattlePassInfoNotify clearCurBpId() {
- bitField0_ &= ~0x00000200;
- curBpId = 0;
- return this;
- }
-
- /**
- * optional uint32 cur_bp_id = 5;
- * @return the curBpId
- */
- public int getCurBpId() {
- return curBpId;
- }
-
- /**
- * optional uint32 cur_bp_id = 5;
- * @param value the curBpId to set
- * @return this
- */
- public BattlePassInfoNotify setCurBpId(final int value) {
- bitField0_ |= 0x00000200;
- curBpId = value;
- return this;
- }
-
- /**
- * optional uint32 exp = 6;
- * @return whether the exp field is set
- */
- public boolean hasExp() {
- return (bitField0_ & 0x00000400) != 0;
- }
-
- /**
- * optional uint32 exp = 6;
- * @return this
- */
- public BattlePassInfoNotify clearExp() {
- bitField0_ &= ~0x00000400;
- exp = 0;
- return this;
- }
-
- /**
- * optional uint32 exp = 6;
- * @return the exp
- */
- public int getExp() {
- return exp;
- }
-
- /**
- * optional uint32 exp = 6;
- * @param value the exp to set
- * @return this
- */
- public BattlePassInfoNotify setExp(final int value) {
- bitField0_ |= 0x00000400;
- exp = value;
- return this;
- }
-
- /**
- * optional uint32 level = 10;
- * @return whether the level field is set
- */
- public boolean hasLevel() {
- return (bitField0_ & 0x00000800) != 0;
- }
-
- /**
- * optional uint32 level = 10;
- * @return this
- */
- public BattlePassInfoNotify clearLevel() {
- bitField0_ &= ~0x00000800;
- level = 0;
- return this;
- }
-
- /**
- * optional uint32 level = 10;
- * @return the level
- */
- public int getLevel() {
- return level;
- }
-
- /**
- * optional uint32 level = 10;
- * @param value the level to set
- * @return this
- */
- public BattlePassInfoNotify setLevel(final int value) {
- bitField0_ |= 0x00000800;
- level = value;
- return this;
- }
-
- /**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
- * @return whether the bpTierType field is set
- */
- public boolean hasBpTierType() {
- return (bitField0_ & 0x00001000) != 0;
- }
-
- /**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
- * @return this
- */
- public BattlePassInfoNotify clearBpTierType() {
- bitField0_ &= ~0x00001000;
- bpTierType = 0;
- return this;
- }
-
- /**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
- * @return the bpTierType
- */
- public BpTierType getBpTierType() {
- return BpTierType.forNumber(bpTierType);
- }
-
- /**
- * Gets the value of the internal enum store. The result is
- * equivalent to {@link BattlePassInfoNotify#getBpTierType()}.getNumber().
- *
- * @return numeric wire representation
- */
- public int getBpTierTypeValue() {
- return bpTierType;
- }
-
- /**
- * Sets the value of the internal enum store. This does not
- * do any validity checks, so be sure to use appropriate value
- * constants from {@link BpTierType}. Setting an invalid value
- * can cause {@link BattlePassInfoNotify#getBpTierType()} to return null
- *
- * @param value the numeric wire value to set
- * @return this
- */
- public BattlePassInfoNotify setBpTierTypeValue(final int value) {
- bitField0_ |= 0x00001000;
- bpTierType = value;
- return this;
- }
-
- /**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
- * @param value the bpTierType to set
- * @return this
- */
- public BattlePassInfoNotify setBpTierType(final BpTierType value) {
- bitField0_ |= 0x00001000;
- bpTierType = value.getNumber();
- return this;
- }
-
- @Override
- public BattlePassInfoNotify copyFrom(final BattlePassInfoNotify other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- takenPremiumReward2 = other.takenPremiumReward2;
- unkfield = other.unkfield;
- takenPremiumReward1 = other.takenPremiumReward1;
- takenPremiumExtendedReward = other.takenPremiumExtendedReward;
- takenPremiumOptionalReward = other.takenPremiumOptionalReward;
- takenFreeReward = other.takenFreeReward;
- takenFreeExtendedReward = other.takenFreeExtendedReward;
- idk = other.idk;
- curWeekAddExpSum = other.curWeekAddExpSum;
- curBpId = other.curBpId;
- exp = other.exp;
- level = other.level;
- bpTierType = other.bpTierType;
- }
- return this;
- }
-
- @Override
- public BattlePassInfoNotify mergeFrom(final BattlePassInfoNotify other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasTakenPremiumReward2()) {
- setTakenPremiumReward2(other.takenPremiumReward2);
- }
- if (other.hasUnkfield()) {
- setUnkfield(other.unkfield);
- }
- if (other.hasTakenPremiumReward1()) {
- setTakenPremiumReward1(other.takenPremiumReward1);
- }
- if (other.hasTakenPremiumExtendedReward()) {
- setTakenPremiumExtendedReward(other.takenPremiumExtendedReward);
- }
- if (other.hasTakenPremiumOptionalReward()) {
- setTakenPremiumOptionalReward(other.takenPremiumOptionalReward);
- }
- if (other.hasTakenFreeReward()) {
- setTakenFreeReward(other.takenFreeReward);
- }
- if (other.hasTakenFreeExtendedReward()) {
- setTakenFreeExtendedReward(other.takenFreeExtendedReward);
- }
- if (other.hasIdk()) {
- setIdk(other.idk);
- }
- if (other.hasCurWeekAddExpSum()) {
- setCurWeekAddExpSum(other.curWeekAddExpSum);
- }
- if (other.hasCurBpId()) {
- setCurBpId(other.curBpId);
- }
- if (other.hasExp()) {
- setExp(other.exp);
- }
- if (other.hasLevel()) {
- setLevel(other.level);
- }
- if (other.hasBpTierType()) {
- setBpTierTypeValue(other.bpTierType);
- }
- return this;
- }
-
- @Override
- public BattlePassInfoNotify clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- takenPremiumReward2 = 0L;
- unkfield = 0L;
- takenPremiumReward1 = 0L;
- takenPremiumExtendedReward = 0L;
- takenPremiumOptionalReward = 0L;
- takenFreeReward = 0L;
- takenFreeExtendedReward = 0L;
- idk = 0L;
- curWeekAddExpSum = 0;
- curBpId = 0;
- exp = 0;
- level = 0;
- bpTierType = 0;
- return this;
- }
-
- @Override
- public BattlePassInfoNotify clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof BattlePassInfoNotify)) {
- return false;
- }
- BattlePassInfoNotify other = (BattlePassInfoNotify) o;
- return bitField0_ == other.bitField0_
- && (!hasTakenPremiumReward2() || takenPremiumReward2 == other.takenPremiumReward2)
- && (!hasUnkfield() || unkfield == other.unkfield)
- && (!hasTakenPremiumReward1() || takenPremiumReward1 == other.takenPremiumReward1)
- && (!hasTakenPremiumExtendedReward() || takenPremiumExtendedReward == other.takenPremiumExtendedReward)
- && (!hasTakenPremiumOptionalReward() || takenPremiumOptionalReward == other.takenPremiumOptionalReward)
- && (!hasTakenFreeReward() || takenFreeReward == other.takenFreeReward)
- && (!hasTakenFreeExtendedReward() || takenFreeExtendedReward == other.takenFreeExtendedReward)
- && (!hasIdk() || idk == other.idk)
- && (!hasCurWeekAddExpSum() || curWeekAddExpSum == other.curWeekAddExpSum)
- && (!hasCurBpId() || curBpId == other.curBpId)
- && (!hasExp() || exp == other.exp)
- && (!hasLevel() || level == other.level)
- && (!hasBpTierType() || bpTierType == other.bpTierType);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt64NoTag(takenPremiumReward2);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt64NoTag(unkfield);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 32);
- output.writeUInt64NoTag(takenPremiumReward1);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 56);
- output.writeUInt64NoTag(takenPremiumExtendedReward);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt64NoTag(takenPremiumOptionalReward);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 72);
- output.writeUInt64NoTag(takenFreeReward);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeRawByte((byte) 96);
- output.writeUInt64NoTag(takenFreeExtendedReward);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeRawByte((byte) 112);
- output.writeUInt64NoTag(idk);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(curWeekAddExpSum);
- }
- if ((bitField0_ & 0x00000200) != 0) {
- output.writeRawByte((byte) 40);
- output.writeUInt32NoTag(curBpId);
- }
- if ((bitField0_ & 0x00000400) != 0) {
- output.writeRawByte((byte) 48);
- output.writeUInt32NoTag(exp);
- }
- if ((bitField0_ & 0x00000800) != 0) {
- output.writeRawByte((byte) 80);
- output.writeUInt32NoTag(level);
- }
- if ((bitField0_ & 0x00001000) != 0) {
- output.writeRawByte((byte) 120);
- output.writeEnumNoTag(bpTierType);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumReward2);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(unkfield);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumReward1);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumExtendedReward);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumOptionalReward);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenFreeReward);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenFreeExtendedReward);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(idk);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(curWeekAddExpSum);
- }
- if ((bitField0_ & 0x00000200) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(curBpId);
- }
- if ((bitField0_ & 0x00000400) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(exp);
- }
- if ((bitField0_ & 0x00000800) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
- }
- if ((bitField0_ & 0x00001000) != 0) {
- size += 1 + ProtoSink.computeEnumSizeNoTag(bpTierType);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public BattlePassInfoNotify mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 8: {
- // takenPremiumReward2
- takenPremiumReward2 = input.readUInt64();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 16) {
- break;
- }
- }
- case 16: {
- // unkfield
- unkfield = input.readUInt64();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 32) {
- break;
- }
- }
- case 32: {
- // takenPremiumReward1
- takenPremiumReward1 = input.readUInt64();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 56) {
- break;
- }
- }
- case 56: {
- // takenPremiumExtendedReward
- takenPremiumExtendedReward = input.readUInt64();
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 64) {
- break;
- }
- }
- case 64: {
- // takenPremiumOptionalReward
- takenPremiumOptionalReward = input.readUInt64();
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 72) {
- break;
- }
- }
- case 72: {
- // takenFreeReward
- takenFreeReward = input.readUInt64();
- bitField0_ |= 0x00000020;
- tag = input.readTag();
- if (tag != 96) {
- break;
- }
- }
- case 96: {
- // takenFreeExtendedReward
- takenFreeExtendedReward = input.readUInt64();
- bitField0_ |= 0x00000040;
- tag = input.readTag();
- if (tag != 112) {
- break;
- }
- }
- case 112: {
- // idk
- idk = input.readUInt64();
- bitField0_ |= 0x00000080;
- tag = input.readTag();
- if (tag != 24) {
- break;
- }
- }
- case 24: {
- // curWeekAddExpSum
- curWeekAddExpSum = input.readUInt32();
- bitField0_ |= 0x00000100;
- tag = input.readTag();
- if (tag != 40) {
- break;
- }
- }
- case 40: {
- // curBpId
- curBpId = input.readUInt32();
- bitField0_ |= 0x00000200;
- tag = input.readTag();
- if (tag != 48) {
- break;
- }
- }
- case 48: {
- // exp
- exp = input.readUInt32();
- bitField0_ |= 0x00000400;
- tag = input.readTag();
- if (tag != 80) {
- break;
- }
- }
- case 80: {
- // level
- level = input.readUInt32();
- bitField0_ |= 0x00000800;
- tag = input.readTag();
- if (tag != 120) {
- break;
- }
- }
- case 120: {
- // bpTierType
- final int value = input.readInt32();
- if (BpTierType.forNumber(value) != null) {
- bpTierType = value;
- bitField0_ |= 0x00001000;
- }
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt64(FieldNames.takenPremiumReward2, takenPremiumReward2);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt64(FieldNames.unkfield, unkfield);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt64(FieldNames.takenPremiumReward1, takenPremiumReward1);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt64(FieldNames.takenPremiumExtendedReward, takenPremiumExtendedReward);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeUInt64(FieldNames.takenPremiumOptionalReward, takenPremiumOptionalReward);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeUInt64(FieldNames.takenFreeReward, takenFreeReward);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeUInt64(FieldNames.takenFreeExtendedReward, takenFreeExtendedReward);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeUInt64(FieldNames.idk, idk);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- output.writeUInt32(FieldNames.curWeekAddExpSum, curWeekAddExpSum);
- }
- if ((bitField0_ & 0x00000200) != 0) {
- output.writeUInt32(FieldNames.curBpId, curBpId);
- }
- if ((bitField0_ & 0x00000400) != 0) {
- output.writeUInt32(FieldNames.exp, exp);
- }
- if ((bitField0_ & 0x00000800) != 0) {
- output.writeUInt32(FieldNames.level, level);
- }
- if ((bitField0_ & 0x00001000) != 0) {
- output.writeEnum(FieldNames.bpTierType, bpTierType, BpTierType.converter());
- }
- output.endObject();
- }
-
- @Override
- public BattlePassInfoNotify mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 226926899:
- case 1195903363: {
- if (input.isAtField(FieldNames.takenPremiumReward2)) {
- if (!input.trySkipNullValue()) {
- takenPremiumReward2 = input.readUInt64();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -247717048: {
- if (input.isAtField(FieldNames.unkfield)) {
- if (!input.trySkipNullValue()) {
- unkfield = input.readUInt64();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 226926898:
- case 1195903362: {
- if (input.isAtField(FieldNames.takenPremiumReward1)) {
- if (!input.trySkipNullValue()) {
- takenPremiumReward1 = input.readUInt64();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1290021512:
- case -2138632299: {
- if (input.isAtField(FieldNames.takenPremiumExtendedReward)) {
- if (!input.trySkipNullValue()) {
- takenPremiumExtendedReward = input.readUInt64();
- bitField0_ |= 0x00000008;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 736311903:
- case 548161422: {
- if (input.isAtField(FieldNames.takenPremiumOptionalReward)) {
- if (!input.trySkipNullValue()) {
- takenPremiumOptionalReward = input.readUInt64();
- bitField0_ |= 0x00000010;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1065549026:
- case 135671018: {
- if (input.isAtField(FieldNames.takenFreeReward)) {
- if (!input.trySkipNullValue()) {
- takenFreeReward = input.readUInt64();
- bitField0_ |= 0x00000020;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1116117893:
- case 1257087386: {
- if (input.isAtField(FieldNames.takenFreeExtendedReward)) {
- if (!input.trySkipNullValue()) {
- takenFreeExtendedReward = input.readUInt64();
- bitField0_ |= 0x00000040;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 104112: {
- if (input.isAtField(FieldNames.idk)) {
- if (!input.trySkipNullValue()) {
- idk = input.readUInt64();
- bitField0_ |= 0x00000080;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 835771131:
- case 26830815: {
- if (input.isAtField(FieldNames.curWeekAddExpSum)) {
- if (!input.trySkipNullValue()) {
- curWeekAddExpSum = input.readUInt32();
- bitField0_ |= 0x00000100;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1125519465:
- case 110923757: {
- if (input.isAtField(FieldNames.curBpId)) {
- if (!input.trySkipNullValue()) {
- curBpId = input.readUInt32();
- bitField0_ |= 0x00000200;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 100893: {
- if (input.isAtField(FieldNames.exp)) {
- if (!input.trySkipNullValue()) {
- exp = input.readUInt32();
- bitField0_ |= 0x00000400;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 102865796: {
- if (input.isAtField(FieldNames.level)) {
- if (!input.trySkipNullValue()) {
- level = input.readUInt32();
- bitField0_ |= 0x00000800;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -584657238:
- case 779964614: {
- if (input.isAtField(FieldNames.bpTierType)) {
- if (!input.trySkipNullValue()) {
- final BpTierType value = input.readEnum(BpTierType.converter());
- if (value != null) {
- bpTierType = value.getNumber();
- bitField0_ |= 0x00001000;
- } else {
- input.skipUnknownEnumValue();
- }
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public BattlePassInfoNotify clone() {
- return new BattlePassInfoNotify().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static BattlePassInfoNotify parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new BattlePassInfoNotify(), data).checkInitialized();
- }
-
- public static BattlePassInfoNotify parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new BattlePassInfoNotify(), input).checkInitialized();
- }
-
- public static BattlePassInfoNotify parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new BattlePassInfoNotify(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating BattlePassInfoNotify messages
- */
- public static MessageFactoryBP_TIER_TYPE_NONE = 0;
*/
- BP_TIER_TYPE_NONE("BP_TIER_TYPE_NONE", 0),
-
+ BP_TIER_TYPE_NONE(0),
/**
* BP_TIER_TYPE_FREE = 1;
*/
- BP_TIER_TYPE_FREE("BP_TIER_TYPE_FREE", 1),
-
+ BP_TIER_TYPE_FREE(1),
/**
* BP_TIER_TYPE_PREMIUM_1 = 2;
*/
- BP_TIER_TYPE_PREMIUM_1("BP_TIER_TYPE_PREMIUM_1", 2),
-
+ BP_TIER_TYPE_PREMIUM_1(2),
/**
* BP_TIER_TYPE_PREMIUM_2 = 3;
*/
- BP_TIER_TYPE_PREMIUM_2("BP_TIER_TYPE_PREMIUM_2", 3);
+ BP_TIER_TYPE_PREMIUM_2(3),
+ UNRECOGNIZED(-1),
+ ;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ BpTierType.class.getName());
+ }
/**
* BP_TIER_TYPE_NONE = 0;
*/
public static final int BP_TIER_TYPE_NONE_VALUE = 0;
-
/**
* BP_TIER_TYPE_FREE = 1;
*/
public static final int BP_TIER_TYPE_FREE_VALUE = 1;
-
/**
* BP_TIER_TYPE_PREMIUM_1 = 2;
*/
public static final int BP_TIER_TYPE_PREMIUM_1_VALUE = 2;
-
/**
* BP_TIER_TYPE_PREMIUM_2 = 3;
*/
public static final int BP_TIER_TYPE_PREMIUM_2_VALUE = 3;
- private final String name;
- private final int number;
-
- private BpTierType(String name, int number) {
- this.name = name;
- this.number = number;
- }
-
- /**
- * @return the string representation of enum entry
- */
- @Override
- public String getName() {
- return name;
- }
-
- /**
- * @return the numeric wire value of this enum entry
- */
- @Override
- public int getNumber() {
- return number;
- }
-
- /**
- * @return a converter that maps between this enum's numeric and text representations
- */
- public static ProtoEnum.EnumConverter.BattlePassInfoNotify.BpTierType bp_tier_type = 15;
+ * @return The enum numeric value on the wire for bpTierType.
*/
- static class FieldNames {
- static final FieldName takenPremiumReward2 = FieldName.forField("takenPremiumReward2", "taken_premium_reward2");
-
- static final FieldName unkfield = FieldName.forField("unkfield");
-
- static final FieldName takenPremiumReward1 = FieldName.forField("takenPremiumReward1", "taken_premium_reward1");
-
- static final FieldName takenPremiumExtendedReward = FieldName.forField("takenPremiumExtendedReward", "taken_premium_extended_reward");
-
- static final FieldName takenPremiumOptionalReward = FieldName.forField("takenPremiumOptionalReward", "taken_premium_optional_reward");
-
- static final FieldName takenFreeReward = FieldName.forField("takenFreeReward", "taken_free_reward");
-
- static final FieldName takenFreeExtendedReward = FieldName.forField("takenFreeExtendedReward", "taken_free_extended_reward");
-
- static final FieldName idk = FieldName.forField("idk");
-
- static final FieldName curWeekAddExpSum = FieldName.forField("curWeekAddExpSum", "cur_week_add_exp_sum");
-
- static final FieldName curBpId = FieldName.forField("curBpId", "cur_bp_id");
-
- static final FieldName exp = FieldName.forField("exp");
-
- static final FieldName level = FieldName.forField("level");
-
- static final FieldName bpTierType = FieldName.forField("bpTierType", "bp_tier_type");
+ @java.lang.Override public int getBpTierTypeValue() {
+ return bpTierType_;
}
+ /**
+ * .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
+ * @return The bpTierType.
+ */
+ @java.lang.Override public emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType getBpTierType() {
+ emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType result = emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType.forNumber(bpTierType_);
+ return result == null ? emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType.UNRECOGNIZED : result;
+ }
+
+ public static final int TAKEN_FREE_REWARD_FIELD_NUMBER = 9;
+ private long takenFreeReward_ = 0L;
+ /**
+ * uint64 taken_free_reward = 9;
+ * @return The takenFreeReward.
+ */
+ @java.lang.Override
+ public long getTakenFreeReward() {
+ return takenFreeReward_;
+ }
+
+ public static final int TAKEN_PREMIUM_REWARD1_FIELD_NUMBER = 4;
+ private long takenPremiumReward1_ = 0L;
+ /**
+ * uint64 taken_premium_reward1 = 4;
+ * @return The takenPremiumReward1.
+ */
+ @java.lang.Override
+ public long getTakenPremiumReward1() {
+ return takenPremiumReward1_;
+ }
+
+ public static final int TAKEN_PREMIUM_REWARD2_FIELD_NUMBER = 1;
+ private long takenPremiumReward2_ = 0L;
+ /**
+ * uint64 taken_premium_reward2 = 1;
+ * @return The takenPremiumReward2.
+ */
+ @java.lang.Override
+ public long getTakenPremiumReward2() {
+ return takenPremiumReward2_;
+ }
+
+ public static final int TAKEN_PREMIUM_EXTENDED_REWARD_FIELD_NUMBER = 7;
+ private long takenPremiumExtendedReward_ = 0L;
+ /**
+ * uint64 taken_premium_extended_reward = 7;
+ * @return The takenPremiumExtendedReward.
+ */
+ @java.lang.Override
+ public long getTakenPremiumExtendedReward() {
+ return takenPremiumExtendedReward_;
+ }
+
+ public static final int UNKFIELD_FIELD_NUMBER = 2;
+ private long unkfield_ = 0L;
+ /**
+ * uint64 unkfield = 2;
+ * @return The unkfield.
+ */
+ @java.lang.Override
+ public long getUnkfield() {
+ return unkfield_;
+ }
+
+ public static final int TAKEN_PREMIUM_OPTIONAL_REWARD_FIELD_NUMBER = 8;
+ private long takenPremiumOptionalReward_ = 0L;
+ /**
+ * uint64 taken_premium_optional_reward = 8;
+ * @return The takenPremiumOptionalReward.
+ */
+ @java.lang.Override
+ public long getTakenPremiumOptionalReward() {
+ return takenPremiumOptionalReward_;
+ }
+
+ public static final int TAKEN_FREE_EXTENDED_REWARD_FIELD_NUMBER = 12;
+ private long takenFreeExtendedReward_ = 0L;
+ /**
+ * uint64 taken_free_extended_reward = 12;
+ * @return The takenFreeExtendedReward.
+ */
+ @java.lang.Override
+ public long getTakenFreeExtendedReward() {
+ return takenFreeExtendedReward_;
+ }
+
+ public static final int CUR_WEEK_ADD_EXP_SUM_FIELD_NUMBER = 3;
+ private int curWeekAddExpSum_ = 0;
+ /**
+ * uint32 cur_week_add_exp_sum = 3;
+ * @return The curWeekAddExpSum.
+ */
+ @java.lang.Override
+ public int getCurWeekAddExpSum() {
+ return curWeekAddExpSum_;
+ }
+
+ public static final int CUR_BP_ID_FIELD_NUMBER = 5;
+ private int curBpId_ = 0;
+ /**
+ * uint32 cur_bp_id = 5;
+ * @return The curBpId.
+ */
+ @java.lang.Override
+ public int getCurBpId() {
+ return curBpId_;
+ }
+
+ public static final int EXP_FIELD_NUMBER = 6;
+ private int exp_ = 0;
+ /**
+ * uint32 exp = 6;
+ * @return The exp.
+ */
+ @java.lang.Override
+ public int getExp() {
+ return exp_;
+ }
+
+ public static final int LEVEL_FIELD_NUMBER = 10;
+ private int level_ = 0;
+ /**
+ * uint32 level = 10;
+ * @return The level.
+ */
+ @java.lang.Override
+ public int getLevel() {
+ return level_;
+ }
+
+ 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 (takenPremiumReward2_ != 0L) {
+ output.writeUInt64(1, takenPremiumReward2_);
+ }
+ if (unkfield_ != 0L) {
+ output.writeUInt64(2, unkfield_);
+ }
+ if (curWeekAddExpSum_ != 0) {
+ output.writeUInt32(3, curWeekAddExpSum_);
+ }
+ if (takenPremiumReward1_ != 0L) {
+ output.writeUInt64(4, takenPremiumReward1_);
+ }
+ if (curBpId_ != 0) {
+ output.writeUInt32(5, curBpId_);
+ }
+ if (exp_ != 0) {
+ output.writeUInt32(6, exp_);
+ }
+ if (takenPremiumExtendedReward_ != 0L) {
+ output.writeUInt64(7, takenPremiumExtendedReward_);
+ }
+ if (takenPremiumOptionalReward_ != 0L) {
+ output.writeUInt64(8, takenPremiumOptionalReward_);
+ }
+ if (takenFreeReward_ != 0L) {
+ output.writeUInt64(9, takenFreeReward_);
+ }
+ if (level_ != 0) {
+ output.writeUInt32(10, level_);
+ }
+ if (takenFreeExtendedReward_ != 0L) {
+ output.writeUInt64(12, takenFreeExtendedReward_);
+ }
+ if (bpTierType_ != emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType.BP_TIER_TYPE_NONE.getNumber()) {
+ output.writeEnum(15, bpTierType_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (takenPremiumReward2_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(1, takenPremiumReward2_);
+ }
+ if (unkfield_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(2, unkfield_);
+ }
+ if (curWeekAddExpSum_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(3, curWeekAddExpSum_);
+ }
+ if (takenPremiumReward1_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, takenPremiumReward1_);
+ }
+ if (curBpId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(5, curBpId_);
+ }
+ if (exp_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(6, exp_);
+ }
+ if (takenPremiumExtendedReward_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(7, takenPremiumExtendedReward_);
+ }
+ if (takenPremiumOptionalReward_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(8, takenPremiumOptionalReward_);
+ }
+ if (takenFreeReward_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(9, takenFreeReward_);
+ }
+ if (level_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(10, level_);
+ }
+ if (takenFreeExtendedReward_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(12, takenFreeExtendedReward_);
+ }
+ if (bpTierType_ != emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType.BP_TIER_TYPE_NONE.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(15, bpTierType_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify other = (emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify) obj;
+
+ if (bpTierType_ != other.bpTierType_) return false;
+ if (getTakenFreeReward()
+ != other.getTakenFreeReward()) return false;
+ if (getTakenPremiumReward1()
+ != other.getTakenPremiumReward1()) return false;
+ if (getTakenPremiumReward2()
+ != other.getTakenPremiumReward2()) return false;
+ if (getTakenPremiumExtendedReward()
+ != other.getTakenPremiumExtendedReward()) return false;
+ if (getUnkfield()
+ != other.getUnkfield()) return false;
+ if (getTakenPremiumOptionalReward()
+ != other.getTakenPremiumOptionalReward()) return false;
+ if (getTakenFreeExtendedReward()
+ != other.getTakenFreeExtendedReward()) return false;
+ if (getCurWeekAddExpSum()
+ != other.getCurWeekAddExpSum()) return false;
+ if (getCurBpId()
+ != other.getCurBpId()) return false;
+ if (getExp()
+ != other.getExp()) return false;
+ if (getLevel()
+ != other.getLevel()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + BP_TIER_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + bpTierType_;
+ hash = (37 * hash) + TAKEN_FREE_REWARD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTakenFreeReward());
+ hash = (37 * hash) + TAKEN_PREMIUM_REWARD1_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTakenPremiumReward1());
+ hash = (37 * hash) + TAKEN_PREMIUM_REWARD2_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTakenPremiumReward2());
+ hash = (37 * hash) + TAKEN_PREMIUM_EXTENDED_REWARD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTakenPremiumExtendedReward());
+ hash = (37 * hash) + UNKFIELD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getUnkfield());
+ hash = (37 * hash) + TAKEN_PREMIUM_OPTIONAL_REWARD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTakenPremiumOptionalReward());
+ hash = (37 * hash) + TAKEN_FREE_EXTENDED_REWARD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTakenFreeExtendedReward());
+ hash = (37 * hash) + CUR_WEEK_ADD_EXP_SUM_FIELD_NUMBER;
+ hash = (53 * hash) + getCurWeekAddExpSum();
+ hash = (37 * hash) + CUR_BP_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getCurBpId();
+ hash = (37 * hash) + EXP_FIELD_NUMBER;
+ hash = (53 * hash) + getExp();
+ hash = (37 * hash) + LEVEL_FIELD_NUMBER;
+ hash = (53 * hash) + getLevel();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code BattlePassInfoNotify}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder.BattlePassInfoNotify.BpTierType bp_tier_type = 15;
+ * @return The enum numeric value on the wire for bpTierType.
+ */
+ @java.lang.Override public int getBpTierTypeValue() {
+ return bpTierType_;
+ }
+ /**
+ * .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
+ * @param value The enum numeric value on the wire for bpTierType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBpTierTypeValue(int value) {
+ bpTierType_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
+ * @return The bpTierType.
+ */
+ @java.lang.Override
+ public emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType getBpTierType() {
+ emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType result = emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType.forNumber(bpTierType_);
+ return result == null ? emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType.UNRECOGNIZED : result;
+ }
+ /**
+ * .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
+ * @param value The bpTierType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBpTierType(emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify.BpTierType value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ bpTierType_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .BattlePassInfoNotify.BpTierType bp_tier_type = 15;
+ * @return This builder for chaining.
+ */
+ public Builder clearBpTierType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ bpTierType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private long takenFreeReward_ ;
+ /**
+ * uint64 taken_free_reward = 9;
+ * @return The takenFreeReward.
+ */
+ @java.lang.Override
+ public long getTakenFreeReward() {
+ return takenFreeReward_;
+ }
+ /**
+ * uint64 taken_free_reward = 9;
+ * @param value The takenFreeReward to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTakenFreeReward(long value) {
+
+ takenFreeReward_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 taken_free_reward = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearTakenFreeReward() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ takenFreeReward_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long takenPremiumReward1_ ;
+ /**
+ * uint64 taken_premium_reward1 = 4;
+ * @return The takenPremiumReward1.
+ */
+ @java.lang.Override
+ public long getTakenPremiumReward1() {
+ return takenPremiumReward1_;
+ }
+ /**
+ * uint64 taken_premium_reward1 = 4;
+ * @param value The takenPremiumReward1 to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTakenPremiumReward1(long value) {
+
+ takenPremiumReward1_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 taken_premium_reward1 = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearTakenPremiumReward1() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ takenPremiumReward1_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long takenPremiumReward2_ ;
+ /**
+ * uint64 taken_premium_reward2 = 1;
+ * @return The takenPremiumReward2.
+ */
+ @java.lang.Override
+ public long getTakenPremiumReward2() {
+ return takenPremiumReward2_;
+ }
+ /**
+ * uint64 taken_premium_reward2 = 1;
+ * @param value The takenPremiumReward2 to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTakenPremiumReward2(long value) {
+
+ takenPremiumReward2_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 taken_premium_reward2 = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearTakenPremiumReward2() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ takenPremiumReward2_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long takenPremiumExtendedReward_ ;
+ /**
+ * uint64 taken_premium_extended_reward = 7;
+ * @return The takenPremiumExtendedReward.
+ */
+ @java.lang.Override
+ public long getTakenPremiumExtendedReward() {
+ return takenPremiumExtendedReward_;
+ }
+ /**
+ * uint64 taken_premium_extended_reward = 7;
+ * @param value The takenPremiumExtendedReward to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTakenPremiumExtendedReward(long value) {
+
+ takenPremiumExtendedReward_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 taken_premium_extended_reward = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearTakenPremiumExtendedReward() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ takenPremiumExtendedReward_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long unkfield_ ;
+ /**
+ * uint64 unkfield = 2;
+ * @return The unkfield.
+ */
+ @java.lang.Override
+ public long getUnkfield() {
+ return unkfield_;
+ }
+ /**
+ * uint64 unkfield = 2;
+ * @param value The unkfield to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUnkfield(long value) {
+
+ unkfield_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 unkfield = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearUnkfield() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ unkfield_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long takenPremiumOptionalReward_ ;
+ /**
+ * uint64 taken_premium_optional_reward = 8;
+ * @return The takenPremiumOptionalReward.
+ */
+ @java.lang.Override
+ public long getTakenPremiumOptionalReward() {
+ return takenPremiumOptionalReward_;
+ }
+ /**
+ * uint64 taken_premium_optional_reward = 8;
+ * @param value The takenPremiumOptionalReward to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTakenPremiumOptionalReward(long value) {
+
+ takenPremiumOptionalReward_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 taken_premium_optional_reward = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearTakenPremiumOptionalReward() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ takenPremiumOptionalReward_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long takenFreeExtendedReward_ ;
+ /**
+ * uint64 taken_free_extended_reward = 12;
+ * @return The takenFreeExtendedReward.
+ */
+ @java.lang.Override
+ public long getTakenFreeExtendedReward() {
+ return takenFreeExtendedReward_;
+ }
+ /**
+ * uint64 taken_free_extended_reward = 12;
+ * @param value The takenFreeExtendedReward to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTakenFreeExtendedReward(long value) {
+
+ takenFreeExtendedReward_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 taken_free_extended_reward = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearTakenFreeExtendedReward() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ takenFreeExtendedReward_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int curWeekAddExpSum_ ;
+ /**
+ * uint32 cur_week_add_exp_sum = 3;
+ * @return The curWeekAddExpSum.
+ */
+ @java.lang.Override
+ public int getCurWeekAddExpSum() {
+ return curWeekAddExpSum_;
+ }
+ /**
+ * uint32 cur_week_add_exp_sum = 3;
+ * @param value The curWeekAddExpSum to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCurWeekAddExpSum(int value) {
+
+ curWeekAddExpSum_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 cur_week_add_exp_sum = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearCurWeekAddExpSum() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ curWeekAddExpSum_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int curBpId_ ;
+ /**
+ * uint32 cur_bp_id = 5;
+ * @return The curBpId.
+ */
+ @java.lang.Override
+ public int getCurBpId() {
+ return curBpId_;
+ }
+ /**
+ * uint32 cur_bp_id = 5;
+ * @param value The curBpId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCurBpId(int value) {
+
+ curBpId_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 cur_bp_id = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearCurBpId() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ curBpId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int exp_ ;
+ /**
+ * uint32 exp = 6;
+ * @return The exp.
+ */
+ @java.lang.Override
+ public int getExp() {
+ return exp_;
+ }
+ /**
+ * uint32 exp = 6;
+ * @param value The exp to set.
+ * @return This builder for chaining.
+ */
+ public Builder setExp(int value) {
+
+ exp_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 exp = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearExp() {
+ bitField0_ = (bitField0_ & ~0x00000400);
+ exp_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int level_ ;
+ /**
+ * uint32 level = 10;
+ * @return The level.
+ */
+ @java.lang.Override
+ public int getLevel() {
+ return level_;
+ }
+ /**
+ * uint32 level = 10;
+ * @param value The level to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLevel(int value) {
+
+ level_ = value;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 level = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearLevel() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ level_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:BattlePassInfoNotify)
+ }
+
+ // @@protoc_insertion_point(class_scope:BattlePassInfoNotify)
+ private static final emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify();
+ }
+
+ public static emu.lunarcore.proto.BattlePassInfoNotifyOuterClass.BattlePassInfoNotify getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseruint32 item_id = 8;
+ * @return The itemId.
+ */
+ int getItemId();
+
+ /**
+ * uint32 mail_id = 1;
+ * @return The mailId.
+ */
+ int getMailId();
+ }
/**
* Protobuf type {@code ClientMailAttachmentItem}
*/
- public static final class ClientMailAttachmentItem extends ProtoMessageoptional uint32 FKIPJPLMBFI = 2;
- */
- private int fKIPJPLMBFI;
-
- /**
- * optional uint32 ANAFKBMJOBJ = 12;
- */
- private int aNAFKBMJOBJ;
-
+ public static final class ClientMailAttachmentItem extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ClientMailAttachmentItem)
+ ClientMailAttachmentItemOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ ClientMailAttachmentItem.class.getName());
+ }
+ // Use ClientMailAttachmentItem.newBuilder() to construct.
+ private ClientMailAttachmentItem(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private ClientMailAttachmentItem() {
}
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.internal_static_ClientMailAttachmentItem_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.class, emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem.Builder.class);
+ }
+
+ public static final int ITEM_ID_FIELD_NUMBER = 8;
+ private int itemId_ = 0;
/**
- * @return a new empty instance of {@code ClientMailAttachmentItem}
+ * uint32 item_id = 8;
+ * @return The itemId.
*/
- public static ClientMailAttachmentItem newInstance() {
- return new ClientMailAttachmentItem();
+ @java.lang.Override
+ public int getItemId() {
+ return itemId_;
}
+ public static final int MAIL_ID_FIELD_NUMBER = 1;
+ private int mailId_ = 0;
/**
- * optional uint32 FKIPJPLMBFI = 2;
- * @return whether the fKIPJPLMBFI field is set
+ * uint32 mail_id = 1;
+ * @return The mailId.
*/
- public boolean hasFKIPJPLMBFI() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ public int getMailId() {
+ return mailId_;
}
- /**
- * optional uint32 FKIPJPLMBFI = 2;
- * @return this
- */
- public ClientMailAttachmentItem clearFKIPJPLMBFI() {
- bitField0_ &= ~0x00000001;
- fKIPJPLMBFI = 0;
- return this;
+ 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;
}
- /**
- * optional uint32 FKIPJPLMBFI = 2;
- * @return the fKIPJPLMBFI
- */
- public int getFKIPJPLMBFI() {
- return fKIPJPLMBFI;
- }
-
- /**
- * optional uint32 FKIPJPLMBFI = 2;
- * @param value the fKIPJPLMBFI to set
- * @return this
- */
- public ClientMailAttachmentItem setFKIPJPLMBFI(final int value) {
- bitField0_ |= 0x00000001;
- fKIPJPLMBFI = value;
- return this;
- }
-
- /**
- * optional uint32 ANAFKBMJOBJ = 12;
- * @return whether the aNAFKBMJOBJ field is set
- */
- public boolean hasANAFKBMJOBJ() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 ANAFKBMJOBJ = 12;
- * @return this
- */
- public ClientMailAttachmentItem clearANAFKBMJOBJ() {
- bitField0_ &= ~0x00000002;
- aNAFKBMJOBJ = 0;
- return this;
- }
-
- /**
- * optional uint32 ANAFKBMJOBJ = 12;
- * @return the aNAFKBMJOBJ
- */
- public int getANAFKBMJOBJ() {
- return aNAFKBMJOBJ;
- }
-
- /**
- * optional uint32 ANAFKBMJOBJ = 12;
- * @param value the aNAFKBMJOBJ to set
- * @return this
- */
- public ClientMailAttachmentItem setANAFKBMJOBJ(final int value) {
- bitField0_ |= 0x00000002;
- aNAFKBMJOBJ = value;
- return this;
- }
-
- @Override
- public ClientMailAttachmentItem copyFrom(final ClientMailAttachmentItem other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- fKIPJPLMBFI = other.fKIPJPLMBFI;
- aNAFKBMJOBJ = other.aNAFKBMJOBJ;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (mailId_ != 0) {
+ output.writeUInt32(1, mailId_);
}
- return this;
+ if (itemId_ != 0) {
+ output.writeUInt32(8, itemId_);
+ }
+ getUnknownFields().writeTo(output);
}
- @Override
- public ClientMailAttachmentItem mergeFrom(final ClientMailAttachmentItem other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasFKIPJPLMBFI()) {
- setFKIPJPLMBFI(other.fKIPJPLMBFI);
- }
- if (other.hasANAFKBMJOBJ()) {
- setANAFKBMJOBJ(other.aNAFKBMJOBJ);
- }
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public ClientMailAttachmentItem clear() {
- if (isEmpty()) {
- return this;
+ size = 0;
+ if (mailId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(1, mailId_);
}
- cachedSize = -1;
- bitField0_ = 0;
- fKIPJPLMBFI = 0;
- aNAFKBMJOBJ = 0;
- return this;
- }
-
- @Override
- public ClientMailAttachmentItem clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ClientMailAttachmentItem)) {
- return false;
- }
- ClientMailAttachmentItem other = (ClientMailAttachmentItem) o;
- return bitField0_ == other.bitField0_
- && (!hasFKIPJPLMBFI() || fKIPJPLMBFI == other.fKIPJPLMBFI)
- && (!hasANAFKBMJOBJ() || aNAFKBMJOBJ == other.aNAFKBMJOBJ);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(fKIPJPLMBFI);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 96);
- output.writeUInt32NoTag(aNAFKBMJOBJ);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(fKIPJPLMBFI);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(aNAFKBMJOBJ);
+ if (itemId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(8, itemId_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public ClientMailAttachmentItem mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 16: {
- // fKIPJPLMBFI
- fKIPJPLMBFI = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 96) {
- break;
- }
- }
- case 96: {
- // aNAFKBMJOBJ
- aNAFKBMJOBJ = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem other = (emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem) obj;
+
+ if (getItemId()
+ != other.getItemId()) return false;
+ if (getMailId()
+ != other.getMailId()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.fKIPJPLMBFI, fKIPJPLMBFI);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.aNAFKBMJOBJ, aNAFKBMJOBJ);
- }
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + ITEM_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getItemId();
+ hash = (37 * hash) + MAIL_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getMailId();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public ClientMailAttachmentItem mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code ClientMailAttachmentItem}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderuint32 item_id = 8;
+ * @return The itemId.
+ */
+ @java.lang.Override
+ public int getItemId() {
+ return itemId_;
+ }
+ /**
+ * uint32 item_id = 8;
+ * @param value The itemId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setItemId(int value) {
+
+ itemId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 item_id = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearItemId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ itemId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int mailId_ ;
+ /**
+ * uint32 mail_id = 1;
+ * @return The mailId.
+ */
+ @java.lang.Override
+ public int getMailId() {
+ return mailId_;
+ }
+ /**
+ * uint32 mail_id = 1;
+ * @param value The mailId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMailId(int value) {
+
+ mailId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 mail_id = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearMailId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ mailId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:ClientMailAttachmentItem)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName fKIPJPLMBFI = FieldName.forField("FKIPJPLMBFI");
-
- static final FieldName aNAFKBMJOBJ = FieldName.forField("ANAFKBMJOBJ");
+ // @@protoc_insertion_point(class_scope:ClientMailAttachmentItem)
+ private static final emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem();
}
+
+ public static emu.lunarcore.proto.ClientMailAttachmentItemOuterClass.ClientMailAttachmentItem getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseruint32 relic_unique_id = 13;
+ * @return The relicUniqueId.
+ */
+ int getRelicUniqueId();
+
+ /**
+ * bool is_discard = 1;
+ * @return The isDiscard.
+ */
+ boolean getIsDiscard();
+ }
/**
* Protobuf type {@code DiscardRelicCsReq}
*/
- public static final class DiscardRelicCsReq extends ProtoMessageoptional uint32 relic_unique_id = 13;
- */
- private int relicUniqueId;
-
- /**
- * optional bool is_discard = 1;
- */
- private boolean isDiscard;
-
+ public static final class DiscardRelicCsReq extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:DiscardRelicCsReq)
+ DiscardRelicCsReqOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ DiscardRelicCsReq.class.getName());
+ }
+ // Use DiscardRelicCsReq.newBuilder() to construct.
+ private DiscardRelicCsReq(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private DiscardRelicCsReq() {
}
- /**
- * @return a new empty instance of {@code DiscardRelicCsReq}
- */
- public static DiscardRelicCsReq newInstance() {
- return new DiscardRelicCsReq();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_descriptor;
}
- /**
- * optional uint32 relic_unique_id = 13;
- * @return whether the relicUniqueId field is set
- */
- public boolean hasRelicUniqueId() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.DiscardRelicCsReqOuterClass.internal_static_DiscardRelicCsReq_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.class, emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq.Builder.class);
}
+ public static final int RELIC_UNIQUE_ID_FIELD_NUMBER = 13;
+ private int relicUniqueId_ = 0;
/**
- * optional uint32 relic_unique_id = 13;
- * @return this
- */
- public DiscardRelicCsReq clearRelicUniqueId() {
- bitField0_ &= ~0x00000001;
- relicUniqueId = 0;
- return this;
- }
-
- /**
- * optional uint32 relic_unique_id = 13;
- * @return the relicUniqueId
+ * uint32 relic_unique_id = 13;
+ * @return The relicUniqueId.
*/
+ @java.lang.Override
public int getRelicUniqueId() {
- return relicUniqueId;
+ return relicUniqueId_;
}
+ public static final int IS_DISCARD_FIELD_NUMBER = 1;
+ private boolean isDiscard_ = false;
/**
- * optional uint32 relic_unique_id = 13;
- * @param value the relicUniqueId to set
- * @return this
- */
- public DiscardRelicCsReq setRelicUniqueId(final int value) {
- bitField0_ |= 0x00000001;
- relicUniqueId = value;
- return this;
- }
-
- /**
- * optional bool is_discard = 1;
- * @return whether the isDiscard field is set
- */
- public boolean hasIsDiscard() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional bool is_discard = 1;
- * @return this
- */
- public DiscardRelicCsReq clearIsDiscard() {
- bitField0_ &= ~0x00000002;
- isDiscard = false;
- return this;
- }
-
- /**
- * optional bool is_discard = 1;
- * @return the isDiscard
+ * bool is_discard = 1;
+ * @return The isDiscard.
*/
+ @java.lang.Override
public boolean getIsDiscard() {
- return isDiscard;
+ return isDiscard_;
}
- /**
- * optional bool is_discard = 1;
- * @param value the isDiscard to set
- * @return this
- */
- public DiscardRelicCsReq setIsDiscard(final boolean value) {
- bitField0_ |= 0x00000002;
- isDiscard = value;
- return this;
+ 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;
}
- @Override
- public DiscardRelicCsReq copyFrom(final DiscardRelicCsReq other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- relicUniqueId = other.relicUniqueId;
- isDiscard = other.isDiscard;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (isDiscard_ != false) {
+ output.writeBool(1, isDiscard_);
}
- return this;
+ if (relicUniqueId_ != 0) {
+ output.writeUInt32(13, relicUniqueId_);
+ }
+ getUnknownFields().writeTo(output);
}
- @Override
- public DiscardRelicCsReq mergeFrom(final DiscardRelicCsReq other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasRelicUniqueId()) {
- setRelicUniqueId(other.relicUniqueId);
- }
- if (other.hasIsDiscard()) {
- setIsDiscard(other.isDiscard);
- }
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public DiscardRelicCsReq clear() {
- if (isEmpty()) {
- return this;
+ size = 0;
+ if (isDiscard_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, isDiscard_);
}
- cachedSize = -1;
- bitField0_ = 0;
- relicUniqueId = 0;
- isDiscard = false;
- return this;
- }
-
- @Override
- public DiscardRelicCsReq clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof DiscardRelicCsReq)) {
- return false;
- }
- DiscardRelicCsReq other = (DiscardRelicCsReq) o;
- return bitField0_ == other.bitField0_
- && (!hasRelicUniqueId() || relicUniqueId == other.relicUniqueId)
- && (!hasIsDiscard() || isDiscard == other.isDiscard);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(relicUniqueId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 8);
- output.writeBoolNoTag(isDiscard);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(relicUniqueId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 2;
+ if (relicUniqueId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(13, relicUniqueId_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public DiscardRelicCsReq mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 104: {
- // relicUniqueId
- relicUniqueId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 8) {
- break;
- }
- }
- case 8: {
- // isDiscard
- isDiscard = input.readBool();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq other = (emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq) obj;
+
+ if (getRelicUniqueId()
+ != other.getRelicUniqueId()) return false;
+ if (getIsDiscard()
+ != other.getIsDiscard()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.relicUniqueId, relicUniqueId);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeBool(FieldNames.isDiscard, isDiscard);
- }
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + RELIC_UNIQUE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getRelicUniqueId();
+ hash = (37 * hash) + IS_DISCARD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIsDiscard());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public DiscardRelicCsReq mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code DiscardRelicCsReq}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderuint32 relic_unique_id = 13;
+ * @return The relicUniqueId.
+ */
+ @java.lang.Override
+ public int getRelicUniqueId() {
+ return relicUniqueId_;
+ }
+ /**
+ * uint32 relic_unique_id = 13;
+ * @param value The relicUniqueId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRelicUniqueId(int value) {
+
+ relicUniqueId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 relic_unique_id = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearRelicUniqueId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ relicUniqueId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean isDiscard_ ;
+ /**
+ * bool is_discard = 1;
+ * @return The isDiscard.
+ */
+ @java.lang.Override
+ public boolean getIsDiscard() {
+ return isDiscard_;
+ }
+ /**
+ * bool is_discard = 1;
+ * @param value The isDiscard to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsDiscard(boolean value) {
+
+ isDiscard_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool is_discard = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsDiscard() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ isDiscard_ = false;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:DiscardRelicCsReq)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName relicUniqueId = FieldName.forField("relicUniqueId", "relic_unique_id");
-
- static final FieldName isDiscard = FieldName.forField("isDiscard", "is_discard");
+ // @@protoc_insertion_point(class_scope:DiscardRelicCsReq)
+ private static final emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq();
}
+
+ public static emu.lunarcore.proto.DiscardRelicCsReqOuterClass.DiscardRelicCsReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseruint32 talent_id = 3;
+ * @return The talentId.
+ */
+ int getTalentId();
+ }
/**
* Protobuf type {@code EnableRogueTalentCsReq}
*/
- public static final class EnableRogueTalentCsReq extends ProtoMessageoptional uint32 talent_id = 13;
- */
- private int talentId;
-
+ public static final class EnableRogueTalentCsReq extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:EnableRogueTalentCsReq)
+ EnableRogueTalentCsReqOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ EnableRogueTalentCsReq.class.getName());
+ }
+ // Use EnableRogueTalentCsReq.newBuilder() to construct.
+ private EnableRogueTalentCsReq(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private EnableRogueTalentCsReq() {
}
- /**
- * @return a new empty instance of {@code EnableRogueTalentCsReq}
- */
- public static EnableRogueTalentCsReq newInstance() {
- return new EnableRogueTalentCsReq();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_descriptor;
}
- /**
- * optional uint32 talent_id = 13;
- * @return whether the talentId field is set
- */
- public boolean hasTalentId() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.internal_static_EnableRogueTalentCsReq_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.class, emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq.Builder.class);
}
+ public static final int TALENT_ID_FIELD_NUMBER = 3;
+ private int talentId_ = 0;
/**
- * optional uint32 talent_id = 13;
- * @return this
- */
- public EnableRogueTalentCsReq clearTalentId() {
- bitField0_ &= ~0x00000001;
- talentId = 0;
- return this;
- }
-
- /**
- * optional uint32 talent_id = 13;
- * @return the talentId
+ * uint32 talent_id = 3;
+ * @return The talentId.
*/
+ @java.lang.Override
public int getTalentId() {
- return talentId;
+ return talentId_;
}
- /**
- * optional uint32 talent_id = 13;
- * @param value the talentId to set
- * @return this
- */
- public EnableRogueTalentCsReq setTalentId(final int value) {
- bitField0_ |= 0x00000001;
- talentId = value;
- return this;
+ 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;
}
- @Override
- public EnableRogueTalentCsReq copyFrom(final EnableRogueTalentCsReq other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- talentId = other.talentId;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (talentId_ != 0) {
+ output.writeUInt32(3, talentId_);
}
- return this;
+ getUnknownFields().writeTo(output);
}
- @Override
- public EnableRogueTalentCsReq mergeFrom(final EnableRogueTalentCsReq other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasTalentId()) {
- setTalentId(other.talentId);
- }
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public EnableRogueTalentCsReq clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- talentId = 0;
- return this;
- }
-
- @Override
- public EnableRogueTalentCsReq clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof EnableRogueTalentCsReq)) {
- return false;
- }
- EnableRogueTalentCsReq other = (EnableRogueTalentCsReq) o;
- return bitField0_ == other.bitField0_
- && (!hasTalentId() || talentId == other.talentId);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(talentId);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(talentId);
+ size = 0;
+ if (talentId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(3, talentId_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public EnableRogueTalentCsReq mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 104: {
- // talentId
- talentId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq other = (emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq) obj;
+
+ if (getTalentId()
+ != other.getTalentId()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.talentId, talentId);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + TALENT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getTalentId();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public EnableRogueTalentCsReq mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code EnableRogueTalentCsReq}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderuint32 talent_id = 3;
+ * @return The talentId.
+ */
+ @java.lang.Override
+ public int getTalentId() {
+ return talentId_;
+ }
+ /**
+ * uint32 talent_id = 3;
+ * @param value The talentId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTalentId(int value) {
+
+ talentId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 talent_id = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearTalentId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ talentId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:EnableRogueTalentCsReq)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName talentId = FieldName.forField("talentId", "talent_id");
+ // @@protoc_insertion_point(class_scope:EnableRogueTalentCsReq)
+ private static final emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq();
}
+
+ public static emu.lunarcore.proto.EnableRogueTalentCsReqOuterClass.EnableRogueTalentCsReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser.RogueScoreRewardInfo score_reward_info = 13;
+ * @return Whether the scoreRewardInfo field is set.
+ */
+ boolean hasScoreRewardInfo();
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ * @return The scoreRewardInfo.
+ */
+ emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getScoreRewardInfo();
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ */
+ emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder getScoreRewardInfoOrBuilder();
+
+ /**
+ * uint32 retcode = 4;
+ * @return The retcode.
+ */
+ int getRetcode();
+ }
/**
* Protobuf type {@code GetRogueScoreRewardInfoScRsp}
*/
- public static final class GetRogueScoreRewardInfoScRsp extends ProtoMessageoptional uint32 retcode = 8;
- */
- private int retcode;
-
- /**
- * optional .RogueScoreRewardInfo score_reward_info = 15;
- */
- private final RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo scoreRewardInfo = RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.newInstance();
-
+ public static final class GetRogueScoreRewardInfoScRsp extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:GetRogueScoreRewardInfoScRsp)
+ GetRogueScoreRewardInfoScRspOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ GetRogueScoreRewardInfoScRsp.class.getName());
+ }
+ // Use GetRogueScoreRewardInfoScRsp.newBuilder() to construct.
+ private GetRogueScoreRewardInfoScRsp(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private GetRogueScoreRewardInfoScRsp() {
}
- /**
- * @return a new empty instance of {@code GetRogueScoreRewardInfoScRsp}
- */
- public static GetRogueScoreRewardInfoScRsp newInstance() {
- return new GetRogueScoreRewardInfoScRsp();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.internal_static_GetRogueScoreRewardInfoScRsp_descriptor;
}
- /**
- * optional uint32 retcode = 8;
- * @return whether the retcode field is set
- */
- public boolean hasRetcode() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.internal_static_GetRogueScoreRewardInfoScRsp_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp.class, emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp.Builder.class);
}
+ private int bitField0_;
+ public static final int SCORE_REWARD_INFO_FIELD_NUMBER = 13;
+ private emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo scoreRewardInfo_;
/**
- * optional uint32 retcode = 8;
- * @return this
- */
- public GetRogueScoreRewardInfoScRsp clearRetcode() {
- bitField0_ &= ~0x00000001;
- retcode = 0;
- return this;
- }
-
- /**
- * optional uint32 retcode = 8;
- * @return the retcode
- */
- public int getRetcode() {
- return retcode;
- }
-
- /**
- * optional uint32 retcode = 8;
- * @param value the retcode to set
- * @return this
- */
- public GetRogueScoreRewardInfoScRsp setRetcode(final int value) {
- bitField0_ |= 0x00000001;
- retcode = value;
- return this;
- }
-
- /**
- * optional .RogueScoreRewardInfo score_reward_info = 15;
- * @return whether the scoreRewardInfo field is set
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ * @return Whether the scoreRewardInfo field is set.
*/
+ @java.lang.Override
public boolean hasScoreRewardInfo() {
- return (bitField0_ & 0x00000002) != 0;
+ return ((bitField0_ & 0x00000001) != 0);
}
-
/**
- * optional .RogueScoreRewardInfo score_reward_info = 15;
- * @return this
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ * @return The scoreRewardInfo.
*/
- public GetRogueScoreRewardInfoScRsp clearScoreRewardInfo() {
- bitField0_ &= ~0x00000002;
- scoreRewardInfo.clear();
- return this;
+ @java.lang.Override
+ public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getScoreRewardInfo() {
+ return scoreRewardInfo_ == null ? emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance() : scoreRewardInfo_;
}
-
/**
- * optional .RogueScoreRewardInfo score_reward_info = 15;
- *
- * This method returns the internal storage object without modifying any has state.
- * The returned object should not be modified and be treated as read-only.
- *
- * Use {@link #getMutableScoreRewardInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
+ * .RogueScoreRewardInfo score_reward_info = 13;
*/
- public RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getScoreRewardInfo() {
- return scoreRewardInfo;
+ @java.lang.Override
+ public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder getScoreRewardInfoOrBuilder() {
+ return scoreRewardInfo_ == null ? emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance() : scoreRewardInfo_;
}
+ public static final int RETCODE_FIELD_NUMBER = 4;
+ private int retcode_ = 0;
/**
- * optional .RogueScoreRewardInfo score_reward_info = 15;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
+ * uint32 retcode = 4;
+ * @return The retcode.
*/
- public RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getMutableScoreRewardInfo() {
- bitField0_ |= 0x00000002;
- return scoreRewardInfo;
+ @java.lang.Override
+ public int getRetcode() {
+ return retcode_;
}
- /**
- * optional .RogueScoreRewardInfo score_reward_info = 15;
- * @param value the scoreRewardInfo to set
- * @return this
- */
- public GetRogueScoreRewardInfoScRsp setScoreRewardInfo(
- final RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo value) {
- bitField0_ |= 0x00000002;
- scoreRewardInfo.copyFrom(value);
- return this;
+ 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;
}
- @Override
- public GetRogueScoreRewardInfoScRsp copyFrom(final GetRogueScoreRewardInfoScRsp other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- retcode = other.retcode;
- scoreRewardInfo.copyFrom(other.scoreRewardInfo);
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (retcode_ != 0) {
+ output.writeUInt32(4, retcode_);
}
- return this;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(13, getScoreRewardInfo());
+ }
+ getUnknownFields().writeTo(output);
}
- @Override
- public GetRogueScoreRewardInfoScRsp mergeFrom(final GetRogueScoreRewardInfoScRsp other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasRetcode()) {
- setRetcode(other.retcode);
- }
- if (other.hasScoreRewardInfo()) {
- getMutableScoreRewardInfo().mergeFrom(other.scoreRewardInfo);
- }
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public GetRogueScoreRewardInfoScRsp clear() {
- if (isEmpty()) {
- return this;
+ size = 0;
+ if (retcode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(4, retcode_);
}
- cachedSize = -1;
- bitField0_ = 0;
- retcode = 0;
- scoreRewardInfo.clear();
- return this;
- }
-
- @Override
- public GetRogueScoreRewardInfoScRsp clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- scoreRewardInfo.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof GetRogueScoreRewardInfoScRsp)) {
- return false;
- }
- GetRogueScoreRewardInfoScRsp other = (GetRogueScoreRewardInfoScRsp) o;
- return bitField0_ == other.bitField0_
- && (!hasRetcode() || retcode == other.retcode)
- && (!hasScoreRewardInfo() || scoreRewardInfo.equals(other.scoreRewardInfo));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt32NoTag(retcode);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 122);
- output.writeMessageNoTag(scoreRewardInfo);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(scoreRewardInfo);
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(13, getScoreRewardInfo());
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public GetRogueScoreRewardInfoScRsp mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 64: {
- // retcode
- retcode = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 122) {
- break;
- }
- }
- case 122: {
- // scoreRewardInfo
- input.readMessage(scoreRewardInfo);
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp other = (emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp) obj;
+
+ if (hasScoreRewardInfo() != other.hasScoreRewardInfo()) return false;
+ if (hasScoreRewardInfo()) {
+ if (!getScoreRewardInfo()
+ .equals(other.getScoreRewardInfo())) return false;
+ }
+ if (getRetcode()
+ != other.getRetcode()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasScoreRewardInfo()) {
+ hash = (37 * hash) + SCORE_REWARD_INFO_FIELD_NUMBER;
+ hash = (53 * hash) + getScoreRewardInfo().hashCode();
+ }
+ hash = (37 * hash) + RETCODE_FIELD_NUMBER;
+ hash = (53 * hash) + getRetcode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code GetRogueScoreRewardInfoScRsp}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder.RogueScoreRewardInfo score_reward_info = 13;
+ * @return Whether the scoreRewardInfo field is set.
+ */
+ public boolean hasScoreRewardInfo() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ * @return The scoreRewardInfo.
+ */
+ public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getScoreRewardInfo() {
+ if (scoreRewardInfoBuilder_ == null) {
+ return scoreRewardInfo_ == null ? emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance() : scoreRewardInfo_;
+ } else {
+ return scoreRewardInfoBuilder_.getMessage();
+ }
+ }
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ */
+ public Builder setScoreRewardInfo(emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo value) {
+ if (scoreRewardInfoBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ scoreRewardInfo_ = value;
+ } else {
+ scoreRewardInfoBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ */
+ public Builder setScoreRewardInfo(
+ emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder builderForValue) {
+ if (scoreRewardInfoBuilder_ == null) {
+ scoreRewardInfo_ = builderForValue.build();
+ } else {
+ scoreRewardInfoBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ */
+ public Builder mergeScoreRewardInfo(emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo value) {
+ if (scoreRewardInfoBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) &&
+ scoreRewardInfo_ != null &&
+ scoreRewardInfo_ != emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance()) {
+ getScoreRewardInfoBuilder().mergeFrom(value);
+ } else {
+ scoreRewardInfo_ = value;
+ }
+ } else {
+ scoreRewardInfoBuilder_.mergeFrom(value);
+ }
+ if (scoreRewardInfo_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ */
+ public Builder clearScoreRewardInfo() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ scoreRewardInfo_ = null;
+ if (scoreRewardInfoBuilder_ != null) {
+ scoreRewardInfoBuilder_.dispose();
+ scoreRewardInfoBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ */
+ public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder getScoreRewardInfoBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getScoreRewardInfoFieldBuilder().getBuilder();
+ }
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ */
+ public emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder getScoreRewardInfoOrBuilder() {
+ if (scoreRewardInfoBuilder_ != null) {
+ return scoreRewardInfoBuilder_.getMessageOrBuilder();
+ } else {
+ return scoreRewardInfo_ == null ?
+ emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.getDefaultInstance() : scoreRewardInfo_;
+ }
+ }
+ /**
+ * .RogueScoreRewardInfo score_reward_info = 13;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder>
+ getScoreRewardInfoFieldBuilder() {
+ if (scoreRewardInfoBuilder_ == null) {
+ scoreRewardInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfoOrBuilder>(
+ getScoreRewardInfo(),
+ getParentForChildren(),
+ isClean());
+ scoreRewardInfo_ = null;
+ }
+ return scoreRewardInfoBuilder_;
+ }
+
+ private int retcode_ ;
+ /**
+ * uint32 retcode = 4;
+ * @return The retcode.
+ */
+ @java.lang.Override
+ public int getRetcode() {
+ return retcode_;
+ }
+ /**
+ * uint32 retcode = 4;
+ * @param value The retcode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRetcode(int value) {
+
+ retcode_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 retcode = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearRetcode() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ retcode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:GetRogueScoreRewardInfoScRsp)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName retcode = FieldName.forField("retcode");
-
- static final FieldName scoreRewardInfo = FieldName.forField("scoreRewardInfo", "score_reward_info");
+ // @@protoc_insertion_point(class_scope:GetRogueScoreRewardInfoScRsp)
+ private static final emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp();
}
+
+ public static emu.lunarcore.proto.GetRogueScoreRewardInfoScRspOuterClass.GetRogueScoreRewardInfoScRsp getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseruint32 group_id = 6;
+ * @return The groupId.
+ */
+ int getGroupId();
+
+ /**
+ * int64 modify_time = 2;
+ * @return The modifyTime.
+ */
+ long getModifyTime();
+ }
/**
* Protobuf type {@code MazeGroup}
*/
- public static final class MazeGroup extends ProtoMessageoptional uint32 group_id = 6;
- */
- private int groupId;
-
+ public static final class MazeGroup extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:MazeGroup)
+ MazeGroupOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ MazeGroup.class.getName());
+ }
+ // Use MazeGroup.newBuilder() to construct.
+ private MazeGroup(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private MazeGroup() {
}
- /**
- * @return a new empty instance of {@code MazeGroup}
- */
- public static MazeGroup newInstance() {
- return new MazeGroup();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_descriptor;
}
- /**
- * optional uint32 group_id = 6;
- * @return whether the groupId field is set
- */
- public boolean hasGroupId() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.MazeGroupOuterClass.internal_static_MazeGroup_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.class, emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup.Builder.class);
}
+ public static final int GROUP_ID_FIELD_NUMBER = 6;
+ private int groupId_ = 0;
/**
- * optional uint32 group_id = 6;
- * @return this
- */
- public MazeGroup clearGroupId() {
- bitField0_ &= ~0x00000001;
- groupId = 0;
- return this;
- }
-
- /**
- * optional uint32 group_id = 6;
- * @return the groupId
+ * uint32 group_id = 6;
+ * @return The groupId.
*/
+ @java.lang.Override
public int getGroupId() {
- return groupId;
+ return groupId_;
}
+ public static final int MODIFY_TIME_FIELD_NUMBER = 2;
+ private long modifyTime_ = 0L;
/**
- * optional uint32 group_id = 6;
- * @param value the groupId to set
- * @return this
+ * int64 modify_time = 2;
+ * @return The modifyTime.
*/
- public MazeGroup setGroupId(final int value) {
- bitField0_ |= 0x00000001;
- groupId = value;
- return this;
+ @java.lang.Override
+ public long getModifyTime() {
+ return modifyTime_;
}
- @Override
- public MazeGroup copyFrom(final MazeGroup other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- groupId = other.groupId;
- }
- return this;
+ 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;
}
- @Override
- public MazeGroup mergeFrom(final MazeGroup other) {
- if (other.isEmpty()) {
- return this;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (modifyTime_ != 0L) {
+ output.writeInt64(2, modifyTime_);
}
- cachedSize = -1;
- if (other.hasGroupId()) {
- setGroupId(other.groupId);
+ if (groupId_ != 0) {
+ output.writeUInt32(6, groupId_);
}
- return this;
+ getUnknownFields().writeTo(output);
}
- @Override
- public MazeGroup clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- groupId = 0;
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public MazeGroup clearQuick() {
- if (isEmpty()) {
- return this;
+ size = 0;
+ if (modifyTime_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, modifyTime_);
}
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof MazeGroup)) {
- return false;
- }
- MazeGroup other = (MazeGroup) o;
- return bitField0_ == other.bitField0_
- && (!hasGroupId() || groupId == other.groupId);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 48);
- output.writeUInt32NoTag(groupId);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(groupId);
+ if (groupId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(6, groupId_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public MazeGroup mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 48: {
- // groupId
- groupId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup other = (emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup) obj;
+
+ if (getGroupId()
+ != other.getGroupId()) return false;
+ if (getModifyTime()
+ != other.getModifyTime()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.groupId, groupId);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getGroupId();
+ hash = (37 * hash) + MODIFY_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getModifyTime());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public MazeGroup mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code MazeGroup}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderuint32 group_id = 6;
+ * @return The groupId.
+ */
+ @java.lang.Override
+ public int getGroupId() {
+ return groupId_;
+ }
+ /**
+ * uint32 group_id = 6;
+ * @param value The groupId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGroupId(int value) {
+
+ groupId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 group_id = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearGroupId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ groupId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private long modifyTime_ ;
+ /**
+ * int64 modify_time = 2;
+ * @return The modifyTime.
+ */
+ @java.lang.Override
+ public long getModifyTime() {
+ return modifyTime_;
+ }
+ /**
+ * int64 modify_time = 2;
+ * @param value The modifyTime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setModifyTime(long value) {
+
+ modifyTime_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 modify_time = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearModifyTime() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ modifyTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:MazeGroup)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName groupId = FieldName.forField("groupId", "group_id");
+ // @@protoc_insertion_point(class_scope:MazeGroup)
+ private static final emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup();
}
+
+ public static emu.lunarcore.proto.MazeGroupOuterClass.MazeGroup getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserbool NODHLKCFLPA = 8;
+ * @return The nODHLKCFLPA.
+ */
+ boolean getNODHLKCFLPA();
+
+ /**
+ * bool HMAMGFJANGO = 14;
+ * @return The hMAMGFJANGO.
+ */
+ boolean getHMAMGFJANGO();
+
+ /**
+ * bool PMBBEIEHBML = 7;
+ * @return The pMBBEIEHBML.
+ */
+ boolean getPMBBEIEHBML();
+ }
/**
* Protobuf type {@code PlayerSettingInfo}
*/
- public static final class PlayerSettingInfo extends ProtoMessageoptional bool OFOCDABPBEN = 6;
- */
- private boolean oFOCDABPBEN;
-
- /**
- * optional bool FFIJPBKIGPJ = 11;
- */
- private boolean fFIJPBKIGPJ;
-
- /**
- * optional bool MDJEPNGEHFN = 14;
- */
- private boolean mDJEPNGEHFN;
-
+ public static final class PlayerSettingInfo extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:PlayerSettingInfo)
+ PlayerSettingInfoOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ PlayerSettingInfo.class.getName());
+ }
+ // Use PlayerSettingInfo.newBuilder() to construct.
+ private PlayerSettingInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private PlayerSettingInfo() {
}
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.PlayerSettingInfoOuterClass.internal_static_PlayerSettingInfo_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.PlayerSettingInfoOuterClass.internal_static_PlayerSettingInfo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo.class, emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo.Builder.class);
+ }
+
+ public static final int NODHLKCFLPA_FIELD_NUMBER = 8;
+ private boolean nODHLKCFLPA_ = false;
/**
- * @return a new empty instance of {@code PlayerSettingInfo}
+ * bool NODHLKCFLPA = 8;
+ * @return The nODHLKCFLPA.
*/
- public static PlayerSettingInfo newInstance() {
- return new PlayerSettingInfo();
+ @java.lang.Override
+ public boolean getNODHLKCFLPA() {
+ return nODHLKCFLPA_;
}
+ public static final int HMAMGFJANGO_FIELD_NUMBER = 14;
+ private boolean hMAMGFJANGO_ = false;
/**
- * optional bool OFOCDABPBEN = 6;
- * @return whether the oFOCDABPBEN field is set
+ * bool HMAMGFJANGO = 14;
+ * @return The hMAMGFJANGO.
*/
- public boolean hasOFOCDABPBEN() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ public boolean getHMAMGFJANGO() {
+ return hMAMGFJANGO_;
}
+ public static final int PMBBEIEHBML_FIELD_NUMBER = 7;
+ private boolean pMBBEIEHBML_ = false;
/**
- * optional bool OFOCDABPBEN = 6;
- * @return this
+ * bool PMBBEIEHBML = 7;
+ * @return The pMBBEIEHBML.
*/
- public PlayerSettingInfo clearOFOCDABPBEN() {
- bitField0_ &= ~0x00000001;
- oFOCDABPBEN = false;
- return this;
+ @java.lang.Override
+ public boolean getPMBBEIEHBML() {
+ return pMBBEIEHBML_;
}
- /**
- * optional bool OFOCDABPBEN = 6;
- * @return the oFOCDABPBEN
- */
- public boolean getOFOCDABPBEN() {
- return oFOCDABPBEN;
+ 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;
}
- /**
- * optional bool OFOCDABPBEN = 6;
- * @param value the oFOCDABPBEN to set
- * @return this
- */
- public PlayerSettingInfo setOFOCDABPBEN(final boolean value) {
- bitField0_ |= 0x00000001;
- oFOCDABPBEN = value;
- return this;
- }
-
- /**
- * optional bool FFIJPBKIGPJ = 11;
- * @return whether the fFIJPBKIGPJ field is set
- */
- public boolean hasFFIJPBKIGPJ() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional bool FFIJPBKIGPJ = 11;
- * @return this
- */
- public PlayerSettingInfo clearFFIJPBKIGPJ() {
- bitField0_ &= ~0x00000002;
- fFIJPBKIGPJ = false;
- return this;
- }
-
- /**
- * optional bool FFIJPBKIGPJ = 11;
- * @return the fFIJPBKIGPJ
- */
- public boolean getFFIJPBKIGPJ() {
- return fFIJPBKIGPJ;
- }
-
- /**
- * optional bool FFIJPBKIGPJ = 11;
- * @param value the fFIJPBKIGPJ to set
- * @return this
- */
- public PlayerSettingInfo setFFIJPBKIGPJ(final boolean value) {
- bitField0_ |= 0x00000002;
- fFIJPBKIGPJ = value;
- return this;
- }
-
- /**
- * optional bool MDJEPNGEHFN = 14;
- * @return whether the mDJEPNGEHFN field is set
- */
- public boolean hasMDJEPNGEHFN() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional bool MDJEPNGEHFN = 14;
- * @return this
- */
- public PlayerSettingInfo clearMDJEPNGEHFN() {
- bitField0_ &= ~0x00000004;
- mDJEPNGEHFN = false;
- return this;
- }
-
- /**
- * optional bool MDJEPNGEHFN = 14;
- * @return the mDJEPNGEHFN
- */
- public boolean getMDJEPNGEHFN() {
- return mDJEPNGEHFN;
- }
-
- /**
- * optional bool MDJEPNGEHFN = 14;
- * @param value the mDJEPNGEHFN to set
- * @return this
- */
- public PlayerSettingInfo setMDJEPNGEHFN(final boolean value) {
- bitField0_ |= 0x00000004;
- mDJEPNGEHFN = value;
- return this;
- }
-
- @Override
- public PlayerSettingInfo copyFrom(final PlayerSettingInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- oFOCDABPBEN = other.oFOCDABPBEN;
- fFIJPBKIGPJ = other.fFIJPBKIGPJ;
- mDJEPNGEHFN = other.mDJEPNGEHFN;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (pMBBEIEHBML_ != false) {
+ output.writeBool(7, pMBBEIEHBML_);
}
- return this;
+ if (nODHLKCFLPA_ != false) {
+ output.writeBool(8, nODHLKCFLPA_);
+ }
+ if (hMAMGFJANGO_ != false) {
+ output.writeBool(14, hMAMGFJANGO_);
+ }
+ getUnknownFields().writeTo(output);
}
- @Override
- public PlayerSettingInfo mergeFrom(final PlayerSettingInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasOFOCDABPBEN()) {
- setOFOCDABPBEN(other.oFOCDABPBEN);
- }
- if (other.hasFFIJPBKIGPJ()) {
- setFFIJPBKIGPJ(other.fFIJPBKIGPJ);
- }
- if (other.hasMDJEPNGEHFN()) {
- setMDJEPNGEHFN(other.mDJEPNGEHFN);
- }
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public PlayerSettingInfo clear() {
- if (isEmpty()) {
- return this;
+ size = 0;
+ if (pMBBEIEHBML_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(7, pMBBEIEHBML_);
}
- cachedSize = -1;
- bitField0_ = 0;
- oFOCDABPBEN = false;
- fFIJPBKIGPJ = false;
- mDJEPNGEHFN = false;
- return this;
- }
-
- @Override
- public PlayerSettingInfo clearQuick() {
- if (isEmpty()) {
- return this;
+ if (nODHLKCFLPA_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(8, nODHLKCFLPA_);
}
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof PlayerSettingInfo)) {
- return false;
- }
- PlayerSettingInfo other = (PlayerSettingInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasOFOCDABPBEN() || oFOCDABPBEN == other.oFOCDABPBEN)
- && (!hasFFIJPBKIGPJ() || fFIJPBKIGPJ == other.fFIJPBKIGPJ)
- && (!hasMDJEPNGEHFN() || mDJEPNGEHFN == other.mDJEPNGEHFN);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 48);
- output.writeBoolNoTag(oFOCDABPBEN);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 88);
- output.writeBoolNoTag(fFIJPBKIGPJ);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 112);
- output.writeBoolNoTag(mDJEPNGEHFN);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 2;
+ if (hMAMGFJANGO_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(14, hMAMGFJANGO_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public PlayerSettingInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 48: {
- // oFOCDABPBEN
- oFOCDABPBEN = input.readBool();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 88) {
- break;
- }
- }
- case 88: {
- // fFIJPBKIGPJ
- fFIJPBKIGPJ = input.readBool();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 112) {
- break;
- }
- }
- case 112: {
- // mDJEPNGEHFN
- mDJEPNGEHFN = input.readBool();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo other = (emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo) obj;
+
+ if (getNODHLKCFLPA()
+ != other.getNODHLKCFLPA()) return false;
+ if (getHMAMGFJANGO()
+ != other.getHMAMGFJANGO()) return false;
+ if (getPMBBEIEHBML()
+ != other.getPMBBEIEHBML()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeBool(FieldNames.oFOCDABPBEN, oFOCDABPBEN);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeBool(FieldNames.fFIJPBKIGPJ, fFIJPBKIGPJ);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeBool(FieldNames.mDJEPNGEHFN, mDJEPNGEHFN);
- }
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + NODHLKCFLPA_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getNODHLKCFLPA());
+ hash = (37 * hash) + HMAMGFJANGO_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getHMAMGFJANGO());
+ hash = (37 * hash) + PMBBEIEHBML_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPMBBEIEHBML());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public PlayerSettingInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code PlayerSettingInfo}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderbool NODHLKCFLPA = 8;
+ * @return The nODHLKCFLPA.
+ */
+ @java.lang.Override
+ public boolean getNODHLKCFLPA() {
+ return nODHLKCFLPA_;
+ }
+ /**
+ * bool NODHLKCFLPA = 8;
+ * @param value The nODHLKCFLPA to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNODHLKCFLPA(boolean value) {
+
+ nODHLKCFLPA_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool NODHLKCFLPA = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearNODHLKCFLPA() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ nODHLKCFLPA_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean hMAMGFJANGO_ ;
+ /**
+ * bool HMAMGFJANGO = 14;
+ * @return The hMAMGFJANGO.
+ */
+ @java.lang.Override
+ public boolean getHMAMGFJANGO() {
+ return hMAMGFJANGO_;
+ }
+ /**
+ * bool HMAMGFJANGO = 14;
+ * @param value The hMAMGFJANGO to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHMAMGFJANGO(boolean value) {
+
+ hMAMGFJANGO_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool HMAMGFJANGO = 14;
+ * @return This builder for chaining.
+ */
+ public Builder clearHMAMGFJANGO() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ hMAMGFJANGO_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean pMBBEIEHBML_ ;
+ /**
+ * bool PMBBEIEHBML = 7;
+ * @return The pMBBEIEHBML.
+ */
+ @java.lang.Override
+ public boolean getPMBBEIEHBML() {
+ return pMBBEIEHBML_;
+ }
+ /**
+ * bool PMBBEIEHBML = 7;
+ * @param value The pMBBEIEHBML to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPMBBEIEHBML(boolean value) {
+
+ pMBBEIEHBML_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool PMBBEIEHBML = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearPMBBEIEHBML() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ pMBBEIEHBML_ = false;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:PlayerSettingInfo)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName oFOCDABPBEN = FieldName.forField("OFOCDABPBEN");
-
- static final FieldName fFIJPBKIGPJ = FieldName.forField("FFIJPBKIGPJ");
-
- static final FieldName mDJEPNGEHFN = FieldName.forField("MDJEPNGEHFN");
+ // @@protoc_insertion_point(class_scope:PlayerSettingInfo)
+ private static final emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo();
}
+
+ public static emu.lunarcore.proto.PlayerSettingInfoOuterClass.PlayerSettingInfo getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseruint32 aeon_id = 2;
+ * @return The aeonId.
+ */
+ int getAeonId();
+
+ /**
+ * uint32 max_level = 5;
+ * @return The maxLevel.
+ */
+ int getMaxLevel();
+
+ /**
+ * uint32 exp = 15;
+ * @return The exp.
+ */
+ int getExp();
+
+ /**
+ * uint32 level = 4;
+ * @return The level.
+ */
+ int getLevel();
+
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @return A list containing the archiveUnlockList.
+ */
+ java.util.Listrepeated uint32 archive_unlock_list = 13;
+ * @return The count of archiveUnlockList.
+ */
+ int getArchiveUnlockListCount();
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @param index The index of the element to return.
+ * @return The archiveUnlockList at the given index.
+ */
+ int getArchiveUnlockList(int index);
+
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @return A list containing the takenRewardList.
+ */
+ java.util.Listrepeated uint32 taken_reward_list = 10;
+ * @return The count of takenRewardList.
+ */
+ int getTakenRewardListCount();
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @param index The index of the element to return.
+ * @return The takenRewardList at the given index.
+ */
+ int getTakenRewardList(int index);
+ }
+ /**
+ * Protobuf type {@code RogueHandbookAeon}
+ */
+ public static final class RogueHandbookAeon extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:RogueHandbookAeon)
+ RogueHandbookAeonOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ RogueHandbookAeon.class.getName());
+ }
+ // Use RogueHandbookAeon.newBuilder() to construct.
+ private RogueHandbookAeon(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private RogueHandbookAeon() {
+ archiveUnlockList_ = emptyIntList();
+ takenRewardList_ = emptyIntList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.RogueHandbookAeonOuterClass.internal_static_RogueHandbookAeon_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.RogueHandbookAeonOuterClass.internal_static_RogueHandbookAeon_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon.class, emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon.Builder.class);
+ }
+
+ public static final int AEON_ID_FIELD_NUMBER = 2;
+ private int aeonId_ = 0;
+ /**
+ * uint32 aeon_id = 2;
+ * @return The aeonId.
+ */
+ @java.lang.Override
+ public int getAeonId() {
+ return aeonId_;
+ }
+
+ public static final int MAX_LEVEL_FIELD_NUMBER = 5;
+ private int maxLevel_ = 0;
+ /**
+ * uint32 max_level = 5;
+ * @return The maxLevel.
+ */
+ @java.lang.Override
+ public int getMaxLevel() {
+ return maxLevel_;
+ }
+
+ public static final int EXP_FIELD_NUMBER = 15;
+ private int exp_ = 0;
+ /**
+ * uint32 exp = 15;
+ * @return The exp.
+ */
+ @java.lang.Override
+ public int getExp() {
+ return exp_;
+ }
+
+ public static final int LEVEL_FIELD_NUMBER = 4;
+ private int level_ = 0;
+ /**
+ * uint32 level = 4;
+ * @return The level.
+ */
+ @java.lang.Override
+ public int getLevel() {
+ return level_;
+ }
+
+ public static final int ARCHIVE_UNLOCK_LIST_FIELD_NUMBER = 13;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.IntList archiveUnlockList_ =
+ emptyIntList();
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @return A list containing the archiveUnlockList.
+ */
+ @java.lang.Override
+ public java.util.Listrepeated uint32 archive_unlock_list = 13;
+ * @return The count of archiveUnlockList.
+ */
+ public int getArchiveUnlockListCount() {
+ return archiveUnlockList_.size();
+ }
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @param index The index of the element to return.
+ * @return The archiveUnlockList at the given index.
+ */
+ public int getArchiveUnlockList(int index) {
+ return archiveUnlockList_.getInt(index);
+ }
+ private int archiveUnlockListMemoizedSerializedSize = -1;
+
+ public static final int TAKEN_REWARD_LIST_FIELD_NUMBER = 10;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.IntList takenRewardList_ =
+ emptyIntList();
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @return A list containing the takenRewardList.
+ */
+ @java.lang.Override
+ public java.util.Listrepeated uint32 taken_reward_list = 10;
+ * @return The count of takenRewardList.
+ */
+ public int getTakenRewardListCount() {
+ return takenRewardList_.size();
+ }
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @param index The index of the element to return.
+ * @return The takenRewardList at the given index.
+ */
+ public int getTakenRewardList(int index) {
+ return takenRewardList_.getInt(index);
+ }
+ private int takenRewardListMemoizedSerializedSize = -1;
+
+ 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 {
+ getSerializedSize();
+ if (aeonId_ != 0) {
+ output.writeUInt32(2, aeonId_);
+ }
+ if (level_ != 0) {
+ output.writeUInt32(4, level_);
+ }
+ if (maxLevel_ != 0) {
+ output.writeUInt32(5, maxLevel_);
+ }
+ if (getTakenRewardListList().size() > 0) {
+ output.writeUInt32NoTag(82);
+ output.writeUInt32NoTag(takenRewardListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < takenRewardList_.size(); i++) {
+ output.writeUInt32NoTag(takenRewardList_.getInt(i));
+ }
+ if (getArchiveUnlockListList().size() > 0) {
+ output.writeUInt32NoTag(106);
+ output.writeUInt32NoTag(archiveUnlockListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < archiveUnlockList_.size(); i++) {
+ output.writeUInt32NoTag(archiveUnlockList_.getInt(i));
+ }
+ if (exp_ != 0) {
+ output.writeUInt32(15, exp_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (aeonId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(2, aeonId_);
+ }
+ if (level_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(4, level_);
+ }
+ if (maxLevel_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(5, maxLevel_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < takenRewardList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(takenRewardList_.getInt(i));
+ }
+ size += dataSize;
+ if (!getTakenRewardListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ takenRewardListMemoizedSerializedSize = dataSize;
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < archiveUnlockList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(archiveUnlockList_.getInt(i));
+ }
+ size += dataSize;
+ if (!getArchiveUnlockListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ archiveUnlockListMemoizedSerializedSize = dataSize;
+ }
+ if (exp_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(15, exp_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon other = (emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon) obj;
+
+ if (getAeonId()
+ != other.getAeonId()) return false;
+ if (getMaxLevel()
+ != other.getMaxLevel()) return false;
+ if (getExp()
+ != other.getExp()) return false;
+ if (getLevel()
+ != other.getLevel()) return false;
+ if (!getArchiveUnlockListList()
+ .equals(other.getArchiveUnlockListList())) return false;
+ if (!getTakenRewardListList()
+ .equals(other.getTakenRewardListList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + AEON_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getAeonId();
+ hash = (37 * hash) + MAX_LEVEL_FIELD_NUMBER;
+ hash = (53 * hash) + getMaxLevel();
+ hash = (37 * hash) + EXP_FIELD_NUMBER;
+ hash = (53 * hash) + getExp();
+ hash = (37 * hash) + LEVEL_FIELD_NUMBER;
+ hash = (53 * hash) + getLevel();
+ if (getArchiveUnlockListCount() > 0) {
+ hash = (37 * hash) + ARCHIVE_UNLOCK_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getArchiveUnlockListList().hashCode();
+ }
+ if (getTakenRewardListCount() > 0) {
+ hash = (37 * hash) + TAKEN_REWARD_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getTakenRewardListList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code RogueHandbookAeon}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderuint32 aeon_id = 2;
+ * @return The aeonId.
+ */
+ @java.lang.Override
+ public int getAeonId() {
+ return aeonId_;
+ }
+ /**
+ * uint32 aeon_id = 2;
+ * @param value The aeonId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAeonId(int value) {
+
+ aeonId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 aeon_id = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearAeonId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ aeonId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int maxLevel_ ;
+ /**
+ * uint32 max_level = 5;
+ * @return The maxLevel.
+ */
+ @java.lang.Override
+ public int getMaxLevel() {
+ return maxLevel_;
+ }
+ /**
+ * uint32 max_level = 5;
+ * @param value The maxLevel to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMaxLevel(int value) {
+
+ maxLevel_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 max_level = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearMaxLevel() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ maxLevel_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int exp_ ;
+ /**
+ * uint32 exp = 15;
+ * @return The exp.
+ */
+ @java.lang.Override
+ public int getExp() {
+ return exp_;
+ }
+ /**
+ * uint32 exp = 15;
+ * @param value The exp to set.
+ * @return This builder for chaining.
+ */
+ public Builder setExp(int value) {
+
+ exp_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 exp = 15;
+ * @return This builder for chaining.
+ */
+ public Builder clearExp() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ exp_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int level_ ;
+ /**
+ * uint32 level = 4;
+ * @return The level.
+ */
+ @java.lang.Override
+ public int getLevel() {
+ return level_;
+ }
+ /**
+ * uint32 level = 4;
+ * @param value The level to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLevel(int value) {
+
+ level_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 level = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearLevel() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ level_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.IntList archiveUnlockList_ = emptyIntList();
+ private void ensureArchiveUnlockListIsMutable() {
+ if (!archiveUnlockList_.isModifiable()) {
+ archiveUnlockList_ = makeMutableCopy(archiveUnlockList_);
+ }
+ bitField0_ |= 0x00000010;
+ }
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @return A list containing the archiveUnlockList.
+ */
+ public java.util.Listrepeated uint32 archive_unlock_list = 13;
+ * @return The count of archiveUnlockList.
+ */
+ public int getArchiveUnlockListCount() {
+ return archiveUnlockList_.size();
+ }
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @param index The index of the element to return.
+ * @return The archiveUnlockList at the given index.
+ */
+ public int getArchiveUnlockList(int index) {
+ return archiveUnlockList_.getInt(index);
+ }
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @param index The index to set the value at.
+ * @param value The archiveUnlockList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setArchiveUnlockList(
+ int index, int value) {
+
+ ensureArchiveUnlockListIsMutable();
+ archiveUnlockList_.setInt(index, value);
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @param value The archiveUnlockList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addArchiveUnlockList(int value) {
+
+ ensureArchiveUnlockListIsMutable();
+ archiveUnlockList_.addInt(value);
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @param values The archiveUnlockList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllArchiveUnlockList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureArchiveUnlockListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, archiveUnlockList_);
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 archive_unlock_list = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearArchiveUnlockList() {
+ archiveUnlockList_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.IntList takenRewardList_ = emptyIntList();
+ private void ensureTakenRewardListIsMutable() {
+ if (!takenRewardList_.isModifiable()) {
+ takenRewardList_ = makeMutableCopy(takenRewardList_);
+ }
+ bitField0_ |= 0x00000020;
+ }
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @return A list containing the takenRewardList.
+ */
+ public java.util.Listrepeated uint32 taken_reward_list = 10;
+ * @return The count of takenRewardList.
+ */
+ public int getTakenRewardListCount() {
+ return takenRewardList_.size();
+ }
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @param index The index of the element to return.
+ * @return The takenRewardList at the given index.
+ */
+ public int getTakenRewardList(int index) {
+ return takenRewardList_.getInt(index);
+ }
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @param index The index to set the value at.
+ * @param value The takenRewardList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTakenRewardList(
+ int index, int value) {
+
+ ensureTakenRewardListIsMutable();
+ takenRewardList_.setInt(index, value);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @param value The takenRewardList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addTakenRewardList(int value) {
+
+ ensureTakenRewardListIsMutable();
+ takenRewardList_.addInt(value);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @param values The takenRewardList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllTakenRewardList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureTakenRewardListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, takenRewardList_);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 taken_reward_list = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearTakenRewardList() {
+ takenRewardList_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:RogueHandbookAeon)
+ }
+
+ // @@protoc_insertion_point(class_scope:RogueHandbookAeon)
+ private static final emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon();
+ }
+
+ public static emu.lunarcore.proto.RogueHandbookAeonOuterClass.RogueHandbookAeon getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * guess, either this or end_time + *+ * + *
int64 begin_time = 6;
+ * @return The beginTime.
+ */
+ long getBeginTime();
+
+ /**
+ * repeated uint32 has_taken_reward = 5;
+ * @return A list containing the hasTakenReward.
+ */
+ java.util.Listrepeated uint32 has_taken_reward = 5;
+ * @return The count of hasTakenReward.
+ */
+ int getHasTakenRewardCount();
+ /**
+ * repeated uint32 has_taken_reward = 5;
+ * @param index The index of the element to return.
+ * @return The hasTakenReward at the given index.
+ */
+ int getHasTakenReward(int index);
+
+ /**
+ * + * guess + *+ * + *
bool pool_refreshed = 14;
+ * @return The poolRefreshed.
+ */
+ boolean getPoolRefreshed();
+
+ /**
+ * uint32 score = 7;
+ * @return The score.
+ */
+ int getScore();
+
+ /**
+ * + * guess, either this or begin_time + *+ * + *
int64 end_time = 3;
+ * @return The endTime.
+ */
+ long getEndTime();
+
+ /**
+ * uint32 pool_id = 11;
+ * @return The poolId.
+ */
+ int getPoolId();
+
+ /**
+ * + * guess + *+ * + *
bool has_taken_initial_score = 13;
+ * @return The hasTakenInitialScore.
+ */
+ boolean getHasTakenInitialScore();
+ }
/**
* Protobuf type {@code RogueScoreRewardInfo}
*/
- public static final class RogueScoreRewardInfo extends ProtoMessageoptional int64 begin_time = 2;
- */
- private long beginTime;
-
- /**
- * optional int64 end_time = 15;
- */
- private long endTime;
-
- /**
- * optional uint32 score = 8;
- */
- private int score;
-
- /**
- * optional uint32 pool_id = 11;
- */
- private int poolId;
-
- /**
- * optional bool has_taken_initial_score = 4;
- */
- private boolean hasTakenInitialScore;
-
- /**
- * optional bool pool_refreshed = 9;
- */
- private boolean poolRefreshed;
-
- /**
- * - * guess - *- * - *
repeated uint32 has_taken_reward = 1;
- */
- private final RepeatedInt hasTakenReward = RepeatedInt.newEmptyInstance();
-
+ public static final class RogueScoreRewardInfo extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:RogueScoreRewardInfo)
+ RogueScoreRewardInfoOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ RogueScoreRewardInfo.class.getName());
+ }
+ // Use RogueScoreRewardInfo.newBuilder() to construct.
+ private RogueScoreRewardInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private RogueScoreRewardInfo() {
+ hasTakenReward_ = emptyIntList();
}
- /**
- * @return a new empty instance of {@code RogueScoreRewardInfo}
- */
- public static RogueScoreRewardInfo newInstance() {
- return new RogueScoreRewardInfo();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.internal_static_RogueScoreRewardInfo_descriptor;
}
- /**
- * optional int64 begin_time = 2;
- * @return whether the beginTime field is set
- */
- public boolean hasBeginTime() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.internal_static_RogueScoreRewardInfo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.class, emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.Builder.class);
}
+ public static final int BEGIN_TIME_FIELD_NUMBER = 6;
+ private long beginTime_ = 0L;
/**
- * optional int64 begin_time = 2;
- * @return this
- */
- public RogueScoreRewardInfo clearBeginTime() {
- bitField0_ &= ~0x00000001;
- beginTime = 0L;
- return this;
- }
-
- /**
- * optional int64 begin_time = 2;
- * @return the beginTime
+ * + * guess, either this or end_time + *+ * + *
int64 begin_time = 6;
+ * @return The beginTime.
*/
+ @java.lang.Override
public long getBeginTime() {
- return beginTime;
+ return beginTime_;
}
+ public static final int HAS_TAKEN_REWARD_FIELD_NUMBER = 5;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.IntList hasTakenReward_ =
+ emptyIntList();
/**
- * optional int64 begin_time = 2;
- * @param value the beginTime to set
- * @return this
+ * repeated uint32 has_taken_reward = 5;
+ * @return A list containing the hasTakenReward.
*/
- public RogueScoreRewardInfo setBeginTime(final long value) {
- bitField0_ |= 0x00000001;
- beginTime = value;
- return this;
+ @java.lang.Override
+ public java.util.Listoptional int64 end_time = 15;
- * @return whether the endTime field is set
+ * repeated uint32 has_taken_reward = 5;
+ * @return The count of hasTakenReward.
*/
- public boolean hasEndTime() {
- return (bitField0_ & 0x00000002) != 0;
+ public int getHasTakenRewardCount() {
+ return hasTakenReward_.size();
}
-
/**
- * optional int64 end_time = 15;
- * @return this
+ * repeated uint32 has_taken_reward = 5;
+ * @param index The index of the element to return.
+ * @return The hasTakenReward at the given index.
*/
- public RogueScoreRewardInfo clearEndTime() {
- bitField0_ &= ~0x00000002;
- endTime = 0L;
- return this;
+ public int getHasTakenReward(int index) {
+ return hasTakenReward_.getInt(index);
}
+ private int hasTakenRewardMemoizedSerializedSize = -1;
+ public static final int POOL_REFRESHED_FIELD_NUMBER = 14;
+ private boolean poolRefreshed_ = false;
/**
- * optional int64 end_time = 15;
- * @return the endTime
- */
- public long getEndTime() {
- return endTime;
- }
-
- /**
- * optional int64 end_time = 15;
- * @param value the endTime to set
- * @return this
- */
- public RogueScoreRewardInfo setEndTime(final long value) {
- bitField0_ |= 0x00000002;
- endTime = value;
- return this;
- }
-
- /**
- * optional uint32 score = 8;
- * @return whether the score field is set
- */
- public boolean hasScore() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 score = 8;
- * @return this
- */
- public RogueScoreRewardInfo clearScore() {
- bitField0_ &= ~0x00000004;
- score = 0;
- return this;
- }
-
- /**
- * optional uint32 score = 8;
- * @return the score
- */
- public int getScore() {
- return score;
- }
-
- /**
- * optional uint32 score = 8;
- * @param value the score to set
- * @return this
- */
- public RogueScoreRewardInfo setScore(final int value) {
- bitField0_ |= 0x00000004;
- score = value;
- return this;
- }
-
- /**
- * optional uint32 pool_id = 11;
- * @return whether the poolId field is set
- */
- public boolean hasPoolId() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional uint32 pool_id = 11;
- * @return this
- */
- public RogueScoreRewardInfo clearPoolId() {
- bitField0_ &= ~0x00000008;
- poolId = 0;
- return this;
- }
-
- /**
- * optional uint32 pool_id = 11;
- * @return the poolId
- */
- public int getPoolId() {
- return poolId;
- }
-
- /**
- * optional uint32 pool_id = 11;
- * @param value the poolId to set
- * @return this
- */
- public RogueScoreRewardInfo setPoolId(final int value) {
- bitField0_ |= 0x00000008;
- poolId = value;
- return this;
- }
-
- /**
- * optional bool has_taken_initial_score = 4;
- * @return whether the hasTakenInitialScore field is set
- */
- public boolean hasHasTakenInitialScore() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * optional bool has_taken_initial_score = 4;
- * @return this
- */
- public RogueScoreRewardInfo clearHasTakenInitialScore() {
- bitField0_ &= ~0x00000010;
- hasTakenInitialScore = false;
- return this;
- }
-
- /**
- * optional bool has_taken_initial_score = 4;
- * @return the hasTakenInitialScore
- */
- public boolean getHasTakenInitialScore() {
- return hasTakenInitialScore;
- }
-
- /**
- * optional bool has_taken_initial_score = 4;
- * @param value the hasTakenInitialScore to set
- * @return this
- */
- public RogueScoreRewardInfo setHasTakenInitialScore(final boolean value) {
- bitField0_ |= 0x00000010;
- hasTakenInitialScore = value;
- return this;
- }
-
- /**
- * optional bool pool_refreshed = 9;
- * @return whether the poolRefreshed field is set
- */
- public boolean hasPoolRefreshed() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * optional bool pool_refreshed = 9;
- * @return this
- */
- public RogueScoreRewardInfo clearPoolRefreshed() {
- bitField0_ &= ~0x00000020;
- poolRefreshed = false;
- return this;
- }
-
- /**
- * optional bool pool_refreshed = 9;
- * @return the poolRefreshed
+ * + * guess + *+ * + *
bool pool_refreshed = 14;
+ * @return The poolRefreshed.
*/
+ @java.lang.Override
public boolean getPoolRefreshed() {
- return poolRefreshed;
+ return poolRefreshed_;
}
+ public static final int SCORE_FIELD_NUMBER = 7;
+ private int score_ = 0;
/**
- * optional bool pool_refreshed = 9;
- * @param value the poolRefreshed to set
- * @return this
+ * uint32 score = 7;
+ * @return The score.
*/
- public RogueScoreRewardInfo setPoolRefreshed(final boolean value) {
- bitField0_ |= 0x00000020;
- poolRefreshed = value;
- return this;
+ @java.lang.Override
+ public int getScore() {
+ return score_;
}
+ public static final int END_TIME_FIELD_NUMBER = 3;
+ private long endTime_ = 0L;
/**
*
- * guess
+ * guess, either this or begin_time
*
*
- * repeated uint32 has_taken_reward = 1;
- * @return whether the hasTakenReward field is set
+ * int64 end_time = 3;
+ * @return The endTime.
*/
- public boolean hasHasTakenReward() {
- return (bitField0_ & 0x00000040) != 0;
+ @java.lang.Override
+ public long getEndTime() {
+ return endTime_;
}
+ public static final int POOL_ID_FIELD_NUMBER = 11;
+ private int poolId_ = 0;
+ /**
+ * uint32 pool_id = 11;
+ * @return The poolId.
+ */
+ @java.lang.Override
+ public int getPoolId() {
+ return poolId_;
+ }
+
+ public static final int HAS_TAKEN_INITIAL_SCORE_FIELD_NUMBER = 13;
+ private boolean hasTakenInitialScore_ = false;
/**
*
- * guess
+ * guess
*
*
- * repeated uint32 has_taken_reward = 1;
- * @return this
+ * bool has_taken_initial_score = 13;
+ * @return The hasTakenInitialScore.
*/
- public RogueScoreRewardInfo clearHasTakenReward() {
- bitField0_ &= ~0x00000040;
- hasTakenReward.clear();
- return this;
+ @java.lang.Override
+ public boolean getHasTakenInitialScore() {
+ return hasTakenInitialScore_;
}
- /**
- * - * guess - *- * - *
repeated uint32 has_taken_reward = 1;
- *
- * This method returns the internal storage object without modifying any has state.
- * The returned object should not be modified and be treated as read-only.
- *
- * Use {@link #getMutableHasTakenReward()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getHasTakenReward() {
- return hasTakenReward;
+ 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;
}
- /**
- * - * guess - *- * - *
repeated uint32 has_taken_reward = 1;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableHasTakenReward() {
- bitField0_ |= 0x00000040;
- return hasTakenReward;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (endTime_ != 0L) {
+ output.writeInt64(3, endTime_);
+ }
+ if (getHasTakenRewardList().size() > 0) {
+ output.writeUInt32NoTag(42);
+ output.writeUInt32NoTag(hasTakenRewardMemoizedSerializedSize);
+ }
+ for (int i = 0; i < hasTakenReward_.size(); i++) {
+ output.writeUInt32NoTag(hasTakenReward_.getInt(i));
+ }
+ if (beginTime_ != 0L) {
+ output.writeInt64(6, beginTime_);
+ }
+ if (score_ != 0) {
+ output.writeUInt32(7, score_);
+ }
+ if (poolId_ != 0) {
+ output.writeUInt32(11, poolId_);
+ }
+ if (hasTakenInitialScore_ != false) {
+ output.writeBool(13, hasTakenInitialScore_);
+ }
+ if (poolRefreshed_ != false) {
+ output.writeBool(14, poolRefreshed_);
+ }
+ getUnknownFields().writeTo(output);
}
- /**
- * - * guess - *- * - *
repeated uint32 has_taken_reward = 1;
- * @param value the hasTakenReward to add
- * @return this
- */
- public RogueScoreRewardInfo addHasTakenReward(final int value) {
- bitField0_ |= 0x00000040;
- hasTakenReward.add(value);
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- /**
- * - * guess - *- * - *
repeated uint32 has_taken_reward = 1;
- * @param values the hasTakenReward to add
- * @return this
- */
- public RogueScoreRewardInfo addAllHasTakenReward(final int... values) {
- bitField0_ |= 0x00000040;
- hasTakenReward.addAll(values);
- return this;
- }
-
- @Override
- public RogueScoreRewardInfo copyFrom(final RogueScoreRewardInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- beginTime = other.beginTime;
- endTime = other.endTime;
- score = other.score;
- poolId = other.poolId;
- hasTakenInitialScore = other.hasTakenInitialScore;
- poolRefreshed = other.poolRefreshed;
- hasTakenReward.copyFrom(other.hasTakenReward);
+ size = 0;
+ if (endTime_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(3, endTime_);
}
- return this;
- }
-
- @Override
- public RogueScoreRewardInfo mergeFrom(final RogueScoreRewardInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasBeginTime()) {
- setBeginTime(other.beginTime);
- }
- if (other.hasEndTime()) {
- setEndTime(other.endTime);
- }
- if (other.hasScore()) {
- setScore(other.score);
- }
- if (other.hasPoolId()) {
- setPoolId(other.poolId);
- }
- if (other.hasHasTakenInitialScore()) {
- setHasTakenInitialScore(other.hasTakenInitialScore);
- }
- if (other.hasPoolRefreshed()) {
- setPoolRefreshed(other.poolRefreshed);
- }
- if (other.hasHasTakenReward()) {
- getMutableHasTakenReward().addAll(other.hasTakenReward);
- }
- return this;
- }
-
- @Override
- public RogueScoreRewardInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- beginTime = 0L;
- endTime = 0L;
- score = 0;
- poolId = 0;
- hasTakenInitialScore = false;
- poolRefreshed = false;
- hasTakenReward.clear();
- return this;
- }
-
- @Override
- public RogueScoreRewardInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- hasTakenReward.clear();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof RogueScoreRewardInfo)) {
- return false;
- }
- RogueScoreRewardInfo other = (RogueScoreRewardInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasBeginTime() || beginTime == other.beginTime)
- && (!hasEndTime() || endTime == other.endTime)
- && (!hasScore() || score == other.score)
- && (!hasPoolId() || poolId == other.poolId)
- && (!hasHasTakenInitialScore() || hasTakenInitialScore == other.hasTakenInitialScore)
- && (!hasPoolRefreshed() || poolRefreshed == other.poolRefreshed)
- && (!hasHasTakenReward() || hasTakenReward.equals(other.hasTakenReward));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 16);
- output.writeInt64NoTag(beginTime);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 120);
- output.writeInt64NoTag(endTime);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt32NoTag(score);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 88);
- output.writeUInt32NoTag(poolId);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 32);
- output.writeBoolNoTag(hasTakenInitialScore);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 72);
- output.writeBoolNoTag(poolRefreshed);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- for (int i = 0; i < hasTakenReward.length(); i++) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(hasTakenReward.array()[i]);
+ {
+ int dataSize = 0;
+ for (int i = 0; i < hasTakenReward_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(hasTakenReward_.getInt(i));
}
+ size += dataSize;
+ if (!getHasTakenRewardList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ hasTakenRewardMemoizedSerializedSize = dataSize;
}
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeInt64SizeNoTag(beginTime);
+ if (beginTime_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(6, beginTime_);
}
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeInt64SizeNoTag(endTime);
+ if (score_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(7, score_);
}
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
+ if (poolId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(11, poolId_);
}
- if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(poolId);
+ if (hasTakenInitialScore_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(13, hasTakenInitialScore_);
}
- if ((bitField0_ & 0x00000010) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000020) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000040) != 0) {
- size += (1 * hasTakenReward.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(hasTakenReward);
+ if (poolRefreshed_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(14, poolRefreshed_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public RogueScoreRewardInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 16: {
- // beginTime
- beginTime = input.readInt64();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 120) {
- break;
- }
- }
- case 120: {
- // endTime
- endTime = input.readInt64();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 64) {
- break;
- }
- }
- case 64: {
- // score
- score = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 88) {
- break;
- }
- }
- case 88: {
- // poolId
- poolId = input.readUInt32();
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 32) {
- break;
- }
- }
- case 32: {
- // hasTakenInitialScore
- hasTakenInitialScore = input.readBool();
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 72) {
- break;
- }
- }
- case 72: {
- // poolRefreshed
- poolRefreshed = input.readBool();
- bitField0_ |= 0x00000020;
- tag = input.readTag();
- if (tag != 10) {
- break;
- }
- }
- case 10: {
- // hasTakenReward [packed=true]
- input.readPackedUInt32(hasTakenReward, tag);
- bitField0_ |= 0x00000040;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- case 8: {
- // hasTakenReward [packed=false]
- tag = input.readRepeatedUInt32(hasTakenReward, tag);
- bitField0_ |= 0x00000040;
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo other = (emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo) obj;
+
+ if (getBeginTime()
+ != other.getBeginTime()) return false;
+ if (!getHasTakenRewardList()
+ .equals(other.getHasTakenRewardList())) return false;
+ if (getPoolRefreshed()
+ != other.getPoolRefreshed()) return false;
+ if (getScore()
+ != other.getScore()) return false;
+ if (getEndTime()
+ != other.getEndTime()) return false;
+ if (getPoolId()
+ != other.getPoolId()) return false;
+ if (getHasTakenInitialScore()
+ != other.getHasTakenInitialScore()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeInt64(FieldNames.beginTime, beginTime);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeInt64(FieldNames.endTime, endTime);
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + BEGIN_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getBeginTime());
+ if (getHasTakenRewardCount() > 0) {
+ hash = (37 * hash) + HAS_TAKEN_REWARD_FIELD_NUMBER;
+ hash = (53 * hash) + getHasTakenRewardList().hashCode();
}
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.score, score);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt32(FieldNames.poolId, poolId);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeBool(FieldNames.hasTakenInitialScore, hasTakenInitialScore);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeBool(FieldNames.poolRefreshed, poolRefreshed);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeRepeatedUInt32(FieldNames.hasTakenReward, hasTakenReward);
- }
- output.endObject();
+ hash = (37 * hash) + POOL_REFRESHED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPoolRefreshed());
+ hash = (37 * hash) + SCORE_FIELD_NUMBER;
+ hash = (53 * hash) + getScore();
+ hash = (37 * hash) + END_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEndTime());
+ hash = (37 * hash) + POOL_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getPoolId();
+ hash = (37 * hash) + HAS_TAKEN_INITIAL_SCORE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getHasTakenInitialScore());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public RogueScoreRewardInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code RogueScoreRewardInfo}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder+ * guess, either this or end_time + *+ * + *
int64 begin_time = 6;
+ * @return The beginTime.
+ */
+ @java.lang.Override
+ public long getBeginTime() {
+ return beginTime_;
+ }
+ /**
+ * + * guess, either this or end_time + *+ * + *
int64 begin_time = 6;
+ * @param value The beginTime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBeginTime(long value) {
+
+ beginTime_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * guess, either this or end_time + *+ * + *
int64 begin_time = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearBeginTime() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ beginTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.IntList hasTakenReward_ = emptyIntList();
+ private void ensureHasTakenRewardIsMutable() {
+ if (!hasTakenReward_.isModifiable()) {
+ hasTakenReward_ = makeMutableCopy(hasTakenReward_);
+ }
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * repeated uint32 has_taken_reward = 5;
+ * @return A list containing the hasTakenReward.
+ */
+ public java.util.Listrepeated uint32 has_taken_reward = 5;
+ * @return The count of hasTakenReward.
+ */
+ public int getHasTakenRewardCount() {
+ return hasTakenReward_.size();
+ }
+ /**
+ * repeated uint32 has_taken_reward = 5;
+ * @param index The index of the element to return.
+ * @return The hasTakenReward at the given index.
+ */
+ public int getHasTakenReward(int index) {
+ return hasTakenReward_.getInt(index);
+ }
+ /**
+ * repeated uint32 has_taken_reward = 5;
+ * @param index The index to set the value at.
+ * @param value The hasTakenReward to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHasTakenReward(
+ int index, int value) {
+
+ ensureHasTakenRewardIsMutable();
+ hasTakenReward_.setInt(index, value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 has_taken_reward = 5;
+ * @param value The hasTakenReward to add.
+ * @return This builder for chaining.
+ */
+ public Builder addHasTakenReward(int value) {
+
+ ensureHasTakenRewardIsMutable();
+ hasTakenReward_.addInt(value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 has_taken_reward = 5;
+ * @param values The hasTakenReward to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllHasTakenReward(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureHasTakenRewardIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, hasTakenReward_);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 has_taken_reward = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearHasTakenReward() {
+ hasTakenReward_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ private boolean poolRefreshed_ ;
+ /**
+ * + * guess + *+ * + *
bool pool_refreshed = 14;
+ * @return The poolRefreshed.
+ */
+ @java.lang.Override
+ public boolean getPoolRefreshed() {
+ return poolRefreshed_;
+ }
+ /**
+ * + * guess + *+ * + *
bool pool_refreshed = 14;
+ * @param value The poolRefreshed to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPoolRefreshed(boolean value) {
+
+ poolRefreshed_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * guess + *+ * + *
bool pool_refreshed = 14;
+ * @return This builder for chaining.
+ */
+ public Builder clearPoolRefreshed() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ poolRefreshed_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int score_ ;
+ /**
+ * uint32 score = 7;
+ * @return The score.
+ */
+ @java.lang.Override
+ public int getScore() {
+ return score_;
+ }
+ /**
+ * uint32 score = 7;
+ * @param value The score to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScore(int value) {
+
+ score_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 score = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearScore() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ score_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private long endTime_ ;
+ /**
+ * + * guess, either this or begin_time + *+ * + *
int64 end_time = 3;
+ * @return The endTime.
+ */
+ @java.lang.Override
+ public long getEndTime() {
+ return endTime_;
+ }
+ /**
+ * + * guess, either this or begin_time + *+ * + *
int64 end_time = 3;
+ * @param value The endTime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndTime(long value) {
+
+ endTime_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * guess, either this or begin_time + *+ * + *
int64 end_time = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearEndTime() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ endTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int poolId_ ;
+ /**
+ * uint32 pool_id = 11;
+ * @return The poolId.
+ */
+ @java.lang.Override
+ public int getPoolId() {
+ return poolId_;
+ }
+ /**
+ * uint32 pool_id = 11;
+ * @param value The poolId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPoolId(int value) {
+
+ poolId_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 pool_id = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearPoolId() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ poolId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean hasTakenInitialScore_ ;
+ /**
+ * + * guess + *+ * + *
bool has_taken_initial_score = 13;
+ * @return The hasTakenInitialScore.
+ */
+ @java.lang.Override
+ public boolean getHasTakenInitialScore() {
+ return hasTakenInitialScore_;
+ }
+ /**
+ * + * guess + *+ * + *
bool has_taken_initial_score = 13;
+ * @param value The hasTakenInitialScore to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHasTakenInitialScore(boolean value) {
+
+ hasTakenInitialScore_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * guess + *+ * + *
bool has_taken_initial_score = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearHasTakenInitialScore() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ hasTakenInitialScore_ = false;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:RogueScoreRewardInfo)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName beginTime = FieldName.forField("beginTime", "begin_time");
-
- static final FieldName endTime = FieldName.forField("endTime", "end_time");
-
- static final FieldName score = FieldName.forField("score");
-
- static final FieldName poolId = FieldName.forField("poolId", "pool_id");
-
- static final FieldName hasTakenInitialScore = FieldName.forField("hasTakenInitialScore", "has_taken_initial_score");
-
- static final FieldName poolRefreshed = FieldName.forField("poolRefreshed", "pool_refreshed");
-
- static final FieldName hasTakenReward = FieldName.forField("hasTakenReward", "has_taken_reward");
+ // @@protoc_insertion_point(class_scope:RogueScoreRewardInfo)
+ private static final emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo();
}
+
+ public static emu.lunarcore.proto.RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserbool finish = 12;
+ * @return The finish.
+ */
+ boolean getFinish();
+
+ /**
+ * uint32 progress = 9;
+ * @return The progress.
+ */
+ int getProgress();
+
+ /**
+ * uint32 unlock_id = 8;
+ * @return The unlockId.
+ */
+ int getUnlockId();
+ }
/**
* Protobuf type {@code RogueUnlockProgress}
*/
- public static final class RogueUnlockProgress extends ProtoMessageoptional uint32 unlock_id = 11;
- */
- private int unlockId;
-
- /**
- * optional uint32 progress = 13;
- */
- private int progress;
-
- /**
- * optional bool finish = 4;
- */
- private boolean finish;
-
+ public static final class RogueUnlockProgress extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:RogueUnlockProgress)
+ RogueUnlockProgressOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ RogueUnlockProgress.class.getName());
+ }
+ // Use RogueUnlockProgress.newBuilder() to construct.
+ private RogueUnlockProgress(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private RogueUnlockProgress() {
}
- /**
- * @return a new empty instance of {@code RogueUnlockProgress}
- */
- public static RogueUnlockProgress newInstance() {
- return new RogueUnlockProgress();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.RogueUnlockProgressOuterClass.internal_static_RogueUnlockProgress_descriptor;
}
- /**
- * optional uint32 unlock_id = 11;
- * @return whether the unlockId field is set
- */
- public boolean hasUnlockId() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.RogueUnlockProgressOuterClass.internal_static_RogueUnlockProgress_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress.class, emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress.Builder.class);
}
+ public static final int FINISH_FIELD_NUMBER = 12;
+ private boolean finish_ = false;
/**
- * optional uint32 unlock_id = 11;
- * @return this
- */
- public RogueUnlockProgress clearUnlockId() {
- bitField0_ &= ~0x00000001;
- unlockId = 0;
- return this;
- }
-
- /**
- * optional uint32 unlock_id = 11;
- * @return the unlockId
- */
- public int getUnlockId() {
- return unlockId;
- }
-
- /**
- * optional uint32 unlock_id = 11;
- * @param value the unlockId to set
- * @return this
- */
- public RogueUnlockProgress setUnlockId(final int value) {
- bitField0_ |= 0x00000001;
- unlockId = value;
- return this;
- }
-
- /**
- * optional uint32 progress = 13;
- * @return whether the progress field is set
- */
- public boolean hasProgress() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 progress = 13;
- * @return this
- */
- public RogueUnlockProgress clearProgress() {
- bitField0_ &= ~0x00000002;
- progress = 0;
- return this;
- }
-
- /**
- * optional uint32 progress = 13;
- * @return the progress
- */
- public int getProgress() {
- return progress;
- }
-
- /**
- * optional uint32 progress = 13;
- * @param value the progress to set
- * @return this
- */
- public RogueUnlockProgress setProgress(final int value) {
- bitField0_ |= 0x00000002;
- progress = value;
- return this;
- }
-
- /**
- * optional bool finish = 4;
- * @return whether the finish field is set
- */
- public boolean hasFinish() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional bool finish = 4;
- * @return this
- */
- public RogueUnlockProgress clearFinish() {
- bitField0_ &= ~0x00000004;
- finish = false;
- return this;
- }
-
- /**
- * optional bool finish = 4;
- * @return the finish
+ * bool finish = 12;
+ * @return The finish.
*/
+ @java.lang.Override
public boolean getFinish() {
- return finish;
+ return finish_;
}
+ public static final int PROGRESS_FIELD_NUMBER = 9;
+ private int progress_ = 0;
/**
- * optional bool finish = 4;
- * @param value the finish to set
- * @return this
+ * uint32 progress = 9;
+ * @return The progress.
*/
- public RogueUnlockProgress setFinish(final boolean value) {
- bitField0_ |= 0x00000004;
- finish = value;
- return this;
+ @java.lang.Override
+ public int getProgress() {
+ return progress_;
}
- @Override
- public RogueUnlockProgress copyFrom(final RogueUnlockProgress other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- unlockId = other.unlockId;
- progress = other.progress;
- finish = other.finish;
- }
- return this;
+ public static final int UNLOCK_ID_FIELD_NUMBER = 8;
+ private int unlockId_ = 0;
+ /**
+ * uint32 unlock_id = 8;
+ * @return The unlockId.
+ */
+ @java.lang.Override
+ public int getUnlockId() {
+ return unlockId_;
}
- @Override
- public RogueUnlockProgress mergeFrom(final RogueUnlockProgress other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasUnlockId()) {
- setUnlockId(other.unlockId);
- }
- if (other.hasProgress()) {
- setProgress(other.progress);
- }
- if (other.hasFinish()) {
- setFinish(other.finish);
- }
- return this;
+ 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;
}
- @Override
- public RogueUnlockProgress clear() {
- if (isEmpty()) {
- return this;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (unlockId_ != 0) {
+ output.writeUInt32(8, unlockId_);
}
- cachedSize = -1;
- bitField0_ = 0;
- unlockId = 0;
- progress = 0;
- finish = false;
- return this;
+ if (progress_ != 0) {
+ output.writeUInt32(9, progress_);
+ }
+ if (finish_ != false) {
+ output.writeBool(12, finish_);
+ }
+ getUnknownFields().writeTo(output);
}
- @Override
- public RogueUnlockProgress clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
+ size = 0;
+ if (unlockId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(8, unlockId_);
}
- if (!(o instanceof RogueUnlockProgress)) {
- return false;
+ if (progress_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(9, progress_);
}
- RogueUnlockProgress other = (RogueUnlockProgress) o;
- return bitField0_ == other.bitField0_
- && (!hasUnlockId() || unlockId == other.unlockId)
- && (!hasProgress() || progress == other.progress)
- && (!hasFinish() || finish == other.finish);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 88);
- output.writeUInt32NoTag(unlockId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(progress);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 32);
- output.writeBoolNoTag(finish);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(progress);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 2;
+ if (finish_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(12, finish_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public RogueUnlockProgress mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 88: {
- // unlockId
- unlockId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 104) {
- break;
- }
- }
- case 104: {
- // progress
- progress = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 32) {
- break;
- }
- }
- case 32: {
- // finish
- finish = input.readBool();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress other = (emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress) obj;
+
+ if (getFinish()
+ != other.getFinish()) return false;
+ if (getProgress()
+ != other.getProgress()) return false;
+ if (getUnlockId()
+ != other.getUnlockId()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.unlockId, unlockId);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.progress, progress);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeBool(FieldNames.finish, finish);
- }
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + FINISH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getFinish());
+ hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
+ hash = (53 * hash) + getProgress();
+ hash = (37 * hash) + UNLOCK_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getUnlockId();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public RogueUnlockProgress mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code RogueUnlockProgress}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderbool finish = 12;
+ * @return The finish.
+ */
+ @java.lang.Override
+ public boolean getFinish() {
+ return finish_;
+ }
+ /**
+ * bool finish = 12;
+ * @param value The finish to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFinish(boolean value) {
+
+ finish_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool finish = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearFinish() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ finish_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int progress_ ;
+ /**
+ * uint32 progress = 9;
+ * @return The progress.
+ */
+ @java.lang.Override
+ public int getProgress() {
+ return progress_;
+ }
+ /**
+ * uint32 progress = 9;
+ * @param value The progress to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProgress(int value) {
+
+ progress_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 progress = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearProgress() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ progress_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int unlockId_ ;
+ /**
+ * uint32 unlock_id = 8;
+ * @return The unlockId.
+ */
+ @java.lang.Override
+ public int getUnlockId() {
+ return unlockId_;
+ }
+ /**
+ * uint32 unlock_id = 8;
+ * @param value The unlockId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUnlockId(int value) {
+
+ unlockId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 unlock_id = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearUnlockId() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ unlockId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:RogueUnlockProgress)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName unlockId = FieldName.forField("unlockId", "unlock_id");
-
- static final FieldName progress = FieldName.forField("progress");
-
- static final FieldName finish = FieldName.forField("finish");
+ // @@protoc_insertion_point(class_scope:RogueUnlockProgress)
+ private static final emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress();
}
+
+ public static emu.lunarcore.proto.RogueUnlockProgressOuterClass.RogueUnlockProgress getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseruint32 hard_level_group = 3;
+ * @return The hardLevelGroup.
+ */
+ int getHardLevelGroup();
+
+ /**
+ * uint32 level = 8;
+ * @return The level.
+ */
+ int getLevel();
+
+ /**
+ * uint32 elite_group = 10;
+ * @return The eliteGroup.
+ */
+ int getEliteGroup();
+ }
/**
* Protobuf type {@code SceneMonsterWaveParam}
*/
- public static final class SceneMonsterWaveParam extends ProtoMessageoptional uint32 level = 8;
- */
- private int level;
-
+ public static final class SceneMonsterWaveParam extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:SceneMonsterWaveParam)
+ SceneMonsterWaveParamOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ SceneMonsterWaveParam.class.getName());
+ }
+ // Use SceneMonsterWaveParam.newBuilder() to construct.
+ private SceneMonsterWaveParam(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private SceneMonsterWaveParam() {
}
- /**
- * @return a new empty instance of {@code SceneMonsterWaveParam}
- */
- public static SceneMonsterWaveParam newInstance() {
- return new SceneMonsterWaveParam();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.internal_static_SceneMonsterWaveParam_descriptor;
}
- /**
- * optional uint32 level = 8;
- * @return whether the level field is set
- */
- public boolean hasLevel() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.internal_static_SceneMonsterWaveParam_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.class, emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam.Builder.class);
}
+ public static final int HARD_LEVEL_GROUP_FIELD_NUMBER = 3;
+ private int hardLevelGroup_ = 0;
/**
- * optional uint32 level = 8;
- * @return this
+ * uint32 hard_level_group = 3;
+ * @return The hardLevelGroup.
*/
- public SceneMonsterWaveParam clearLevel() {
- bitField0_ &= ~0x00000001;
- level = 0;
- return this;
+ @java.lang.Override
+ public int getHardLevelGroup() {
+ return hardLevelGroup_;
}
+ public static final int LEVEL_FIELD_NUMBER = 8;
+ private int level_ = 0;
/**
- * optional uint32 level = 8;
- * @return the level
+ * uint32 level = 8;
+ * @return The level.
*/
+ @java.lang.Override
public int getLevel() {
- return level;
+ return level_;
}
+ public static final int ELITE_GROUP_FIELD_NUMBER = 10;
+ private int eliteGroup_ = 0;
/**
- * optional uint32 level = 8;
- * @param value the level to set
- * @return this
+ * uint32 elite_group = 10;
+ * @return The eliteGroup.
*/
- public SceneMonsterWaveParam setLevel(final int value) {
- bitField0_ |= 0x00000001;
- level = value;
- return this;
+ @java.lang.Override
+ public int getEliteGroup() {
+ return eliteGroup_;
}
- @Override
- public SceneMonsterWaveParam copyFrom(final SceneMonsterWaveParam other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- level = other.level;
- }
- return this;
+ 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;
}
- @Override
- public SceneMonsterWaveParam mergeFrom(final SceneMonsterWaveParam other) {
- if (other.isEmpty()) {
- return this;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (hardLevelGroup_ != 0) {
+ output.writeUInt32(3, hardLevelGroup_);
}
- cachedSize = -1;
- if (other.hasLevel()) {
- setLevel(other.level);
+ if (level_ != 0) {
+ output.writeUInt32(8, level_);
}
- return this;
+ if (eliteGroup_ != 0) {
+ output.writeUInt32(10, eliteGroup_);
+ }
+ getUnknownFields().writeTo(output);
}
- @Override
- public SceneMonsterWaveParam clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- level = 0;
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public SceneMonsterWaveParam clearQuick() {
- if (isEmpty()) {
- return this;
+ size = 0;
+ if (hardLevelGroup_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(3, hardLevelGroup_);
}
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
+ if (level_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(8, level_);
}
- if (!(o instanceof SceneMonsterWaveParam)) {
- return false;
- }
- SceneMonsterWaveParam other = (SceneMonsterWaveParam) o;
- return bitField0_ == other.bitField0_
- && (!hasLevel() || level == other.level);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt32NoTag(level);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
+ if (eliteGroup_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(10, eliteGroup_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public SceneMonsterWaveParam mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 64: {
- // level
- level = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam other = (emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam) obj;
+
+ if (getHardLevelGroup()
+ != other.getHardLevelGroup()) return false;
+ if (getLevel()
+ != other.getLevel()) return false;
+ if (getEliteGroup()
+ != other.getEliteGroup()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.level, level);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + HARD_LEVEL_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + getHardLevelGroup();
+ hash = (37 * hash) + LEVEL_FIELD_NUMBER;
+ hash = (53 * hash) + getLevel();
+ hash = (37 * hash) + ELITE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + getEliteGroup();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public SceneMonsterWaveParam mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code SceneMonsterWaveParam}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderuint32 hard_level_group = 3;
+ * @return The hardLevelGroup.
+ */
+ @java.lang.Override
+ public int getHardLevelGroup() {
+ return hardLevelGroup_;
+ }
+ /**
+ * uint32 hard_level_group = 3;
+ * @param value The hardLevelGroup to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHardLevelGroup(int value) {
+
+ hardLevelGroup_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 hard_level_group = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearHardLevelGroup() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ hardLevelGroup_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int level_ ;
+ /**
+ * uint32 level = 8;
+ * @return The level.
+ */
+ @java.lang.Override
+ public int getLevel() {
+ return level_;
+ }
+ /**
+ * uint32 level = 8;
+ * @param value The level to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLevel(int value) {
+
+ level_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 level = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearLevel() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ level_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int eliteGroup_ ;
+ /**
+ * uint32 elite_group = 10;
+ * @return The eliteGroup.
+ */
+ @java.lang.Override
+ public int getEliteGroup() {
+ return eliteGroup_;
+ }
+ /**
+ * uint32 elite_group = 10;
+ * @param value The eliteGroup to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEliteGroup(int value) {
+
+ eliteGroup_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 elite_group = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearEliteGroup() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ eliteGroup_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:SceneMonsterWaveParam)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName level = FieldName.forField("level");
+ // @@protoc_insertion_point(class_scope:SceneMonsterWaveParam)
+ private static final emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam();
}
+
+ public static emu.lunarcore.proto.SceneMonsterWaveParamOuterClass.SceneMonsterWaveParam getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseruint32 group_id = 1;
+ * @return The groupId.
+ */
+ int getGroupId();
+ }
/**
* Protobuf type {@code TakeChallengeRewardCsReq}
*/
- public static final class TakeChallengeRewardCsReq extends ProtoMessageoptional uint32 group_id = 1;
- */
- private int groupId;
-
+ public static final class TakeChallengeRewardCsReq extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:TakeChallengeRewardCsReq)
+ TakeChallengeRewardCsReqOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ TakeChallengeRewardCsReq.class.getName());
+ }
+ // Use TakeChallengeRewardCsReq.newBuilder() to construct.
+ private TakeChallengeRewardCsReq(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private TakeChallengeRewardCsReq() {
}
- /**
- * @return a new empty instance of {@code TakeChallengeRewardCsReq}
- */
- public static TakeChallengeRewardCsReq newInstance() {
- return new TakeChallengeRewardCsReq();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_descriptor;
}
- /**
- * optional uint32 group_id = 1;
- * @return whether the groupId field is set
- */
- public boolean hasGroupId() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.internal_static_TakeChallengeRewardCsReq_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.class, emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq.Builder.class);
}
+ public static final int GROUP_ID_FIELD_NUMBER = 1;
+ private int groupId_ = 0;
/**
- * optional uint32 group_id = 1;
- * @return this
- */
- public TakeChallengeRewardCsReq clearGroupId() {
- bitField0_ &= ~0x00000001;
- groupId = 0;
- return this;
- }
-
- /**
- * optional uint32 group_id = 1;
- * @return the groupId
+ * uint32 group_id = 1;
+ * @return The groupId.
*/
+ @java.lang.Override
public int getGroupId() {
- return groupId;
+ return groupId_;
}
- /**
- * optional uint32 group_id = 1;
- * @param value the groupId to set
- * @return this
- */
- public TakeChallengeRewardCsReq setGroupId(final int value) {
- bitField0_ |= 0x00000001;
- groupId = value;
- return this;
+ 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;
}
- @Override
- public TakeChallengeRewardCsReq copyFrom(final TakeChallengeRewardCsReq other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- groupId = other.groupId;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (groupId_ != 0) {
+ output.writeUInt32(1, groupId_);
}
- return this;
+ getUnknownFields().writeTo(output);
}
- @Override
- public TakeChallengeRewardCsReq mergeFrom(final TakeChallengeRewardCsReq other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasGroupId()) {
- setGroupId(other.groupId);
- }
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public TakeChallengeRewardCsReq clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- groupId = 0;
- return this;
- }
-
- @Override
- public TakeChallengeRewardCsReq clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof TakeChallengeRewardCsReq)) {
- return false;
- }
- TakeChallengeRewardCsReq other = (TakeChallengeRewardCsReq) o;
- return bitField0_ == other.bitField0_
- && (!hasGroupId() || groupId == other.groupId);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(groupId);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(groupId);
+ size = 0;
+ if (groupId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(1, groupId_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public TakeChallengeRewardCsReq mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 8: {
- // groupId
- groupId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq other = (emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq) obj;
+
+ if (getGroupId()
+ != other.getGroupId()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.groupId, groupId);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getGroupId();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public TakeChallengeRewardCsReq mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code TakeChallengeRewardCsReq}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderuint32 group_id = 1;
+ * @return The groupId.
+ */
+ @java.lang.Override
+ public int getGroupId() {
+ return groupId_;
+ }
+ /**
+ * uint32 group_id = 1;
+ * @param value The groupId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGroupId(int value) {
+
+ groupId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 group_id = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearGroupId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ groupId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:TakeChallengeRewardCsReq)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName groupId = FieldName.forField("groupId", "group_id");
+ // @@protoc_insertion_point(class_scope:TakeChallengeRewardCsReq)
+ private static final emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq();
}
+
+ public static emu.lunarcore.proto.TakeChallengeRewardCsReqOuterClass.TakeChallengeRewardCsReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrepeated uint32 mail_id_list = 12;
+ * @return A list containing the mailIdList.
+ */
+ java.util.Listrepeated uint32 mail_id_list = 12;
+ * @return The count of mailIdList.
+ */
+ int getMailIdListCount();
+ /**
+ * repeated uint32 mail_id_list = 12;
+ * @param index The index of the element to return.
+ * @return The mailIdList at the given index.
+ */
+ int getMailIdList(int index);
+
+ /**
+ * uint32 optional_reward_id = 9;
+ * @return The optionalRewardId.
+ */
+ int getOptionalRewardId();
+ }
/**
* Protobuf type {@code TakeMailAttachmentCsReq}
*/
- public static final class TakeMailAttachmentCsReq extends ProtoMessagerepeated uint32 mail_id_list = 12;
- */
- private final RepeatedInt mailIdList = RepeatedInt.newEmptyInstance();
-
+ public static final class TakeMailAttachmentCsReq extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:TakeMailAttachmentCsReq)
+ TakeMailAttachmentCsReqOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ TakeMailAttachmentCsReq.class.getName());
+ }
+ // Use TakeMailAttachmentCsReq.newBuilder() to construct.
+ private TakeMailAttachmentCsReq(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private TakeMailAttachmentCsReq() {
+ mailIdList_ = emptyIntList();
}
- /**
- * @return a new empty instance of {@code TakeMailAttachmentCsReq}
- */
- public static TakeMailAttachmentCsReq newInstance() {
- return new TakeMailAttachmentCsReq();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.internal_static_TakeMailAttachmentCsReq_descriptor;
}
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.internal_static_TakeMailAttachmentCsReq_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.class, emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq.Builder.class);
+ }
+
+ public static final int MAIL_ID_LIST_FIELD_NUMBER = 12;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.IntList mailIdList_ =
+ emptyIntList();
/**
* repeated uint32 mail_id_list = 12;
- * @return whether the mailIdList field is set
+ * @return A list containing the mailIdList.
*/
- public boolean hasMailIdList() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ public java.util.Listrepeated uint32 mail_id_list = 12;
- * @return this
+ * @return The count of mailIdList.
*/
- public TakeMailAttachmentCsReq clearMailIdList() {
- bitField0_ &= ~0x00000001;
- mailIdList.clear();
- return this;
+ public int getMailIdListCount() {
+ return mailIdList_.size();
}
-
/**
* repeated uint32 mail_id_list = 12;
- *
- * This method returns the internal storage object without modifying any has state.
- * The returned object should not be modified and be treated as read-only.
- *
- * Use {@link #getMutableMailIdList()} if you want to modify it.
- *
- * @return internal storage object for reading
+ * @param index The index of the element to return.
+ * @return The mailIdList at the given index.
*/
- public RepeatedInt getMailIdList() {
- return mailIdList;
+ public int getMailIdList(int index) {
+ return mailIdList_.getInt(index);
}
+ private int mailIdListMemoizedSerializedSize = -1;
+ public static final int OPTIONAL_REWARD_ID_FIELD_NUMBER = 9;
+ private int optionalRewardId_ = 0;
/**
- * repeated uint32 mail_id_list = 12;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
+ * uint32 optional_reward_id = 9;
+ * @return The optionalRewardId.
*/
- public RepeatedInt getMutableMailIdList() {
- bitField0_ |= 0x00000001;
- return mailIdList;
+ @java.lang.Override
+ public int getOptionalRewardId() {
+ return optionalRewardId_;
}
- /**
- * repeated uint32 mail_id_list = 12;
- * @param value the mailIdList to add
- * @return this
- */
- public TakeMailAttachmentCsReq addMailIdList(final int value) {
- bitField0_ |= 0x00000001;
- mailIdList.add(value);
- return this;
+ 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;
}
- /**
- * repeated uint32 mail_id_list = 12;
- * @param values the mailIdList to add
- * @return this
- */
- public TakeMailAttachmentCsReq addAllMailIdList(final int... values) {
- bitField0_ |= 0x00000001;
- mailIdList.addAll(values);
- return this;
- }
-
- @Override
- public TakeMailAttachmentCsReq copyFrom(final TakeMailAttachmentCsReq other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- mailIdList.copyFrom(other.mailIdList);
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (optionalRewardId_ != 0) {
+ output.writeUInt32(9, optionalRewardId_);
}
- return this;
+ if (getMailIdListList().size() > 0) {
+ output.writeUInt32NoTag(98);
+ output.writeUInt32NoTag(mailIdListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < mailIdList_.size(); i++) {
+ output.writeUInt32NoTag(mailIdList_.getInt(i));
+ }
+ getUnknownFields().writeTo(output);
}
- @Override
- public TakeMailAttachmentCsReq mergeFrom(final TakeMailAttachmentCsReq other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasMailIdList()) {
- getMutableMailIdList().addAll(other.mailIdList);
- }
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public TakeMailAttachmentCsReq clear() {
- if (isEmpty()) {
- return this;
+ size = 0;
+ if (optionalRewardId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(9, optionalRewardId_);
}
- cachedSize = -1;
- bitField0_ = 0;
- mailIdList.clear();
- return this;
- }
-
- @Override
- public TakeMailAttachmentCsReq clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- mailIdList.clear();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof TakeMailAttachmentCsReq)) {
- return false;
- }
- TakeMailAttachmentCsReq other = (TakeMailAttachmentCsReq) o;
- return bitField0_ == other.bitField0_
- && (!hasMailIdList() || mailIdList.equals(other.mailIdList));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- for (int i = 0; i < mailIdList.length(); i++) {
- output.writeRawByte((byte) 96);
- output.writeUInt32NoTag(mailIdList.array()[i]);
+ {
+ int dataSize = 0;
+ for (int i = 0; i < mailIdList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(mailIdList_.getInt(i));
}
+ size += dataSize;
+ if (!getMailIdListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ mailIdListMemoizedSerializedSize = dataSize;
}
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += (1 * mailIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(mailIdList);
- }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public TakeMailAttachmentCsReq mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 98: {
- // mailIdList [packed=true]
- input.readPackedUInt32(mailIdList, tag);
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- case 96: {
- // mailIdList [packed=false]
- tag = input.readRepeatedUInt32(mailIdList, tag);
- bitField0_ |= 0x00000001;
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq other = (emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq) obj;
+
+ if (!getMailIdListList()
+ .equals(other.getMailIdListList())) return false;
+ if (getOptionalRewardId()
+ != other.getOptionalRewardId()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRepeatedUInt32(FieldNames.mailIdList, mailIdList);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getMailIdListCount() > 0) {
+ hash = (37 * hash) + MAIL_ID_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getMailIdListList().hashCode();
+ }
+ hash = (37 * hash) + OPTIONAL_REWARD_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getOptionalRewardId();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public TakeMailAttachmentCsReq mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code TakeMailAttachmentCsReq}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrepeated uint32 mail_id_list = 12;
+ * @return A list containing the mailIdList.
+ */
+ public java.util.Listrepeated uint32 mail_id_list = 12;
+ * @return The count of mailIdList.
+ */
+ public int getMailIdListCount() {
+ return mailIdList_.size();
+ }
+ /**
+ * repeated uint32 mail_id_list = 12;
+ * @param index The index of the element to return.
+ * @return The mailIdList at the given index.
+ */
+ public int getMailIdList(int index) {
+ return mailIdList_.getInt(index);
+ }
+ /**
+ * repeated uint32 mail_id_list = 12;
+ * @param index The index to set the value at.
+ * @param value The mailIdList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMailIdList(
+ int index, int value) {
+
+ ensureMailIdListIsMutable();
+ mailIdList_.setInt(index, value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 mail_id_list = 12;
+ * @param value The mailIdList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addMailIdList(int value) {
+
+ ensureMailIdListIsMutable();
+ mailIdList_.addInt(value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 mail_id_list = 12;
+ * @param values The mailIdList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllMailIdList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureMailIdListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, mailIdList_);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 mail_id_list = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearMailIdList() {
+ mailIdList_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ private int optionalRewardId_ ;
+ /**
+ * uint32 optional_reward_id = 9;
+ * @return The optionalRewardId.
+ */
+ @java.lang.Override
+ public int getOptionalRewardId() {
+ return optionalRewardId_;
+ }
+ /**
+ * uint32 optional_reward_id = 9;
+ * @param value The optionalRewardId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOptionalRewardId(int value) {
+
+ optionalRewardId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 optional_reward_id = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearOptionalRewardId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ optionalRewardId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:TakeMailAttachmentCsReq)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName mailIdList = FieldName.forField("mailIdList", "mail_id_list");
+ // @@protoc_insertion_point(class_scope:TakeMailAttachmentCsReq)
+ private static final emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq();
}
+
+ public static emu.lunarcore.proto.TakeMailAttachmentCsReqOuterClass.TakeMailAttachmentCsReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseruint32 text_item_id = 1;
+ * @return The textItemId.
+ */
+ int getTextItemId();
+
+ /**
+ * uint32 text_item_config_id = 6;
+ * @return The textItemConfigId.
+ */
+ int getTextItemConfigId();
+ }
/**
* Protobuf type {@code TextJoinInfo}
*/
- public static final class TextJoinInfo extends ProtoMessageoptional uint32 text_item_id = 2;
- */
- private int textItemId;
-
- /**
- * optional uint32 text_item_config_id = 3;
- */
- private int textItemConfigId;
-
+ public static final class TextJoinInfo extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:TextJoinInfo)
+ TextJoinInfoOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 26,
+ /* patch= */ 0,
+ /* suffix= */ "-rc1",
+ TextJoinInfo.class.getName());
+ }
+ // Use TextJoinInfo.newBuilder() to construct.
+ private TextJoinInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
private TextJoinInfo() {
}
- /**
- * @return a new empty instance of {@code TextJoinInfo}
- */
- public static TextJoinInfo newInstance() {
- return new TextJoinInfo();
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_descriptor;
}
- /**
- * optional uint32 text_item_id = 2;
- * @return whether the textItemId field is set
- */
- public boolean hasTextItemId() {
- return (bitField0_ & 0x00000001) != 0;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.lunarcore.proto.TextJoinInfoOuterClass.internal_static_TextJoinInfo_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.class, emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo.Builder.class);
}
+ public static final int TEXT_ITEM_ID_FIELD_NUMBER = 1;
+ private int textItemId_ = 0;
/**
- * optional uint32 text_item_id = 2;
- * @return this
- */
- public TextJoinInfo clearTextItemId() {
- bitField0_ &= ~0x00000001;
- textItemId = 0;
- return this;
- }
-
- /**
- * optional uint32 text_item_id = 2;
- * @return the textItemId
+ * uint32 text_item_id = 1;
+ * @return The textItemId.
*/
+ @java.lang.Override
public int getTextItemId() {
- return textItemId;
+ return textItemId_;
}
+ public static final int TEXT_ITEM_CONFIG_ID_FIELD_NUMBER = 6;
+ private int textItemConfigId_ = 0;
/**
- * optional uint32 text_item_id = 2;
- * @param value the textItemId to set
- * @return this
- */
- public TextJoinInfo setTextItemId(final int value) {
- bitField0_ |= 0x00000001;
- textItemId = value;
- return this;
- }
-
- /**
- * optional uint32 text_item_config_id = 3;
- * @return whether the textItemConfigId field is set
- */
- public boolean hasTextItemConfigId() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 text_item_config_id = 3;
- * @return this
- */
- public TextJoinInfo clearTextItemConfigId() {
- bitField0_ &= ~0x00000002;
- textItemConfigId = 0;
- return this;
- }
-
- /**
- * optional uint32 text_item_config_id = 3;
- * @return the textItemConfigId
+ * uint32 text_item_config_id = 6;
+ * @return The textItemConfigId.
*/
+ @java.lang.Override
public int getTextItemConfigId() {
- return textItemConfigId;
+ return textItemConfigId_;
}
- /**
- * optional uint32 text_item_config_id = 3;
- * @param value the textItemConfigId to set
- * @return this
- */
- public TextJoinInfo setTextItemConfigId(final int value) {
- bitField0_ |= 0x00000002;
- textItemConfigId = value;
- return this;
+ 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;
}
- @Override
- public TextJoinInfo copyFrom(final TextJoinInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- textItemId = other.textItemId;
- textItemConfigId = other.textItemConfigId;
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (textItemId_ != 0) {
+ output.writeUInt32(1, textItemId_);
}
- return this;
+ if (textItemConfigId_ != 0) {
+ output.writeUInt32(6, textItemConfigId_);
+ }
+ getUnknownFields().writeTo(output);
}
- @Override
- public TextJoinInfo mergeFrom(final TextJoinInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasTextItemId()) {
- setTextItemId(other.textItemId);
- }
- if (other.hasTextItemConfigId()) {
- setTextItemConfigId(other.textItemConfigId);
- }
- return this;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
- @Override
- public TextJoinInfo clear() {
- if (isEmpty()) {
- return this;
+ size = 0;
+ if (textItemId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(1, textItemId_);
}
- cachedSize = -1;
- bitField0_ = 0;
- textItemId = 0;
- textItemConfigId = 0;
- return this;
- }
-
- @Override
- public TextJoinInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof TextJoinInfo)) {
- return false;
- }
- TextJoinInfo other = (TextJoinInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasTextItemId() || textItemId == other.textItemId)
- && (!hasTextItemConfigId() || textItemConfigId == other.textItemConfigId);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(textItemId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(textItemConfigId);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(textItemId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(textItemConfigId);
+ if (textItemConfigId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(6, textItemConfigId_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- @Override
- @SuppressWarnings("fallthrough")
- public TextJoinInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 16: {
- // textItemId
- textItemId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 24) {
- break;
- }
- }
- case 24: {
- // textItemConfigId
- textItemConfigId = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
}
+ if (!(obj instanceof emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo)) {
+ return super.equals(obj);
+ }
+ emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo other = (emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo) obj;
+
+ if (getTextItemId()
+ != other.getTextItemId()) return false;
+ if (getTextItemConfigId()
+ != other.getTextItemConfigId()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.textItemId, textItemId);
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.textItemConfigId, textItemConfigId);
- }
- output.endObject();
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + TEXT_ITEM_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getTextItemId();
+ hash = (37 * hash) + TEXT_ITEM_CONFIG_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getTextItemConfigId();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- @Override
- public TextJoinInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code TextJoinInfo}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderuint32 text_item_id = 1;
+ * @return The textItemId.
+ */
+ @java.lang.Override
+ public int getTextItemId() {
+ return textItemId_;
+ }
+ /**
+ * uint32 text_item_id = 1;
+ * @param value The textItemId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTextItemId(int value) {
+
+ textItemId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 text_item_id = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearTextItemId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ textItemId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int textItemConfigId_ ;
+ /**
+ * uint32 text_item_config_id = 6;
+ * @return The textItemConfigId.
+ */
+ @java.lang.Override
+ public int getTextItemConfigId() {
+ return textItemConfigId_;
+ }
+ /**
+ * uint32 text_item_config_id = 6;
+ * @param value The textItemConfigId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTextItemConfigId(int value) {
+
+ textItemConfigId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 text_item_config_id = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearTextItemConfigId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ textItemConfigId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:TextJoinInfo)
}
- /**
- * Contains name constants used for serializing JSON
- */
- static class FieldNames {
- static final FieldName textItemId = FieldName.forField("textItemId", "text_item_id");
-
- static final FieldName textItemConfigId = FieldName.forField("textItemConfigId", "text_item_config_id");
+ // @@protoc_insertion_point(class_scope:TextJoinInfo)
+ private static final emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo();
}
+
+ public static emu.lunarcore.proto.TextJoinInfoOuterClass.TextJoinInfo getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser