emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: LunaRiteDetailInfo.proto
package emu.grasscutter.net.proto;
public final class LunaRiteDetailInfoOuterClass {
private LunaRiteDetailInfoOuterClass() {}
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 LunaRiteDetailInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:LunaRiteDetailInfo)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
java.util.List
getAreaInfoListList();
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo getAreaInfoList(int index);
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
int getAreaInfoListCount();
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
java.util.List extends emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfoOrBuilder>
getAreaInfoListOrBuilderList();
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfoOrBuilder getAreaInfoListOrBuilder(
int index);
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
java.util.List
getHintPointList();
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint getHintPoint(int index);
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
int getHintPointCount();
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
java.util.List extends emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPointOrBuilder>
getHintPointOrBuilderList();
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPointOrBuilder getHintPointOrBuilder(
int index);
}
/**
*
* Obf: LEKDJAJFCEG
*
*
* Protobuf type {@code LunaRiteDetailInfo}
*/
public static final class LunaRiteDetailInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:LunaRiteDetailInfo)
LunaRiteDetailInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use LunaRiteDetailInfo.newBuilder() to construct.
private LunaRiteDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LunaRiteDetailInfo() {
areaInfoList_ = java.util.Collections.emptyList();
hintPoint_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LunaRiteDetailInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LunaRiteDetailInfo(
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 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
areaInfoList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
areaInfoList_.add(
input.readMessage(emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.parser(), extensionRegistry));
break;
}
case 122: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
hintPoint_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
hintPoint_.add(
input.readMessage(emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.parser(), extensionRegistry));
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)) {
areaInfoList_ = java.util.Collections.unmodifiableList(areaInfoList_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
hintPoint_ = java.util.Collections.unmodifiableList(hintPoint_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.internal_static_LunaRiteDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.internal_static_LunaRiteDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo.class, emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo.Builder.class);
}
public static final int AREA_INFO_LIST_FIELD_NUMBER = 3;
private java.util.List areaInfoList_;
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
@java.lang.Override
public java.util.List getAreaInfoListList() {
return areaInfoList_;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfoOrBuilder>
getAreaInfoListOrBuilderList() {
return areaInfoList_;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
@java.lang.Override
public int getAreaInfoListCount() {
return areaInfoList_.size();
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo getAreaInfoList(int index) {
return areaInfoList_.get(index);
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfoOrBuilder getAreaInfoListOrBuilder(
int index) {
return areaInfoList_.get(index);
}
public static final int HINT_POINT_FIELD_NUMBER = 15;
private java.util.List hintPoint_;
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
@java.lang.Override
public java.util.List getHintPointList() {
return hintPoint_;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPointOrBuilder>
getHintPointOrBuilderList() {
return hintPoint_;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
@java.lang.Override
public int getHintPointCount() {
return hintPoint_.size();
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
@java.lang.Override
public emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint getHintPoint(int index) {
return hintPoint_.get(index);
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
@java.lang.Override
public emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPointOrBuilder getHintPointOrBuilder(
int index) {
return hintPoint_.get(index);
}
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 {
for (int i = 0; i < areaInfoList_.size(); i++) {
output.writeMessage(3, areaInfoList_.get(i));
}
for (int i = 0; i < hintPoint_.size(); i++) {
output.writeMessage(15, hintPoint_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < areaInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, areaInfoList_.get(i));
}
for (int i = 0; i < hintPoint_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, hintPoint_.get(i));
}
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.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo other = (emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo) obj;
if (!getAreaInfoListList()
.equals(other.getAreaInfoListList())) return false;
if (!getHintPointList()
.equals(other.getHintPointList())) 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 (getAreaInfoListCount() > 0) {
hash = (37 * hash) + AREA_INFO_LIST_FIELD_NUMBER;
hash = (53 * hash) + getAreaInfoListList().hashCode();
}
if (getHintPointCount() > 0) {
hash = (37 * hash) + HINT_POINT_FIELD_NUMBER;
hash = (53 * hash) + getHintPointList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo 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.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo 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.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo 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.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo 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.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo 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.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Obf: LEKDJAJFCEG
*
*
* Protobuf type {@code LunaRiteDetailInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:LunaRiteDetailInfo)
emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.internal_static_LunaRiteDetailInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.internal_static_LunaRiteDetailInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo.class, emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAreaInfoListFieldBuilder();
getHintPointFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (areaInfoListBuilder_ == null) {
areaInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
areaInfoListBuilder_.clear();
}
if (hintPointBuilder_ == null) {
hintPoint_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
hintPointBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.internal_static_LunaRiteDetailInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo build() {
emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo buildPartial() {
emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo result = new emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo(this);
int from_bitField0_ = bitField0_;
if (areaInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
areaInfoList_ = java.util.Collections.unmodifiableList(areaInfoList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.areaInfoList_ = areaInfoList_;
} else {
result.areaInfoList_ = areaInfoListBuilder_.build();
}
if (hintPointBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
hintPoint_ = java.util.Collections.unmodifiableList(hintPoint_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.hintPoint_ = hintPoint_;
} else {
result.hintPoint_ = hintPointBuilder_.build();
}
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.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo) {
return mergeFrom((emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo other) {
if (other == emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo.getDefaultInstance()) return this;
if (areaInfoListBuilder_ == null) {
if (!other.areaInfoList_.isEmpty()) {
if (areaInfoList_.isEmpty()) {
areaInfoList_ = other.areaInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAreaInfoListIsMutable();
areaInfoList_.addAll(other.areaInfoList_);
}
onChanged();
}
} else {
if (!other.areaInfoList_.isEmpty()) {
if (areaInfoListBuilder_.isEmpty()) {
areaInfoListBuilder_.dispose();
areaInfoListBuilder_ = null;
areaInfoList_ = other.areaInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
areaInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAreaInfoListFieldBuilder() : null;
} else {
areaInfoListBuilder_.addAllMessages(other.areaInfoList_);
}
}
}
if (hintPointBuilder_ == null) {
if (!other.hintPoint_.isEmpty()) {
if (hintPoint_.isEmpty()) {
hintPoint_ = other.hintPoint_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureHintPointIsMutable();
hintPoint_.addAll(other.hintPoint_);
}
onChanged();
}
} else {
if (!other.hintPoint_.isEmpty()) {
if (hintPointBuilder_.isEmpty()) {
hintPointBuilder_.dispose();
hintPointBuilder_ = null;
hintPoint_ = other.hintPoint_;
bitField0_ = (bitField0_ & ~0x00000002);
hintPointBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getHintPointFieldBuilder() : null;
} else {
hintPointBuilder_.addAllMessages(other.hintPoint_);
}
}
}
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.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List areaInfoList_ =
java.util.Collections.emptyList();
private void ensureAreaInfoListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
areaInfoList_ = new java.util.ArrayList(areaInfoList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.Builder, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfoOrBuilder> areaInfoListBuilder_;
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public java.util.List getAreaInfoListList() {
if (areaInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(areaInfoList_);
} else {
return areaInfoListBuilder_.getMessageList();
}
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public int getAreaInfoListCount() {
if (areaInfoListBuilder_ == null) {
return areaInfoList_.size();
} else {
return areaInfoListBuilder_.getCount();
}
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo getAreaInfoList(int index) {
if (areaInfoListBuilder_ == null) {
return areaInfoList_.get(index);
} else {
return areaInfoListBuilder_.getMessage(index);
}
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public Builder setAreaInfoList(
int index, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo value) {
if (areaInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAreaInfoListIsMutable();
areaInfoList_.set(index, value);
onChanged();
} else {
areaInfoListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public Builder setAreaInfoList(
int index, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.Builder builderForValue) {
if (areaInfoListBuilder_ == null) {
ensureAreaInfoListIsMutable();
areaInfoList_.set(index, builderForValue.build());
onChanged();
} else {
areaInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public Builder addAreaInfoList(emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo value) {
if (areaInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAreaInfoListIsMutable();
areaInfoList_.add(value);
onChanged();
} else {
areaInfoListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public Builder addAreaInfoList(
int index, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo value) {
if (areaInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAreaInfoListIsMutable();
areaInfoList_.add(index, value);
onChanged();
} else {
areaInfoListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public Builder addAreaInfoList(
emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.Builder builderForValue) {
if (areaInfoListBuilder_ == null) {
ensureAreaInfoListIsMutable();
areaInfoList_.add(builderForValue.build());
onChanged();
} else {
areaInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public Builder addAreaInfoList(
int index, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.Builder builderForValue) {
if (areaInfoListBuilder_ == null) {
ensureAreaInfoListIsMutable();
areaInfoList_.add(index, builderForValue.build());
onChanged();
} else {
areaInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public Builder addAllAreaInfoList(
java.lang.Iterable extends emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo> values) {
if (areaInfoListBuilder_ == null) {
ensureAreaInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, areaInfoList_);
onChanged();
} else {
areaInfoListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public Builder clearAreaInfoList() {
if (areaInfoListBuilder_ == null) {
areaInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
areaInfoListBuilder_.clear();
}
return this;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public Builder removeAreaInfoList(int index) {
if (areaInfoListBuilder_ == null) {
ensureAreaInfoListIsMutable();
areaInfoList_.remove(index);
onChanged();
} else {
areaInfoListBuilder_.remove(index);
}
return this;
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.Builder getAreaInfoListBuilder(
int index) {
return getAreaInfoListFieldBuilder().getBuilder(index);
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfoOrBuilder getAreaInfoListOrBuilder(
int index) {
if (areaInfoListBuilder_ == null) {
return areaInfoList_.get(index); } else {
return areaInfoListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public java.util.List extends emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfoOrBuilder>
getAreaInfoListOrBuilderList() {
if (areaInfoListBuilder_ != null) {
return areaInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(areaInfoList_);
}
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.Builder addAreaInfoListBuilder() {
return getAreaInfoListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.getDefaultInstance());
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.Builder addAreaInfoListBuilder(
int index) {
return getAreaInfoListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.getDefaultInstance());
}
/**
* repeated .LunaRiteAreaInfo area_info_list = 3;
*/
public java.util.List
getAreaInfoListBuilderList() {
return getAreaInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.Builder, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfoOrBuilder>
getAreaInfoListFieldBuilder() {
if (areaInfoListBuilder_ == null) {
areaInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfo.Builder, emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.LunaRiteAreaInfoOrBuilder>(
areaInfoList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
areaInfoList_ = null;
}
return areaInfoListBuilder_;
}
private java.util.List hintPoint_ =
java.util.Collections.emptyList();
private void ensureHintPointIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
hintPoint_ = new java.util.ArrayList(hintPoint_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.Builder, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPointOrBuilder> hintPointBuilder_;
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public java.util.List getHintPointList() {
if (hintPointBuilder_ == null) {
return java.util.Collections.unmodifiableList(hintPoint_);
} else {
return hintPointBuilder_.getMessageList();
}
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public int getHintPointCount() {
if (hintPointBuilder_ == null) {
return hintPoint_.size();
} else {
return hintPointBuilder_.getCount();
}
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint getHintPoint(int index) {
if (hintPointBuilder_ == null) {
return hintPoint_.get(index);
} else {
return hintPointBuilder_.getMessage(index);
}
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public Builder setHintPoint(
int index, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint value) {
if (hintPointBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHintPointIsMutable();
hintPoint_.set(index, value);
onChanged();
} else {
hintPointBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public Builder setHintPoint(
int index, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.Builder builderForValue) {
if (hintPointBuilder_ == null) {
ensureHintPointIsMutable();
hintPoint_.set(index, builderForValue.build());
onChanged();
} else {
hintPointBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public Builder addHintPoint(emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint value) {
if (hintPointBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHintPointIsMutable();
hintPoint_.add(value);
onChanged();
} else {
hintPointBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public Builder addHintPoint(
int index, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint value) {
if (hintPointBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHintPointIsMutable();
hintPoint_.add(index, value);
onChanged();
} else {
hintPointBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public Builder addHintPoint(
emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.Builder builderForValue) {
if (hintPointBuilder_ == null) {
ensureHintPointIsMutable();
hintPoint_.add(builderForValue.build());
onChanged();
} else {
hintPointBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public Builder addHintPoint(
int index, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.Builder builderForValue) {
if (hintPointBuilder_ == null) {
ensureHintPointIsMutable();
hintPoint_.add(index, builderForValue.build());
onChanged();
} else {
hintPointBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public Builder addAllHintPoint(
java.lang.Iterable extends emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint> values) {
if (hintPointBuilder_ == null) {
ensureHintPointIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, hintPoint_);
onChanged();
} else {
hintPointBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public Builder clearHintPoint() {
if (hintPointBuilder_ == null) {
hintPoint_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
hintPointBuilder_.clear();
}
return this;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public Builder removeHintPoint(int index) {
if (hintPointBuilder_ == null) {
ensureHintPointIsMutable();
hintPoint_.remove(index);
onChanged();
} else {
hintPointBuilder_.remove(index);
}
return this;
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.Builder getHintPointBuilder(
int index) {
return getHintPointFieldBuilder().getBuilder(index);
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPointOrBuilder getHintPointOrBuilder(
int index) {
if (hintPointBuilder_ == null) {
return hintPoint_.get(index); } else {
return hintPointBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public java.util.List extends emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPointOrBuilder>
getHintPointOrBuilderList() {
if (hintPointBuilder_ != null) {
return hintPointBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(hintPoint_);
}
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.Builder addHintPointBuilder() {
return getHintPointFieldBuilder().addBuilder(
emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.getDefaultInstance());
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.Builder addHintPointBuilder(
int index) {
return getHintPointFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.getDefaultInstance());
}
/**
* repeated .LunaRiteHintPoint hint_point = 15;
*/
public java.util.List
getHintPointBuilderList() {
return getHintPointFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.Builder, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPointOrBuilder>
getHintPointFieldBuilder() {
if (hintPointBuilder_ == null) {
hintPointBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPoint.Builder, emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.LunaRiteHintPointOrBuilder>(
hintPoint_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
hintPoint_ = null;
}
return hintPointBuilder_;
}
@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:LunaRiteDetailInfo)
}
// @@protoc_insertion_point(class_scope:LunaRiteDetailInfo)
private static final emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo();
}
public static emu.grasscutter.net.proto.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public LunaRiteDetailInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LunaRiteDetailInfo(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.LunaRiteDetailInfoOuterClass.LunaRiteDetailInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_LunaRiteDetailInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_LunaRiteDetailInfo_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\030LunaRiteDetailInfo.proto\032\026LunaRiteArea" +
"Info.proto\032\027LunaRiteHintPoint.proto\"g\n\022L" +
"unaRiteDetailInfo\022)\n\016area_info_list\030\003 \003(" +
"\0132\021.LunaRiteAreaInfo\022&\n\nhint_point\030\017 \003(\013" +
"2\022.LunaRiteHintPointB\033\n\031emu.grasscutter." +
"net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.getDescriptor(),
});
internal_static_LunaRiteDetailInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_LunaRiteDetailInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_LunaRiteDetailInfo_descriptor,
new java.lang.String[] { "AreaInfoList", "HintPoint", });
emu.grasscutter.net.proto.LunaRiteAreaInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.LunaRiteHintPointOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}