emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TreasureMapActivityDetailInfo.proto
package emu.grasscutter.net.proto;
public final class TreasureMapActivityDetailInfoOuterClass {
private TreasureMapActivityDetailInfoOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface TreasureMapActivityDetailInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:TreasureMapActivityDetailInfo)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 treasure_close_time = 10;
* @return The treasureCloseTime.
*/
int getTreasureCloseTime();
/**
* bool is_mp_challenge_touched = 12;
* @return The isMpChallengeTouched.
*/
boolean getIsMpChallengeTouched();
/**
* uint32 currency_num = 5;
* @return The currencyNum.
*/
int getCurrencyNum();
/**
* uint32 LNGOLLDBIEC = 7;
* @return The lNGOLLDBIEC.
*/
int getLNGOLLDBIEC();
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
java.util.List
getRegionInfoListList();
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo getRegionInfoList(int index);
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
int getRegionInfoListCount();
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
java.util.List extends emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfoOrBuilder>
getRegionInfoListOrBuilderList();
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfoOrBuilder getRegionInfoListOrBuilder(
int index);
/**
* uint32 active_region_index = 14;
* @return The activeRegionIndex.
*/
int getActiveRegionIndex();
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
java.util.List
getBonusChallengeListList();
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo getBonusChallengeList(int index);
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
int getBonusChallengeListCount();
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
java.util.List extends emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfoOrBuilder>
getBonusChallengeListOrBuilderList();
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfoOrBuilder getBonusChallengeListOrBuilder(
int index);
/**
* uint32 MPJCDHBBHMM = 9;
* @return The mPJCDHBBHMM.
*/
int getMPJCDHBBHMM();
/**
* uint32 OLCIPBELKIB = 8;
* @return The oLCIPBELKIB.
*/
int getOLCIPBELKIB();
}
/**
*
* Obf: EPFHAMJMACE
*
*
* Protobuf type {@code TreasureMapActivityDetailInfo}
*/
public static final class TreasureMapActivityDetailInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:TreasureMapActivityDetailInfo)
TreasureMapActivityDetailInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use TreasureMapActivityDetailInfo.newBuilder() to construct.
private TreasureMapActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TreasureMapActivityDetailInfo() {
regionInfoList_ = java.util.Collections.emptyList();
bonusChallengeList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TreasureMapActivityDetailInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TreasureMapActivityDetailInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 40: {
currencyNum_ = input.readUInt32();
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
regionInfoList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
regionInfoList_.add(
input.readMessage(emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.parser(), extensionRegistry));
break;
}
case 56: {
lNGOLLDBIEC_ = input.readUInt32();
break;
}
case 64: {
oLCIPBELKIB_ = input.readUInt32();
break;
}
case 72: {
mPJCDHBBHMM_ = input.readUInt32();
break;
}
case 80: {
treasureCloseTime_ = input.readUInt32();
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
bonusChallengeList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
bonusChallengeList_.add(
input.readMessage(emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.parser(), extensionRegistry));
break;
}
case 96: {
isMpChallengeTouched_ = input.readBool();
break;
}
case 112: {
activeRegionIndex_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
regionInfoList_ = java.util.Collections.unmodifiableList(regionInfoList_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
bonusChallengeList_ = java.util.Collections.unmodifiableList(bonusChallengeList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.internal_static_TreasureMapActivityDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.internal_static_TreasureMapActivityDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo.class, emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo.Builder.class);
}
public static final int TREASURE_CLOSE_TIME_FIELD_NUMBER = 10;
private int treasureCloseTime_;
/**
* uint32 treasure_close_time = 10;
* @return The treasureCloseTime.
*/
@java.lang.Override
public int getTreasureCloseTime() {
return treasureCloseTime_;
}
public static final int IS_MP_CHALLENGE_TOUCHED_FIELD_NUMBER = 12;
private boolean isMpChallengeTouched_;
/**
* bool is_mp_challenge_touched = 12;
* @return The isMpChallengeTouched.
*/
@java.lang.Override
public boolean getIsMpChallengeTouched() {
return isMpChallengeTouched_;
}
public static final int CURRENCY_NUM_FIELD_NUMBER = 5;
private int currencyNum_;
/**
* uint32 currency_num = 5;
* @return The currencyNum.
*/
@java.lang.Override
public int getCurrencyNum() {
return currencyNum_;
}
public static final int LNGOLLDBIEC_FIELD_NUMBER = 7;
private int lNGOLLDBIEC_;
/**
* uint32 LNGOLLDBIEC = 7;
* @return The lNGOLLDBIEC.
*/
@java.lang.Override
public int getLNGOLLDBIEC() {
return lNGOLLDBIEC_;
}
public static final int REGION_INFO_LIST_FIELD_NUMBER = 6;
private java.util.List regionInfoList_;
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
@java.lang.Override
public java.util.List getRegionInfoListList() {
return regionInfoList_;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfoOrBuilder>
getRegionInfoListOrBuilderList() {
return regionInfoList_;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
@java.lang.Override
public int getRegionInfoListCount() {
return regionInfoList_.size();
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
@java.lang.Override
public emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo getRegionInfoList(int index) {
return regionInfoList_.get(index);
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
@java.lang.Override
public emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfoOrBuilder getRegionInfoListOrBuilder(
int index) {
return regionInfoList_.get(index);
}
public static final int ACTIVE_REGION_INDEX_FIELD_NUMBER = 14;
private int activeRegionIndex_;
/**
* uint32 active_region_index = 14;
* @return The activeRegionIndex.
*/
@java.lang.Override
public int getActiveRegionIndex() {
return activeRegionIndex_;
}
public static final int BONUS_CHALLENGE_LIST_FIELD_NUMBER = 11;
private java.util.List bonusChallengeList_;
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
@java.lang.Override
public java.util.List getBonusChallengeListList() {
return bonusChallengeList_;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfoOrBuilder>
getBonusChallengeListOrBuilderList() {
return bonusChallengeList_;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
@java.lang.Override
public int getBonusChallengeListCount() {
return bonusChallengeList_.size();
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
@java.lang.Override
public emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo getBonusChallengeList(int index) {
return bonusChallengeList_.get(index);
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
@java.lang.Override
public emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfoOrBuilder getBonusChallengeListOrBuilder(
int index) {
return bonusChallengeList_.get(index);
}
public static final int MPJCDHBBHMM_FIELD_NUMBER = 9;
private int mPJCDHBBHMM_;
/**
* uint32 MPJCDHBBHMM = 9;
* @return The mPJCDHBBHMM.
*/
@java.lang.Override
public int getMPJCDHBBHMM() {
return mPJCDHBBHMM_;
}
public static final int OLCIPBELKIB_FIELD_NUMBER = 8;
private int oLCIPBELKIB_;
/**
* uint32 OLCIPBELKIB = 8;
* @return The oLCIPBELKIB.
*/
@java.lang.Override
public int getOLCIPBELKIB() {
return oLCIPBELKIB_;
}
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 (currencyNum_ != 0) {
output.writeUInt32(5, currencyNum_);
}
for (int i = 0; i < regionInfoList_.size(); i++) {
output.writeMessage(6, regionInfoList_.get(i));
}
if (lNGOLLDBIEC_ != 0) {
output.writeUInt32(7, lNGOLLDBIEC_);
}
if (oLCIPBELKIB_ != 0) {
output.writeUInt32(8, oLCIPBELKIB_);
}
if (mPJCDHBBHMM_ != 0) {
output.writeUInt32(9, mPJCDHBBHMM_);
}
if (treasureCloseTime_ != 0) {
output.writeUInt32(10, treasureCloseTime_);
}
for (int i = 0; i < bonusChallengeList_.size(); i++) {
output.writeMessage(11, bonusChallengeList_.get(i));
}
if (isMpChallengeTouched_ != false) {
output.writeBool(12, isMpChallengeTouched_);
}
if (activeRegionIndex_ != 0) {
output.writeUInt32(14, activeRegionIndex_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currencyNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, currencyNum_);
}
for (int i = 0; i < regionInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, regionInfoList_.get(i));
}
if (lNGOLLDBIEC_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, lNGOLLDBIEC_);
}
if (oLCIPBELKIB_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, oLCIPBELKIB_);
}
if (mPJCDHBBHMM_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, mPJCDHBBHMM_);
}
if (treasureCloseTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, treasureCloseTime_);
}
for (int i = 0; i < bonusChallengeList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, bonusChallengeList_.get(i));
}
if (isMpChallengeTouched_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, isMpChallengeTouched_);
}
if (activeRegionIndex_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, activeRegionIndex_);
}
size += unknownFields.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.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo other = (emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo) obj;
if (getTreasureCloseTime()
!= other.getTreasureCloseTime()) return false;
if (getIsMpChallengeTouched()
!= other.getIsMpChallengeTouched()) return false;
if (getCurrencyNum()
!= other.getCurrencyNum()) return false;
if (getLNGOLLDBIEC()
!= other.getLNGOLLDBIEC()) return false;
if (!getRegionInfoListList()
.equals(other.getRegionInfoListList())) return false;
if (getActiveRegionIndex()
!= other.getActiveRegionIndex()) return false;
if (!getBonusChallengeListList()
.equals(other.getBonusChallengeListList())) return false;
if (getMPJCDHBBHMM()
!= other.getMPJCDHBBHMM()) return false;
if (getOLCIPBELKIB()
!= other.getOLCIPBELKIB()) return false;
if (!unknownFields.equals(other.unknownFields)) 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) + TREASURE_CLOSE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getTreasureCloseTime();
hash = (37 * hash) + IS_MP_CHALLENGE_TOUCHED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsMpChallengeTouched());
hash = (37 * hash) + CURRENCY_NUM_FIELD_NUMBER;
hash = (53 * hash) + getCurrencyNum();
hash = (37 * hash) + LNGOLLDBIEC_FIELD_NUMBER;
hash = (53 * hash) + getLNGOLLDBIEC();
if (getRegionInfoListCount() > 0) {
hash = (37 * hash) + REGION_INFO_LIST_FIELD_NUMBER;
hash = (53 * hash) + getRegionInfoListList().hashCode();
}
hash = (37 * hash) + ACTIVE_REGION_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getActiveRegionIndex();
if (getBonusChallengeListCount() > 0) {
hash = (37 * hash) + BONUS_CHALLENGE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getBonusChallengeListList().hashCode();
}
hash = (37 * hash) + MPJCDHBBHMM_FIELD_NUMBER;
hash = (53 * hash) + getMPJCDHBBHMM();
hash = (37 * hash) + OLCIPBELKIB_FIELD_NUMBER;
hash = (53 * hash) + getOLCIPBELKIB();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.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.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo 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.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Obf: EPFHAMJMACE
*
*
* Protobuf type {@code TreasureMapActivityDetailInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:TreasureMapActivityDetailInfo)
emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.internal_static_TreasureMapActivityDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.internal_static_TreasureMapActivityDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo.class, emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRegionInfoListFieldBuilder();
getBonusChallengeListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
treasureCloseTime_ = 0;
isMpChallengeTouched_ = false;
currencyNum_ = 0;
lNGOLLDBIEC_ = 0;
if (regionInfoListBuilder_ == null) {
regionInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
regionInfoListBuilder_.clear();
}
activeRegionIndex_ = 0;
if (bonusChallengeListBuilder_ == null) {
bonusChallengeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
bonusChallengeListBuilder_.clear();
}
mPJCDHBBHMM_ = 0;
oLCIPBELKIB_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.internal_static_TreasureMapActivityDetailInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo build() {
emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo buildPartial() {
emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo result = new emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo(this);
int from_bitField0_ = bitField0_;
result.treasureCloseTime_ = treasureCloseTime_;
result.isMpChallengeTouched_ = isMpChallengeTouched_;
result.currencyNum_ = currencyNum_;
result.lNGOLLDBIEC_ = lNGOLLDBIEC_;
if (regionInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
regionInfoList_ = java.util.Collections.unmodifiableList(regionInfoList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.regionInfoList_ = regionInfoList_;
} else {
result.regionInfoList_ = regionInfoListBuilder_.build();
}
result.activeRegionIndex_ = activeRegionIndex_;
if (bonusChallengeListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
bonusChallengeList_ = java.util.Collections.unmodifiableList(bonusChallengeList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.bonusChallengeList_ = bonusChallengeList_;
} else {
result.bonusChallengeList_ = bonusChallengeListBuilder_.build();
}
result.mPJCDHBBHMM_ = mPJCDHBBHMM_;
result.oLCIPBELKIB_ = oLCIPBELKIB_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo) {
return mergeFrom((emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo other) {
if (other == emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo.getDefaultInstance()) return this;
if (other.getTreasureCloseTime() != 0) {
setTreasureCloseTime(other.getTreasureCloseTime());
}
if (other.getIsMpChallengeTouched() != false) {
setIsMpChallengeTouched(other.getIsMpChallengeTouched());
}
if (other.getCurrencyNum() != 0) {
setCurrencyNum(other.getCurrencyNum());
}
if (other.getLNGOLLDBIEC() != 0) {
setLNGOLLDBIEC(other.getLNGOLLDBIEC());
}
if (regionInfoListBuilder_ == null) {
if (!other.regionInfoList_.isEmpty()) {
if (regionInfoList_.isEmpty()) {
regionInfoList_ = other.regionInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRegionInfoListIsMutable();
regionInfoList_.addAll(other.regionInfoList_);
}
onChanged();
}
} else {
if (!other.regionInfoList_.isEmpty()) {
if (regionInfoListBuilder_.isEmpty()) {
regionInfoListBuilder_.dispose();
regionInfoListBuilder_ = null;
regionInfoList_ = other.regionInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
regionInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRegionInfoListFieldBuilder() : null;
} else {
regionInfoListBuilder_.addAllMessages(other.regionInfoList_);
}
}
}
if (other.getActiveRegionIndex() != 0) {
setActiveRegionIndex(other.getActiveRegionIndex());
}
if (bonusChallengeListBuilder_ == null) {
if (!other.bonusChallengeList_.isEmpty()) {
if (bonusChallengeList_.isEmpty()) {
bonusChallengeList_ = other.bonusChallengeList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBonusChallengeListIsMutable();
bonusChallengeList_.addAll(other.bonusChallengeList_);
}
onChanged();
}
} else {
if (!other.bonusChallengeList_.isEmpty()) {
if (bonusChallengeListBuilder_.isEmpty()) {
bonusChallengeListBuilder_.dispose();
bonusChallengeListBuilder_ = null;
bonusChallengeList_ = other.bonusChallengeList_;
bitField0_ = (bitField0_ & ~0x00000002);
bonusChallengeListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBonusChallengeListFieldBuilder() : null;
} else {
bonusChallengeListBuilder_.addAllMessages(other.bonusChallengeList_);
}
}
}
if (other.getMPJCDHBBHMM() != 0) {
setMPJCDHBBHMM(other.getMPJCDHBBHMM());
}
if (other.getOLCIPBELKIB() != 0) {
setOLCIPBELKIB(other.getOLCIPBELKIB());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int treasureCloseTime_ ;
/**
* uint32 treasure_close_time = 10;
* @return The treasureCloseTime.
*/
@java.lang.Override
public int getTreasureCloseTime() {
return treasureCloseTime_;
}
/**
* uint32 treasure_close_time = 10;
* @param value The treasureCloseTime to set.
* @return This builder for chaining.
*/
public Builder setTreasureCloseTime(int value) {
treasureCloseTime_ = value;
onChanged();
return this;
}
/**
* uint32 treasure_close_time = 10;
* @return This builder for chaining.
*/
public Builder clearTreasureCloseTime() {
treasureCloseTime_ = 0;
onChanged();
return this;
}
private boolean isMpChallengeTouched_ ;
/**
* bool is_mp_challenge_touched = 12;
* @return The isMpChallengeTouched.
*/
@java.lang.Override
public boolean getIsMpChallengeTouched() {
return isMpChallengeTouched_;
}
/**
* bool is_mp_challenge_touched = 12;
* @param value The isMpChallengeTouched to set.
* @return This builder for chaining.
*/
public Builder setIsMpChallengeTouched(boolean value) {
isMpChallengeTouched_ = value;
onChanged();
return this;
}
/**
* bool is_mp_challenge_touched = 12;
* @return This builder for chaining.
*/
public Builder clearIsMpChallengeTouched() {
isMpChallengeTouched_ = false;
onChanged();
return this;
}
private int currencyNum_ ;
/**
* uint32 currency_num = 5;
* @return The currencyNum.
*/
@java.lang.Override
public int getCurrencyNum() {
return currencyNum_;
}
/**
* uint32 currency_num = 5;
* @param value The currencyNum to set.
* @return This builder for chaining.
*/
public Builder setCurrencyNum(int value) {
currencyNum_ = value;
onChanged();
return this;
}
/**
* uint32 currency_num = 5;
* @return This builder for chaining.
*/
public Builder clearCurrencyNum() {
currencyNum_ = 0;
onChanged();
return this;
}
private int lNGOLLDBIEC_ ;
/**
* uint32 LNGOLLDBIEC = 7;
* @return The lNGOLLDBIEC.
*/
@java.lang.Override
public int getLNGOLLDBIEC() {
return lNGOLLDBIEC_;
}
/**
* uint32 LNGOLLDBIEC = 7;
* @param value The lNGOLLDBIEC to set.
* @return This builder for chaining.
*/
public Builder setLNGOLLDBIEC(int value) {
lNGOLLDBIEC_ = value;
onChanged();
return this;
}
/**
* uint32 LNGOLLDBIEC = 7;
* @return This builder for chaining.
*/
public Builder clearLNGOLLDBIEC() {
lNGOLLDBIEC_ = 0;
onChanged();
return this;
}
private java.util.List regionInfoList_ =
java.util.Collections.emptyList();
private void ensureRegionInfoListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
regionInfoList_ = new java.util.ArrayList(regionInfoList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.Builder, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfoOrBuilder> regionInfoListBuilder_;
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public java.util.List getRegionInfoListList() {
if (regionInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(regionInfoList_);
} else {
return regionInfoListBuilder_.getMessageList();
}
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public int getRegionInfoListCount() {
if (regionInfoListBuilder_ == null) {
return regionInfoList_.size();
} else {
return regionInfoListBuilder_.getCount();
}
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo getRegionInfoList(int index) {
if (regionInfoListBuilder_ == null) {
return regionInfoList_.get(index);
} else {
return regionInfoListBuilder_.getMessage(index);
}
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public Builder setRegionInfoList(
int index, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo value) {
if (regionInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionInfoListIsMutable();
regionInfoList_.set(index, value);
onChanged();
} else {
regionInfoListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public Builder setRegionInfoList(
int index, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.Builder builderForValue) {
if (regionInfoListBuilder_ == null) {
ensureRegionInfoListIsMutable();
regionInfoList_.set(index, builderForValue.build());
onChanged();
} else {
regionInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public Builder addRegionInfoList(emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo value) {
if (regionInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionInfoListIsMutable();
regionInfoList_.add(value);
onChanged();
} else {
regionInfoListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public Builder addRegionInfoList(
int index, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo value) {
if (regionInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionInfoListIsMutable();
regionInfoList_.add(index, value);
onChanged();
} else {
regionInfoListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public Builder addRegionInfoList(
emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.Builder builderForValue) {
if (regionInfoListBuilder_ == null) {
ensureRegionInfoListIsMutable();
regionInfoList_.add(builderForValue.build());
onChanged();
} else {
regionInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public Builder addRegionInfoList(
int index, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.Builder builderForValue) {
if (regionInfoListBuilder_ == null) {
ensureRegionInfoListIsMutable();
regionInfoList_.add(index, builderForValue.build());
onChanged();
} else {
regionInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public Builder addAllRegionInfoList(
java.lang.Iterable extends emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo> values) {
if (regionInfoListBuilder_ == null) {
ensureRegionInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, regionInfoList_);
onChanged();
} else {
regionInfoListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public Builder clearRegionInfoList() {
if (regionInfoListBuilder_ == null) {
regionInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
regionInfoListBuilder_.clear();
}
return this;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public Builder removeRegionInfoList(int index) {
if (regionInfoListBuilder_ == null) {
ensureRegionInfoListIsMutable();
regionInfoList_.remove(index);
onChanged();
} else {
regionInfoListBuilder_.remove(index);
}
return this;
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.Builder getRegionInfoListBuilder(
int index) {
return getRegionInfoListFieldBuilder().getBuilder(index);
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfoOrBuilder getRegionInfoListOrBuilder(
int index) {
if (regionInfoListBuilder_ == null) {
return regionInfoList_.get(index); } else {
return regionInfoListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public java.util.List extends emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfoOrBuilder>
getRegionInfoListOrBuilderList() {
if (regionInfoListBuilder_ != null) {
return regionInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(regionInfoList_);
}
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.Builder addRegionInfoListBuilder() {
return getRegionInfoListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.getDefaultInstance());
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.Builder addRegionInfoListBuilder(
int index) {
return getRegionInfoListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.getDefaultInstance());
}
/**
* repeated .TreasureMapRegionInfo region_info_list = 6;
*/
public java.util.List
getRegionInfoListBuilderList() {
return getRegionInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.Builder, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfoOrBuilder>
getRegionInfoListFieldBuilder() {
if (regionInfoListBuilder_ == null) {
regionInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfo.Builder, emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.TreasureMapRegionInfoOrBuilder>(
regionInfoList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
regionInfoList_ = null;
}
return regionInfoListBuilder_;
}
private int activeRegionIndex_ ;
/**
* uint32 active_region_index = 14;
* @return The activeRegionIndex.
*/
@java.lang.Override
public int getActiveRegionIndex() {
return activeRegionIndex_;
}
/**
* uint32 active_region_index = 14;
* @param value The activeRegionIndex to set.
* @return This builder for chaining.
*/
public Builder setActiveRegionIndex(int value) {
activeRegionIndex_ = value;
onChanged();
return this;
}
/**
* uint32 active_region_index = 14;
* @return This builder for chaining.
*/
public Builder clearActiveRegionIndex() {
activeRegionIndex_ = 0;
onChanged();
return this;
}
private java.util.List bonusChallengeList_ =
java.util.Collections.emptyList();
private void ensureBonusChallengeListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
bonusChallengeList_ = new java.util.ArrayList(bonusChallengeList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.Builder, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfoOrBuilder> bonusChallengeListBuilder_;
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public java.util.List getBonusChallengeListList() {
if (bonusChallengeListBuilder_ == null) {
return java.util.Collections.unmodifiableList(bonusChallengeList_);
} else {
return bonusChallengeListBuilder_.getMessageList();
}
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public int getBonusChallengeListCount() {
if (bonusChallengeListBuilder_ == null) {
return bonusChallengeList_.size();
} else {
return bonusChallengeListBuilder_.getCount();
}
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo getBonusChallengeList(int index) {
if (bonusChallengeListBuilder_ == null) {
return bonusChallengeList_.get(index);
} else {
return bonusChallengeListBuilder_.getMessage(index);
}
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public Builder setBonusChallengeList(
int index, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo value) {
if (bonusChallengeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBonusChallengeListIsMutable();
bonusChallengeList_.set(index, value);
onChanged();
} else {
bonusChallengeListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public Builder setBonusChallengeList(
int index, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.Builder builderForValue) {
if (bonusChallengeListBuilder_ == null) {
ensureBonusChallengeListIsMutable();
bonusChallengeList_.set(index, builderForValue.build());
onChanged();
} else {
bonusChallengeListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public Builder addBonusChallengeList(emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo value) {
if (bonusChallengeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBonusChallengeListIsMutable();
bonusChallengeList_.add(value);
onChanged();
} else {
bonusChallengeListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public Builder addBonusChallengeList(
int index, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo value) {
if (bonusChallengeListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBonusChallengeListIsMutable();
bonusChallengeList_.add(index, value);
onChanged();
} else {
bonusChallengeListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public Builder addBonusChallengeList(
emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.Builder builderForValue) {
if (bonusChallengeListBuilder_ == null) {
ensureBonusChallengeListIsMutable();
bonusChallengeList_.add(builderForValue.build());
onChanged();
} else {
bonusChallengeListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public Builder addBonusChallengeList(
int index, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.Builder builderForValue) {
if (bonusChallengeListBuilder_ == null) {
ensureBonusChallengeListIsMutable();
bonusChallengeList_.add(index, builderForValue.build());
onChanged();
} else {
bonusChallengeListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public Builder addAllBonusChallengeList(
java.lang.Iterable extends emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo> values) {
if (bonusChallengeListBuilder_ == null) {
ensureBonusChallengeListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, bonusChallengeList_);
onChanged();
} else {
bonusChallengeListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public Builder clearBonusChallengeList() {
if (bonusChallengeListBuilder_ == null) {
bonusChallengeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
bonusChallengeListBuilder_.clear();
}
return this;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public Builder removeBonusChallengeList(int index) {
if (bonusChallengeListBuilder_ == null) {
ensureBonusChallengeListIsMutable();
bonusChallengeList_.remove(index);
onChanged();
} else {
bonusChallengeListBuilder_.remove(index);
}
return this;
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.Builder getBonusChallengeListBuilder(
int index) {
return getBonusChallengeListFieldBuilder().getBuilder(index);
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfoOrBuilder getBonusChallengeListOrBuilder(
int index) {
if (bonusChallengeListBuilder_ == null) {
return bonusChallengeList_.get(index); } else {
return bonusChallengeListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public java.util.List extends emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfoOrBuilder>
getBonusChallengeListOrBuilderList() {
if (bonusChallengeListBuilder_ != null) {
return bonusChallengeListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(bonusChallengeList_);
}
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.Builder addBonusChallengeListBuilder() {
return getBonusChallengeListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.getDefaultInstance());
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.Builder addBonusChallengeListBuilder(
int index) {
return getBonusChallengeListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.getDefaultInstance());
}
/**
* repeated .TreasureMapBonusChallengeInfo bonus_challenge_list = 11;
*/
public java.util.List
getBonusChallengeListBuilderList() {
return getBonusChallengeListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.Builder, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfoOrBuilder>
getBonusChallengeListFieldBuilder() {
if (bonusChallengeListBuilder_ == null) {
bonusChallengeListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfo.Builder, emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.TreasureMapBonusChallengeInfoOrBuilder>(
bonusChallengeList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
bonusChallengeList_ = null;
}
return bonusChallengeListBuilder_;
}
private int mPJCDHBBHMM_ ;
/**
* uint32 MPJCDHBBHMM = 9;
* @return The mPJCDHBBHMM.
*/
@java.lang.Override
public int getMPJCDHBBHMM() {
return mPJCDHBBHMM_;
}
/**
* uint32 MPJCDHBBHMM = 9;
* @param value The mPJCDHBBHMM to set.
* @return This builder for chaining.
*/
public Builder setMPJCDHBBHMM(int value) {
mPJCDHBBHMM_ = value;
onChanged();
return this;
}
/**
* uint32 MPJCDHBBHMM = 9;
* @return This builder for chaining.
*/
public Builder clearMPJCDHBBHMM() {
mPJCDHBBHMM_ = 0;
onChanged();
return this;
}
private int oLCIPBELKIB_ ;
/**
* uint32 OLCIPBELKIB = 8;
* @return The oLCIPBELKIB.
*/
@java.lang.Override
public int getOLCIPBELKIB() {
return oLCIPBELKIB_;
}
/**
* uint32 OLCIPBELKIB = 8;
* @param value The oLCIPBELKIB to set.
* @return This builder for chaining.
*/
public Builder setOLCIPBELKIB(int value) {
oLCIPBELKIB_ = value;
onChanged();
return this;
}
/**
* uint32 OLCIPBELKIB = 8;
* @return This builder for chaining.
*/
public Builder clearOLCIPBELKIB() {
oLCIPBELKIB_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:TreasureMapActivityDetailInfo)
}
// @@protoc_insertion_point(class_scope:TreasureMapActivityDetailInfo)
private static final emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo();
}
public static emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TreasureMapActivityDetailInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TreasureMapActivityDetailInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.TreasureMapActivityDetailInfoOuterClass.TreasureMapActivityDetailInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_TreasureMapActivityDetailInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_TreasureMapActivityDetailInfo_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n#TreasureMapActivityDetailInfo.proto\032\033T" +
"reasureMapRegionInfo.proto\032#TreasureMapB" +
"onusChallengeInfo.proto\"\277\002\n\035TreasureMapA" +
"ctivityDetailInfo\022\033\n\023treasure_close_time" +
"\030\n \001(\r\022\037\n\027is_mp_challenge_touched\030\014 \001(\010\022" +
"\024\n\014currency_num\030\005 \001(\r\022\023\n\013LNGOLLDBIEC\030\007 \001" +
"(\r\0220\n\020region_info_list\030\006 \003(\0132\026.TreasureM" +
"apRegionInfo\022\033\n\023active_region_index\030\016 \001(" +
"\r\022<\n\024bonus_challenge_list\030\013 \003(\0132\036.Treasu" +
"reMapBonusChallengeInfo\022\023\n\013MPJCDHBBHMM\030\t" +
" \001(\r\022\023\n\013OLCIPBELKIB\030\010 \001(\rB\033\n\031emu.grasscu" +
"tter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.getDescriptor(),
});
internal_static_TreasureMapActivityDetailInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_TreasureMapActivityDetailInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TreasureMapActivityDetailInfo_descriptor,
new java.lang.String[] { "TreasureCloseTime", "IsMpChallengeTouched", "CurrencyNum", "LNGOLLDBIEC", "RegionInfoList", "ActiveRegionIndex", "BonusChallengeList", "MPJCDHBBHMM", "OLCIPBELKIB", });
emu.grasscutter.net.proto.TreasureMapRegionInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.TreasureMapBonusChallengeInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}