emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass 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: CityReputationRequestInfo.proto
package emu.grasscutter.net.proto;
public final class CityReputationRequestInfoOuterClass {
private CityReputationRequestInfoOuterClass() {}
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 CityReputationRequestInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CityReputationRequestInfo)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
java.util.List
getRequestInfoListList();
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo getRequestInfoList(int index);
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
int getRequestInfoListCount();
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
java.util.List extends emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder>
getRequestInfoListOrBuilderList();
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder getRequestInfoListOrBuilder(
int index);
/**
* bool is_open = 15;
* @return The isOpen.
*/
boolean getIsOpen();
}
/**
*
* Obf: ODBNGGKHDMP
*
*
* Protobuf type {@code CityReputationRequestInfo}
*/
public static final class CityReputationRequestInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CityReputationRequestInfo)
CityReputationRequestInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use CityReputationRequestInfo.newBuilder() to construct.
private CityReputationRequestInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CityReputationRequestInfo() {
requestInfoList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CityReputationRequestInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CityReputationRequestInfo(
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 58: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
requestInfoList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
requestInfoList_.add(
input.readMessage(emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.parser(), extensionRegistry));
break;
}
case 120: {
isOpen_ = input.readBool();
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)) {
requestInfoList_ = java.util.Collections.unmodifiableList(requestInfoList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.class, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.Builder.class);
}
public interface RequestInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CityReputationRequestInfo.RequestInfo)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 request_id = 10;
* @return The requestId.
*/
int getRequestId();
/**
* uint32 quest_id = 6;
* @return The questId.
*/
int getQuestId();
/**
* bool is_taken_reward = 11;
* @return The isTakenReward.
*/
boolean getIsTakenReward();
}
/**
*
* Obf: ICFLLDEGEJN
*
*
* Protobuf type {@code CityReputationRequestInfo.RequestInfo}
*/
public static final class RequestInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CityReputationRequestInfo.RequestInfo)
RequestInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RequestInfo.newBuilder() to construct.
private RequestInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RequestInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RequestInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RequestInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 48: {
questId_ = input.readUInt32();
break;
}
case 80: {
requestId_ = input.readUInt32();
break;
}
case 88: {
isTakenReward_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_RequestInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_RequestInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.class, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder.class);
}
public static final int REQUEST_ID_FIELD_NUMBER = 10;
private int requestId_;
/**
* uint32 request_id = 10;
* @return The requestId.
*/
@java.lang.Override
public int getRequestId() {
return requestId_;
}
public static final int QUEST_ID_FIELD_NUMBER = 6;
private int questId_;
/**
* uint32 quest_id = 6;
* @return The questId.
*/
@java.lang.Override
public int getQuestId() {
return questId_;
}
public static final int IS_TAKEN_REWARD_FIELD_NUMBER = 11;
private boolean isTakenReward_;
/**
* bool is_taken_reward = 11;
* @return The isTakenReward.
*/
@java.lang.Override
public boolean getIsTakenReward() {
return isTakenReward_;
}
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 (questId_ != 0) {
output.writeUInt32(6, questId_);
}
if (requestId_ != 0) {
output.writeUInt32(10, requestId_);
}
if (isTakenReward_ != false) {
output.writeBool(11, isTakenReward_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (questId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, questId_);
}
if (requestId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, requestId_);
}
if (isTakenReward_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, isTakenReward_);
}
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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo other = (emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo) obj;
if (getRequestId()
!= other.getRequestId()) return false;
if (getQuestId()
!= other.getQuestId()) return false;
if (getIsTakenReward()
!= other.getIsTakenReward()) 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) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId();
hash = (37 * hash) + QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getQuestId();
hash = (37 * hash) + IS_TAKEN_REWARD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsTakenReward());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo 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: ICFLLDEGEJN
*
*
* Protobuf type {@code CityReputationRequestInfo.RequestInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:CityReputationRequestInfo.RequestInfo)
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_RequestInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_RequestInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.class, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
requestId_ = 0;
questId_ = 0;
isTakenReward_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_RequestInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo build() {
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo buildPartial() {
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo result = new emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo(this);
result.requestId_ = requestId_;
result.questId_ = questId_;
result.isTakenReward_ = isTakenReward_;
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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo) {
return mergeFrom((emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo other) {
if (other == emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.getDefaultInstance()) return this;
if (other.getRequestId() != 0) {
setRequestId(other.getRequestId());
}
if (other.getQuestId() != 0) {
setQuestId(other.getQuestId());
}
if (other.getIsTakenReward() != false) {
setIsTakenReward(other.getIsTakenReward());
}
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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int requestId_ ;
/**
* uint32 request_id = 10;
* @return The requestId.
*/
@java.lang.Override
public int getRequestId() {
return requestId_;
}
/**
* uint32 request_id = 10;
* @param value The requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestId(int value) {
requestId_ = value;
onChanged();
return this;
}
/**
* uint32 request_id = 10;
* @return This builder for chaining.
*/
public Builder clearRequestId() {
requestId_ = 0;
onChanged();
return this;
}
private int questId_ ;
/**
* uint32 quest_id = 6;
* @return The questId.
*/
@java.lang.Override
public int getQuestId() {
return questId_;
}
/**
* uint32 quest_id = 6;
* @param value The questId to set.
* @return This builder for chaining.
*/
public Builder setQuestId(int value) {
questId_ = value;
onChanged();
return this;
}
/**
* uint32 quest_id = 6;
* @return This builder for chaining.
*/
public Builder clearQuestId() {
questId_ = 0;
onChanged();
return this;
}
private boolean isTakenReward_ ;
/**
* bool is_taken_reward = 11;
* @return The isTakenReward.
*/
@java.lang.Override
public boolean getIsTakenReward() {
return isTakenReward_;
}
/**
* bool is_taken_reward = 11;
* @param value The isTakenReward to set.
* @return This builder for chaining.
*/
public Builder setIsTakenReward(boolean value) {
isTakenReward_ = value;
onChanged();
return this;
}
/**
* bool is_taken_reward = 11;
* @return This builder for chaining.
*/
public Builder clearIsTakenReward() {
isTakenReward_ = 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:CityReputationRequestInfo.RequestInfo)
}
// @@protoc_insertion_point(class_scope:CityReputationRequestInfo.RequestInfo)
private static final emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo();
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RequestInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RequestInfo(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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int REQUEST_INFO_LIST_FIELD_NUMBER = 7;
private java.util.List requestInfoList_;
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
@java.lang.Override
public java.util.List getRequestInfoListList() {
return requestInfoList_;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder>
getRequestInfoListOrBuilderList() {
return requestInfoList_;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
@java.lang.Override
public int getRequestInfoListCount() {
return requestInfoList_.size();
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
@java.lang.Override
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo getRequestInfoList(int index) {
return requestInfoList_.get(index);
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
@java.lang.Override
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder getRequestInfoListOrBuilder(
int index) {
return requestInfoList_.get(index);
}
public static final int IS_OPEN_FIELD_NUMBER = 15;
private boolean isOpen_;
/**
* bool is_open = 15;
* @return The isOpen.
*/
@java.lang.Override
public boolean getIsOpen() {
return isOpen_;
}
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 < requestInfoList_.size(); i++) {
output.writeMessage(7, requestInfoList_.get(i));
}
if (isOpen_ != false) {
output.writeBool(15, isOpen_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < requestInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, requestInfoList_.get(i));
}
if (isOpen_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, isOpen_);
}
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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo other = (emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo) obj;
if (!getRequestInfoListList()
.equals(other.getRequestInfoListList())) return false;
if (getIsOpen()
!= other.getIsOpen()) 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 (getRequestInfoListCount() > 0) {
hash = (37 * hash) + REQUEST_INFO_LIST_FIELD_NUMBER;
hash = (53 * hash) + getRequestInfoListList().hashCode();
}
hash = (37 * hash) + IS_OPEN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsOpen());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo 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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo 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: ODBNGGKHDMP
*
*
* Protobuf type {@code CityReputationRequestInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:CityReputationRequestInfo)
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.class, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRequestInfoListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (requestInfoListBuilder_ == null) {
requestInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
requestInfoListBuilder_.clear();
}
isOpen_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.internal_static_CityReputationRequestInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo build() {
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo buildPartial() {
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo result = new emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo(this);
int from_bitField0_ = bitField0_;
if (requestInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
requestInfoList_ = java.util.Collections.unmodifiableList(requestInfoList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.requestInfoList_ = requestInfoList_;
} else {
result.requestInfoList_ = requestInfoListBuilder_.build();
}
result.isOpen_ = isOpen_;
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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo) {
return mergeFrom((emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo other) {
if (other == emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.getDefaultInstance()) return this;
if (requestInfoListBuilder_ == null) {
if (!other.requestInfoList_.isEmpty()) {
if (requestInfoList_.isEmpty()) {
requestInfoList_ = other.requestInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRequestInfoListIsMutable();
requestInfoList_.addAll(other.requestInfoList_);
}
onChanged();
}
} else {
if (!other.requestInfoList_.isEmpty()) {
if (requestInfoListBuilder_.isEmpty()) {
requestInfoListBuilder_.dispose();
requestInfoListBuilder_ = null;
requestInfoList_ = other.requestInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
requestInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRequestInfoListFieldBuilder() : null;
} else {
requestInfoListBuilder_.addAllMessages(other.requestInfoList_);
}
}
}
if (other.getIsOpen() != false) {
setIsOpen(other.getIsOpen());
}
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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List requestInfoList_ =
java.util.Collections.emptyList();
private void ensureRequestInfoListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
requestInfoList_ = new java.util.ArrayList(requestInfoList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder> requestInfoListBuilder_;
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public java.util.List getRequestInfoListList() {
if (requestInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(requestInfoList_);
} else {
return requestInfoListBuilder_.getMessageList();
}
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public int getRequestInfoListCount() {
if (requestInfoListBuilder_ == null) {
return requestInfoList_.size();
} else {
return requestInfoListBuilder_.getCount();
}
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo getRequestInfoList(int index) {
if (requestInfoListBuilder_ == null) {
return requestInfoList_.get(index);
} else {
return requestInfoListBuilder_.getMessage(index);
}
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public Builder setRequestInfoList(
int index, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo value) {
if (requestInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequestInfoListIsMutable();
requestInfoList_.set(index, value);
onChanged();
} else {
requestInfoListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public Builder setRequestInfoList(
int index, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder builderForValue) {
if (requestInfoListBuilder_ == null) {
ensureRequestInfoListIsMutable();
requestInfoList_.set(index, builderForValue.build());
onChanged();
} else {
requestInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public Builder addRequestInfoList(emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo value) {
if (requestInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequestInfoListIsMutable();
requestInfoList_.add(value);
onChanged();
} else {
requestInfoListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public Builder addRequestInfoList(
int index, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo value) {
if (requestInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequestInfoListIsMutable();
requestInfoList_.add(index, value);
onChanged();
} else {
requestInfoListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public Builder addRequestInfoList(
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder builderForValue) {
if (requestInfoListBuilder_ == null) {
ensureRequestInfoListIsMutable();
requestInfoList_.add(builderForValue.build());
onChanged();
} else {
requestInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public Builder addRequestInfoList(
int index, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder builderForValue) {
if (requestInfoListBuilder_ == null) {
ensureRequestInfoListIsMutable();
requestInfoList_.add(index, builderForValue.build());
onChanged();
} else {
requestInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public Builder addAllRequestInfoList(
java.lang.Iterable extends emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo> values) {
if (requestInfoListBuilder_ == null) {
ensureRequestInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, requestInfoList_);
onChanged();
} else {
requestInfoListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public Builder clearRequestInfoList() {
if (requestInfoListBuilder_ == null) {
requestInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
requestInfoListBuilder_.clear();
}
return this;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public Builder removeRequestInfoList(int index) {
if (requestInfoListBuilder_ == null) {
ensureRequestInfoListIsMutable();
requestInfoList_.remove(index);
onChanged();
} else {
requestInfoListBuilder_.remove(index);
}
return this;
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder getRequestInfoListBuilder(
int index) {
return getRequestInfoListFieldBuilder().getBuilder(index);
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder getRequestInfoListOrBuilder(
int index) {
if (requestInfoListBuilder_ == null) {
return requestInfoList_.get(index); } else {
return requestInfoListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public java.util.List extends emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder>
getRequestInfoListOrBuilderList() {
if (requestInfoListBuilder_ != null) {
return requestInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(requestInfoList_);
}
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder addRequestInfoListBuilder() {
return getRequestInfoListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.getDefaultInstance());
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder addRequestInfoListBuilder(
int index) {
return getRequestInfoListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.getDefaultInstance());
}
/**
* repeated .CityReputationRequestInfo.RequestInfo request_info_list = 7;
*/
public java.util.List
getRequestInfoListBuilderList() {
return getRequestInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder>
getRequestInfoListFieldBuilder() {
if (requestInfoListBuilder_ == null) {
requestInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfo.Builder, emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo.RequestInfoOrBuilder>(
requestInfoList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
requestInfoList_ = null;
}
return requestInfoListBuilder_;
}
private boolean isOpen_ ;
/**
* bool is_open = 15;
* @return The isOpen.
*/
@java.lang.Override
public boolean getIsOpen() {
return isOpen_;
}
/**
* bool is_open = 15;
* @param value The isOpen to set.
* @return This builder for chaining.
*/
public Builder setIsOpen(boolean value) {
isOpen_ = value;
onChanged();
return this;
}
/**
* bool is_open = 15;
* @return This builder for chaining.
*/
public Builder clearIsOpen() {
isOpen_ = 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:CityReputationRequestInfo)
}
// @@protoc_insertion_point(class_scope:CityReputationRequestInfo)
private static final emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo();
}
public static emu.grasscutter.net.proto.CityReputationRequestInfoOuterClass.CityReputationRequestInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CityReputationRequestInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CityReputationRequestInfo(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.CityReputationRequestInfoOuterClass.CityReputationRequestInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CityReputationRequestInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_CityReputationRequestInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CityReputationRequestInfo_RequestInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_CityReputationRequestInfo_RequestInfo_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\037CityReputationRequestInfo.proto\"\275\001\n\031Ci" +
"tyReputationRequestInfo\022A\n\021request_info_" +
"list\030\007 \003(\0132&.CityReputationRequestInfo.R" +
"equestInfo\022\017\n\007is_open\030\017 \001(\010\032L\n\013RequestIn" +
"fo\022\022\n\nrequest_id\030\n \001(\r\022\020\n\010quest_id\030\006 \001(\r" +
"\022\027\n\017is_taken_reward\030\013 \001(\010B\033\n\031emu.grasscu" +
"tter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_CityReputationRequestInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_CityReputationRequestInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_CityReputationRequestInfo_descriptor,
new java.lang.String[] { "RequestInfoList", "IsOpen", });
internal_static_CityReputationRequestInfo_RequestInfo_descriptor =
internal_static_CityReputationRequestInfo_descriptor.getNestedTypes().get(0);
internal_static_CityReputationRequestInfo_RequestInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_CityReputationRequestInfo_RequestInfo_descriptor,
new java.lang.String[] { "RequestId", "QuestId", "IsTakenReward", });
}
// @@protoc_insertion_point(outer_class_scope)
}