mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-11 05:13:22 +08:00
1096 lines
48 KiB
Java
1096 lines
48 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: EvtEntityRenderersChangedNotify.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class EvtEntityRenderersChangedNotifyOuterClass {
|
|
private EvtEntityRenderersChangedNotifyOuterClass() {}
|
|
|
|
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 EvtEntityRenderersChangedNotifyOrBuilder
|
|
extends
|
|
// @@protoc_insertion_point(interface_extends:EvtEntityRenderersChangedNotify)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code>
|
|
*
|
|
* @return Whether the rendererChangedInfo field is set.
|
|
*/
|
|
boolean hasRendererChangedInfo();
|
|
/**
|
|
* <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code>
|
|
*
|
|
* @return The rendererChangedInfo.
|
|
*/
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo
|
|
getRendererChangedInfo();
|
|
/** <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code> */
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfoOrBuilder
|
|
getRendererChangedInfoOrBuilder();
|
|
|
|
/**
|
|
* <code>uint32 entity_id = 10;</code>
|
|
*
|
|
* @return The entityId.
|
|
*/
|
|
int getEntityId();
|
|
|
|
/**
|
|
* <code>bool is_server_cache = 4;</code>
|
|
*
|
|
* @return The isServerCache.
|
|
*/
|
|
boolean getIsServerCache();
|
|
|
|
/**
|
|
* <code>.ForwardType forward_type = 7;</code>
|
|
*
|
|
* @return The enum numeric value on the wire for forwardType.
|
|
*/
|
|
int getForwardTypeValue();
|
|
/**
|
|
* <code>.ForwardType forward_type = 7;</code>
|
|
*
|
|
* @return The forwardType.
|
|
*/
|
|
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType();
|
|
}
|
|
/**
|
|
*
|
|
*
|
|
* <pre>
|
|
* Name: LFMFKEEMJGA
|
|
* CmdId: 316
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code EvtEntityRenderersChangedNotify}
|
|
*/
|
|
public static final class EvtEntityRenderersChangedNotify
|
|
extends com.google.protobuf.GeneratedMessageV3
|
|
implements
|
|
// @@protoc_insertion_point(message_implements:EvtEntityRenderersChangedNotify)
|
|
EvtEntityRenderersChangedNotifyOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use EvtEntityRenderersChangedNotify.newBuilder() to construct.
|
|
private EvtEntityRenderersChangedNotify(
|
|
com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
|
|
private EvtEntityRenderersChangedNotify() {
|
|
forwardType_ = 0;
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
|
|
return new EvtEntityRenderersChangedNotify();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
|
|
private EvtEntityRenderersChangedNotify(
|
|
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:
|
|
{
|
|
isServerCache_ = input.readBool();
|
|
break;
|
|
}
|
|
case 56:
|
|
{
|
|
int rawValue = input.readEnum();
|
|
|
|
forwardType_ = rawValue;
|
|
break;
|
|
}
|
|
case 80:
|
|
{
|
|
entityId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 122:
|
|
{
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo.Builder
|
|
subBuilder = null;
|
|
if (rendererChangedInfo_ != null) {
|
|
subBuilder = rendererChangedInfo_.toBuilder();
|
|
}
|
|
rendererChangedInfo_ =
|
|
input.readMessage(
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo.parser(),
|
|
extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(rendererChangedInfo_);
|
|
rendererChangedInfo_ = 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.EvtEntityRenderersChangedNotifyOuterClass
|
|
.internal_static_EvtEntityRenderersChangedNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.internal_static_EvtEntityRenderersChangedNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify.class,
|
|
emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify.Builder.class);
|
|
}
|
|
|
|
public static final int RENDERER_CHANGED_INFO_FIELD_NUMBER = 15;
|
|
private emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo
|
|
rendererChangedInfo_;
|
|
/**
|
|
* <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code>
|
|
*
|
|
* @return Whether the rendererChangedInfo field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasRendererChangedInfo() {
|
|
return rendererChangedInfo_ != null;
|
|
}
|
|
/**
|
|
* <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code>
|
|
*
|
|
* @return The rendererChangedInfo.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo
|
|
getRendererChangedInfo() {
|
|
return rendererChangedInfo_ == null
|
|
? emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo
|
|
.getDefaultInstance()
|
|
: rendererChangedInfo_;
|
|
}
|
|
/** <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfoOrBuilder
|
|
getRendererChangedInfoOrBuilder() {
|
|
return getRendererChangedInfo();
|
|
}
|
|
|
|
public static final int ENTITY_ID_FIELD_NUMBER = 10;
|
|
private int entityId_;
|
|
/**
|
|
* <code>uint32 entity_id = 10;</code>
|
|
*
|
|
* @return The entityId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getEntityId() {
|
|
return entityId_;
|
|
}
|
|
|
|
public static final int IS_SERVER_CACHE_FIELD_NUMBER = 4;
|
|
private boolean isServerCache_;
|
|
/**
|
|
* <code>bool is_server_cache = 4;</code>
|
|
*
|
|
* @return The isServerCache.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsServerCache() {
|
|
return isServerCache_;
|
|
}
|
|
|
|
public static final int FORWARD_TYPE_FIELD_NUMBER = 7;
|
|
private int forwardType_;
|
|
/**
|
|
* <code>.ForwardType forward_type = 7;</code>
|
|
*
|
|
* @return The enum numeric value on the wire for forwardType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getForwardTypeValue() {
|
|
return forwardType_;
|
|
}
|
|
/**
|
|
* <code>.ForwardType forward_type = 7;</code>
|
|
*
|
|
* @return The forwardType.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType result =
|
|
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.valueOf(forwardType_);
|
|
return result == null
|
|
? emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.UNRECOGNIZED
|
|
: result;
|
|
}
|
|
|
|
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 (isServerCache_ != false) {
|
|
output.writeBool(4, isServerCache_);
|
|
}
|
|
if (forwardType_
|
|
!= emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.FORWARD_TYPE_LOCAL
|
|
.getNumber()) {
|
|
output.writeEnum(7, forwardType_);
|
|
}
|
|
if (entityId_ != 0) {
|
|
output.writeUInt32(10, entityId_);
|
|
}
|
|
if (rendererChangedInfo_ != null) {
|
|
output.writeMessage(15, getRendererChangedInfo());
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (isServerCache_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, isServerCache_);
|
|
}
|
|
if (forwardType_
|
|
!= emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.FORWARD_TYPE_LOCAL
|
|
.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, forwardType_);
|
|
}
|
|
if (entityId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(10, entityId_);
|
|
}
|
|
if (rendererChangedInfo_ != null) {
|
|
size +=
|
|
com.google.protobuf.CodedOutputStream.computeMessageSize(15, getRendererChangedInfo());
|
|
}
|
|
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.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
other =
|
|
(emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify)
|
|
obj;
|
|
|
|
if (hasRendererChangedInfo() != other.hasRendererChangedInfo()) return false;
|
|
if (hasRendererChangedInfo()) {
|
|
if (!getRendererChangedInfo().equals(other.getRendererChangedInfo())) return false;
|
|
}
|
|
if (getEntityId() != other.getEntityId()) return false;
|
|
if (getIsServerCache() != other.getIsServerCache()) return false;
|
|
if (forwardType_ != other.forwardType_) 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 (hasRendererChangedInfo()) {
|
|
hash = (37 * hash) + RENDERER_CHANGED_INFO_FIELD_NUMBER;
|
|
hash = (53 * hash) + getRendererChangedInfo().hashCode();
|
|
}
|
|
hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getEntityId();
|
|
hash = (37 * hash) + IS_SERVER_CACHE_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsServerCache());
|
|
hash = (37 * hash) + FORWARD_TYPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + forwardType_;
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
parseFrom(java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
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.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
parseFrom(com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
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.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
parseFrom(java.io.InputStream input) throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
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.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
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.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
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.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
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>
|
|
* Name: LFMFKEEMJGA
|
|
* CmdId: 316
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code EvtEntityRenderersChangedNotify}
|
|
*/
|
|
public static final class Builder
|
|
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
|
|
implements
|
|
// @@protoc_insertion_point(builder_implements:EvtEntityRenderersChangedNotify)
|
|
emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotifyOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
|
|
return emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.internal_static_EvtEntityRenderersChangedNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.internal_static_EvtEntityRenderersChangedNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify.class,
|
|
emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify.Builder.class);
|
|
}
|
|
|
|
// Construct using
|
|
// emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass.EvtEntityRenderersChangedNotify.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 (rendererChangedInfoBuilder_ == null) {
|
|
rendererChangedInfo_ = null;
|
|
} else {
|
|
rendererChangedInfo_ = null;
|
|
rendererChangedInfoBuilder_ = null;
|
|
}
|
|
entityId_ = 0;
|
|
|
|
isServerCache_ = false;
|
|
|
|
forwardType_ = 0;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.internal_static_EvtEntityRenderersChangedNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
build() {
|
|
emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
buildPartial() {
|
|
emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
result =
|
|
new emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify(this);
|
|
if (rendererChangedInfoBuilder_ == null) {
|
|
result.rendererChangedInfo_ = rendererChangedInfo_;
|
|
} else {
|
|
result.rendererChangedInfo_ = rendererChangedInfoBuilder_.build();
|
|
}
|
|
result.entityId_ = entityId_;
|
|
result.isServerCache_ = isServerCache_;
|
|
result.forwardType_ = forwardType_;
|
|
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.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify) {
|
|
return mergeFrom(
|
|
(emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify)
|
|
other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(
|
|
emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
other) {
|
|
if (other
|
|
== emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify.getDefaultInstance()) return this;
|
|
if (other.hasRendererChangedInfo()) {
|
|
mergeRendererChangedInfo(other.getRendererChangedInfo());
|
|
}
|
|
if (other.getEntityId() != 0) {
|
|
setEntityId(other.getEntityId());
|
|
}
|
|
if (other.getIsServerCache() != false) {
|
|
setIsServerCache(other.getIsServerCache());
|
|
}
|
|
if (other.forwardType_ != 0) {
|
|
setForwardTypeValue(other.getForwardTypeValue());
|
|
}
|
|
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.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage =
|
|
(emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify)
|
|
e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo
|
|
rendererChangedInfo_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo,
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo.Builder,
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfoOrBuilder>
|
|
rendererChangedInfoBuilder_;
|
|
/**
|
|
* <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code>
|
|
*
|
|
* @return Whether the rendererChangedInfo field is set.
|
|
*/
|
|
public boolean hasRendererChangedInfo() {
|
|
return rendererChangedInfoBuilder_ != null || rendererChangedInfo_ != null;
|
|
}
|
|
/**
|
|
* <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code>
|
|
*
|
|
* @return The rendererChangedInfo.
|
|
*/
|
|
public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo
|
|
getRendererChangedInfo() {
|
|
if (rendererChangedInfoBuilder_ == null) {
|
|
return rendererChangedInfo_ == null
|
|
? emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo.getDefaultInstance()
|
|
: rendererChangedInfo_;
|
|
} else {
|
|
return rendererChangedInfoBuilder_.getMessage();
|
|
}
|
|
}
|
|
/** <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code> */
|
|
public Builder setRendererChangedInfo(
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo
|
|
value) {
|
|
if (rendererChangedInfoBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
rendererChangedInfo_ = value;
|
|
onChanged();
|
|
} else {
|
|
rendererChangedInfoBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/** <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code> */
|
|
public Builder setRendererChangedInfo(
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo
|
|
.Builder
|
|
builderForValue) {
|
|
if (rendererChangedInfoBuilder_ == null) {
|
|
rendererChangedInfo_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
rendererChangedInfoBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/** <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code> */
|
|
public Builder mergeRendererChangedInfo(
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo
|
|
value) {
|
|
if (rendererChangedInfoBuilder_ == null) {
|
|
if (rendererChangedInfo_ != null) {
|
|
rendererChangedInfo_ =
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo.newBuilder(rendererChangedInfo_)
|
|
.mergeFrom(value)
|
|
.buildPartial();
|
|
} else {
|
|
rendererChangedInfo_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
rendererChangedInfoBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/** <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code> */
|
|
public Builder clearRendererChangedInfo() {
|
|
if (rendererChangedInfoBuilder_ == null) {
|
|
rendererChangedInfo_ = null;
|
|
onChanged();
|
|
} else {
|
|
rendererChangedInfo_ = null;
|
|
rendererChangedInfoBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/** <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code> */
|
|
public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo
|
|
.Builder
|
|
getRendererChangedInfoBuilder() {
|
|
|
|
onChanged();
|
|
return getRendererChangedInfoFieldBuilder().getBuilder();
|
|
}
|
|
/** <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code> */
|
|
public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfoOrBuilder
|
|
getRendererChangedInfoOrBuilder() {
|
|
if (rendererChangedInfoBuilder_ != null) {
|
|
return rendererChangedInfoBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return rendererChangedInfo_ == null
|
|
? emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo.getDefaultInstance()
|
|
: rendererChangedInfo_;
|
|
}
|
|
}
|
|
/** <code>.EntityRendererChangedInfo renderer_changed_info = 15;</code> */
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo,
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo.Builder,
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfoOrBuilder>
|
|
getRendererChangedInfoFieldBuilder() {
|
|
if (rendererChangedInfoBuilder_ == null) {
|
|
rendererChangedInfoBuilder_ =
|
|
new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo,
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfo.Builder,
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass
|
|
.EntityRendererChangedInfoOrBuilder>(
|
|
getRendererChangedInfo(), getParentForChildren(), isClean());
|
|
rendererChangedInfo_ = null;
|
|
}
|
|
return rendererChangedInfoBuilder_;
|
|
}
|
|
|
|
private int entityId_;
|
|
/**
|
|
* <code>uint32 entity_id = 10;</code>
|
|
*
|
|
* @return The entityId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getEntityId() {
|
|
return entityId_;
|
|
}
|
|
/**
|
|
* <code>uint32 entity_id = 10;</code>
|
|
*
|
|
* @param value The entityId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setEntityId(int value) {
|
|
|
|
entityId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 entity_id = 10;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearEntityId() {
|
|
|
|
entityId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isServerCache_;
|
|
/**
|
|
* <code>bool is_server_cache = 4;</code>
|
|
*
|
|
* @return The isServerCache.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsServerCache() {
|
|
return isServerCache_;
|
|
}
|
|
/**
|
|
* <code>bool is_server_cache = 4;</code>
|
|
*
|
|
* @param value The isServerCache to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsServerCache(boolean value) {
|
|
|
|
isServerCache_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_server_cache = 4;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsServerCache() {
|
|
|
|
isServerCache_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int forwardType_ = 0;
|
|
/**
|
|
* <code>.ForwardType forward_type = 7;</code>
|
|
*
|
|
* @return The enum numeric value on the wire for forwardType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getForwardTypeValue() {
|
|
return forwardType_;
|
|
}
|
|
/**
|
|
* <code>.ForwardType forward_type = 7;</code>
|
|
*
|
|
* @param value The enum numeric value on the wire for forwardType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setForwardTypeValue(int value) {
|
|
|
|
forwardType_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.ForwardType forward_type = 7;</code>
|
|
*
|
|
* @return The forwardType.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType result =
|
|
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.valueOf(forwardType_);
|
|
return result == null
|
|
? emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.UNRECOGNIZED
|
|
: result;
|
|
}
|
|
/**
|
|
* <code>.ForwardType forward_type = 7;</code>
|
|
*
|
|
* @param value The forwardType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setForwardType(
|
|
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
forwardType_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.ForwardType forward_type = 7;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearForwardType() {
|
|
|
|
forwardType_ = 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:EvtEntityRenderersChangedNotify)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:EvtEntityRenderersChangedNotify)
|
|
private static final emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
DEFAULT_INSTANCE;
|
|
|
|
static {
|
|
DEFAULT_INSTANCE =
|
|
new emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<EvtEntityRenderersChangedNotify> PARSER =
|
|
new com.google.protobuf.AbstractParser<EvtEntityRenderersChangedNotify>() {
|
|
@java.lang.Override
|
|
public EvtEntityRenderersChangedNotify parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new EvtEntityRenderersChangedNotify(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<EvtEntityRenderersChangedNotify> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<EvtEntityRenderersChangedNotify> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.EvtEntityRenderersChangedNotifyOuterClass
|
|
.EvtEntityRenderersChangedNotify
|
|
getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_EvtEntityRenderersChangedNotify_descriptor;
|
|
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_EvtEntityRenderersChangedNotify_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%EvtEntityRenderersChangedNotify.proto\032"
|
|
+ "\037EntityRendererChangedInfo.proto\032\021Forwar"
|
|
+ "dType.proto\"\254\001\n\037EvtEntityRenderersChange"
|
|
+ "dNotify\0229\n\025renderer_changed_info\030\017 \001(\0132\032"
|
|
+ ".EntityRendererChangedInfo\022\021\n\tentity_id\030"
|
|
+ "\n \001(\r\022\027\n\017is_server_cache\030\004 \001(\010\022\"\n\014forwar"
|
|
+ "d_type\030\007 \001(\0162\014.ForwardTypeB\033\n\031emu.grassc"
|
|
+ "utter.net.protob\006proto3"
|
|
};
|
|
descriptor =
|
|
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
|
|
descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.ForwardTypeOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_EvtEntityRenderersChangedNotify_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_EvtEntityRenderersChangedNotify_fieldAccessorTable =
|
|
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_EvtEntityRenderersChangedNotify_descriptor,
|
|
new java.lang.String[] {
|
|
"RendererChangedInfo", "EntityId", "IsServerCache", "ForwardType",
|
|
});
|
|
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.ForwardTypeOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|