mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-12 06:56:02 +08:00
* Remove hardcoded quest data * Remove deprecated fields * Try to fix packet * Apply fix for token exchange * Upgrade to REL3.7 * Add obfuscated protocol definitions * Add missing enum (other protos too maybe) * Re-add field setters and add note on removal
1349 lines
44 KiB
Java
1349 lines
44 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ExpeditionPathInfo.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class ExpeditionPathInfoOuterClass {
|
|
private ExpeditionPathInfoOuterClass() {}
|
|
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 ExpeditionPathInfoOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:ExpeditionPathInfo)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>uint32 challenge_id = 10;</code>
|
|
* @return The challengeId.
|
|
*/
|
|
int getChallengeId();
|
|
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @return A list containing the avatarIdList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getAvatarIdListList();
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @return The count of avatarIdList.
|
|
*/
|
|
int getAvatarIdListCount();
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The avatarIdList at the given index.
|
|
*/
|
|
int getAvatarIdList(int index);
|
|
|
|
/**
|
|
* <code>float bonus_probability = 8;</code>
|
|
* @return The bonusProbability.
|
|
*/
|
|
float getBonusProbability();
|
|
|
|
/**
|
|
* <code>uint32 DPOMPOMLCKP = 11;</code>
|
|
* @return The dPOMPOMLCKP.
|
|
*/
|
|
int getDPOMPOMLCKP();
|
|
|
|
/**
|
|
* <code>uint32 IBKDBMDJGDI = 3;</code>
|
|
* @return The iBKDBMDJGDI.
|
|
*/
|
|
int getIBKDBMDJGDI();
|
|
|
|
/**
|
|
* <code>uint32 start_time = 13;</code>
|
|
* @return The startTime.
|
|
*/
|
|
int getStartTime();
|
|
|
|
/**
|
|
* <code>uint32 FLHKBCEIKLE = 15;</code>
|
|
* @return The fLHKBCEIKLE.
|
|
*/
|
|
int getFLHKBCEIKLE();
|
|
|
|
/**
|
|
* <code>uint32 path_id = 2;</code>
|
|
* @return The pathId.
|
|
*/
|
|
int getPathId();
|
|
|
|
/**
|
|
* <code>.ExpeditionState state = 6;</code>
|
|
* @return The enum numeric value on the wire for state.
|
|
*/
|
|
int getStateValue();
|
|
/**
|
|
* <code>.ExpeditionState state = 6;</code>
|
|
* @return The state.
|
|
*/
|
|
emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState getState();
|
|
|
|
/**
|
|
* <code>uint32 MFNGJOCIAPE = 1;</code>
|
|
* @return The mFNGJOCIAPE.
|
|
*/
|
|
int getMFNGJOCIAPE();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Obf: FMHECDDFAAE
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code ExpeditionPathInfo}
|
|
*/
|
|
public static final class ExpeditionPathInfo extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:ExpeditionPathInfo)
|
|
ExpeditionPathInfoOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use ExpeditionPathInfo.newBuilder() to construct.
|
|
private ExpeditionPathInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private ExpeditionPathInfo() {
|
|
avatarIdList_ = emptyIntList();
|
|
state_ = 0;
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new ExpeditionPathInfo();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private ExpeditionPathInfo(
|
|
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 8: {
|
|
|
|
mFNGJOCIAPE_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
|
|
pathId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
|
|
iBKDBMDJGDI_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
int rawValue = input.readEnum();
|
|
|
|
state_ = rawValue;
|
|
break;
|
|
}
|
|
case 56: {
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
avatarIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
avatarIdList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 58: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
|
avatarIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
avatarIdList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 69: {
|
|
|
|
bonusProbability_ = input.readFloat();
|
|
break;
|
|
}
|
|
case 80: {
|
|
|
|
challengeId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
|
|
dPOMPOMLCKP_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
|
|
startTime_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
|
|
fLHKBCEIKLE_ = 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)) {
|
|
avatarIdList_.makeImmutable(); // C
|
|
}
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.internal_static_ExpeditionPathInfo_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.internal_static_ExpeditionPathInfo_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo.class, emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo.Builder.class);
|
|
}
|
|
|
|
public static final int CHALLENGE_ID_FIELD_NUMBER = 10;
|
|
private int challengeId_;
|
|
/**
|
|
* <code>uint32 challenge_id = 10;</code>
|
|
* @return The challengeId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getChallengeId() {
|
|
return challengeId_;
|
|
}
|
|
|
|
public static final int AVATAR_ID_LIST_FIELD_NUMBER = 7;
|
|
private com.google.protobuf.Internal.IntList avatarIdList_;
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @return A list containing the avatarIdList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getAvatarIdListList() {
|
|
return avatarIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @return The count of avatarIdList.
|
|
*/
|
|
public int getAvatarIdListCount() {
|
|
return avatarIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The avatarIdList at the given index.
|
|
*/
|
|
public int getAvatarIdList(int index) {
|
|
return avatarIdList_.getInt(index);
|
|
}
|
|
private int avatarIdListMemoizedSerializedSize = -1;
|
|
|
|
public static final int BONUS_PROBABILITY_FIELD_NUMBER = 8;
|
|
private float bonusProbability_;
|
|
/**
|
|
* <code>float bonus_probability = 8;</code>
|
|
* @return The bonusProbability.
|
|
*/
|
|
@java.lang.Override
|
|
public float getBonusProbability() {
|
|
return bonusProbability_;
|
|
}
|
|
|
|
public static final int DPOMPOMLCKP_FIELD_NUMBER = 11;
|
|
private int dPOMPOMLCKP_;
|
|
/**
|
|
* <code>uint32 DPOMPOMLCKP = 11;</code>
|
|
* @return The dPOMPOMLCKP.
|
|
*/
|
|
@java.lang.Override
|
|
public int getDPOMPOMLCKP() {
|
|
return dPOMPOMLCKP_;
|
|
}
|
|
|
|
public static final int IBKDBMDJGDI_FIELD_NUMBER = 3;
|
|
private int iBKDBMDJGDI_;
|
|
/**
|
|
* <code>uint32 IBKDBMDJGDI = 3;</code>
|
|
* @return The iBKDBMDJGDI.
|
|
*/
|
|
@java.lang.Override
|
|
public int getIBKDBMDJGDI() {
|
|
return iBKDBMDJGDI_;
|
|
}
|
|
|
|
public static final int START_TIME_FIELD_NUMBER = 13;
|
|
private int startTime_;
|
|
/**
|
|
* <code>uint32 start_time = 13;</code>
|
|
* @return The startTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getStartTime() {
|
|
return startTime_;
|
|
}
|
|
|
|
public static final int FLHKBCEIKLE_FIELD_NUMBER = 15;
|
|
private int fLHKBCEIKLE_;
|
|
/**
|
|
* <code>uint32 FLHKBCEIKLE = 15;</code>
|
|
* @return The fLHKBCEIKLE.
|
|
*/
|
|
@java.lang.Override
|
|
public int getFLHKBCEIKLE() {
|
|
return fLHKBCEIKLE_;
|
|
}
|
|
|
|
public static final int PATH_ID_FIELD_NUMBER = 2;
|
|
private int pathId_;
|
|
/**
|
|
* <code>uint32 path_id = 2;</code>
|
|
* @return The pathId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPathId() {
|
|
return pathId_;
|
|
}
|
|
|
|
public static final int STATE_FIELD_NUMBER = 6;
|
|
private int state_;
|
|
/**
|
|
* <code>.ExpeditionState state = 6;</code>
|
|
* @return The enum numeric value on the wire for state.
|
|
*/
|
|
@java.lang.Override public int getStateValue() {
|
|
return state_;
|
|
}
|
|
/**
|
|
* <code>.ExpeditionState state = 6;</code>
|
|
* @return The state.
|
|
*/
|
|
@java.lang.Override public emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState getState() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState result = emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState.valueOf(state_);
|
|
return result == null ? emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState.UNRECOGNIZED : result;
|
|
}
|
|
|
|
public static final int MFNGJOCIAPE_FIELD_NUMBER = 1;
|
|
private int mFNGJOCIAPE_;
|
|
/**
|
|
* <code>uint32 MFNGJOCIAPE = 1;</code>
|
|
* @return The mFNGJOCIAPE.
|
|
*/
|
|
@java.lang.Override
|
|
public int getMFNGJOCIAPE() {
|
|
return mFNGJOCIAPE_;
|
|
}
|
|
|
|
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 (mFNGJOCIAPE_ != 0) {
|
|
output.writeUInt32(1, mFNGJOCIAPE_);
|
|
}
|
|
if (pathId_ != 0) {
|
|
output.writeUInt32(2, pathId_);
|
|
}
|
|
if (iBKDBMDJGDI_ != 0) {
|
|
output.writeUInt32(3, iBKDBMDJGDI_);
|
|
}
|
|
if (state_ != emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState.EXPEDITION_NONE.getNumber()) {
|
|
output.writeEnum(6, state_);
|
|
}
|
|
if (getAvatarIdListList().size() > 0) {
|
|
output.writeUInt32NoTag(58);
|
|
output.writeUInt32NoTag(avatarIdListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < avatarIdList_.size(); i++) {
|
|
output.writeUInt32NoTag(avatarIdList_.getInt(i));
|
|
}
|
|
if (bonusProbability_ != 0F) {
|
|
output.writeFloat(8, bonusProbability_);
|
|
}
|
|
if (challengeId_ != 0) {
|
|
output.writeUInt32(10, challengeId_);
|
|
}
|
|
if (dPOMPOMLCKP_ != 0) {
|
|
output.writeUInt32(11, dPOMPOMLCKP_);
|
|
}
|
|
if (startTime_ != 0) {
|
|
output.writeUInt32(13, startTime_);
|
|
}
|
|
if (fLHKBCEIKLE_ != 0) {
|
|
output.writeUInt32(15, fLHKBCEIKLE_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (mFNGJOCIAPE_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(1, mFNGJOCIAPE_);
|
|
}
|
|
if (pathId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(2, pathId_);
|
|
}
|
|
if (iBKDBMDJGDI_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(3, iBKDBMDJGDI_);
|
|
}
|
|
if (state_ != emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState.EXPEDITION_NONE.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeEnumSize(6, state_);
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < avatarIdList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(avatarIdList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getAvatarIdListList().isEmpty()) {
|
|
size += 1;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
avatarIdListMemoizedSerializedSize = dataSize;
|
|
}
|
|
if (bonusProbability_ != 0F) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeFloatSize(8, bonusProbability_);
|
|
}
|
|
if (challengeId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(10, challengeId_);
|
|
}
|
|
if (dPOMPOMLCKP_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(11, dPOMPOMLCKP_);
|
|
}
|
|
if (startTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(13, startTime_);
|
|
}
|
|
if (fLHKBCEIKLE_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(15, fLHKBCEIKLE_);
|
|
}
|
|
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.ExpeditionPathInfoOuterClass.ExpeditionPathInfo)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo other = (emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo) obj;
|
|
|
|
if (getChallengeId()
|
|
!= other.getChallengeId()) return false;
|
|
if (!getAvatarIdListList()
|
|
.equals(other.getAvatarIdListList())) return false;
|
|
if (java.lang.Float.floatToIntBits(getBonusProbability())
|
|
!= java.lang.Float.floatToIntBits(
|
|
other.getBonusProbability())) return false;
|
|
if (getDPOMPOMLCKP()
|
|
!= other.getDPOMPOMLCKP()) return false;
|
|
if (getIBKDBMDJGDI()
|
|
!= other.getIBKDBMDJGDI()) return false;
|
|
if (getStartTime()
|
|
!= other.getStartTime()) return false;
|
|
if (getFLHKBCEIKLE()
|
|
!= other.getFLHKBCEIKLE()) return false;
|
|
if (getPathId()
|
|
!= other.getPathId()) return false;
|
|
if (state_ != other.state_) return false;
|
|
if (getMFNGJOCIAPE()
|
|
!= other.getMFNGJOCIAPE()) 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) + CHALLENGE_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getChallengeId();
|
|
if (getAvatarIdListCount() > 0) {
|
|
hash = (37 * hash) + AVATAR_ID_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getAvatarIdListList().hashCode();
|
|
}
|
|
hash = (37 * hash) + BONUS_PROBABILITY_FIELD_NUMBER;
|
|
hash = (53 * hash) + java.lang.Float.floatToIntBits(
|
|
getBonusProbability());
|
|
hash = (37 * hash) + DPOMPOMLCKP_FIELD_NUMBER;
|
|
hash = (53 * hash) + getDPOMPOMLCKP();
|
|
hash = (37 * hash) + IBKDBMDJGDI_FIELD_NUMBER;
|
|
hash = (53 * hash) + getIBKDBMDJGDI();
|
|
hash = (37 * hash) + START_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getStartTime();
|
|
hash = (37 * hash) + FLHKBCEIKLE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getFLHKBCEIKLE();
|
|
hash = (37 * hash) + PATH_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPathId();
|
|
hash = (37 * hash) + STATE_FIELD_NUMBER;
|
|
hash = (53 * hash) + state_;
|
|
hash = (37 * hash) + MFNGJOCIAPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getMFNGJOCIAPE();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo 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.ExpeditionPathInfoOuterClass.ExpeditionPathInfo parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo 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.ExpeditionPathInfoOuterClass.ExpeditionPathInfo parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo 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.ExpeditionPathInfoOuterClass.ExpeditionPathInfo parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo 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.ExpeditionPathInfoOuterClass.ExpeditionPathInfo parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo 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.ExpeditionPathInfoOuterClass.ExpeditionPathInfo 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;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Obf: FMHECDDFAAE
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code ExpeditionPathInfo}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:ExpeditionPathInfo)
|
|
emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfoOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.internal_static_ExpeditionPathInfo_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.internal_static_ExpeditionPathInfo_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo.class, emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
challengeId_ = 0;
|
|
|
|
avatarIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
bonusProbability_ = 0F;
|
|
|
|
dPOMPOMLCKP_ = 0;
|
|
|
|
iBKDBMDJGDI_ = 0;
|
|
|
|
startTime_ = 0;
|
|
|
|
fLHKBCEIKLE_ = 0;
|
|
|
|
pathId_ = 0;
|
|
|
|
state_ = 0;
|
|
|
|
mFNGJOCIAPE_ = 0;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.internal_static_ExpeditionPathInfo_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo build() {
|
|
emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo buildPartial() {
|
|
emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo result = new emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo(this);
|
|
int from_bitField0_ = bitField0_;
|
|
result.challengeId_ = challengeId_;
|
|
if (((bitField0_ & 0x00000001) != 0)) {
|
|
avatarIdList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
}
|
|
result.avatarIdList_ = avatarIdList_;
|
|
result.bonusProbability_ = bonusProbability_;
|
|
result.dPOMPOMLCKP_ = dPOMPOMLCKP_;
|
|
result.iBKDBMDJGDI_ = iBKDBMDJGDI_;
|
|
result.startTime_ = startTime_;
|
|
result.fLHKBCEIKLE_ = fLHKBCEIKLE_;
|
|
result.pathId_ = pathId_;
|
|
result.state_ = state_;
|
|
result.mFNGJOCIAPE_ = mFNGJOCIAPE_;
|
|
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.ExpeditionPathInfoOuterClass.ExpeditionPathInfo) {
|
|
return mergeFrom((emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo other) {
|
|
if (other == emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo.getDefaultInstance()) return this;
|
|
if (other.getChallengeId() != 0) {
|
|
setChallengeId(other.getChallengeId());
|
|
}
|
|
if (!other.avatarIdList_.isEmpty()) {
|
|
if (avatarIdList_.isEmpty()) {
|
|
avatarIdList_ = other.avatarIdList_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
ensureAvatarIdListIsMutable();
|
|
avatarIdList_.addAll(other.avatarIdList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (other.getBonusProbability() != 0F) {
|
|
setBonusProbability(other.getBonusProbability());
|
|
}
|
|
if (other.getDPOMPOMLCKP() != 0) {
|
|
setDPOMPOMLCKP(other.getDPOMPOMLCKP());
|
|
}
|
|
if (other.getIBKDBMDJGDI() != 0) {
|
|
setIBKDBMDJGDI(other.getIBKDBMDJGDI());
|
|
}
|
|
if (other.getStartTime() != 0) {
|
|
setStartTime(other.getStartTime());
|
|
}
|
|
if (other.getFLHKBCEIKLE() != 0) {
|
|
setFLHKBCEIKLE(other.getFLHKBCEIKLE());
|
|
}
|
|
if (other.getPathId() != 0) {
|
|
setPathId(other.getPathId());
|
|
}
|
|
if (other.state_ != 0) {
|
|
setStateValue(other.getStateValue());
|
|
}
|
|
if (other.getMFNGJOCIAPE() != 0) {
|
|
setMFNGJOCIAPE(other.getMFNGJOCIAPE());
|
|
}
|
|
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.ExpeditionPathInfoOuterClass.ExpeditionPathInfo parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
private int bitField0_;
|
|
|
|
private int challengeId_ ;
|
|
/**
|
|
* <code>uint32 challenge_id = 10;</code>
|
|
* @return The challengeId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getChallengeId() {
|
|
return challengeId_;
|
|
}
|
|
/**
|
|
* <code>uint32 challenge_id = 10;</code>
|
|
* @param value The challengeId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setChallengeId(int value) {
|
|
|
|
challengeId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 challenge_id = 10;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearChallengeId() {
|
|
|
|
challengeId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList avatarIdList_ = emptyIntList();
|
|
private void ensureAvatarIdListIsMutable() {
|
|
if (!((bitField0_ & 0x00000001) != 0)) {
|
|
avatarIdList_ = mutableCopy(avatarIdList_);
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @return A list containing the avatarIdList.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getAvatarIdListList() {
|
|
return ((bitField0_ & 0x00000001) != 0) ?
|
|
java.util.Collections.unmodifiableList(avatarIdList_) : avatarIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @return The count of avatarIdList.
|
|
*/
|
|
public int getAvatarIdListCount() {
|
|
return avatarIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The avatarIdList at the given index.
|
|
*/
|
|
public int getAvatarIdList(int index) {
|
|
return avatarIdList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The avatarIdList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAvatarIdList(
|
|
int index, int value) {
|
|
ensureAvatarIdListIsMutable();
|
|
avatarIdList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @param value The avatarIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAvatarIdList(int value) {
|
|
ensureAvatarIdListIsMutable();
|
|
avatarIdList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @param values The avatarIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllAvatarIdList(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureAvatarIdListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, avatarIdList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 7;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAvatarIdList() {
|
|
avatarIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private float bonusProbability_ ;
|
|
/**
|
|
* <code>float bonus_probability = 8;</code>
|
|
* @return The bonusProbability.
|
|
*/
|
|
@java.lang.Override
|
|
public float getBonusProbability() {
|
|
return bonusProbability_;
|
|
}
|
|
/**
|
|
* <code>float bonus_probability = 8;</code>
|
|
* @param value The bonusProbability to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setBonusProbability(float value) {
|
|
|
|
bonusProbability_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>float bonus_probability = 8;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearBonusProbability() {
|
|
|
|
bonusProbability_ = 0F;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int dPOMPOMLCKP_ ;
|
|
/**
|
|
* <code>uint32 DPOMPOMLCKP = 11;</code>
|
|
* @return The dPOMPOMLCKP.
|
|
*/
|
|
@java.lang.Override
|
|
public int getDPOMPOMLCKP() {
|
|
return dPOMPOMLCKP_;
|
|
}
|
|
/**
|
|
* <code>uint32 DPOMPOMLCKP = 11;</code>
|
|
* @param value The dPOMPOMLCKP to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setDPOMPOMLCKP(int value) {
|
|
|
|
dPOMPOMLCKP_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 DPOMPOMLCKP = 11;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearDPOMPOMLCKP() {
|
|
|
|
dPOMPOMLCKP_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int iBKDBMDJGDI_ ;
|
|
/**
|
|
* <code>uint32 IBKDBMDJGDI = 3;</code>
|
|
* @return The iBKDBMDJGDI.
|
|
*/
|
|
@java.lang.Override
|
|
public int getIBKDBMDJGDI() {
|
|
return iBKDBMDJGDI_;
|
|
}
|
|
/**
|
|
* <code>uint32 IBKDBMDJGDI = 3;</code>
|
|
* @param value The iBKDBMDJGDI to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIBKDBMDJGDI(int value) {
|
|
|
|
iBKDBMDJGDI_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 IBKDBMDJGDI = 3;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIBKDBMDJGDI() {
|
|
|
|
iBKDBMDJGDI_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int startTime_ ;
|
|
/**
|
|
* <code>uint32 start_time = 13;</code>
|
|
* @return The startTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getStartTime() {
|
|
return startTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 start_time = 13;</code>
|
|
* @param value The startTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setStartTime(int value) {
|
|
|
|
startTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 start_time = 13;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearStartTime() {
|
|
|
|
startTime_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int fLHKBCEIKLE_ ;
|
|
/**
|
|
* <code>uint32 FLHKBCEIKLE = 15;</code>
|
|
* @return The fLHKBCEIKLE.
|
|
*/
|
|
@java.lang.Override
|
|
public int getFLHKBCEIKLE() {
|
|
return fLHKBCEIKLE_;
|
|
}
|
|
/**
|
|
* <code>uint32 FLHKBCEIKLE = 15;</code>
|
|
* @param value The fLHKBCEIKLE to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setFLHKBCEIKLE(int value) {
|
|
|
|
fLHKBCEIKLE_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 FLHKBCEIKLE = 15;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearFLHKBCEIKLE() {
|
|
|
|
fLHKBCEIKLE_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int pathId_ ;
|
|
/**
|
|
* <code>uint32 path_id = 2;</code>
|
|
* @return The pathId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPathId() {
|
|
return pathId_;
|
|
}
|
|
/**
|
|
* <code>uint32 path_id = 2;</code>
|
|
* @param value The pathId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setPathId(int value) {
|
|
|
|
pathId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 path_id = 2;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearPathId() {
|
|
|
|
pathId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int state_ = 0;
|
|
/**
|
|
* <code>.ExpeditionState state = 6;</code>
|
|
* @return The enum numeric value on the wire for state.
|
|
*/
|
|
@java.lang.Override public int getStateValue() {
|
|
return state_;
|
|
}
|
|
/**
|
|
* <code>.ExpeditionState state = 6;</code>
|
|
* @param value The enum numeric value on the wire for state to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setStateValue(int value) {
|
|
|
|
state_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.ExpeditionState state = 6;</code>
|
|
* @return The state.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState getState() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState result = emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState.valueOf(state_);
|
|
return result == null ? emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState.UNRECOGNIZED : result;
|
|
}
|
|
/**
|
|
* <code>.ExpeditionState state = 6;</code>
|
|
* @param value The state to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setState(emu.grasscutter.net.proto.ExpeditionStateOuterClass.ExpeditionState value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
state_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.ExpeditionState state = 6;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearState() {
|
|
|
|
state_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int mFNGJOCIAPE_ ;
|
|
/**
|
|
* <code>uint32 MFNGJOCIAPE = 1;</code>
|
|
* @return The mFNGJOCIAPE.
|
|
*/
|
|
@java.lang.Override
|
|
public int getMFNGJOCIAPE() {
|
|
return mFNGJOCIAPE_;
|
|
}
|
|
/**
|
|
* <code>uint32 MFNGJOCIAPE = 1;</code>
|
|
* @param value The mFNGJOCIAPE to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setMFNGJOCIAPE(int value) {
|
|
|
|
mFNGJOCIAPE_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 MFNGJOCIAPE = 1;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearMFNGJOCIAPE() {
|
|
|
|
mFNGJOCIAPE_ = 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:ExpeditionPathInfo)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:ExpeditionPathInfo)
|
|
private static final emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<ExpeditionPathInfo>
|
|
PARSER = new com.google.protobuf.AbstractParser<ExpeditionPathInfo>() {
|
|
@java.lang.Override
|
|
public ExpeditionPathInfo parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new ExpeditionPathInfo(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<ExpeditionPathInfo> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<ExpeditionPathInfo> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ExpeditionPathInfoOuterClass.ExpeditionPathInfo getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_ExpeditionPathInfo_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_ExpeditionPathInfo_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\030ExpeditionPathInfo.proto\032\025ExpeditionSt" +
|
|
"ate.proto\"\367\001\n\022ExpeditionPathInfo\022\024\n\014chal" +
|
|
"lenge_id\030\n \001(\r\022\026\n\016avatar_id_list\030\007 \003(\r\022\031" +
|
|
"\n\021bonus_probability\030\010 \001(\002\022\023\n\013DPOMPOMLCKP" +
|
|
"\030\013 \001(\r\022\023\n\013IBKDBMDJGDI\030\003 \001(\r\022\022\n\nstart_tim" +
|
|
"e\030\r \001(\r\022\023\n\013FLHKBCEIKLE\030\017 \001(\r\022\017\n\007path_id\030" +
|
|
"\002 \001(\r\022\037\n\005state\030\006 \001(\0162\020.ExpeditionState\022\023" +
|
|
"\n\013MFNGJOCIAPE\030\001 \001(\rB\033\n\031emu.grasscutter.n" +
|
|
"et.protob\006proto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.ExpeditionStateOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_ExpeditionPathInfo_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_ExpeditionPathInfo_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_ExpeditionPathInfo_descriptor,
|
|
new java.lang.String[] { "ChallengeId", "AvatarIdList", "BonusProbability", "DPOMPOMLCKP", "IBKDBMDJGDI", "StartTime", "FLHKBCEIKLE", "PathId", "State", "MFNGJOCIAPE", });
|
|
emu.grasscutter.net.proto.ExpeditionStateOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|