mirror of
https://github.com/Anime-Game-Servers/Grasscutter-Quests.git
synced 2024-11-23 04:29:42 +00:00
Packet Packet: Blossoms (#143)
This commit is contained in:
parent
b635615041
commit
99ef6de6fc
@ -1,859 +0,0 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: BlossomBriefInfoNotify.proto
|
||||
|
||||
package emu.grasscutter.net.proto;
|
||||
|
||||
public final class BlossomBriefInfoNotifyOuterClass {
|
||||
private BlossomBriefInfoNotifyOuterClass() {}
|
||||
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 BlossomBriefInfoNotifyOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:BlossomBriefInfoNotify)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo>
|
||||
getBriefInfoListList();
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo getBriefInfoList(int index);
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
int getBriefInfoListCount();
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
java.util.List<? extends emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>
|
||||
getBriefInfoListOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder getBriefInfoListOrBuilder(
|
||||
int index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2712
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code BlossomBriefInfoNotify}
|
||||
*/
|
||||
public static final class BlossomBriefInfoNotify extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:BlossomBriefInfoNotify)
|
||||
BlossomBriefInfoNotifyOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use BlossomBriefInfoNotify.newBuilder() to construct.
|
||||
private BlossomBriefInfoNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private BlossomBriefInfoNotify() {
|
||||
briefInfoList_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new BlossomBriefInfoNotify();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private BlossomBriefInfoNotify(
|
||||
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 34: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
briefInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
briefInfoList_.add(
|
||||
input.readMessage(emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.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)) {
|
||||
briefInfoList_ = java.util.Collections.unmodifiableList(briefInfoList_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.internal_static_BlossomBriefInfoNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.internal_static_BlossomBriefInfoNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify.class, emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int BRIEF_INFO_LIST_FIELD_NUMBER = 4;
|
||||
private java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> briefInfoList_;
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> getBriefInfoListList() {
|
||||
return briefInfoList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>
|
||||
getBriefInfoListOrBuilderList() {
|
||||
return briefInfoList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getBriefInfoListCount() {
|
||||
return briefInfoList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo getBriefInfoList(int index) {
|
||||
return briefInfoList_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder getBriefInfoListOrBuilder(
|
||||
int index) {
|
||||
return briefInfoList_.get(index);
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
for (int i = 0; i < briefInfoList_.size(); i++) {
|
||||
output.writeMessage(4, briefInfoList_.get(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
for (int i = 0; i < briefInfoList_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, briefInfoList_.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.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify other = (emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify) obj;
|
||||
|
||||
if (!getBriefInfoListList()
|
||||
.equals(other.getBriefInfoListList())) 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 (getBriefInfoListCount() > 0) {
|
||||
hash = (37 * hash) + BRIEF_INFO_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getBriefInfoListList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify 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.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify 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.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify 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.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify 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.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify 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.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify 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;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2712
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code BlossomBriefInfoNotify}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:BlossomBriefInfoNotify)
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotifyOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.internal_static_BlossomBriefInfoNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.internal_static_BlossomBriefInfoNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify.class, emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
getBriefInfoListFieldBuilder();
|
||||
}
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
briefInfoList_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
briefInfoListBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.internal_static_BlossomBriefInfoNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify getDefaultInstanceForType() {
|
||||
return emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify build() {
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify result = new emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
briefInfoList_ = java.util.Collections.unmodifiableList(briefInfoList_);
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.briefInfoList_ = briefInfoList_;
|
||||
} else {
|
||||
result.briefInfoList_ = briefInfoListBuilder_.build();
|
||||
}
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder clone() {
|
||||
return super.clone();
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.setField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return super.clearField(field);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return super.clearOneof(oneof);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, java.lang.Object value) {
|
||||
return super.setRepeatedField(field, index, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.addRepeatedField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify) {
|
||||
return mergeFrom((emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify.getDefaultInstance()) return this;
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (!other.briefInfoList_.isEmpty()) {
|
||||
if (briefInfoList_.isEmpty()) {
|
||||
briefInfoList_ = other.briefInfoList_;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.addAll(other.briefInfoList_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.briefInfoList_.isEmpty()) {
|
||||
if (briefInfoListBuilder_.isEmpty()) {
|
||||
briefInfoListBuilder_.dispose();
|
||||
briefInfoListBuilder_ = null;
|
||||
briefInfoList_ = other.briefInfoList_;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
briefInfoListBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getBriefInfoListFieldBuilder() : null;
|
||||
} else {
|
||||
briefInfoListBuilder_.addAllMessages(other.briefInfoList_);
|
||||
}
|
||||
}
|
||||
}
|
||||
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.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> briefInfoList_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureBriefInfoListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
briefInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo>(briefInfoList_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder> briefInfoListBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> getBriefInfoListList() {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(briefInfoList_);
|
||||
} else {
|
||||
return briefInfoListBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public int getBriefInfoListCount() {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
return briefInfoList_.size();
|
||||
} else {
|
||||
return briefInfoListBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo getBriefInfoList(int index) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
return briefInfoList_.get(index);
|
||||
} else {
|
||||
return briefInfoListBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public Builder setBriefInfoList(
|
||||
int index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo value) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public Builder setBriefInfoList(
|
||||
int index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder builderForValue) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public Builder addBriefInfoList(emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo value) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public Builder addBriefInfoList(
|
||||
int index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo value) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public Builder addBriefInfoList(
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder builderForValue) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public Builder addBriefInfoList(
|
||||
int index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder builderForValue) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public Builder addAllBriefInfoList(
|
||||
java.lang.Iterable<? extends emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> values) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, briefInfoList_);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public Builder clearBriefInfoList() {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
briefInfoList_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public Builder removeBriefInfoList(int index) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder getBriefInfoListBuilder(
|
||||
int index) {
|
||||
return getBriefInfoListFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder getBriefInfoListOrBuilder(
|
||||
int index) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
return briefInfoList_.get(index); } else {
|
||||
return briefInfoListBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>
|
||||
getBriefInfoListOrBuilderList() {
|
||||
if (briefInfoListBuilder_ != null) {
|
||||
return briefInfoListBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(briefInfoList_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder addBriefInfoListBuilder() {
|
||||
return getBriefInfoListFieldBuilder().addBuilder(
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder addBriefInfoListBuilder(
|
||||
int index) {
|
||||
return getBriefInfoListFieldBuilder().addBuilder(
|
||||
index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 4;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder>
|
||||
getBriefInfoListBuilderList() {
|
||||
return getBriefInfoListFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>
|
||||
getBriefInfoListFieldBuilder() {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
briefInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>(
|
||||
briefInfoList_,
|
||||
((bitField0_ & 0x00000001) != 0),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
briefInfoList_ = null;
|
||||
}
|
||||
return briefInfoListBuilder_;
|
||||
}
|
||||
@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:BlossomBriefInfoNotify)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:BlossomBriefInfoNotify)
|
||||
private static final emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify();
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<BlossomBriefInfoNotify>
|
||||
PARSER = new com.google.protobuf.AbstractParser<BlossomBriefInfoNotify>() {
|
||||
@java.lang.Override
|
||||
public BlossomBriefInfoNotify parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new BlossomBriefInfoNotify(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<BlossomBriefInfoNotify> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<BlossomBriefInfoNotify> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_BlossomBriefInfoNotify_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_BlossomBriefInfoNotify_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\034BlossomBriefInfoNotify.proto\032\026BlossomB" +
|
||||
"riefInfo.proto\"D\n\026BlossomBriefInfoNotify" +
|
||||
"\022*\n\017brief_info_list\030\004 \003(\0132\021.BlossomBrief" +
|
||||
"InfoB\033\n\031emu.grasscutter.net.protob\006proto" +
|
||||
"3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.getDescriptor(),
|
||||
});
|
||||
internal_static_BlossomBriefInfoNotify_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_BlossomBriefInfoNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_BlossomBriefInfoNotify_descriptor,
|
||||
new java.lang.String[] { "BriefInfoList", });
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,621 +0,0 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: BlossomChestCreateNotify.proto
|
||||
|
||||
package emu.grasscutter.net.proto;
|
||||
|
||||
public final class BlossomChestCreateNotifyOuterClass {
|
||||
private BlossomChestCreateNotifyOuterClass() {}
|
||||
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 BlossomChestCreateNotifyOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:BlossomChestCreateNotify)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 refresh_id = 1;</code>
|
||||
* @return The refreshId.
|
||||
*/
|
||||
int getRefreshId();
|
||||
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 10;</code>
|
||||
* @return The circleCampId.
|
||||
*/
|
||||
int getCircleCampId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2721
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code BlossomChestCreateNotify}
|
||||
*/
|
||||
public static final class BlossomChestCreateNotify extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:BlossomChestCreateNotify)
|
||||
BlossomChestCreateNotifyOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use BlossomChestCreateNotify.newBuilder() to construct.
|
||||
private BlossomChestCreateNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private BlossomChestCreateNotify() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new BlossomChestCreateNotify();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private BlossomChestCreateNotify(
|
||||
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 8: {
|
||||
|
||||
refreshId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
|
||||
circleCampId_ = 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 {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.internal_static_BlossomChestCreateNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.internal_static_BlossomChestCreateNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify.class, emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int REFRESH_ID_FIELD_NUMBER = 1;
|
||||
private int refreshId_;
|
||||
/**
|
||||
* <code>uint32 refresh_id = 1;</code>
|
||||
* @return The refreshId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRefreshId() {
|
||||
return refreshId_;
|
||||
}
|
||||
|
||||
public static final int CIRCLE_CAMP_ID_FIELD_NUMBER = 10;
|
||||
private int circleCampId_;
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 10;</code>
|
||||
* @return The circleCampId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCircleCampId() {
|
||||
return circleCampId_;
|
||||
}
|
||||
|
||||
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 (refreshId_ != 0) {
|
||||
output.writeUInt32(1, refreshId_);
|
||||
}
|
||||
if (circleCampId_ != 0) {
|
||||
output.writeUInt32(10, circleCampId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (refreshId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, refreshId_);
|
||||
}
|
||||
if (circleCampId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, circleCampId_);
|
||||
}
|
||||
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.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify other = (emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify) obj;
|
||||
|
||||
if (getRefreshId()
|
||||
!= other.getRefreshId()) return false;
|
||||
if (getCircleCampId()
|
||||
!= other.getCircleCampId()) 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) + REFRESH_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRefreshId();
|
||||
hash = (37 * hash) + CIRCLE_CAMP_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCircleCampId();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify 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.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify 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.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify 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.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify 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.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify 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.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify 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;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2721
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code BlossomChestCreateNotify}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:BlossomChestCreateNotify)
|
||||
emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotifyOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.internal_static_BlossomChestCreateNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.internal_static_BlossomChestCreateNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify.class, emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify.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();
|
||||
refreshId_ = 0;
|
||||
|
||||
circleCampId_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.internal_static_BlossomChestCreateNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify getDefaultInstanceForType() {
|
||||
return emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify build() {
|
||||
emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify result = new emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify(this);
|
||||
result.refreshId_ = refreshId_;
|
||||
result.circleCampId_ = circleCampId_;
|
||||
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.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify) {
|
||||
return mergeFrom((emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify.getDefaultInstance()) return this;
|
||||
if (other.getRefreshId() != 0) {
|
||||
setRefreshId(other.getRefreshId());
|
||||
}
|
||||
if (other.getCircleCampId() != 0) {
|
||||
setCircleCampId(other.getCircleCampId());
|
||||
}
|
||||
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.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private int refreshId_ ;
|
||||
/**
|
||||
* <code>uint32 refresh_id = 1;</code>
|
||||
* @return The refreshId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRefreshId() {
|
||||
return refreshId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 refresh_id = 1;</code>
|
||||
* @param value The refreshId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRefreshId(int value) {
|
||||
|
||||
refreshId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 refresh_id = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRefreshId() {
|
||||
|
||||
refreshId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int circleCampId_ ;
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 10;</code>
|
||||
* @return The circleCampId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCircleCampId() {
|
||||
return circleCampId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 10;</code>
|
||||
* @param value The circleCampId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCircleCampId(int value) {
|
||||
|
||||
circleCampId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCircleCampId() {
|
||||
|
||||
circleCampId_ = 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:BlossomChestCreateNotify)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:BlossomChestCreateNotify)
|
||||
private static final emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify();
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<BlossomChestCreateNotify>
|
||||
PARSER = new com.google.protobuf.AbstractParser<BlossomChestCreateNotify>() {
|
||||
@java.lang.Override
|
||||
public BlossomChestCreateNotify parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new BlossomChestCreateNotify(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<BlossomChestCreateNotify> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<BlossomChestCreateNotify> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_BlossomChestCreateNotify_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_BlossomChestCreateNotify_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\036BlossomChestCreateNotify.proto\"F\n\030Blos" +
|
||||
"somChestCreateNotify\022\022\n\nrefresh_id\030\001 \001(\r" +
|
||||
"\022\026\n\016circle_camp_id\030\n \001(\rB\033\n\031emu.grasscut" +
|
||||
"ter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
});
|
||||
internal_static_BlossomChestCreateNotify_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_BlossomChestCreateNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_BlossomChestCreateNotify_descriptor,
|
||||
new java.lang.String[] { "RefreshId", "CircleCampId", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -1,889 +0,0 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: BlossomScheduleInfo.proto
|
||||
|
||||
package emu.grasscutter.net.proto;
|
||||
|
||||
public final class BlossomScheduleInfoOuterClass {
|
||||
private BlossomScheduleInfoOuterClass() {}
|
||||
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 BlossomScheduleInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:BlossomScheduleInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 progress = 13;</code>
|
||||
* @return The progress.
|
||||
*/
|
||||
int getProgress();
|
||||
|
||||
/**
|
||||
* <code>uint32 state = 10;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
int getState();
|
||||
|
||||
/**
|
||||
* <code>uint32 round = 4;</code>
|
||||
* @return The round.
|
||||
*/
|
||||
int getRound();
|
||||
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 15;</code>
|
||||
* @return The circleCampId.
|
||||
*/
|
||||
int getCircleCampId();
|
||||
|
||||
/**
|
||||
* <code>uint32 refresh_id = 6;</code>
|
||||
* @return The refreshId.
|
||||
*/
|
||||
int getRefreshId();
|
||||
|
||||
/**
|
||||
* <code>uint32 finish_progress = 14;</code>
|
||||
* @return The finishProgress.
|
||||
*/
|
||||
int getFinishProgress();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code BlossomScheduleInfo}
|
||||
*/
|
||||
public static final class BlossomScheduleInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:BlossomScheduleInfo)
|
||||
BlossomScheduleInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use BlossomScheduleInfo.newBuilder() to construct.
|
||||
private BlossomScheduleInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private BlossomScheduleInfo() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new BlossomScheduleInfo();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private BlossomScheduleInfo(
|
||||
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 32: {
|
||||
|
||||
round_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
|
||||
refreshId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
|
||||
state_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
|
||||
progress_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
|
||||
finishProgress_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
|
||||
circleCampId_ = 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 {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.internal_static_BlossomScheduleInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.internal_static_BlossomScheduleInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.class, emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int PROGRESS_FIELD_NUMBER = 13;
|
||||
private int progress_;
|
||||
/**
|
||||
* <code>uint32 progress = 13;</code>
|
||||
* @return The progress.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getProgress() {
|
||||
return progress_;
|
||||
}
|
||||
|
||||
public static final int STATE_FIELD_NUMBER = 10;
|
||||
private int state_;
|
||||
/**
|
||||
* <code>uint32 state = 10;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getState() {
|
||||
return state_;
|
||||
}
|
||||
|
||||
public static final int ROUND_FIELD_NUMBER = 4;
|
||||
private int round_;
|
||||
/**
|
||||
* <code>uint32 round = 4;</code>
|
||||
* @return The round.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRound() {
|
||||
return round_;
|
||||
}
|
||||
|
||||
public static final int CIRCLE_CAMP_ID_FIELD_NUMBER = 15;
|
||||
private int circleCampId_;
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 15;</code>
|
||||
* @return The circleCampId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCircleCampId() {
|
||||
return circleCampId_;
|
||||
}
|
||||
|
||||
public static final int REFRESH_ID_FIELD_NUMBER = 6;
|
||||
private int refreshId_;
|
||||
/**
|
||||
* <code>uint32 refresh_id = 6;</code>
|
||||
* @return The refreshId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRefreshId() {
|
||||
return refreshId_;
|
||||
}
|
||||
|
||||
public static final int FINISH_PROGRESS_FIELD_NUMBER = 14;
|
||||
private int finishProgress_;
|
||||
/**
|
||||
* <code>uint32 finish_progress = 14;</code>
|
||||
* @return The finishProgress.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFinishProgress() {
|
||||
return finishProgress_;
|
||||
}
|
||||
|
||||
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 (round_ != 0) {
|
||||
output.writeUInt32(4, round_);
|
||||
}
|
||||
if (refreshId_ != 0) {
|
||||
output.writeUInt32(6, refreshId_);
|
||||
}
|
||||
if (state_ != 0) {
|
||||
output.writeUInt32(10, state_);
|
||||
}
|
||||
if (progress_ != 0) {
|
||||
output.writeUInt32(13, progress_);
|
||||
}
|
||||
if (finishProgress_ != 0) {
|
||||
output.writeUInt32(14, finishProgress_);
|
||||
}
|
||||
if (circleCampId_ != 0) {
|
||||
output.writeUInt32(15, circleCampId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (round_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(4, round_);
|
||||
}
|
||||
if (refreshId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(6, refreshId_);
|
||||
}
|
||||
if (state_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, state_);
|
||||
}
|
||||
if (progress_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(13, progress_);
|
||||
}
|
||||
if (finishProgress_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(14, finishProgress_);
|
||||
}
|
||||
if (circleCampId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(15, circleCampId_);
|
||||
}
|
||||
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.BlossomScheduleInfoOuterClass.BlossomScheduleInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo other = (emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo) obj;
|
||||
|
||||
if (getProgress()
|
||||
!= other.getProgress()) return false;
|
||||
if (getState()
|
||||
!= other.getState()) return false;
|
||||
if (getRound()
|
||||
!= other.getRound()) return false;
|
||||
if (getCircleCampId()
|
||||
!= other.getCircleCampId()) return false;
|
||||
if (getRefreshId()
|
||||
!= other.getRefreshId()) return false;
|
||||
if (getFinishProgress()
|
||||
!= other.getFinishProgress()) 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) + PROGRESS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getProgress();
|
||||
hash = (37 * hash) + STATE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getState();
|
||||
hash = (37 * hash) + ROUND_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRound();
|
||||
hash = (37 * hash) + CIRCLE_CAMP_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCircleCampId();
|
||||
hash = (37 * hash) + REFRESH_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRefreshId();
|
||||
hash = (37 * hash) + FINISH_PROGRESS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getFinishProgress();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo 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.BlossomScheduleInfoOuterClass.BlossomScheduleInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo 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.BlossomScheduleInfoOuterClass.BlossomScheduleInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo 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.BlossomScheduleInfoOuterClass.BlossomScheduleInfo parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo 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.BlossomScheduleInfoOuterClass.BlossomScheduleInfo parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo 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.BlossomScheduleInfoOuterClass.BlossomScheduleInfo prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code BlossomScheduleInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:BlossomScheduleInfo)
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.internal_static_BlossomScheduleInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.internal_static_BlossomScheduleInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.class, emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.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();
|
||||
progress_ = 0;
|
||||
|
||||
state_ = 0;
|
||||
|
||||
round_ = 0;
|
||||
|
||||
circleCampId_ = 0;
|
||||
|
||||
refreshId_ = 0;
|
||||
|
||||
finishProgress_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.internal_static_BlossomScheduleInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo getDefaultInstanceForType() {
|
||||
return emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo build() {
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo buildPartial() {
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo result = new emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo(this);
|
||||
result.progress_ = progress_;
|
||||
result.state_ = state_;
|
||||
result.round_ = round_;
|
||||
result.circleCampId_ = circleCampId_;
|
||||
result.refreshId_ = refreshId_;
|
||||
result.finishProgress_ = finishProgress_;
|
||||
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.BlossomScheduleInfoOuterClass.BlossomScheduleInfo) {
|
||||
return mergeFrom((emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo other) {
|
||||
if (other == emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.getDefaultInstance()) return this;
|
||||
if (other.getProgress() != 0) {
|
||||
setProgress(other.getProgress());
|
||||
}
|
||||
if (other.getState() != 0) {
|
||||
setState(other.getState());
|
||||
}
|
||||
if (other.getRound() != 0) {
|
||||
setRound(other.getRound());
|
||||
}
|
||||
if (other.getCircleCampId() != 0) {
|
||||
setCircleCampId(other.getCircleCampId());
|
||||
}
|
||||
if (other.getRefreshId() != 0) {
|
||||
setRefreshId(other.getRefreshId());
|
||||
}
|
||||
if (other.getFinishProgress() != 0) {
|
||||
setFinishProgress(other.getFinishProgress());
|
||||
}
|
||||
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.BlossomScheduleInfoOuterClass.BlossomScheduleInfo parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private int progress_ ;
|
||||
/**
|
||||
* <code>uint32 progress = 13;</code>
|
||||
* @return The progress.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getProgress() {
|
||||
return progress_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 progress = 13;</code>
|
||||
* @param value The progress to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setProgress(int value) {
|
||||
|
||||
progress_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 progress = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearProgress() {
|
||||
|
||||
progress_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int state_ ;
|
||||
/**
|
||||
* <code>uint32 state = 10;</code>
|
||||
* @return The state.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getState() {
|
||||
return state_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 state = 10;</code>
|
||||
* @param value The state to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setState(int value) {
|
||||
|
||||
state_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 state = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearState() {
|
||||
|
||||
state_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int round_ ;
|
||||
/**
|
||||
* <code>uint32 round = 4;</code>
|
||||
* @return The round.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRound() {
|
||||
return round_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 round = 4;</code>
|
||||
* @param value The round to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRound(int value) {
|
||||
|
||||
round_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 round = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRound() {
|
||||
|
||||
round_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int circleCampId_ ;
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 15;</code>
|
||||
* @return The circleCampId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCircleCampId() {
|
||||
return circleCampId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 15;</code>
|
||||
* @param value The circleCampId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCircleCampId(int value) {
|
||||
|
||||
circleCampId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 circle_camp_id = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCircleCampId() {
|
||||
|
||||
circleCampId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int refreshId_ ;
|
||||
/**
|
||||
* <code>uint32 refresh_id = 6;</code>
|
||||
* @return The refreshId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRefreshId() {
|
||||
return refreshId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 refresh_id = 6;</code>
|
||||
* @param value The refreshId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRefreshId(int value) {
|
||||
|
||||
refreshId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 refresh_id = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRefreshId() {
|
||||
|
||||
refreshId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int finishProgress_ ;
|
||||
/**
|
||||
* <code>uint32 finish_progress = 14;</code>
|
||||
* @return The finishProgress.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFinishProgress() {
|
||||
return finishProgress_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 finish_progress = 14;</code>
|
||||
* @param value The finishProgress to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFinishProgress(int value) {
|
||||
|
||||
finishProgress_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 finish_progress = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFinishProgress() {
|
||||
|
||||
finishProgress_ = 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:BlossomScheduleInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:BlossomScheduleInfo)
|
||||
private static final emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo();
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<BlossomScheduleInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<BlossomScheduleInfo>() {
|
||||
@java.lang.Override
|
||||
public BlossomScheduleInfo parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new BlossomScheduleInfo(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<BlossomScheduleInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<BlossomScheduleInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_BlossomScheduleInfo_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_BlossomScheduleInfo_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\031BlossomScheduleInfo.proto\"\212\001\n\023BlossomS" +
|
||||
"cheduleInfo\022\020\n\010progress\030\r \001(\r\022\r\n\005state\030\n" +
|
||||
" \001(\r\022\r\n\005round\030\004 \001(\r\022\026\n\016circle_camp_id\030\017 " +
|
||||
"\001(\r\022\022\n\nrefresh_id\030\006 \001(\r\022\027\n\017finish_progre" +
|
||||
"ss\030\016 \001(\rB\033\n\031emu.grasscutter.net.protob\006p" +
|
||||
"roto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
});
|
||||
internal_static_BlossomScheduleInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_BlossomScheduleInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_BlossomScheduleInfo_descriptor,
|
||||
new java.lang.String[] { "Progress", "State", "Round", "CircleCampId", "RefreshId", "FinishProgress", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -1,859 +0,0 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: WorldOwnerBlossomBriefInfoNotify.proto
|
||||
|
||||
package emu.grasscutter.net.proto;
|
||||
|
||||
public final class WorldOwnerBlossomBriefInfoNotifyOuterClass {
|
||||
private WorldOwnerBlossomBriefInfoNotifyOuterClass() {}
|
||||
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 WorldOwnerBlossomBriefInfoNotifyOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:WorldOwnerBlossomBriefInfoNotify)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo>
|
||||
getBriefInfoListList();
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo getBriefInfoList(int index);
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
int getBriefInfoListCount();
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
java.util.List<? extends emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>
|
||||
getBriefInfoListOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder getBriefInfoListOrBuilder(
|
||||
int index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2735
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code WorldOwnerBlossomBriefInfoNotify}
|
||||
*/
|
||||
public static final class WorldOwnerBlossomBriefInfoNotify extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:WorldOwnerBlossomBriefInfoNotify)
|
||||
WorldOwnerBlossomBriefInfoNotifyOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use WorldOwnerBlossomBriefInfoNotify.newBuilder() to construct.
|
||||
private WorldOwnerBlossomBriefInfoNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private WorldOwnerBlossomBriefInfoNotify() {
|
||||
briefInfoList_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new WorldOwnerBlossomBriefInfoNotify();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private WorldOwnerBlossomBriefInfoNotify(
|
||||
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 106: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
briefInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
briefInfoList_.add(
|
||||
input.readMessage(emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.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)) {
|
||||
briefInfoList_ = java.util.Collections.unmodifiableList(briefInfoList_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.internal_static_WorldOwnerBlossomBriefInfoNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.internal_static_WorldOwnerBlossomBriefInfoNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify.class, emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int BRIEF_INFO_LIST_FIELD_NUMBER = 13;
|
||||
private java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> briefInfoList_;
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> getBriefInfoListList() {
|
||||
return briefInfoList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>
|
||||
getBriefInfoListOrBuilderList() {
|
||||
return briefInfoList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getBriefInfoListCount() {
|
||||
return briefInfoList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo getBriefInfoList(int index) {
|
||||
return briefInfoList_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder getBriefInfoListOrBuilder(
|
||||
int index) {
|
||||
return briefInfoList_.get(index);
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
for (int i = 0; i < briefInfoList_.size(); i++) {
|
||||
output.writeMessage(13, briefInfoList_.get(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
for (int i = 0; i < briefInfoList_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(13, briefInfoList_.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.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify other = (emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify) obj;
|
||||
|
||||
if (!getBriefInfoListList()
|
||||
.equals(other.getBriefInfoListList())) 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 (getBriefInfoListCount() > 0) {
|
||||
hash = (37 * hash) + BRIEF_INFO_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getBriefInfoListList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify 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.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify 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.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify 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.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify 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.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify 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.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify 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;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2735
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code WorldOwnerBlossomBriefInfoNotify}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:WorldOwnerBlossomBriefInfoNotify)
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotifyOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.internal_static_WorldOwnerBlossomBriefInfoNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.internal_static_WorldOwnerBlossomBriefInfoNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify.class, emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
getBriefInfoListFieldBuilder();
|
||||
}
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
briefInfoList_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
briefInfoListBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.internal_static_WorldOwnerBlossomBriefInfoNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify getDefaultInstanceForType() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify build() {
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify result = new emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
briefInfoList_ = java.util.Collections.unmodifiableList(briefInfoList_);
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.briefInfoList_ = briefInfoList_;
|
||||
} else {
|
||||
result.briefInfoList_ = briefInfoListBuilder_.build();
|
||||
}
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder clone() {
|
||||
return super.clone();
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.setField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return super.clearField(field);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return super.clearOneof(oneof);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, java.lang.Object value) {
|
||||
return super.setRepeatedField(field, index, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.addRepeatedField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify) {
|
||||
return mergeFrom((emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify.getDefaultInstance()) return this;
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (!other.briefInfoList_.isEmpty()) {
|
||||
if (briefInfoList_.isEmpty()) {
|
||||
briefInfoList_ = other.briefInfoList_;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.addAll(other.briefInfoList_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.briefInfoList_.isEmpty()) {
|
||||
if (briefInfoListBuilder_.isEmpty()) {
|
||||
briefInfoListBuilder_.dispose();
|
||||
briefInfoListBuilder_ = null;
|
||||
briefInfoList_ = other.briefInfoList_;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
briefInfoListBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getBriefInfoListFieldBuilder() : null;
|
||||
} else {
|
||||
briefInfoListBuilder_.addAllMessages(other.briefInfoList_);
|
||||
}
|
||||
}
|
||||
}
|
||||
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.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> briefInfoList_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureBriefInfoListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
briefInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo>(briefInfoList_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder> briefInfoListBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> getBriefInfoListList() {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(briefInfoList_);
|
||||
} else {
|
||||
return briefInfoListBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public int getBriefInfoListCount() {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
return briefInfoList_.size();
|
||||
} else {
|
||||
return briefInfoListBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo getBriefInfoList(int index) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
return briefInfoList_.get(index);
|
||||
} else {
|
||||
return briefInfoListBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public Builder setBriefInfoList(
|
||||
int index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo value) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public Builder setBriefInfoList(
|
||||
int index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder builderForValue) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public Builder addBriefInfoList(emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo value) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public Builder addBriefInfoList(
|
||||
int index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo value) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public Builder addBriefInfoList(
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder builderForValue) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public Builder addBriefInfoList(
|
||||
int index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder builderForValue) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public Builder addAllBriefInfoList(
|
||||
java.lang.Iterable<? extends emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo> values) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, briefInfoList_);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public Builder clearBriefInfoList() {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
briefInfoList_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public Builder removeBriefInfoList(int index) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
ensureBriefInfoListIsMutable();
|
||||
briefInfoList_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
briefInfoListBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder getBriefInfoListBuilder(
|
||||
int index) {
|
||||
return getBriefInfoListFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder getBriefInfoListOrBuilder(
|
||||
int index) {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
return briefInfoList_.get(index); } else {
|
||||
return briefInfoListBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>
|
||||
getBriefInfoListOrBuilderList() {
|
||||
if (briefInfoListBuilder_ != null) {
|
||||
return briefInfoListBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(briefInfoList_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder addBriefInfoListBuilder() {
|
||||
return getBriefInfoListFieldBuilder().addBuilder(
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder addBriefInfoListBuilder(
|
||||
int index) {
|
||||
return getBriefInfoListFieldBuilder().addBuilder(
|
||||
index, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .BlossomBriefInfo brief_info_list = 13;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder>
|
||||
getBriefInfoListBuilderList() {
|
||||
return getBriefInfoListFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>
|
||||
getBriefInfoListFieldBuilder() {
|
||||
if (briefInfoListBuilder_ == null) {
|
||||
briefInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo.Builder, emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfoOrBuilder>(
|
||||
briefInfoList_,
|
||||
((bitField0_ & 0x00000001) != 0),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
briefInfoList_ = null;
|
||||
}
|
||||
return briefInfoListBuilder_;
|
||||
}
|
||||
@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:WorldOwnerBlossomBriefInfoNotify)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:WorldOwnerBlossomBriefInfoNotify)
|
||||
private static final emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify();
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<WorldOwnerBlossomBriefInfoNotify>
|
||||
PARSER = new com.google.protobuf.AbstractParser<WorldOwnerBlossomBriefInfoNotify>() {
|
||||
@java.lang.Override
|
||||
public WorldOwnerBlossomBriefInfoNotify parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new WorldOwnerBlossomBriefInfoNotify(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<WorldOwnerBlossomBriefInfoNotify> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<WorldOwnerBlossomBriefInfoNotify> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_WorldOwnerBlossomBriefInfoNotify_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_WorldOwnerBlossomBriefInfoNotify_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&WorldOwnerBlossomBriefInfoNotify.proto" +
|
||||
"\032\026BlossomBriefInfo.proto\"N\n WorldOwnerBl" +
|
||||
"ossomBriefInfoNotify\022*\n\017brief_info_list\030" +
|
||||
"\r \003(\0132\021.BlossomBriefInfoB\033\n\031emu.grasscut" +
|
||||
"ter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.getDescriptor(),
|
||||
});
|
||||
internal_static_WorldOwnerBlossomBriefInfoNotify_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_WorldOwnerBlossomBriefInfoNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_WorldOwnerBlossomBriefInfoNotify_descriptor,
|
||||
new java.lang.String[] { "BriefInfoList", });
|
||||
emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -1,687 +0,0 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: WorldOwnerBlossomScheduleInfoNotify.proto
|
||||
|
||||
package emu.grasscutter.net.proto;
|
||||
|
||||
public final class WorldOwnerBlossomScheduleInfoNotifyOuterClass {
|
||||
private WorldOwnerBlossomScheduleInfoNotifyOuterClass() {}
|
||||
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 WorldOwnerBlossomScheduleInfoNotifyOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:WorldOwnerBlossomScheduleInfoNotify)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
* @return Whether the scheduleInfo field is set.
|
||||
*/
|
||||
boolean hasScheduleInfo();
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
* @return The scheduleInfo.
|
||||
*/
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo getScheduleInfo();
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfoOrBuilder getScheduleInfoOrBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2707
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code WorldOwnerBlossomScheduleInfoNotify}
|
||||
*/
|
||||
public static final class WorldOwnerBlossomScheduleInfoNotify extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:WorldOwnerBlossomScheduleInfoNotify)
|
||||
WorldOwnerBlossomScheduleInfoNotifyOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use WorldOwnerBlossomScheduleInfoNotify.newBuilder() to construct.
|
||||
private WorldOwnerBlossomScheduleInfoNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private WorldOwnerBlossomScheduleInfoNotify() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new WorldOwnerBlossomScheduleInfoNotify();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private WorldOwnerBlossomScheduleInfoNotify(
|
||||
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 26: {
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.Builder subBuilder = null;
|
||||
if (scheduleInfo_ != null) {
|
||||
subBuilder = scheduleInfo_.toBuilder();
|
||||
}
|
||||
scheduleInfo_ = input.readMessage(emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(scheduleInfo_);
|
||||
scheduleInfo_ = subBuilder.buildPartial();
|
||||
}
|
||||
|
||||
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.WorldOwnerBlossomScheduleInfoNotifyOuterClass.internal_static_WorldOwnerBlossomScheduleInfoNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.internal_static_WorldOwnerBlossomScheduleInfoNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify.class, emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int SCHEDULE_INFO_FIELD_NUMBER = 3;
|
||||
private emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo scheduleInfo_;
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
* @return Whether the scheduleInfo field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasScheduleInfo() {
|
||||
return scheduleInfo_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
* @return The scheduleInfo.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo getScheduleInfo() {
|
||||
return scheduleInfo_ == null ? emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.getDefaultInstance() : scheduleInfo_;
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfoOrBuilder getScheduleInfoOrBuilder() {
|
||||
return getScheduleInfo();
|
||||
}
|
||||
|
||||
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 (scheduleInfo_ != null) {
|
||||
output.writeMessage(3, getScheduleInfo());
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (scheduleInfo_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, getScheduleInfo());
|
||||
}
|
||||
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.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify other = (emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify) obj;
|
||||
|
||||
if (hasScheduleInfo() != other.hasScheduleInfo()) return false;
|
||||
if (hasScheduleInfo()) {
|
||||
if (!getScheduleInfo()
|
||||
.equals(other.getScheduleInfo())) 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 (hasScheduleInfo()) {
|
||||
hash = (37 * hash) + SCHEDULE_INFO_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getScheduleInfo().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify 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.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify 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.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify 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.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify 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.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify 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.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify 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;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2707
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code WorldOwnerBlossomScheduleInfoNotify}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:WorldOwnerBlossomScheduleInfoNotify)
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotifyOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.internal_static_WorldOwnerBlossomScheduleInfoNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.internal_static_WorldOwnerBlossomScheduleInfoNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify.class, emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify.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();
|
||||
if (scheduleInfoBuilder_ == null) {
|
||||
scheduleInfo_ = null;
|
||||
} else {
|
||||
scheduleInfo_ = null;
|
||||
scheduleInfoBuilder_ = null;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.internal_static_WorldOwnerBlossomScheduleInfoNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify getDefaultInstanceForType() {
|
||||
return emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify build() {
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify result = new emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify(this);
|
||||
if (scheduleInfoBuilder_ == null) {
|
||||
result.scheduleInfo_ = scheduleInfo_;
|
||||
} else {
|
||||
result.scheduleInfo_ = scheduleInfoBuilder_.build();
|
||||
}
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder clone() {
|
||||
return super.clone();
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.setField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return super.clearField(field);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return super.clearOneof(oneof);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, java.lang.Object value) {
|
||||
return super.setRepeatedField(field, index, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.addRepeatedField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify) {
|
||||
return mergeFrom((emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify.getDefaultInstance()) return this;
|
||||
if (other.hasScheduleInfo()) {
|
||||
mergeScheduleInfo(other.getScheduleInfo());
|
||||
}
|
||||
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.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo scheduleInfo_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo, emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.Builder, emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfoOrBuilder> scheduleInfoBuilder_;
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
* @return Whether the scheduleInfo field is set.
|
||||
*/
|
||||
public boolean hasScheduleInfo() {
|
||||
return scheduleInfoBuilder_ != null || scheduleInfo_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
* @return The scheduleInfo.
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo getScheduleInfo() {
|
||||
if (scheduleInfoBuilder_ == null) {
|
||||
return scheduleInfo_ == null ? emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.getDefaultInstance() : scheduleInfo_;
|
||||
} else {
|
||||
return scheduleInfoBuilder_.getMessage();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
*/
|
||||
public Builder setScheduleInfo(emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo value) {
|
||||
if (scheduleInfoBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
scheduleInfo_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
scheduleInfoBuilder_.setMessage(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
*/
|
||||
public Builder setScheduleInfo(
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.Builder builderForValue) {
|
||||
if (scheduleInfoBuilder_ == null) {
|
||||
scheduleInfo_ = builderForValue.build();
|
||||
onChanged();
|
||||
} else {
|
||||
scheduleInfoBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
*/
|
||||
public Builder mergeScheduleInfo(emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo value) {
|
||||
if (scheduleInfoBuilder_ == null) {
|
||||
if (scheduleInfo_ != null) {
|
||||
scheduleInfo_ =
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.newBuilder(scheduleInfo_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
scheduleInfo_ = value;
|
||||
}
|
||||
onChanged();
|
||||
} else {
|
||||
scheduleInfoBuilder_.mergeFrom(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
*/
|
||||
public Builder clearScheduleInfo() {
|
||||
if (scheduleInfoBuilder_ == null) {
|
||||
scheduleInfo_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
scheduleInfo_ = null;
|
||||
scheduleInfoBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.Builder getScheduleInfoBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getScheduleInfoFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfoOrBuilder getScheduleInfoOrBuilder() {
|
||||
if (scheduleInfoBuilder_ != null) {
|
||||
return scheduleInfoBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return scheduleInfo_ == null ?
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.getDefaultInstance() : scheduleInfo_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.BlossomScheduleInfo schedule_info = 3;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo, emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.Builder, emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfoOrBuilder>
|
||||
getScheduleInfoFieldBuilder() {
|
||||
if (scheduleInfoBuilder_ == null) {
|
||||
scheduleInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo, emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo.Builder, emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfoOrBuilder>(
|
||||
getScheduleInfo(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
scheduleInfo_ = null;
|
||||
}
|
||||
return scheduleInfoBuilder_;
|
||||
}
|
||||
@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:WorldOwnerBlossomScheduleInfoNotify)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:WorldOwnerBlossomScheduleInfoNotify)
|
||||
private static final emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify();
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<WorldOwnerBlossomScheduleInfoNotify>
|
||||
PARSER = new com.google.protobuf.AbstractParser<WorldOwnerBlossomScheduleInfoNotify>() {
|
||||
@java.lang.Override
|
||||
public WorldOwnerBlossomScheduleInfoNotify parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new WorldOwnerBlossomScheduleInfoNotify(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<WorldOwnerBlossomScheduleInfoNotify> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<WorldOwnerBlossomScheduleInfoNotify> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_WorldOwnerBlossomScheduleInfoNotify_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_WorldOwnerBlossomScheduleInfoNotify_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)WorldOwnerBlossomScheduleInfoNotify.pr" +
|
||||
"oto\032\031BlossomScheduleInfo.proto\"R\n#WorldO" +
|
||||
"wnerBlossomScheduleInfoNotify\022+\n\rschedul" +
|
||||
"e_info\030\003 \001(\0132\024.BlossomScheduleInfoB\033\n\031em" +
|
||||
"u.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.getDescriptor(),
|
||||
});
|
||||
internal_static_WorldOwnerBlossomScheduleInfoNotify_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_WorldOwnerBlossomScheduleInfoNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_WorldOwnerBlossomScheduleInfoNotify_descriptor,
|
||||
new java.lang.String[] { "ScheduleInfo", });
|
||||
emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
@ -1,31 +1,34 @@
|
||||
package emu.grasscutter.game.managers.blossom;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.stream.IntStream;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import dev.morphia.annotations.Entity;
|
||||
import emu.grasscutter.Grasscutter;
|
||||
import emu.grasscutter.data.GameData;
|
||||
import emu.grasscutter.data.excels.*;
|
||||
import emu.grasscutter.data.excels.BlossomRefreshData.*;
|
||||
import emu.grasscutter.data.excels.BlossomGroupsData;
|
||||
import emu.grasscutter.data.excels.BlossomOpenData;
|
||||
import emu.grasscutter.data.excels.BlossomRefreshData;
|
||||
import emu.grasscutter.data.excels.BlossomRefreshData.RefreshCond;
|
||||
import emu.grasscutter.data.excels.BlossomSectionOrderData;
|
||||
import emu.grasscutter.game.entity.EntityGadget;
|
||||
import emu.grasscutter.game.inventory.GameItem;
|
||||
import emu.grasscutter.game.managers.blossom.enums.BlossomRefreshType;
|
||||
import emu.grasscutter.game.player.BasePlayerDataManager;
|
||||
import emu.grasscutter.game.player.Player;
|
||||
import emu.grasscutter.game.props.ActionReason;
|
||||
import emu.grasscutter.net.proto.BlossomBriefInfoOuterClass;
|
||||
import emu.grasscutter.server.packet.send.PacketBlossomBriefInfoNotify;
|
||||
import emu.grasscutter.server.packet.send.PacketWorldOwnerBlossomScheduleInfoNotify;
|
||||
import emu.grasscutter.utils.Utils;
|
||||
import lombok.Getter;
|
||||
import lombok.NonNull;
|
||||
import lombok.val;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.gadget.BlossomChestInfo;
|
||||
import org.anime_game_servers.gi_lua.models.ScriptArgs;
|
||||
import org.anime_game_servers.gi_lua.models.constants.EventType;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.blossom.BlossomBriefInfo;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.gadget.BlossomChestInfo;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.stream.IntStream;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
@Getter
|
||||
@Entity
|
||||
@ -55,11 +58,11 @@ public class BlossomManager extends BasePlayerDataManager {
|
||||
/**
|
||||
* BlossomBriefInfo proto
|
||||
* */
|
||||
public List<BlossomBriefInfoOuterClass.BlossomBriefInfo> getBriefInfo() {
|
||||
public List<BlossomBriefInfo> getBriefInfo() {
|
||||
return this.blossomSchedule.values().stream()
|
||||
.map(BlossomSchedule::toBriefProto)
|
||||
.sorted(Comparator.comparing(BlossomBriefInfoOuterClass.BlossomBriefInfo::getRefreshId)
|
||||
.thenComparing(BlossomBriefInfoOuterClass.BlossomBriefInfo::getCircleCampId))
|
||||
.sorted(Comparator.comparing(BlossomBriefInfo::getRefreshId)
|
||||
.thenComparing(BlossomBriefInfo::getCircleCampId))
|
||||
.toList();
|
||||
}
|
||||
|
||||
|
@ -8,19 +8,19 @@ import emu.grasscutter.data.common.BaseBlossomROSData;
|
||||
import emu.grasscutter.data.excels.*;
|
||||
import emu.grasscutter.game.managers.blossom.enums.BlossomRefreshType;
|
||||
import emu.grasscutter.game.world.World;
|
||||
import emu.grasscutter.net.proto.BlossomBriefInfoOuterClass.BlossomBriefInfo;
|
||||
import emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.blossom.BlossomBriefInfo;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.blossom.BlossomScheduleInfo;
|
||||
import emu.grasscutter.scripts.ScriptSystem;
|
||||
import emu.grasscutter.utils.Position;
|
||||
import lombok.*;
|
||||
import org.anime_game_servers.gi_lua.models.scene.group.SceneGroup;
|
||||
import org.anime_game_servers.core.gi.models.Vector;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.time.LocalTime;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.util.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.Optional;
|
||||
import java.util.Set;
|
||||
|
||||
@Getter
|
||||
@Builder(builderMethodName="of", setterPrefix="set")
|
||||
@ -167,31 +167,31 @@ public class BlossomSchedule implements BaseBlossomROSData {
|
||||
* Works like challenge but blossom style
|
||||
* */
|
||||
public BlossomScheduleInfo toScheduleProto() {
|
||||
return BlossomScheduleInfo.newBuilder()
|
||||
.setFinishProgress(this.finishProgress)
|
||||
.setRefreshId(this.refreshId)
|
||||
.setState(this.state)
|
||||
.setRound(this.round)
|
||||
.setCircleCampId(this.circleCampId)
|
||||
.setProgress(this.progress)
|
||||
.build();
|
||||
val proto = new BlossomScheduleInfo();
|
||||
proto.setFinishProgress(this.finishProgress);
|
||||
proto.setRefreshId(this.refreshId);
|
||||
proto.setState(this.state);
|
||||
proto.setRound(this.round);
|
||||
proto.setCircleCampId(this.circleCampId);
|
||||
proto.setProgress(this.progress);
|
||||
return proto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Blossom camp information, updates the map's icon, I think...
|
||||
* */
|
||||
public BlossomBriefInfo toBriefProto() {
|
||||
return BlossomBriefInfo.newBuilder()
|
||||
.setSceneId(this.sceneId)
|
||||
.setCityId(this.cityId)
|
||||
.setPos(this.position.toProtoOld())
|
||||
.setResin(this.resin)
|
||||
.setMonsterLevel(this.monsterLevel)
|
||||
.setRewardId(this.rewardId)
|
||||
.setCircleCampId(this.circleCampId)
|
||||
.setRefreshId(this.refreshId)
|
||||
.setState(this.state) // 0: loaded, 1: spawned, 2:started, 3: finished
|
||||
.build();
|
||||
val proto = new BlossomBriefInfo();
|
||||
proto.setSceneId(this.sceneId);
|
||||
proto.setCityId(this.cityId);
|
||||
proto.setPos(this.position.toProto());
|
||||
proto.setResin(this.resin);
|
||||
proto.setMonsterLevel(this.monsterLevel);
|
||||
proto.setRewardId(this.rewardId);
|
||||
proto.setCircleCampId(this.circleCampId);
|
||||
proto.setRefreshId(this.refreshId);
|
||||
proto.setState(this.state); // 0: loaded, 1: spawned, 2:started, 3: finished
|
||||
return proto;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,13 +1,14 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.BlossomBriefInfoNotifyOuterClass;
|
||||
import emu.grasscutter.net.proto.BlossomBriefInfoOuterClass;
|
||||
import emu.grasscutter.net.packet.BaseTypedPacket;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.blossom.BlossomBriefInfo;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.blossom.BlossomBriefInfoNotify;
|
||||
|
||||
public class PacketBlossomBriefInfoNotify extends BasePacket {
|
||||
public PacketBlossomBriefInfoNotify(Iterable<BlossomBriefInfoOuterClass.BlossomBriefInfo> blossoms) {
|
||||
super(PacketOpcodes.BlossomBriefInfoNotify);
|
||||
this.setData(BlossomBriefInfoNotifyOuterClass.BlossomBriefInfoNotify.newBuilder().addAllBriefInfoList(blossoms));
|
||||
import java.util.List;
|
||||
|
||||
public class PacketBlossomBriefInfoNotify extends BaseTypedPacket<BlossomBriefInfoNotify> {
|
||||
public PacketBlossomBriefInfoNotify(List<BlossomBriefInfo> blossoms) {
|
||||
super(new BlossomBriefInfoNotify());
|
||||
proto.setBriefInfoList(blossoms);
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.BlossomChestCreateNotifyOuterClass.BlossomChestCreateNotify;
|
||||
import emu.grasscutter.net.packet.BaseTypedPacket;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.blossom.BlossomChestCreateNotify;
|
||||
|
||||
public class PacketBlossomChestCreateNotify extends BasePacket {
|
||||
public class PacketBlossomChestCreateNotify extends BaseTypedPacket<BlossomChestCreateNotify> {
|
||||
public PacketBlossomChestCreateNotify(int refreshId, int campId) {
|
||||
super(PacketOpcodes.BlossomChestCreateNotify);
|
||||
this.setData(BlossomChestCreateNotify.newBuilder()
|
||||
.setRefreshId(refreshId)
|
||||
.setCircleCampId(campId));
|
||||
super(new BlossomChestCreateNotify());
|
||||
proto.setRefreshId(refreshId);
|
||||
proto.setCircleCampId(campId);
|
||||
}
|
||||
}
|
||||
|
@ -1,16 +1,12 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.game.world.World;
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.WorldOwnerBlossomBriefInfoNotifyOuterClass.WorldOwnerBlossomBriefInfoNotify;
|
||||
import emu.grasscutter.net.packet.BaseTypedPacket;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.blossom.WorldOwnerBlossomBriefInfoNotify;
|
||||
|
||||
public class PacketWorldOwnerBlossomBriefInfoNotify extends BasePacket {
|
||||
public class PacketWorldOwnerBlossomBriefInfoNotify extends BaseTypedPacket<WorldOwnerBlossomBriefInfoNotify> {
|
||||
public PacketWorldOwnerBlossomBriefInfoNotify(World world) {
|
||||
super(PacketOpcodes.WorldOwnerBlossomBriefInfoNotify);
|
||||
|
||||
this.setData(WorldOwnerBlossomBriefInfoNotify.newBuilder()
|
||||
.addAllBriefInfoList(world.getOwner().getBlossomManager().getBriefInfo())
|
||||
.build());
|
||||
super(new WorldOwnerBlossomBriefInfoNotify());
|
||||
proto.setBriefInfoList(world.getOwner().getBlossomManager().getBriefInfo());
|
||||
}
|
||||
}
|
||||
|
@ -1,16 +1,12 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.BlossomScheduleInfoOuterClass.BlossomScheduleInfo;
|
||||
import emu.grasscutter.net.proto.WorldOwnerBlossomScheduleInfoNotifyOuterClass.WorldOwnerBlossomScheduleInfoNotify;
|
||||
import emu.grasscutter.net.packet.BaseTypedPacket;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.blossom.BlossomScheduleInfo;
|
||||
import org.anime_game_servers.multi_proto.gi.messages.blossom.WorldOwnerBlossomScheduleInfoNotify;
|
||||
|
||||
public class PacketWorldOwnerBlossomScheduleInfoNotify extends BasePacket {
|
||||
public class PacketWorldOwnerBlossomScheduleInfoNotify extends BaseTypedPacket<WorldOwnerBlossomScheduleInfoNotify> {
|
||||
public PacketWorldOwnerBlossomScheduleInfoNotify(BlossomScheduleInfo scheduleInfo) {
|
||||
super(PacketOpcodes.WorldOwnerBlossomScheduleInfoNotify);
|
||||
|
||||
this.setData(WorldOwnerBlossomScheduleInfoNotify.newBuilder()
|
||||
.setScheduleInfo(scheduleInfo)
|
||||
.build());
|
||||
super(new WorldOwnerBlossomScheduleInfoNotify());
|
||||
proto.setScheduleInfo(scheduleInfo);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user