Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: QuestUpdateQuestVarReq.proto
package emu.grasscutter.net.proto;
public final class QuestUpdateQuestVarReqOuterClass {
private QuestUpdateQuestVarReqOuterClass() {}
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 QuestUpdateQuestVarReqOrBuilder extends
// @@protoc_insertion_point(interface_extends:QuestUpdateQuestVarReq)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
java.util.List
getQuestVarOpListList();
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp getQuestVarOpList(int index);
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
int getQuestVarOpListCount();
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
java.util.List extends emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOpOrBuilder>
getQuestVarOpListOrBuilderList();
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOpOrBuilder getQuestVarOpListOrBuilder(
int index);
/**
* uint32 quest_id = 15;
* @return The questId.
*/
int getQuestId();
/**
* uint32 parent_quest_id = 8;
* @return The parentQuestId.
*/
int getParentQuestId();
/**
* uint32 parent_quest_var_seq = 9;
* @return The parentQuestVarSeq.
*/
int getParentQuestVarSeq();
}
/**
*
* CmdId: 482
* Name: OPNIFNNKOAI
*
*
* Protobuf type {@code QuestUpdateQuestVarReq}
*/
public static final class QuestUpdateQuestVarReq extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:QuestUpdateQuestVarReq)
QuestUpdateQuestVarReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuestUpdateQuestVarReq.newBuilder() to construct.
private QuestUpdateQuestVarReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuestUpdateQuestVarReq() {
questVarOpList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QuestUpdateQuestVarReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuestUpdateQuestVarReq(
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 64: {
parentQuestId_ = input.readUInt32();
break;
}
case 72: {
parentQuestVarSeq_ = input.readUInt32();
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
questVarOpList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
questVarOpList_.add(
input.readMessage(emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.parser(), extensionRegistry));
break;
}
case 120: {
questId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
questVarOpList_ = java.util.Collections.unmodifiableList(questVarOpList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.internal_static_QuestUpdateQuestVarReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.internal_static_QuestUpdateQuestVarReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq.class, emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq.Builder.class);
}
public static final int QUEST_VAR_OP_LIST_FIELD_NUMBER = 10;
private java.util.List questVarOpList_;
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
@java.lang.Override
public java.util.List getQuestVarOpListList() {
return questVarOpList_;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOpOrBuilder>
getQuestVarOpListOrBuilderList() {
return questVarOpList_;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
@java.lang.Override
public int getQuestVarOpListCount() {
return questVarOpList_.size();
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
@java.lang.Override
public emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp getQuestVarOpList(int index) {
return questVarOpList_.get(index);
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
@java.lang.Override
public emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOpOrBuilder getQuestVarOpListOrBuilder(
int index) {
return questVarOpList_.get(index);
}
public static final int QUEST_ID_FIELD_NUMBER = 15;
private int questId_;
/**
* uint32 quest_id = 15;
* @return The questId.
*/
@java.lang.Override
public int getQuestId() {
return questId_;
}
public static final int PARENT_QUEST_ID_FIELD_NUMBER = 8;
private int parentQuestId_;
/**
* uint32 parent_quest_id = 8;
* @return The parentQuestId.
*/
@java.lang.Override
public int getParentQuestId() {
return parentQuestId_;
}
public static final int PARENT_QUEST_VAR_SEQ_FIELD_NUMBER = 9;
private int parentQuestVarSeq_;
/**
* uint32 parent_quest_var_seq = 9;
* @return The parentQuestVarSeq.
*/
@java.lang.Override
public int getParentQuestVarSeq() {
return parentQuestVarSeq_;
}
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 (parentQuestId_ != 0) {
output.writeUInt32(8, parentQuestId_);
}
if (parentQuestVarSeq_ != 0) {
output.writeUInt32(9, parentQuestVarSeq_);
}
for (int i = 0; i < questVarOpList_.size(); i++) {
output.writeMessage(10, questVarOpList_.get(i));
}
if (questId_ != 0) {
output.writeUInt32(15, questId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (parentQuestId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, parentQuestId_);
}
if (parentQuestVarSeq_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, parentQuestVarSeq_);
}
for (int i = 0; i < questVarOpList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, questVarOpList_.get(i));
}
if (questId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, questId_);
}
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.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq other = (emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq) obj;
if (!getQuestVarOpListList()
.equals(other.getQuestVarOpListList())) return false;
if (getQuestId()
!= other.getQuestId()) return false;
if (getParentQuestId()
!= other.getParentQuestId()) return false;
if (getParentQuestVarSeq()
!= other.getParentQuestVarSeq()) 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 (getQuestVarOpListCount() > 0) {
hash = (37 * hash) + QUEST_VAR_OP_LIST_FIELD_NUMBER;
hash = (53 * hash) + getQuestVarOpListList().hashCode();
}
hash = (37 * hash) + QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getQuestId();
hash = (37 * hash) + PARENT_QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getParentQuestId();
hash = (37 * hash) + PARENT_QUEST_VAR_SEQ_FIELD_NUMBER;
hash = (53 * hash) + getParentQuestVarSeq();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq 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.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq 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.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq 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.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq 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.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq 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.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq 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: 482
* Name: OPNIFNNKOAI
*
*
* Protobuf type {@code QuestUpdateQuestVarReq}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:QuestUpdateQuestVarReq)
emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.internal_static_QuestUpdateQuestVarReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.internal_static_QuestUpdateQuestVarReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq.class, emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq.Builder.class);
}
// Construct using emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getQuestVarOpListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (questVarOpListBuilder_ == null) {
questVarOpList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
questVarOpListBuilder_.clear();
}
questId_ = 0;
parentQuestId_ = 0;
parentQuestVarSeq_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.internal_static_QuestUpdateQuestVarReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq getDefaultInstanceForType() {
return emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq build() {
emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq buildPartial() {
emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq result = new emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq(this);
int from_bitField0_ = bitField0_;
if (questVarOpListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
questVarOpList_ = java.util.Collections.unmodifiableList(questVarOpList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.questVarOpList_ = questVarOpList_;
} else {
result.questVarOpList_ = questVarOpListBuilder_.build();
}
result.questId_ = questId_;
result.parentQuestId_ = parentQuestId_;
result.parentQuestVarSeq_ = parentQuestVarSeq_;
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.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq) {
return mergeFrom((emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq other) {
if (other == emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq.getDefaultInstance()) return this;
if (questVarOpListBuilder_ == null) {
if (!other.questVarOpList_.isEmpty()) {
if (questVarOpList_.isEmpty()) {
questVarOpList_ = other.questVarOpList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureQuestVarOpListIsMutable();
questVarOpList_.addAll(other.questVarOpList_);
}
onChanged();
}
} else {
if (!other.questVarOpList_.isEmpty()) {
if (questVarOpListBuilder_.isEmpty()) {
questVarOpListBuilder_.dispose();
questVarOpListBuilder_ = null;
questVarOpList_ = other.questVarOpList_;
bitField0_ = (bitField0_ & ~0x00000001);
questVarOpListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getQuestVarOpListFieldBuilder() : null;
} else {
questVarOpListBuilder_.addAllMessages(other.questVarOpList_);
}
}
}
if (other.getQuestId() != 0) {
setQuestId(other.getQuestId());
}
if (other.getParentQuestId() != 0) {
setParentQuestId(other.getParentQuestId());
}
if (other.getParentQuestVarSeq() != 0) {
setParentQuestVarSeq(other.getParentQuestVarSeq());
}
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.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List questVarOpList_ =
java.util.Collections.emptyList();
private void ensureQuestVarOpListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
questVarOpList_ = new java.util.ArrayList(questVarOpList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.Builder, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOpOrBuilder> questVarOpListBuilder_;
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public java.util.List getQuestVarOpListList() {
if (questVarOpListBuilder_ == null) {
return java.util.Collections.unmodifiableList(questVarOpList_);
} else {
return questVarOpListBuilder_.getMessageList();
}
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public int getQuestVarOpListCount() {
if (questVarOpListBuilder_ == null) {
return questVarOpList_.size();
} else {
return questVarOpListBuilder_.getCount();
}
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp getQuestVarOpList(int index) {
if (questVarOpListBuilder_ == null) {
return questVarOpList_.get(index);
} else {
return questVarOpListBuilder_.getMessage(index);
}
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public Builder setQuestVarOpList(
int index, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp value) {
if (questVarOpListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuestVarOpListIsMutable();
questVarOpList_.set(index, value);
onChanged();
} else {
questVarOpListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public Builder setQuestVarOpList(
int index, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.Builder builderForValue) {
if (questVarOpListBuilder_ == null) {
ensureQuestVarOpListIsMutable();
questVarOpList_.set(index, builderForValue.build());
onChanged();
} else {
questVarOpListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public Builder addQuestVarOpList(emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp value) {
if (questVarOpListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuestVarOpListIsMutable();
questVarOpList_.add(value);
onChanged();
} else {
questVarOpListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public Builder addQuestVarOpList(
int index, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp value) {
if (questVarOpListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuestVarOpListIsMutable();
questVarOpList_.add(index, value);
onChanged();
} else {
questVarOpListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public Builder addQuestVarOpList(
emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.Builder builderForValue) {
if (questVarOpListBuilder_ == null) {
ensureQuestVarOpListIsMutable();
questVarOpList_.add(builderForValue.build());
onChanged();
} else {
questVarOpListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public Builder addQuestVarOpList(
int index, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.Builder builderForValue) {
if (questVarOpListBuilder_ == null) {
ensureQuestVarOpListIsMutable();
questVarOpList_.add(index, builderForValue.build());
onChanged();
} else {
questVarOpListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public Builder addAllQuestVarOpList(
java.lang.Iterable extends emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp> values) {
if (questVarOpListBuilder_ == null) {
ensureQuestVarOpListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, questVarOpList_);
onChanged();
} else {
questVarOpListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public Builder clearQuestVarOpList() {
if (questVarOpListBuilder_ == null) {
questVarOpList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
questVarOpListBuilder_.clear();
}
return this;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public Builder removeQuestVarOpList(int index) {
if (questVarOpListBuilder_ == null) {
ensureQuestVarOpListIsMutable();
questVarOpList_.remove(index);
onChanged();
} else {
questVarOpListBuilder_.remove(index);
}
return this;
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.Builder getQuestVarOpListBuilder(
int index) {
return getQuestVarOpListFieldBuilder().getBuilder(index);
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOpOrBuilder getQuestVarOpListOrBuilder(
int index) {
if (questVarOpListBuilder_ == null) {
return questVarOpList_.get(index); } else {
return questVarOpListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public java.util.List extends emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOpOrBuilder>
getQuestVarOpListOrBuilderList() {
if (questVarOpListBuilder_ != null) {
return questVarOpListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(questVarOpList_);
}
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.Builder addQuestVarOpListBuilder() {
return getQuestVarOpListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.getDefaultInstance());
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.Builder addQuestVarOpListBuilder(
int index) {
return getQuestVarOpListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.getDefaultInstance());
}
/**
* repeated .QuestVarOp quest_var_op_list = 10;
*/
public java.util.List
getQuestVarOpListBuilderList() {
return getQuestVarOpListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.Builder, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOpOrBuilder>
getQuestVarOpListFieldBuilder() {
if (questVarOpListBuilder_ == null) {
questVarOpListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOp.Builder, emu.grasscutter.net.proto.QuestVarOpOuterClass.QuestVarOpOrBuilder>(
questVarOpList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
questVarOpList_ = null;
}
return questVarOpListBuilder_;
}
private int questId_ ;
/**
* uint32 quest_id = 15;
* @return The questId.
*/
@java.lang.Override
public int getQuestId() {
return questId_;
}
/**
* uint32 quest_id = 15;
* @param value The questId to set.
* @return This builder for chaining.
*/
public Builder setQuestId(int value) {
questId_ = value;
onChanged();
return this;
}
/**
* uint32 quest_id = 15;
* @return This builder for chaining.
*/
public Builder clearQuestId() {
questId_ = 0;
onChanged();
return this;
}
private int parentQuestId_ ;
/**
* uint32 parent_quest_id = 8;
* @return The parentQuestId.
*/
@java.lang.Override
public int getParentQuestId() {
return parentQuestId_;
}
/**
* uint32 parent_quest_id = 8;
* @param value The parentQuestId to set.
* @return This builder for chaining.
*/
public Builder setParentQuestId(int value) {
parentQuestId_ = value;
onChanged();
return this;
}
/**
* uint32 parent_quest_id = 8;
* @return This builder for chaining.
*/
public Builder clearParentQuestId() {
parentQuestId_ = 0;
onChanged();
return this;
}
private int parentQuestVarSeq_ ;
/**
* uint32 parent_quest_var_seq = 9;
* @return The parentQuestVarSeq.
*/
@java.lang.Override
public int getParentQuestVarSeq() {
return parentQuestVarSeq_;
}
/**
* uint32 parent_quest_var_seq = 9;
* @param value The parentQuestVarSeq to set.
* @return This builder for chaining.
*/
public Builder setParentQuestVarSeq(int value) {
parentQuestVarSeq_ = value;
onChanged();
return this;
}
/**
* uint32 parent_quest_var_seq = 9;
* @return This builder for chaining.
*/
public Builder clearParentQuestVarSeq() {
parentQuestVarSeq_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:QuestUpdateQuestVarReq)
}
// @@protoc_insertion_point(class_scope:QuestUpdateQuestVarReq)
private static final emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq();
}
public static emu.grasscutter.net.proto.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QuestUpdateQuestVarReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuestUpdateQuestVarReq(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.QuestUpdateQuestVarReqOuterClass.QuestUpdateQuestVarReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_QuestUpdateQuestVarReq_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_QuestUpdateQuestVarReq_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\034QuestUpdateQuestVarReq.proto\032\020QuestVar" +
"Op.proto\"\211\001\n\026QuestUpdateQuestVarReq\022&\n\021q" +
"uest_var_op_list\030\n \003(\0132\013.QuestVarOp\022\020\n\010q" +
"uest_id\030\017 \001(\r\022\027\n\017parent_quest_id\030\010 \001(\r\022\034" +
"\n\024parent_quest_var_seq\030\t \001(\rB\033\n\031emu.gras" +
"scutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.QuestVarOpOuterClass.getDescriptor(),
});
internal_static_QuestUpdateQuestVarReq_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_QuestUpdateQuestVarReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_QuestUpdateQuestVarReq_descriptor,
new java.lang.String[] { "QuestVarOpList", "QuestId", "ParentQuestId", "ParentQuestVarSeq", });
emu.grasscutter.net.proto.QuestVarOpOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}