mirror of
https://github.com/Grasscutters/Grasscutter
synced 2025-08-27 20:37:25 +00:00
1927 lines
69 KiB
Java
1927 lines
69 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: OtherCustomDungeonBrief.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class OtherCustomDungeonBriefOuterClass {
|
|
private OtherCustomDungeonBriefOuterClass() {}
|
|
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 OtherCustomDungeonBriefOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:OtherCustomDungeonBrief)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
* @return Whether the setting field is set.
|
|
*/
|
|
boolean hasSetting();
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
* @return The setting.
|
|
*/
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting getSetting();
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder getSettingOrBuilder();
|
|
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @return A list containing the tagList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getTagListList();
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @return The count of tagList.
|
|
*/
|
|
int getTagListCount();
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The tagList at the given index.
|
|
*/
|
|
int getTagList(int index);
|
|
|
|
/**
|
|
* <code>uint64 dungeon_guid = 6;</code>
|
|
* @return The dungeonGuid.
|
|
*/
|
|
long getDungeonGuid();
|
|
|
|
/**
|
|
* <code>bool is_adventure_dungeon = 2;</code>
|
|
* @return The isAdventureDungeon.
|
|
*/
|
|
boolean getIsAdventureDungeon();
|
|
|
|
/**
|
|
* <code>uint32 dungeon_id = 4;</code>
|
|
* @return The dungeonId.
|
|
*/
|
|
int getDungeonId();
|
|
|
|
/**
|
|
* <code>bool is_psn_platform = 10;</code>
|
|
* @return The isPsnPlatform.
|
|
*/
|
|
boolean getIsPsnPlatform();
|
|
|
|
/**
|
|
* <code>uint32 battle_min_cost_time = 3;</code>
|
|
* @return The battleMinCostTime.
|
|
*/
|
|
int getBattleMinCostTime();
|
|
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
* @return Whether the creatorDetail field is set.
|
|
*/
|
|
boolean hasCreatorDetail();
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
* @return The creatorDetail.
|
|
*/
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail getCreatorDetail();
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetailOrBuilder getCreatorDetailOrBuilder();
|
|
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
* @return Whether the abstract field is set.
|
|
*/
|
|
boolean hasAbstract();
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
* @return The abstract.
|
|
*/
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract getAbstract();
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder getAbstractOrBuilder();
|
|
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
* @return Whether the social field is set.
|
|
*/
|
|
boolean hasSocial();
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
* @return The social.
|
|
*/
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial getSocial();
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder getSocialOrBuilder();
|
|
|
|
/**
|
|
* <code>bool is_stored = 5;</code>
|
|
* @return The isStored.
|
|
*/
|
|
boolean getIsStored();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Obf: HKCCDHPNEEE
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code OtherCustomDungeonBrief}
|
|
*/
|
|
public static final class OtherCustomDungeonBrief extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:OtherCustomDungeonBrief)
|
|
OtherCustomDungeonBriefOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use OtherCustomDungeonBrief.newBuilder() to construct.
|
|
private OtherCustomDungeonBrief(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private OtherCustomDungeonBrief() {
|
|
tagList_ = emptyIntList();
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new OtherCustomDungeonBrief();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private OtherCustomDungeonBrief(
|
|
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 16: {
|
|
|
|
isAdventureDungeon_ = input.readBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
|
|
battleMinCostTime_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
|
|
dungeonId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
|
|
isStored_ = input.readBool();
|
|
break;
|
|
}
|
|
case 48: {
|
|
|
|
dungeonGuid_ = input.readUInt64();
|
|
break;
|
|
}
|
|
case 58: {
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder subBuilder = null;
|
|
if (setting_ != null) {
|
|
subBuilder = setting_.toBuilder();
|
|
}
|
|
setting_ = input.readMessage(emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(setting_);
|
|
setting_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 66: {
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder subBuilder = null;
|
|
if (abstract_ != null) {
|
|
subBuilder = abstract_.toBuilder();
|
|
}
|
|
abstract_ = input.readMessage(emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(abstract_);
|
|
abstract_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 74: {
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.Builder subBuilder = null;
|
|
if (creatorDetail_ != null) {
|
|
subBuilder = creatorDetail_.toBuilder();
|
|
}
|
|
creatorDetail_ = input.readMessage(emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(creatorDetail_);
|
|
creatorDetail_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 80: {
|
|
|
|
isPsnPlatform_ = input.readBool();
|
|
break;
|
|
}
|
|
case 104: {
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
tagList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
tagList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 106: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
|
tagList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
tagList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 114: {
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder subBuilder = null;
|
|
if (social_ != null) {
|
|
subBuilder = social_.toBuilder();
|
|
}
|
|
social_ = input.readMessage(emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(social_);
|
|
social_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
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)) {
|
|
tagList_.makeImmutable(); // C
|
|
}
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.internal_static_OtherCustomDungeonBrief_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.internal_static_OtherCustomDungeonBrief_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief.class, emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief.Builder.class);
|
|
}
|
|
|
|
public static final int SETTING_FIELD_NUMBER = 7;
|
|
private emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting setting_;
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
* @return Whether the setting field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasSetting() {
|
|
return setting_ != null;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
* @return The setting.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting getSetting() {
|
|
return setting_ == null ? emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.getDefaultInstance() : setting_;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder getSettingOrBuilder() {
|
|
return getSetting();
|
|
}
|
|
|
|
public static final int TAG_LIST_FIELD_NUMBER = 13;
|
|
private com.google.protobuf.Internal.IntList tagList_;
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @return A list containing the tagList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getTagListList() {
|
|
return tagList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @return The count of tagList.
|
|
*/
|
|
public int getTagListCount() {
|
|
return tagList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The tagList at the given index.
|
|
*/
|
|
public int getTagList(int index) {
|
|
return tagList_.getInt(index);
|
|
}
|
|
private int tagListMemoizedSerializedSize = -1;
|
|
|
|
public static final int DUNGEON_GUID_FIELD_NUMBER = 6;
|
|
private long dungeonGuid_;
|
|
/**
|
|
* <code>uint64 dungeon_guid = 6;</code>
|
|
* @return The dungeonGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getDungeonGuid() {
|
|
return dungeonGuid_;
|
|
}
|
|
|
|
public static final int IS_ADVENTURE_DUNGEON_FIELD_NUMBER = 2;
|
|
private boolean isAdventureDungeon_;
|
|
/**
|
|
* <code>bool is_adventure_dungeon = 2;</code>
|
|
* @return The isAdventureDungeon.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsAdventureDungeon() {
|
|
return isAdventureDungeon_;
|
|
}
|
|
|
|
public static final int DUNGEON_ID_FIELD_NUMBER = 4;
|
|
private int dungeonId_;
|
|
/**
|
|
* <code>uint32 dungeon_id = 4;</code>
|
|
* @return The dungeonId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getDungeonId() {
|
|
return dungeonId_;
|
|
}
|
|
|
|
public static final int IS_PSN_PLATFORM_FIELD_NUMBER = 10;
|
|
private boolean isPsnPlatform_;
|
|
/**
|
|
* <code>bool is_psn_platform = 10;</code>
|
|
* @return The isPsnPlatform.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsPsnPlatform() {
|
|
return isPsnPlatform_;
|
|
}
|
|
|
|
public static final int BATTLE_MIN_COST_TIME_FIELD_NUMBER = 3;
|
|
private int battleMinCostTime_;
|
|
/**
|
|
* <code>uint32 battle_min_cost_time = 3;</code>
|
|
* @return The battleMinCostTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getBattleMinCostTime() {
|
|
return battleMinCostTime_;
|
|
}
|
|
|
|
public static final int CREATOR_DETAIL_FIELD_NUMBER = 9;
|
|
private emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail creatorDetail_;
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
* @return Whether the creatorDetail field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasCreatorDetail() {
|
|
return creatorDetail_ != null;
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
* @return The creatorDetail.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail getCreatorDetail() {
|
|
return creatorDetail_ == null ? emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.getDefaultInstance() : creatorDetail_;
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetailOrBuilder getCreatorDetailOrBuilder() {
|
|
return getCreatorDetail();
|
|
}
|
|
|
|
public static final int ABSTRACT_FIELD_NUMBER = 8;
|
|
private emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract abstract_;
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
* @return Whether the abstract field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasAbstract() {
|
|
return abstract_ != null;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
* @return The abstract.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract getAbstract() {
|
|
return abstract_ == null ? emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.getDefaultInstance() : abstract_;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder getAbstractOrBuilder() {
|
|
return getAbstract();
|
|
}
|
|
|
|
public static final int SOCIAL_FIELD_NUMBER = 14;
|
|
private emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial social_;
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
* @return Whether the social field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasSocial() {
|
|
return social_ != null;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
* @return The social.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial getSocial() {
|
|
return social_ == null ? emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.getDefaultInstance() : social_;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder getSocialOrBuilder() {
|
|
return getSocial();
|
|
}
|
|
|
|
public static final int IS_STORED_FIELD_NUMBER = 5;
|
|
private boolean isStored_;
|
|
/**
|
|
* <code>bool is_stored = 5;</code>
|
|
* @return The isStored.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsStored() {
|
|
return isStored_;
|
|
}
|
|
|
|
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 (isAdventureDungeon_ != false) {
|
|
output.writeBool(2, isAdventureDungeon_);
|
|
}
|
|
if (battleMinCostTime_ != 0) {
|
|
output.writeUInt32(3, battleMinCostTime_);
|
|
}
|
|
if (dungeonId_ != 0) {
|
|
output.writeUInt32(4, dungeonId_);
|
|
}
|
|
if (isStored_ != false) {
|
|
output.writeBool(5, isStored_);
|
|
}
|
|
if (dungeonGuid_ != 0L) {
|
|
output.writeUInt64(6, dungeonGuid_);
|
|
}
|
|
if (setting_ != null) {
|
|
output.writeMessage(7, getSetting());
|
|
}
|
|
if (abstract_ != null) {
|
|
output.writeMessage(8, getAbstract());
|
|
}
|
|
if (creatorDetail_ != null) {
|
|
output.writeMessage(9, getCreatorDetail());
|
|
}
|
|
if (isPsnPlatform_ != false) {
|
|
output.writeBool(10, isPsnPlatform_);
|
|
}
|
|
if (getTagListList().size() > 0) {
|
|
output.writeUInt32NoTag(106);
|
|
output.writeUInt32NoTag(tagListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < tagList_.size(); i++) {
|
|
output.writeUInt32NoTag(tagList_.getInt(i));
|
|
}
|
|
if (social_ != null) {
|
|
output.writeMessage(14, getSocial());
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (isAdventureDungeon_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(2, isAdventureDungeon_);
|
|
}
|
|
if (battleMinCostTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(3, battleMinCostTime_);
|
|
}
|
|
if (dungeonId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(4, dungeonId_);
|
|
}
|
|
if (isStored_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(5, isStored_);
|
|
}
|
|
if (dungeonGuid_ != 0L) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt64Size(6, dungeonGuid_);
|
|
}
|
|
if (setting_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(7, getSetting());
|
|
}
|
|
if (abstract_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(8, getAbstract());
|
|
}
|
|
if (creatorDetail_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(9, getCreatorDetail());
|
|
}
|
|
if (isPsnPlatform_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(10, isPsnPlatform_);
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < tagList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(tagList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getTagListList().isEmpty()) {
|
|
size += 1;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
tagListMemoizedSerializedSize = dataSize;
|
|
}
|
|
if (social_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(14, getSocial());
|
|
}
|
|
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.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief other = (emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief) obj;
|
|
|
|
if (hasSetting() != other.hasSetting()) return false;
|
|
if (hasSetting()) {
|
|
if (!getSetting()
|
|
.equals(other.getSetting())) return false;
|
|
}
|
|
if (!getTagListList()
|
|
.equals(other.getTagListList())) return false;
|
|
if (getDungeonGuid()
|
|
!= other.getDungeonGuid()) return false;
|
|
if (getIsAdventureDungeon()
|
|
!= other.getIsAdventureDungeon()) return false;
|
|
if (getDungeonId()
|
|
!= other.getDungeonId()) return false;
|
|
if (getIsPsnPlatform()
|
|
!= other.getIsPsnPlatform()) return false;
|
|
if (getBattleMinCostTime()
|
|
!= other.getBattleMinCostTime()) return false;
|
|
if (hasCreatorDetail() != other.hasCreatorDetail()) return false;
|
|
if (hasCreatorDetail()) {
|
|
if (!getCreatorDetail()
|
|
.equals(other.getCreatorDetail())) return false;
|
|
}
|
|
if (hasAbstract() != other.hasAbstract()) return false;
|
|
if (hasAbstract()) {
|
|
if (!getAbstract()
|
|
.equals(other.getAbstract())) return false;
|
|
}
|
|
if (hasSocial() != other.hasSocial()) return false;
|
|
if (hasSocial()) {
|
|
if (!getSocial()
|
|
.equals(other.getSocial())) return false;
|
|
}
|
|
if (getIsStored()
|
|
!= other.getIsStored()) 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();
|
|
if (hasSetting()) {
|
|
hash = (37 * hash) + SETTING_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSetting().hashCode();
|
|
}
|
|
if (getTagListCount() > 0) {
|
|
hash = (37 * hash) + TAG_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getTagListList().hashCode();
|
|
}
|
|
hash = (37 * hash) + DUNGEON_GUID_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
getDungeonGuid());
|
|
hash = (37 * hash) + IS_ADVENTURE_DUNGEON_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsAdventureDungeon());
|
|
hash = (37 * hash) + DUNGEON_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getDungeonId();
|
|
hash = (37 * hash) + IS_PSN_PLATFORM_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsPsnPlatform());
|
|
hash = (37 * hash) + BATTLE_MIN_COST_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getBattleMinCostTime();
|
|
if (hasCreatorDetail()) {
|
|
hash = (37 * hash) + CREATOR_DETAIL_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCreatorDetail().hashCode();
|
|
}
|
|
if (hasAbstract()) {
|
|
hash = (37 * hash) + ABSTRACT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getAbstract().hashCode();
|
|
}
|
|
if (hasSocial()) {
|
|
hash = (37 * hash) + SOCIAL_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSocial().hashCode();
|
|
}
|
|
hash = (37 * hash) + IS_STORED_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsStored());
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief 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.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief 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.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief 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.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief 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.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief 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.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief 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: HKCCDHPNEEE
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code OtherCustomDungeonBrief}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:OtherCustomDungeonBrief)
|
|
emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBriefOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.internal_static_OtherCustomDungeonBrief_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.internal_static_OtherCustomDungeonBrief_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief.class, emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief.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();
|
|
if (settingBuilder_ == null) {
|
|
setting_ = null;
|
|
} else {
|
|
setting_ = null;
|
|
settingBuilder_ = null;
|
|
}
|
|
tagList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
dungeonGuid_ = 0L;
|
|
|
|
isAdventureDungeon_ = false;
|
|
|
|
dungeonId_ = 0;
|
|
|
|
isPsnPlatform_ = false;
|
|
|
|
battleMinCostTime_ = 0;
|
|
|
|
if (creatorDetailBuilder_ == null) {
|
|
creatorDetail_ = null;
|
|
} else {
|
|
creatorDetail_ = null;
|
|
creatorDetailBuilder_ = null;
|
|
}
|
|
if (abstractBuilder_ == null) {
|
|
abstract_ = null;
|
|
} else {
|
|
abstract_ = null;
|
|
abstractBuilder_ = null;
|
|
}
|
|
if (socialBuilder_ == null) {
|
|
social_ = null;
|
|
} else {
|
|
social_ = null;
|
|
socialBuilder_ = null;
|
|
}
|
|
isStored_ = false;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.internal_static_OtherCustomDungeonBrief_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief build() {
|
|
emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief buildPartial() {
|
|
emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief result = new emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief(this);
|
|
int from_bitField0_ = bitField0_;
|
|
if (settingBuilder_ == null) {
|
|
result.setting_ = setting_;
|
|
} else {
|
|
result.setting_ = settingBuilder_.build();
|
|
}
|
|
if (((bitField0_ & 0x00000001) != 0)) {
|
|
tagList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
}
|
|
result.tagList_ = tagList_;
|
|
result.dungeonGuid_ = dungeonGuid_;
|
|
result.isAdventureDungeon_ = isAdventureDungeon_;
|
|
result.dungeonId_ = dungeonId_;
|
|
result.isPsnPlatform_ = isPsnPlatform_;
|
|
result.battleMinCostTime_ = battleMinCostTime_;
|
|
if (creatorDetailBuilder_ == null) {
|
|
result.creatorDetail_ = creatorDetail_;
|
|
} else {
|
|
result.creatorDetail_ = creatorDetailBuilder_.build();
|
|
}
|
|
if (abstractBuilder_ == null) {
|
|
result.abstract_ = abstract_;
|
|
} else {
|
|
result.abstract_ = abstractBuilder_.build();
|
|
}
|
|
if (socialBuilder_ == null) {
|
|
result.social_ = social_;
|
|
} else {
|
|
result.social_ = socialBuilder_.build();
|
|
}
|
|
result.isStored_ = isStored_;
|
|
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.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief) {
|
|
return mergeFrom((emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief other) {
|
|
if (other == emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief.getDefaultInstance()) return this;
|
|
if (other.hasSetting()) {
|
|
mergeSetting(other.getSetting());
|
|
}
|
|
if (!other.tagList_.isEmpty()) {
|
|
if (tagList_.isEmpty()) {
|
|
tagList_ = other.tagList_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
ensureTagListIsMutable();
|
|
tagList_.addAll(other.tagList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (other.getDungeonGuid() != 0L) {
|
|
setDungeonGuid(other.getDungeonGuid());
|
|
}
|
|
if (other.getIsAdventureDungeon() != false) {
|
|
setIsAdventureDungeon(other.getIsAdventureDungeon());
|
|
}
|
|
if (other.getDungeonId() != 0) {
|
|
setDungeonId(other.getDungeonId());
|
|
}
|
|
if (other.getIsPsnPlatform() != false) {
|
|
setIsPsnPlatform(other.getIsPsnPlatform());
|
|
}
|
|
if (other.getBattleMinCostTime() != 0) {
|
|
setBattleMinCostTime(other.getBattleMinCostTime());
|
|
}
|
|
if (other.hasCreatorDetail()) {
|
|
mergeCreatorDetail(other.getCreatorDetail());
|
|
}
|
|
if (other.hasAbstract()) {
|
|
mergeAbstract(other.getAbstract());
|
|
}
|
|
if (other.hasSocial()) {
|
|
mergeSocial(other.getSocial());
|
|
}
|
|
if (other.getIsStored() != false) {
|
|
setIsStored(other.getIsStored());
|
|
}
|
|
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.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
private int bitField0_;
|
|
|
|
private emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting setting_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder> settingBuilder_;
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
* @return Whether the setting field is set.
|
|
*/
|
|
public boolean hasSetting() {
|
|
return settingBuilder_ != null || setting_ != null;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
* @return The setting.
|
|
*/
|
|
public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting getSetting() {
|
|
if (settingBuilder_ == null) {
|
|
return setting_ == null ? emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.getDefaultInstance() : setting_;
|
|
} else {
|
|
return settingBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
*/
|
|
public Builder setSetting(emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting value) {
|
|
if (settingBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
setting_ = value;
|
|
onChanged();
|
|
} else {
|
|
settingBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
*/
|
|
public Builder setSetting(
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder builderForValue) {
|
|
if (settingBuilder_ == null) {
|
|
setting_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
settingBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
*/
|
|
public Builder mergeSetting(emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting value) {
|
|
if (settingBuilder_ == null) {
|
|
if (setting_ != null) {
|
|
setting_ =
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.newBuilder(setting_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
setting_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
settingBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
*/
|
|
public Builder clearSetting() {
|
|
if (settingBuilder_ == null) {
|
|
setting_ = null;
|
|
onChanged();
|
|
} else {
|
|
setting_ = null;
|
|
settingBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder getSettingBuilder() {
|
|
|
|
onChanged();
|
|
return getSettingFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder getSettingOrBuilder() {
|
|
if (settingBuilder_ != null) {
|
|
return settingBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return setting_ == null ?
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.getDefaultInstance() : setting_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSetting setting = 7;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder>
|
|
getSettingFieldBuilder() {
|
|
if (settingBuilder_ == null) {
|
|
settingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder>(
|
|
getSetting(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
setting_ = null;
|
|
}
|
|
return settingBuilder_;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList tagList_ = emptyIntList();
|
|
private void ensureTagListIsMutable() {
|
|
if (!((bitField0_ & 0x00000001) != 0)) {
|
|
tagList_ = mutableCopy(tagList_);
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @return A list containing the tagList.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getTagListList() {
|
|
return ((bitField0_ & 0x00000001) != 0) ?
|
|
java.util.Collections.unmodifiableList(tagList_) : tagList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @return The count of tagList.
|
|
*/
|
|
public int getTagListCount() {
|
|
return tagList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The tagList at the given index.
|
|
*/
|
|
public int getTagList(int index) {
|
|
return tagList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The tagList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setTagList(
|
|
int index, int value) {
|
|
ensureTagListIsMutable();
|
|
tagList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @param value The tagList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addTagList(int value) {
|
|
ensureTagListIsMutable();
|
|
tagList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @param values The tagList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllTagList(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureTagListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, tagList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 tag_list = 13;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearTagList() {
|
|
tagList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private long dungeonGuid_ ;
|
|
/**
|
|
* <code>uint64 dungeon_guid = 6;</code>
|
|
* @return The dungeonGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getDungeonGuid() {
|
|
return dungeonGuid_;
|
|
}
|
|
/**
|
|
* <code>uint64 dungeon_guid = 6;</code>
|
|
* @param value The dungeonGuid to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setDungeonGuid(long value) {
|
|
|
|
dungeonGuid_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint64 dungeon_guid = 6;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearDungeonGuid() {
|
|
|
|
dungeonGuid_ = 0L;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isAdventureDungeon_ ;
|
|
/**
|
|
* <code>bool is_adventure_dungeon = 2;</code>
|
|
* @return The isAdventureDungeon.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsAdventureDungeon() {
|
|
return isAdventureDungeon_;
|
|
}
|
|
/**
|
|
* <code>bool is_adventure_dungeon = 2;</code>
|
|
* @param value The isAdventureDungeon to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsAdventureDungeon(boolean value) {
|
|
|
|
isAdventureDungeon_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_adventure_dungeon = 2;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsAdventureDungeon() {
|
|
|
|
isAdventureDungeon_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int dungeonId_ ;
|
|
/**
|
|
* <code>uint32 dungeon_id = 4;</code>
|
|
* @return The dungeonId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getDungeonId() {
|
|
return dungeonId_;
|
|
}
|
|
/**
|
|
* <code>uint32 dungeon_id = 4;</code>
|
|
* @param value The dungeonId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setDungeonId(int value) {
|
|
|
|
dungeonId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 dungeon_id = 4;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearDungeonId() {
|
|
|
|
dungeonId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isPsnPlatform_ ;
|
|
/**
|
|
* <code>bool is_psn_platform = 10;</code>
|
|
* @return The isPsnPlatform.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsPsnPlatform() {
|
|
return isPsnPlatform_;
|
|
}
|
|
/**
|
|
* <code>bool is_psn_platform = 10;</code>
|
|
* @param value The isPsnPlatform to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsPsnPlatform(boolean value) {
|
|
|
|
isPsnPlatform_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_psn_platform = 10;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsPsnPlatform() {
|
|
|
|
isPsnPlatform_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int battleMinCostTime_ ;
|
|
/**
|
|
* <code>uint32 battle_min_cost_time = 3;</code>
|
|
* @return The battleMinCostTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getBattleMinCostTime() {
|
|
return battleMinCostTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 battle_min_cost_time = 3;</code>
|
|
* @param value The battleMinCostTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setBattleMinCostTime(int value) {
|
|
|
|
battleMinCostTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 battle_min_cost_time = 3;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearBattleMinCostTime() {
|
|
|
|
battleMinCostTime_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail creatorDetail_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail, emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.Builder, emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetailOrBuilder> creatorDetailBuilder_;
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
* @return Whether the creatorDetail field is set.
|
|
*/
|
|
public boolean hasCreatorDetail() {
|
|
return creatorDetailBuilder_ != null || creatorDetail_ != null;
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
* @return The creatorDetail.
|
|
*/
|
|
public emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail getCreatorDetail() {
|
|
if (creatorDetailBuilder_ == null) {
|
|
return creatorDetail_ == null ? emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.getDefaultInstance() : creatorDetail_;
|
|
} else {
|
|
return creatorDetailBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
*/
|
|
public Builder setCreatorDetail(emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail value) {
|
|
if (creatorDetailBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
creatorDetail_ = value;
|
|
onChanged();
|
|
} else {
|
|
creatorDetailBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
*/
|
|
public Builder setCreatorDetail(
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.Builder builderForValue) {
|
|
if (creatorDetailBuilder_ == null) {
|
|
creatorDetail_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
creatorDetailBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
*/
|
|
public Builder mergeCreatorDetail(emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail value) {
|
|
if (creatorDetailBuilder_ == null) {
|
|
if (creatorDetail_ != null) {
|
|
creatorDetail_ =
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.newBuilder(creatorDetail_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
creatorDetail_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
creatorDetailBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
*/
|
|
public Builder clearCreatorDetail() {
|
|
if (creatorDetailBuilder_ == null) {
|
|
creatorDetail_ = null;
|
|
onChanged();
|
|
} else {
|
|
creatorDetail_ = null;
|
|
creatorDetailBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.Builder getCreatorDetailBuilder() {
|
|
|
|
onChanged();
|
|
return getCreatorDetailFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetailOrBuilder getCreatorDetailOrBuilder() {
|
|
if (creatorDetailBuilder_ != null) {
|
|
return creatorDetailBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return creatorDetail_ == null ?
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.getDefaultInstance() : creatorDetail_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.SocialDetail creator_detail = 9;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail, emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.Builder, emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetailOrBuilder>
|
|
getCreatorDetailFieldBuilder() {
|
|
if (creatorDetailBuilder_ == null) {
|
|
creatorDetailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail, emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.Builder, emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetailOrBuilder>(
|
|
getCreatorDetail(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
creatorDetail_ = null;
|
|
}
|
|
return creatorDetailBuilder_;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract abstract_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder> abstractBuilder_;
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
* @return Whether the abstract field is set.
|
|
*/
|
|
public boolean hasAbstract() {
|
|
return abstractBuilder_ != null || abstract_ != null;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
* @return The abstract.
|
|
*/
|
|
public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract getAbstract() {
|
|
if (abstractBuilder_ == null) {
|
|
return abstract_ == null ? emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.getDefaultInstance() : abstract_;
|
|
} else {
|
|
return abstractBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
*/
|
|
public Builder setAbstract(emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract value) {
|
|
if (abstractBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
abstract_ = value;
|
|
onChanged();
|
|
} else {
|
|
abstractBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
*/
|
|
public Builder setAbstract(
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder builderForValue) {
|
|
if (abstractBuilder_ == null) {
|
|
abstract_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
abstractBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
*/
|
|
public Builder mergeAbstract(emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract value) {
|
|
if (abstractBuilder_ == null) {
|
|
if (abstract_ != null) {
|
|
abstract_ =
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.newBuilder(abstract_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
abstract_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
abstractBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
*/
|
|
public Builder clearAbstract() {
|
|
if (abstractBuilder_ == null) {
|
|
abstract_ = null;
|
|
onChanged();
|
|
} else {
|
|
abstract_ = null;
|
|
abstractBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder getAbstractBuilder() {
|
|
|
|
onChanged();
|
|
return getAbstractFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder getAbstractOrBuilder() {
|
|
if (abstractBuilder_ != null) {
|
|
return abstractBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return abstract_ == null ?
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.getDefaultInstance() : abstract_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonAbstract abstract = 8;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder>
|
|
getAbstractFieldBuilder() {
|
|
if (abstractBuilder_ == null) {
|
|
abstractBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder>(
|
|
getAbstract(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
abstract_ = null;
|
|
}
|
|
return abstractBuilder_;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial social_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder> socialBuilder_;
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
* @return Whether the social field is set.
|
|
*/
|
|
public boolean hasSocial() {
|
|
return socialBuilder_ != null || social_ != null;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
* @return The social.
|
|
*/
|
|
public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial getSocial() {
|
|
if (socialBuilder_ == null) {
|
|
return social_ == null ? emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.getDefaultInstance() : social_;
|
|
} else {
|
|
return socialBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
*/
|
|
public Builder setSocial(emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial value) {
|
|
if (socialBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
social_ = value;
|
|
onChanged();
|
|
} else {
|
|
socialBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
*/
|
|
public Builder setSocial(
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder builderForValue) {
|
|
if (socialBuilder_ == null) {
|
|
social_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
socialBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
*/
|
|
public Builder mergeSocial(emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial value) {
|
|
if (socialBuilder_ == null) {
|
|
if (social_ != null) {
|
|
social_ =
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.newBuilder(social_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
social_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
socialBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
*/
|
|
public Builder clearSocial() {
|
|
if (socialBuilder_ == null) {
|
|
social_ = null;
|
|
onChanged();
|
|
} else {
|
|
social_ = null;
|
|
socialBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder getSocialBuilder() {
|
|
|
|
onChanged();
|
|
return getSocialFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder getSocialOrBuilder() {
|
|
if (socialBuilder_ != null) {
|
|
return socialBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return social_ == null ?
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.getDefaultInstance() : social_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.CustomDungeonSocial social = 14;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder>
|
|
getSocialFieldBuilder() {
|
|
if (socialBuilder_ == null) {
|
|
socialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder>(
|
|
getSocial(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
social_ = null;
|
|
}
|
|
return socialBuilder_;
|
|
}
|
|
|
|
private boolean isStored_ ;
|
|
/**
|
|
* <code>bool is_stored = 5;</code>
|
|
* @return The isStored.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsStored() {
|
|
return isStored_;
|
|
}
|
|
/**
|
|
* <code>bool is_stored = 5;</code>
|
|
* @param value The isStored to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsStored(boolean value) {
|
|
|
|
isStored_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_stored = 5;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsStored() {
|
|
|
|
isStored_ = false;
|
|
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:OtherCustomDungeonBrief)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:OtherCustomDungeonBrief)
|
|
private static final emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<OtherCustomDungeonBrief>
|
|
PARSER = new com.google.protobuf.AbstractParser<OtherCustomDungeonBrief>() {
|
|
@java.lang.Override
|
|
public OtherCustomDungeonBrief parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new OtherCustomDungeonBrief(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<OtherCustomDungeonBrief> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<OtherCustomDungeonBrief> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.OtherCustomDungeonBriefOuterClass.OtherCustomDungeonBrief getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_OtherCustomDungeonBrief_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_OtherCustomDungeonBrief_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\035OtherCustomDungeonBrief.proto\032\032CustomD" +
|
|
"ungeonSetting.proto\032\022SocialDetail.proto\032" +
|
|
"\033CustomDungeonAbstract.proto\032\031CustomDung" +
|
|
"eonSocial.proto\"\334\002\n\027OtherCustomDungeonBr" +
|
|
"ief\022&\n\007setting\030\007 \001(\0132\025.CustomDungeonSett" +
|
|
"ing\022\020\n\010tag_list\030\r \003(\r\022\024\n\014dungeon_guid\030\006 " +
|
|
"\001(\004\022\034\n\024is_adventure_dungeon\030\002 \001(\010\022\022\n\ndun" +
|
|
"geon_id\030\004 \001(\r\022\027\n\017is_psn_platform\030\n \001(\010\022\034" +
|
|
"\n\024battle_min_cost_time\030\003 \001(\r\022%\n\016creator_" +
|
|
"detail\030\t \001(\0132\r.SocialDetail\022(\n\010abstract\030" +
|
|
"\010 \001(\0132\026.CustomDungeonAbstract\022$\n\006social\030" +
|
|
"\016 \001(\0132\024.CustomDungeonSocial\022\021\n\tis_stored" +
|
|
"\030\005 \001(\010B\033\n\031emu.grasscutter.net.protob\006pro" +
|
|
"to3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_OtherCustomDungeonBrief_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_OtherCustomDungeonBrief_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_OtherCustomDungeonBrief_descriptor,
|
|
new java.lang.String[] { "Setting", "TagList", "DungeonGuid", "IsAdventureDungeon", "DungeonId", "IsPsnPlatform", "BattleMinCostTime", "CreatorDetail", "Abstract", "Social", "IsStored", });
|
|
emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|