Grasscutter/src/generated/main/java/emu/grasscutter/net/proto/DailyDungeonEntryInfoOuterClass.java
2022-08-21 11:33:54 +00:00

886 lines
34 KiB
Java

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DailyDungeonEntryInfo.proto
package emu.grasscutter.net.proto;
public final class DailyDungeonEntryInfoOuterClass {
private DailyDungeonEntryInfoOuterClass() {}
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 DailyDungeonEntryInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:DailyDungeonEntryInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 dungeon_entry_config_id = 12;</code>
* @return The dungeonEntryConfigId.
*/
int getDungeonEntryConfigId();
/**
* <code>uint32 dungeon_entry_id = 15;</code>
* @return The dungeonEntryId.
*/
int getDungeonEntryId();
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
* @return Whether the recommendDungeonEntryInfo field is set.
*/
boolean hasRecommendDungeonEntryInfo();
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
* @return The recommendDungeonEntryInfo.
*/
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getRecommendDungeonEntryInfo();
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
*/
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getRecommendDungeonEntryInfoOrBuilder();
/**
* <code>uint32 recommend_dungeon_id = 4;</code>
* @return The recommendDungeonId.
*/
int getRecommendDungeonId();
}
/**
* Protobuf type {@code DailyDungeonEntryInfo}
*/
public static final class DailyDungeonEntryInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DailyDungeonEntryInfo)
DailyDungeonEntryInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DailyDungeonEntryInfo.newBuilder() to construct.
private DailyDungeonEntryInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DailyDungeonEntryInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DailyDungeonEntryInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DailyDungeonEntryInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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 10: {
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder subBuilder = null;
if (recommendDungeonEntryInfo_ != null) {
subBuilder = recommendDungeonEntryInfo_.toBuilder();
}
recommendDungeonEntryInfo_ = input.readMessage(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(recommendDungeonEntryInfo_);
recommendDungeonEntryInfo_ = subBuilder.buildPartial();
}
break;
}
case 32: {
recommendDungeonId_ = input.readUInt32();
break;
}
case 96: {
dungeonEntryConfigId_ = input.readUInt32();
break;
}
case 120: {
dungeonEntryId_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.internal_static_DailyDungeonEntryInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.internal_static_DailyDungeonEntryInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo.class, emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo.Builder.class);
}
public static final int DUNGEON_ENTRY_CONFIG_ID_FIELD_NUMBER = 12;
private int dungeonEntryConfigId_;
/**
* <code>uint32 dungeon_entry_config_id = 12;</code>
* @return The dungeonEntryConfigId.
*/
@java.lang.Override
public int getDungeonEntryConfigId() {
return dungeonEntryConfigId_;
}
public static final int DUNGEON_ENTRY_ID_FIELD_NUMBER = 15;
private int dungeonEntryId_;
/**
* <code>uint32 dungeon_entry_id = 15;</code>
* @return The dungeonEntryId.
*/
@java.lang.Override
public int getDungeonEntryId() {
return dungeonEntryId_;
}
public static final int RECOMMEND_DUNGEON_ENTRY_INFO_FIELD_NUMBER = 1;
private emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo recommendDungeonEntryInfo_;
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
* @return Whether the recommendDungeonEntryInfo field is set.
*/
@java.lang.Override
public boolean hasRecommendDungeonEntryInfo() {
return recommendDungeonEntryInfo_ != null;
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
* @return The recommendDungeonEntryInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getRecommendDungeonEntryInfo() {
return recommendDungeonEntryInfo_ == null ? emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance() : recommendDungeonEntryInfo_;
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getRecommendDungeonEntryInfoOrBuilder() {
return getRecommendDungeonEntryInfo();
}
public static final int RECOMMEND_DUNGEON_ID_FIELD_NUMBER = 4;
private int recommendDungeonId_;
/**
* <code>uint32 recommend_dungeon_id = 4;</code>
* @return The recommendDungeonId.
*/
@java.lang.Override
public int getRecommendDungeonId() {
return recommendDungeonId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (recommendDungeonEntryInfo_ != null) {
output.writeMessage(1, getRecommendDungeonEntryInfo());
}
if (recommendDungeonId_ != 0) {
output.writeUInt32(4, recommendDungeonId_);
}
if (dungeonEntryConfigId_ != 0) {
output.writeUInt32(12, dungeonEntryConfigId_);
}
if (dungeonEntryId_ != 0) {
output.writeUInt32(15, dungeonEntryId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (recommendDungeonEntryInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRecommendDungeonEntryInfo());
}
if (recommendDungeonId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, recommendDungeonId_);
}
if (dungeonEntryConfigId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, dungeonEntryConfigId_);
}
if (dungeonEntryId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, dungeonEntryId_);
}
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.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo other = (emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo) obj;
if (getDungeonEntryConfigId()
!= other.getDungeonEntryConfigId()) return false;
if (getDungeonEntryId()
!= other.getDungeonEntryId()) return false;
if (hasRecommendDungeonEntryInfo() != other.hasRecommendDungeonEntryInfo()) return false;
if (hasRecommendDungeonEntryInfo()) {
if (!getRecommendDungeonEntryInfo()
.equals(other.getRecommendDungeonEntryInfo())) return false;
}
if (getRecommendDungeonId()
!= other.getRecommendDungeonId()) 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) + DUNGEON_ENTRY_CONFIG_ID_FIELD_NUMBER;
hash = (53 * hash) + getDungeonEntryConfigId();
hash = (37 * hash) + DUNGEON_ENTRY_ID_FIELD_NUMBER;
hash = (53 * hash) + getDungeonEntryId();
if (hasRecommendDungeonEntryInfo()) {
hash = (37 * hash) + RECOMMEND_DUNGEON_ENTRY_INFO_FIELD_NUMBER;
hash = (53 * hash) + getRecommendDungeonEntryInfo().hashCode();
}
hash = (37 * hash) + RECOMMEND_DUNGEON_ID_FIELD_NUMBER;
hash = (53 * hash) + getRecommendDungeonId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo 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.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo 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.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo 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.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo 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.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo 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.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo 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;
}
/**
* Protobuf type {@code DailyDungeonEntryInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:DailyDungeonEntryInfo)
emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.internal_static_DailyDungeonEntryInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.internal_static_DailyDungeonEntryInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo.class, emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo.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();
dungeonEntryConfigId_ = 0;
dungeonEntryId_ = 0;
if (recommendDungeonEntryInfoBuilder_ == null) {
recommendDungeonEntryInfo_ = null;
} else {
recommendDungeonEntryInfo_ = null;
recommendDungeonEntryInfoBuilder_ = null;
}
recommendDungeonId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.internal_static_DailyDungeonEntryInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo build() {
emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo buildPartial() {
emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo result = new emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo(this);
result.dungeonEntryConfigId_ = dungeonEntryConfigId_;
result.dungeonEntryId_ = dungeonEntryId_;
if (recommendDungeonEntryInfoBuilder_ == null) {
result.recommendDungeonEntryInfo_ = recommendDungeonEntryInfo_;
} else {
result.recommendDungeonEntryInfo_ = recommendDungeonEntryInfoBuilder_.build();
}
result.recommendDungeonId_ = recommendDungeonId_;
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.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo) {
return mergeFrom((emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo other) {
if (other == emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo.getDefaultInstance()) return this;
if (other.getDungeonEntryConfigId() != 0) {
setDungeonEntryConfigId(other.getDungeonEntryConfigId());
}
if (other.getDungeonEntryId() != 0) {
setDungeonEntryId(other.getDungeonEntryId());
}
if (other.hasRecommendDungeonEntryInfo()) {
mergeRecommendDungeonEntryInfo(other.getRecommendDungeonEntryInfo());
}
if (other.getRecommendDungeonId() != 0) {
setRecommendDungeonId(other.getRecommendDungeonId());
}
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.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int dungeonEntryConfigId_ ;
/**
* <code>uint32 dungeon_entry_config_id = 12;</code>
* @return The dungeonEntryConfigId.
*/
@java.lang.Override
public int getDungeonEntryConfigId() {
return dungeonEntryConfigId_;
}
/**
* <code>uint32 dungeon_entry_config_id = 12;</code>
* @param value The dungeonEntryConfigId to set.
* @return This builder for chaining.
*/
public Builder setDungeonEntryConfigId(int value) {
dungeonEntryConfigId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 dungeon_entry_config_id = 12;</code>
* @return This builder for chaining.
*/
public Builder clearDungeonEntryConfigId() {
dungeonEntryConfigId_ = 0;
onChanged();
return this;
}
private int dungeonEntryId_ ;
/**
* <code>uint32 dungeon_entry_id = 15;</code>
* @return The dungeonEntryId.
*/
@java.lang.Override
public int getDungeonEntryId() {
return dungeonEntryId_;
}
/**
* <code>uint32 dungeon_entry_id = 15;</code>
* @param value The dungeonEntryId to set.
* @return This builder for chaining.
*/
public Builder setDungeonEntryId(int value) {
dungeonEntryId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 dungeon_entry_id = 15;</code>
* @return This builder for chaining.
*/
public Builder clearDungeonEntryId() {
dungeonEntryId_ = 0;
onChanged();
return this;
}
private emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo recommendDungeonEntryInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder> recommendDungeonEntryInfoBuilder_;
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
* @return Whether the recommendDungeonEntryInfo field is set.
*/
public boolean hasRecommendDungeonEntryInfo() {
return recommendDungeonEntryInfoBuilder_ != null || recommendDungeonEntryInfo_ != null;
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
* @return The recommendDungeonEntryInfo.
*/
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getRecommendDungeonEntryInfo() {
if (recommendDungeonEntryInfoBuilder_ == null) {
return recommendDungeonEntryInfo_ == null ? emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance() : recommendDungeonEntryInfo_;
} else {
return recommendDungeonEntryInfoBuilder_.getMessage();
}
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
*/
public Builder setRecommendDungeonEntryInfo(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo value) {
if (recommendDungeonEntryInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
recommendDungeonEntryInfo_ = value;
onChanged();
} else {
recommendDungeonEntryInfoBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
*/
public Builder setRecommendDungeonEntryInfo(
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder builderForValue) {
if (recommendDungeonEntryInfoBuilder_ == null) {
recommendDungeonEntryInfo_ = builderForValue.build();
onChanged();
} else {
recommendDungeonEntryInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
*/
public Builder mergeRecommendDungeonEntryInfo(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo value) {
if (recommendDungeonEntryInfoBuilder_ == null) {
if (recommendDungeonEntryInfo_ != null) {
recommendDungeonEntryInfo_ =
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.newBuilder(recommendDungeonEntryInfo_).mergeFrom(value).buildPartial();
} else {
recommendDungeonEntryInfo_ = value;
}
onChanged();
} else {
recommendDungeonEntryInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
*/
public Builder clearRecommendDungeonEntryInfo() {
if (recommendDungeonEntryInfoBuilder_ == null) {
recommendDungeonEntryInfo_ = null;
onChanged();
} else {
recommendDungeonEntryInfo_ = null;
recommendDungeonEntryInfoBuilder_ = null;
}
return this;
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
*/
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder getRecommendDungeonEntryInfoBuilder() {
onChanged();
return getRecommendDungeonEntryInfoFieldBuilder().getBuilder();
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
*/
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getRecommendDungeonEntryInfoOrBuilder() {
if (recommendDungeonEntryInfoBuilder_ != null) {
return recommendDungeonEntryInfoBuilder_.getMessageOrBuilder();
} else {
return recommendDungeonEntryInfo_ == null ?
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance() : recommendDungeonEntryInfo_;
}
}
/**
* <code>.DungeonEntryInfo recommend_dungeon_entry_info = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>
getRecommendDungeonEntryInfoFieldBuilder() {
if (recommendDungeonEntryInfoBuilder_ == null) {
recommendDungeonEntryInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>(
getRecommendDungeonEntryInfo(),
getParentForChildren(),
isClean());
recommendDungeonEntryInfo_ = null;
}
return recommendDungeonEntryInfoBuilder_;
}
private int recommendDungeonId_ ;
/**
* <code>uint32 recommend_dungeon_id = 4;</code>
* @return The recommendDungeonId.
*/
@java.lang.Override
public int getRecommendDungeonId() {
return recommendDungeonId_;
}
/**
* <code>uint32 recommend_dungeon_id = 4;</code>
* @param value The recommendDungeonId to set.
* @return This builder for chaining.
*/
public Builder setRecommendDungeonId(int value) {
recommendDungeonId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 recommend_dungeon_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearRecommendDungeonId() {
recommendDungeonId_ = 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:DailyDungeonEntryInfo)
}
// @@protoc_insertion_point(class_scope:DailyDungeonEntryInfo)
private static final emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo();
}
public static emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DailyDungeonEntryInfo>
PARSER = new com.google.protobuf.AbstractParser<DailyDungeonEntryInfo>() {
@java.lang.Override
public DailyDungeonEntryInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DailyDungeonEntryInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<DailyDungeonEntryInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DailyDungeonEntryInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.DailyDungeonEntryInfoOuterClass.DailyDungeonEntryInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_DailyDungeonEntryInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_DailyDungeonEntryInfo_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\033DailyDungeonEntryInfo.proto\032\026DungeonEn" +
"tryInfo.proto\"\251\001\n\025DailyDungeonEntryInfo\022" +
"\037\n\027dungeon_entry_config_id\030\014 \001(\r\022\030\n\020dung" +
"eon_entry_id\030\017 \001(\r\0227\n\034recommend_dungeon_" +
"entry_info\030\001 \001(\0132\021.DungeonEntryInfo\022\034\n\024r" +
"ecommend_dungeon_id\030\004 \001(\rB\033\n\031emu.grasscu" +
"tter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.getDescriptor(),
});
internal_static_DailyDungeonEntryInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_DailyDungeonEntryInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_DailyDungeonEntryInfo_descriptor,
new java.lang.String[] { "DungeonEntryConfigId", "DungeonEntryId", "RecommendDungeonEntryInfo", "RecommendDungeonId", });
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}