// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FindHilichurlDetailInfo.proto
package emu.grasscutter.net.proto;
public final class FindHilichurlDetailInfoOuterClass {
private FindHilichurlDetailInfoOuterClass() {}
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 FindHilichurlDetailInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:FindHilichurlDetailInfo)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 day_index = 8;
* @return The dayIndex.
*/
int getDayIndex();
/**
* bool is_content_closed = 12;
* @return The isContentClosed.
*/
boolean getIsContentClosed();
/**
* uint32 min_open_player_level = 2;
* @return The minOpenPlayerLevel.
*/
int getMinOpenPlayerLevel();
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
java.util.List
getDayContentInfoListList();
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo getDayContentInfoList(int index);
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
int getDayContentInfoListCount();
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
java.util.List extends emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfoOrBuilder>
getDayContentInfoListOrBuilderList();
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfoOrBuilder getDayContentInfoListOrBuilder(
int index);
/**
* uint32 content_close_time = 7;
* @return The contentCloseTime.
*/
int getContentCloseTime();
/**
* bool is_end_quest_accept = 5;
* @return The isEndQuestAccept.
*/
boolean getIsEndQuestAccept();
/**
* uint32 player_day_index = 14;
* @return The playerDayIndex.
*/
int getPlayerDayIndex();
}
/**
* Protobuf type {@code FindHilichurlDetailInfo}
*/
public static final class FindHilichurlDetailInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FindHilichurlDetailInfo)
FindHilichurlDetailInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use FindHilichurlDetailInfo.newBuilder() to construct.
private FindHilichurlDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FindHilichurlDetailInfo() {
dayContentInfoList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FindHilichurlDetailInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FindHilichurlDetailInfo(
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: {
minOpenPlayerLevel_ = input.readUInt32();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
dayContentInfoList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
dayContentInfoList_.add(
input.readMessage(emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.parser(), extensionRegistry));
break;
}
case 40: {
isEndQuestAccept_ = input.readBool();
break;
}
case 56: {
contentCloseTime_ = input.readUInt32();
break;
}
case 64: {
dayIndex_ = input.readUInt32();
break;
}
case 96: {
isContentClosed_ = input.readBool();
break;
}
case 112: {
playerDayIndex_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
dayContentInfoList_ = java.util.Collections.unmodifiableList(dayContentInfoList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.internal_static_FindHilichurlDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.internal_static_FindHilichurlDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo.class, emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo.Builder.class);
}
public static final int DAY_INDEX_FIELD_NUMBER = 8;
private int dayIndex_;
/**
* uint32 day_index = 8;
* @return The dayIndex.
*/
@java.lang.Override
public int getDayIndex() {
return dayIndex_;
}
public static final int IS_CONTENT_CLOSED_FIELD_NUMBER = 12;
private boolean isContentClosed_;
/**
* bool is_content_closed = 12;
* @return The isContentClosed.
*/
@java.lang.Override
public boolean getIsContentClosed() {
return isContentClosed_;
}
public static final int MIN_OPEN_PLAYER_LEVEL_FIELD_NUMBER = 2;
private int minOpenPlayerLevel_;
/**
* uint32 min_open_player_level = 2;
* @return The minOpenPlayerLevel.
*/
@java.lang.Override
public int getMinOpenPlayerLevel() {
return minOpenPlayerLevel_;
}
public static final int DAY_CONTENT_INFO_LIST_FIELD_NUMBER = 4;
private java.util.List dayContentInfoList_;
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
@java.lang.Override
public java.util.List getDayContentInfoListList() {
return dayContentInfoList_;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfoOrBuilder>
getDayContentInfoListOrBuilderList() {
return dayContentInfoList_;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
@java.lang.Override
public int getDayContentInfoListCount() {
return dayContentInfoList_.size();
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
@java.lang.Override
public emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo getDayContentInfoList(int index) {
return dayContentInfoList_.get(index);
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
@java.lang.Override
public emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfoOrBuilder getDayContentInfoListOrBuilder(
int index) {
return dayContentInfoList_.get(index);
}
public static final int CONTENT_CLOSE_TIME_FIELD_NUMBER = 7;
private int contentCloseTime_;
/**
* uint32 content_close_time = 7;
* @return The contentCloseTime.
*/
@java.lang.Override
public int getContentCloseTime() {
return contentCloseTime_;
}
public static final int IS_END_QUEST_ACCEPT_FIELD_NUMBER = 5;
private boolean isEndQuestAccept_;
/**
* bool is_end_quest_accept = 5;
* @return The isEndQuestAccept.
*/
@java.lang.Override
public boolean getIsEndQuestAccept() {
return isEndQuestAccept_;
}
public static final int PLAYER_DAY_INDEX_FIELD_NUMBER = 14;
private int playerDayIndex_;
/**
* uint32 player_day_index = 14;
* @return The playerDayIndex.
*/
@java.lang.Override
public int getPlayerDayIndex() {
return playerDayIndex_;
}
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 (minOpenPlayerLevel_ != 0) {
output.writeUInt32(2, minOpenPlayerLevel_);
}
for (int i = 0; i < dayContentInfoList_.size(); i++) {
output.writeMessage(4, dayContentInfoList_.get(i));
}
if (isEndQuestAccept_ != false) {
output.writeBool(5, isEndQuestAccept_);
}
if (contentCloseTime_ != 0) {
output.writeUInt32(7, contentCloseTime_);
}
if (dayIndex_ != 0) {
output.writeUInt32(8, dayIndex_);
}
if (isContentClosed_ != false) {
output.writeBool(12, isContentClosed_);
}
if (playerDayIndex_ != 0) {
output.writeUInt32(14, playerDayIndex_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (minOpenPlayerLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, minOpenPlayerLevel_);
}
for (int i = 0; i < dayContentInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, dayContentInfoList_.get(i));
}
if (isEndQuestAccept_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, isEndQuestAccept_);
}
if (contentCloseTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, contentCloseTime_);
}
if (dayIndex_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, dayIndex_);
}
if (isContentClosed_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, isContentClosed_);
}
if (playerDayIndex_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, playerDayIndex_);
}
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.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo other = (emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo) obj;
if (getDayIndex()
!= other.getDayIndex()) return false;
if (getIsContentClosed()
!= other.getIsContentClosed()) return false;
if (getMinOpenPlayerLevel()
!= other.getMinOpenPlayerLevel()) return false;
if (!getDayContentInfoListList()
.equals(other.getDayContentInfoListList())) return false;
if (getContentCloseTime()
!= other.getContentCloseTime()) return false;
if (getIsEndQuestAccept()
!= other.getIsEndQuestAccept()) return false;
if (getPlayerDayIndex()
!= other.getPlayerDayIndex()) 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) + DAY_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getDayIndex();
hash = (37 * hash) + IS_CONTENT_CLOSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsContentClosed());
hash = (37 * hash) + MIN_OPEN_PLAYER_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getMinOpenPlayerLevel();
if (getDayContentInfoListCount() > 0) {
hash = (37 * hash) + DAY_CONTENT_INFO_LIST_FIELD_NUMBER;
hash = (53 * hash) + getDayContentInfoListList().hashCode();
}
hash = (37 * hash) + CONTENT_CLOSE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getContentCloseTime();
hash = (37 * hash) + IS_END_QUEST_ACCEPT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsEndQuestAccept());
hash = (37 * hash) + PLAYER_DAY_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getPlayerDayIndex();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo 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.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo 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.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo 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.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo 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.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo 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.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo 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 FindHilichurlDetailInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:FindHilichurlDetailInfo)
emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.internal_static_FindHilichurlDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.internal_static_FindHilichurlDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo.class, emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDayContentInfoListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
dayIndex_ = 0;
isContentClosed_ = false;
minOpenPlayerLevel_ = 0;
if (dayContentInfoListBuilder_ == null) {
dayContentInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
dayContentInfoListBuilder_.clear();
}
contentCloseTime_ = 0;
isEndQuestAccept_ = false;
playerDayIndex_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.internal_static_FindHilichurlDetailInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo build() {
emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo buildPartial() {
emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo result = new emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo(this);
int from_bitField0_ = bitField0_;
result.dayIndex_ = dayIndex_;
result.isContentClosed_ = isContentClosed_;
result.minOpenPlayerLevel_ = minOpenPlayerLevel_;
if (dayContentInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
dayContentInfoList_ = java.util.Collections.unmodifiableList(dayContentInfoList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.dayContentInfoList_ = dayContentInfoList_;
} else {
result.dayContentInfoList_ = dayContentInfoListBuilder_.build();
}
result.contentCloseTime_ = contentCloseTime_;
result.isEndQuestAccept_ = isEndQuestAccept_;
result.playerDayIndex_ = playerDayIndex_;
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.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo) {
return mergeFrom((emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo other) {
if (other == emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo.getDefaultInstance()) return this;
if (other.getDayIndex() != 0) {
setDayIndex(other.getDayIndex());
}
if (other.getIsContentClosed() != false) {
setIsContentClosed(other.getIsContentClosed());
}
if (other.getMinOpenPlayerLevel() != 0) {
setMinOpenPlayerLevel(other.getMinOpenPlayerLevel());
}
if (dayContentInfoListBuilder_ == null) {
if (!other.dayContentInfoList_.isEmpty()) {
if (dayContentInfoList_.isEmpty()) {
dayContentInfoList_ = other.dayContentInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDayContentInfoListIsMutable();
dayContentInfoList_.addAll(other.dayContentInfoList_);
}
onChanged();
}
} else {
if (!other.dayContentInfoList_.isEmpty()) {
if (dayContentInfoListBuilder_.isEmpty()) {
dayContentInfoListBuilder_.dispose();
dayContentInfoListBuilder_ = null;
dayContentInfoList_ = other.dayContentInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
dayContentInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDayContentInfoListFieldBuilder() : null;
} else {
dayContentInfoListBuilder_.addAllMessages(other.dayContentInfoList_);
}
}
}
if (other.getContentCloseTime() != 0) {
setContentCloseTime(other.getContentCloseTime());
}
if (other.getIsEndQuestAccept() != false) {
setIsEndQuestAccept(other.getIsEndQuestAccept());
}
if (other.getPlayerDayIndex() != 0) {
setPlayerDayIndex(other.getPlayerDayIndex());
}
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.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int dayIndex_ ;
/**
* uint32 day_index = 8;
* @return The dayIndex.
*/
@java.lang.Override
public int getDayIndex() {
return dayIndex_;
}
/**
* uint32 day_index = 8;
* @param value The dayIndex to set.
* @return This builder for chaining.
*/
public Builder setDayIndex(int value) {
dayIndex_ = value;
onChanged();
return this;
}
/**
* uint32 day_index = 8;
* @return This builder for chaining.
*/
public Builder clearDayIndex() {
dayIndex_ = 0;
onChanged();
return this;
}
private boolean isContentClosed_ ;
/**
* bool is_content_closed = 12;
* @return The isContentClosed.
*/
@java.lang.Override
public boolean getIsContentClosed() {
return isContentClosed_;
}
/**
* bool is_content_closed = 12;
* @param value The isContentClosed to set.
* @return This builder for chaining.
*/
public Builder setIsContentClosed(boolean value) {
isContentClosed_ = value;
onChanged();
return this;
}
/**
* bool is_content_closed = 12;
* @return This builder for chaining.
*/
public Builder clearIsContentClosed() {
isContentClosed_ = false;
onChanged();
return this;
}
private int minOpenPlayerLevel_ ;
/**
* uint32 min_open_player_level = 2;
* @return The minOpenPlayerLevel.
*/
@java.lang.Override
public int getMinOpenPlayerLevel() {
return minOpenPlayerLevel_;
}
/**
* uint32 min_open_player_level = 2;
* @param value The minOpenPlayerLevel to set.
* @return This builder for chaining.
*/
public Builder setMinOpenPlayerLevel(int value) {
minOpenPlayerLevel_ = value;
onChanged();
return this;
}
/**
* uint32 min_open_player_level = 2;
* @return This builder for chaining.
*/
public Builder clearMinOpenPlayerLevel() {
minOpenPlayerLevel_ = 0;
onChanged();
return this;
}
private java.util.List dayContentInfoList_ =
java.util.Collections.emptyList();
private void ensureDayContentInfoListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
dayContentInfoList_ = new java.util.ArrayList(dayContentInfoList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.Builder, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfoOrBuilder> dayContentInfoListBuilder_;
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public java.util.List getDayContentInfoListList() {
if (dayContentInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(dayContentInfoList_);
} else {
return dayContentInfoListBuilder_.getMessageList();
}
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public int getDayContentInfoListCount() {
if (dayContentInfoListBuilder_ == null) {
return dayContentInfoList_.size();
} else {
return dayContentInfoListBuilder_.getCount();
}
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo getDayContentInfoList(int index) {
if (dayContentInfoListBuilder_ == null) {
return dayContentInfoList_.get(index);
} else {
return dayContentInfoListBuilder_.getMessage(index);
}
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public Builder setDayContentInfoList(
int index, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo value) {
if (dayContentInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDayContentInfoListIsMutable();
dayContentInfoList_.set(index, value);
onChanged();
} else {
dayContentInfoListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public Builder setDayContentInfoList(
int index, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.Builder builderForValue) {
if (dayContentInfoListBuilder_ == null) {
ensureDayContentInfoListIsMutable();
dayContentInfoList_.set(index, builderForValue.build());
onChanged();
} else {
dayContentInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public Builder addDayContentInfoList(emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo value) {
if (dayContentInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDayContentInfoListIsMutable();
dayContentInfoList_.add(value);
onChanged();
} else {
dayContentInfoListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public Builder addDayContentInfoList(
int index, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo value) {
if (dayContentInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDayContentInfoListIsMutable();
dayContentInfoList_.add(index, value);
onChanged();
} else {
dayContentInfoListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public Builder addDayContentInfoList(
emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.Builder builderForValue) {
if (dayContentInfoListBuilder_ == null) {
ensureDayContentInfoListIsMutable();
dayContentInfoList_.add(builderForValue.build());
onChanged();
} else {
dayContentInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public Builder addDayContentInfoList(
int index, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.Builder builderForValue) {
if (dayContentInfoListBuilder_ == null) {
ensureDayContentInfoListIsMutable();
dayContentInfoList_.add(index, builderForValue.build());
onChanged();
} else {
dayContentInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public Builder addAllDayContentInfoList(
java.lang.Iterable extends emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo> values) {
if (dayContentInfoListBuilder_ == null) {
ensureDayContentInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dayContentInfoList_);
onChanged();
} else {
dayContentInfoListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public Builder clearDayContentInfoList() {
if (dayContentInfoListBuilder_ == null) {
dayContentInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
dayContentInfoListBuilder_.clear();
}
return this;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public Builder removeDayContentInfoList(int index) {
if (dayContentInfoListBuilder_ == null) {
ensureDayContentInfoListIsMutable();
dayContentInfoList_.remove(index);
onChanged();
} else {
dayContentInfoListBuilder_.remove(index);
}
return this;
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.Builder getDayContentInfoListBuilder(
int index) {
return getDayContentInfoListFieldBuilder().getBuilder(index);
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfoOrBuilder getDayContentInfoListOrBuilder(
int index) {
if (dayContentInfoListBuilder_ == null) {
return dayContentInfoList_.get(index); } else {
return dayContentInfoListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public java.util.List extends emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfoOrBuilder>
getDayContentInfoListOrBuilderList() {
if (dayContentInfoListBuilder_ != null) {
return dayContentInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(dayContentInfoList_);
}
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.Builder addDayContentInfoListBuilder() {
return getDayContentInfoListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.getDefaultInstance());
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.Builder addDayContentInfoListBuilder(
int index) {
return getDayContentInfoListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.getDefaultInstance());
}
/**
* repeated .FindHilichurlDayContentInfo day_content_info_list = 4;
*/
public java.util.List
getDayContentInfoListBuilderList() {
return getDayContentInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.Builder, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfoOrBuilder>
getDayContentInfoListFieldBuilder() {
if (dayContentInfoListBuilder_ == null) {
dayContentInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfo.Builder, emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.FindHilichurlDayContentInfoOrBuilder>(
dayContentInfoList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
dayContentInfoList_ = null;
}
return dayContentInfoListBuilder_;
}
private int contentCloseTime_ ;
/**
* uint32 content_close_time = 7;
* @return The contentCloseTime.
*/
@java.lang.Override
public int getContentCloseTime() {
return contentCloseTime_;
}
/**
* uint32 content_close_time = 7;
* @param value The contentCloseTime to set.
* @return This builder for chaining.
*/
public Builder setContentCloseTime(int value) {
contentCloseTime_ = value;
onChanged();
return this;
}
/**
* uint32 content_close_time = 7;
* @return This builder for chaining.
*/
public Builder clearContentCloseTime() {
contentCloseTime_ = 0;
onChanged();
return this;
}
private boolean isEndQuestAccept_ ;
/**
* bool is_end_quest_accept = 5;
* @return The isEndQuestAccept.
*/
@java.lang.Override
public boolean getIsEndQuestAccept() {
return isEndQuestAccept_;
}
/**
* bool is_end_quest_accept = 5;
* @param value The isEndQuestAccept to set.
* @return This builder for chaining.
*/
public Builder setIsEndQuestAccept(boolean value) {
isEndQuestAccept_ = value;
onChanged();
return this;
}
/**
* bool is_end_quest_accept = 5;
* @return This builder for chaining.
*/
public Builder clearIsEndQuestAccept() {
isEndQuestAccept_ = false;
onChanged();
return this;
}
private int playerDayIndex_ ;
/**
* uint32 player_day_index = 14;
* @return The playerDayIndex.
*/
@java.lang.Override
public int getPlayerDayIndex() {
return playerDayIndex_;
}
/**
* uint32 player_day_index = 14;
* @param value The playerDayIndex to set.
* @return This builder for chaining.
*/
public Builder setPlayerDayIndex(int value) {
playerDayIndex_ = value;
onChanged();
return this;
}
/**
* uint32 player_day_index = 14;
* @return This builder for chaining.
*/
public Builder clearPlayerDayIndex() {
playerDayIndex_ = 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:FindHilichurlDetailInfo)
}
// @@protoc_insertion_point(class_scope:FindHilichurlDetailInfo)
private static final emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo();
}
public static emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FindHilichurlDetailInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FindHilichurlDetailInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.FindHilichurlDetailInfoOuterClass.FindHilichurlDetailInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FindHilichurlDetailInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FindHilichurlDetailInfo_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\035FindHilichurlDetailInfo.proto\032!FindHil" +
"ichurlDayContentInfo.proto\"\366\001\n\027FindHilic" +
"hurlDetailInfo\022\021\n\tday_index\030\010 \001(\r\022\031\n\021is_" +
"content_closed\030\014 \001(\010\022\035\n\025min_open_player_" +
"level\030\002 \001(\r\022;\n\025day_content_info_list\030\004 \003" +
"(\0132\034.FindHilichurlDayContentInfo\022\032\n\022cont" +
"ent_close_time\030\007 \001(\r\022\033\n\023is_end_quest_acc" +
"ept\030\005 \001(\010\022\030\n\020player_day_index\030\016 \001(\rB\033\n\031e" +
"mu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.getDescriptor(),
});
internal_static_FindHilichurlDetailInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_FindHilichurlDetailInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FindHilichurlDetailInfo_descriptor,
new java.lang.String[] { "DayIndex", "IsContentClosed", "MinOpenPlayerLevel", "DayContentInfoList", "ContentCloseTime", "IsEndQuestAccept", "PlayerDayIndex", });
emu.grasscutter.net.proto.FindHilichurlDayContentInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}