emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass 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: JHGNPGKNKKH.proto
package emu.grasscutter.net.proto;
public final class JHGNPGKNKKHOuterClass {
private JHGNPGKNKKHOuterClass() {}
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 JHGNPGKNKKHOrBuilder extends
// @@protoc_insertion_point(interface_extends:JHGNPGKNKKH)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
java.util.List
getRegionListList();
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF getRegionList(int index);
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
int getRegionListCount();
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
java.util.List extends emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBFOrBuilder>
getRegionListOrBuilderList();
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBFOrBuilder getRegionListOrBuilder(
int index);
/**
* bool COEDILDIHOF = 6;
* @return The cOEDILDIHOF.
*/
boolean getCOEDILDIHOF();
}
/**
*
* CmdId: 24033
*
*
* Protobuf type {@code JHGNPGKNKKH}
*/
public static final class JHGNPGKNKKH extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:JHGNPGKNKKH)
JHGNPGKNKKHOrBuilder {
private static final long serialVersionUID = 0L;
// Use JHGNPGKNKKH.newBuilder() to construct.
private JHGNPGKNKKH(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private JHGNPGKNKKH() {
regionList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new JHGNPGKNKKH();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private JHGNPGKNKKH(
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 48: {
cOEDILDIHOF_ = input.readBool();
break;
}
case 122: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
regionList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
regionList_.add(
input.readMessage(emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.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)) {
regionList_ = java.util.Collections.unmodifiableList(regionList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.internal_static_JHGNPGKNKKH_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.internal_static_JHGNPGKNKKH_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH.class, emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH.Builder.class);
}
public static final int REGION_LIST_FIELD_NUMBER = 15;
private java.util.List regionList_;
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
@java.lang.Override
public java.util.List getRegionListList() {
return regionList_;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBFOrBuilder>
getRegionListOrBuilderList() {
return regionList_;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
@java.lang.Override
public int getRegionListCount() {
return regionList_.size();
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
@java.lang.Override
public emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF getRegionList(int index) {
return regionList_.get(index);
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
@java.lang.Override
public emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBFOrBuilder getRegionListOrBuilder(
int index) {
return regionList_.get(index);
}
public static final int COEDILDIHOF_FIELD_NUMBER = 6;
private boolean cOEDILDIHOF_;
/**
* bool COEDILDIHOF = 6;
* @return The cOEDILDIHOF.
*/
@java.lang.Override
public boolean getCOEDILDIHOF() {
return cOEDILDIHOF_;
}
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 (cOEDILDIHOF_ != false) {
output.writeBool(6, cOEDILDIHOF_);
}
for (int i = 0; i < regionList_.size(); i++) {
output.writeMessage(15, regionList_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (cOEDILDIHOF_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, cOEDILDIHOF_);
}
for (int i = 0; i < regionList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, regionList_.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.JHGNPGKNKKHOuterClass.JHGNPGKNKKH)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH other = (emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH) obj;
if (!getRegionListList()
.equals(other.getRegionListList())) return false;
if (getCOEDILDIHOF()
!= other.getCOEDILDIHOF()) 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 (getRegionListCount() > 0) {
hash = (37 * hash) + REGION_LIST_FIELD_NUMBER;
hash = (53 * hash) + getRegionListList().hashCode();
}
hash = (37 * hash) + COEDILDIHOF_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCOEDILDIHOF());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH 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.JHGNPGKNKKHOuterClass.JHGNPGKNKKH parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH 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.JHGNPGKNKKHOuterClass.JHGNPGKNKKH parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH 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.JHGNPGKNKKHOuterClass.JHGNPGKNKKH parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH 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.JHGNPGKNKKHOuterClass.JHGNPGKNKKH parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH 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.JHGNPGKNKKHOuterClass.JHGNPGKNKKH 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;
}
/**
*
* CmdId: 24033
*
*
* Protobuf type {@code JHGNPGKNKKH}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:JHGNPGKNKKH)
emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKHOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.internal_static_JHGNPGKNKKH_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.internal_static_JHGNPGKNKKH_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH.class, emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH.Builder.class);
}
// Construct using emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRegionListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (regionListBuilder_ == null) {
regionList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
regionListBuilder_.clear();
}
cOEDILDIHOF_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.internal_static_JHGNPGKNKKH_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH getDefaultInstanceForType() {
return emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH build() {
emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH buildPartial() {
emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH result = new emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH(this);
int from_bitField0_ = bitField0_;
if (regionListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
regionList_ = java.util.Collections.unmodifiableList(regionList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.regionList_ = regionList_;
} else {
result.regionList_ = regionListBuilder_.build();
}
result.cOEDILDIHOF_ = cOEDILDIHOF_;
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.JHGNPGKNKKHOuterClass.JHGNPGKNKKH) {
return mergeFrom((emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH other) {
if (other == emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH.getDefaultInstance()) return this;
if (regionListBuilder_ == null) {
if (!other.regionList_.isEmpty()) {
if (regionList_.isEmpty()) {
regionList_ = other.regionList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRegionListIsMutable();
regionList_.addAll(other.regionList_);
}
onChanged();
}
} else {
if (!other.regionList_.isEmpty()) {
if (regionListBuilder_.isEmpty()) {
regionListBuilder_.dispose();
regionListBuilder_ = null;
regionList_ = other.regionList_;
bitField0_ = (bitField0_ & ~0x00000001);
regionListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRegionListFieldBuilder() : null;
} else {
regionListBuilder_.addAllMessages(other.regionList_);
}
}
}
if (other.getCOEDILDIHOF() != false) {
setCOEDILDIHOF(other.getCOEDILDIHOF());
}
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.JHGNPGKNKKHOuterClass.JHGNPGKNKKH parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List regionList_ =
java.util.Collections.emptyList();
private void ensureRegionListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
regionList_ = new java.util.ArrayList(regionList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.Builder, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBFOrBuilder> regionListBuilder_;
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public java.util.List getRegionListList() {
if (regionListBuilder_ == null) {
return java.util.Collections.unmodifiableList(regionList_);
} else {
return regionListBuilder_.getMessageList();
}
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public int getRegionListCount() {
if (regionListBuilder_ == null) {
return regionList_.size();
} else {
return regionListBuilder_.getCount();
}
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF getRegionList(int index) {
if (regionListBuilder_ == null) {
return regionList_.get(index);
} else {
return regionListBuilder_.getMessage(index);
}
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public Builder setRegionList(
int index, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF value) {
if (regionListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionListIsMutable();
regionList_.set(index, value);
onChanged();
} else {
regionListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public Builder setRegionList(
int index, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.Builder builderForValue) {
if (regionListBuilder_ == null) {
ensureRegionListIsMutable();
regionList_.set(index, builderForValue.build());
onChanged();
} else {
regionListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public Builder addRegionList(emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF value) {
if (regionListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionListIsMutable();
regionList_.add(value);
onChanged();
} else {
regionListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public Builder addRegionList(
int index, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF value) {
if (regionListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionListIsMutable();
regionList_.add(index, value);
onChanged();
} else {
regionListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public Builder addRegionList(
emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.Builder builderForValue) {
if (regionListBuilder_ == null) {
ensureRegionListIsMutable();
regionList_.add(builderForValue.build());
onChanged();
} else {
regionListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public Builder addRegionList(
int index, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.Builder builderForValue) {
if (regionListBuilder_ == null) {
ensureRegionListIsMutable();
regionList_.add(index, builderForValue.build());
onChanged();
} else {
regionListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public Builder addAllRegionList(
java.lang.Iterable extends emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF> values) {
if (regionListBuilder_ == null) {
ensureRegionListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, regionList_);
onChanged();
} else {
regionListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public Builder clearRegionList() {
if (regionListBuilder_ == null) {
regionList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
regionListBuilder_.clear();
}
return this;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public Builder removeRegionList(int index) {
if (regionListBuilder_ == null) {
ensureRegionListIsMutable();
regionList_.remove(index);
onChanged();
} else {
regionListBuilder_.remove(index);
}
return this;
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.Builder getRegionListBuilder(
int index) {
return getRegionListFieldBuilder().getBuilder(index);
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBFOrBuilder getRegionListOrBuilder(
int index) {
if (regionListBuilder_ == null) {
return regionList_.get(index); } else {
return regionListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public java.util.List extends emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBFOrBuilder>
getRegionListOrBuilderList() {
if (regionListBuilder_ != null) {
return regionListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(regionList_);
}
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.Builder addRegionListBuilder() {
return getRegionListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.getDefaultInstance());
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.Builder addRegionListBuilder(
int index) {
return getRegionListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.getDefaultInstance());
}
/**
* repeated .MNAHBOJCNBF region_list = 15;
*/
public java.util.List
getRegionListBuilderList() {
return getRegionListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.Builder, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBFOrBuilder>
getRegionListFieldBuilder() {
if (regionListBuilder_ == null) {
regionListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBF.Builder, emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.MNAHBOJCNBFOrBuilder>(
regionList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
regionList_ = null;
}
return regionListBuilder_;
}
private boolean cOEDILDIHOF_ ;
/**
* bool COEDILDIHOF = 6;
* @return The cOEDILDIHOF.
*/
@java.lang.Override
public boolean getCOEDILDIHOF() {
return cOEDILDIHOF_;
}
/**
* bool COEDILDIHOF = 6;
* @param value The cOEDILDIHOF to set.
* @return This builder for chaining.
*/
public Builder setCOEDILDIHOF(boolean value) {
cOEDILDIHOF_ = value;
onChanged();
return this;
}
/**
* bool COEDILDIHOF = 6;
* @return This builder for chaining.
*/
public Builder clearCOEDILDIHOF() {
cOEDILDIHOF_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:JHGNPGKNKKH)
}
// @@protoc_insertion_point(class_scope:JHGNPGKNKKH)
private static final emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH();
}
public static emu.grasscutter.net.proto.JHGNPGKNKKHOuterClass.JHGNPGKNKKH getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public JHGNPGKNKKH parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new JHGNPGKNKKH(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.JHGNPGKNKKHOuterClass.JHGNPGKNKKH getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_JHGNPGKNKKH_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_JHGNPGKNKKH_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\021JHGNPGKNKKH.proto\032\021MNAHBOJCNBF.proto\"E" +
"\n\013JHGNPGKNKKH\022!\n\013region_list\030\017 \003(\0132\014.MNA" +
"HBOJCNBF\022\023\n\013COEDILDIHOF\030\006 \001(\010B\033\n\031emu.gra" +
"sscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.getDescriptor(),
});
internal_static_JHGNPGKNKKH_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_JHGNPGKNKKH_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_JHGNPGKNKKH_descriptor,
new java.lang.String[] { "RegionList", "COEDILDIHOF", });
emu.grasscutter.net.proto.MNAHBOJCNBFOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}