Grasscutter/src/generated/main/java/emu/grasscutter/net/proto/EvtEntityRenderersChangedNotifyOuterClass.java

941 lines
37 KiB
Java
Raw Normal View History

2022-08-21 19:33:54 +08:00
// 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>.ForwardType forward_type = 8;</code>
* @return The enum numeric value on the wire for forwardType.
*/
int getForwardTypeValue();
/**
* <code>.ForwardType forward_type = 8;</code>
* @return The forwardType.
*/
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType();
/**
* <code>uint32 entity_id = 15;</code>
* @return The entityId.
*/
int getEntityId();
/**
* <code>bool is_server_cache = 3;</code>
* @return The isServerCache.
*/
boolean getIsServerCache();
/**
* <code>.EntityRendererChangedInfo renderer_changed_info = 5;</code>
* @return Whether the rendererChangedInfo field is set.
*/
boolean hasRendererChangedInfo();
/**
* <code>.EntityRendererChangedInfo renderer_changed_info = 5;</code>
* @return The rendererChangedInfo.
*/
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo getRendererChangedInfo();
/**
* <code>.EntityRendererChangedInfo renderer_changed_info = 5;</code>
*/
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfoOrBuilder getRendererChangedInfoOrBuilder();
}
/**
* <pre>
* CmdId: 343
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </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 24: {
isServerCache_ = input.readBool();
break;
}
case 42: {
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;
}
case 64: {
int rawValue = input.readEnum();
forwardType_ = rawValue;
break;
}
case 120: {
entityId_ = 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.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 FORWARD_TYPE_FIELD_NUMBER = 8;
private int forwardType_;
/**
* <code>.ForwardType forward_type = 8;</code>
* @return The enum numeric value on the wire for forwardType.
*/
@java.lang.Override public int getForwardTypeValue() {
return forwardType_;
}
/**
* <code>.ForwardType forward_type = 8;</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;
}
public static final int ENTITY_ID_FIELD_NUMBER = 15;
private int entityId_;
/**
* <code>uint32 entity_id = 15;</code>
* @return The entityId.
*/
@java.lang.Override
public int getEntityId() {
return entityId_;
}
public static final int IS_SERVER_CACHE_FIELD_NUMBER = 3;
private boolean isServerCache_;
/**
* <code>bool is_server_cache = 3;</code>
* @return The isServerCache.
*/
@java.lang.Override
public boolean getIsServerCache() {
return isServerCache_;
}
public static final int RENDERER_CHANGED_INFO_FIELD_NUMBER = 5;
private emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo rendererChangedInfo_;
/**
* <code>.EntityRendererChangedInfo renderer_changed_info = 5;</code>
* @return Whether the rendererChangedInfo field is set.
*/
@java.lang.Override
public boolean hasRendererChangedInfo() {
return rendererChangedInfo_ != null;
}
/**
* <code>.EntityRendererChangedInfo renderer_changed_info = 5;</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 = 5;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfoOrBuilder getRendererChangedInfoOrBuilder() {
return getRendererChangedInfo();
}
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(3, isServerCache_);
}
if (rendererChangedInfo_ != null) {
output.writeMessage(5, getRendererChangedInfo());
}
if (forwardType_ != emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.FORWARD_TYPE_LOCAL.getNumber()) {
output.writeEnum(8, forwardType_);
}
if (entityId_ != 0) {
output.writeUInt32(15, entityId_);
}
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(3, isServerCache_);
}
if (rendererChangedInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getRendererChangedInfo());
}
if (forwardType_ != emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.FORWARD_TYPE_LOCAL.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, forwardType_);
}
if (entityId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, entityId_);
}
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 (forwardType_ != other.forwardType_) return false;
if (getEntityId()
!= other.getEntityId()) return false;
if (getIsServerCache()
!= other.getIsServerCache()) return false;
if (hasRendererChangedInfo() != other.hasRendererChangedInfo()) return false;
if (hasRendererChangedInfo()) {
if (!getRendererChangedInfo()
.equals(other.getRendererChangedInfo())) 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) + FORWARD_TYPE_FIELD_NUMBER;
hash = (53 * hash) + forwardType_;
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());
if (hasRendererChangedInfo()) {
hash = (37 * hash) + RENDERER_CHANGED_INFO_FIELD_NUMBER;
hash = (53 * hash) + getRendererChangedInfo().hashCode();
}
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>
* CmdId: 343
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </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();
forwardType_ = 0;
entityId_ = 0;
isServerCache_ = false;
if (rendererChangedInfoBuilder_ == null) {
rendererChangedInfo_ = null;
} else {
rendererChangedInfo_ = null;
rendererChangedInfoBuilder_ = null;
}
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);
result.forwardType_ = forwardType_;
result.entityId_ = entityId_;
result.isServerCache_ = isServerCache_;
if (rendererChangedInfoBuilder_ == null) {
result.rendererChangedInfo_ = rendererChangedInfo_;
} else {
result.rendererChangedInfo_ = rendererChangedInfoBuilder_.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.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.forwardType_ != 0) {
setForwardTypeValue(other.getForwardTypeValue());
}
if (other.getEntityId() != 0) {
setEntityId(other.getEntityId());
}
if (other.getIsServerCache() != false) {
setIsServerCache(other.getIsServerCache());
}
if (other.hasRendererChangedInfo()) {
mergeRendererChangedInfo(other.getRendererChangedInfo());
}
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 int forwardType_ = 0;
/**
* <code>.ForwardType forward_type = 8;</code>
* @return The enum numeric value on the wire for forwardType.
*/
@java.lang.Override public int getForwardTypeValue() {
return forwardType_;
}
/**
* <code>.ForwardType forward_type = 8;</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 = 8;</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 = 8;</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 = 8;</code>
* @return This builder for chaining.
*/
public Builder clearForwardType() {
forwardType_ = 0;
onChanged();
return this;
}
private int entityId_ ;
/**
* <code>uint32 entity_id = 15;</code>
* @return The entityId.
*/
@java.lang.Override
public int getEntityId() {
return entityId_;
}
/**
* <code>uint32 entity_id = 15;</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 = 15;</code>
* @return This builder for chaining.
*/
public Builder clearEntityId() {
entityId_ = 0;
onChanged();
return this;
}
private boolean isServerCache_ ;
/**
* <code>bool is_server_cache = 3;</code>
* @return The isServerCache.
*/
@java.lang.Override
public boolean getIsServerCache() {
return isServerCache_;
}
/**
* <code>bool is_server_cache = 3;</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 = 3;</code>
* @return This builder for chaining.
*/
public Builder clearIsServerCache() {
isServerCache_ = false;
onChanged();
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 = 5;</code>
* @return Whether the rendererChangedInfo field is set.
*/
public boolean hasRendererChangedInfo() {
return rendererChangedInfoBuilder_ != null || rendererChangedInfo_ != null;
}
/**
* <code>.EntityRendererChangedInfo renderer_changed_info = 5;</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 = 5;</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 = 5;</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 = 5;</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 = 5;</code>
*/
public Builder clearRendererChangedInfo() {
if (rendererChangedInfoBuilder_ == null) {
rendererChangedInfo_ = null;
onChanged();
} else {
rendererChangedInfo_ = null;
rendererChangedInfoBuilder_ = null;
}
return this;
}
/**
* <code>.EntityRendererChangedInfo renderer_changed_info = 5;</code>
*/
public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.Builder getRendererChangedInfoBuilder() {
onChanged();
return getRendererChangedInfoFieldBuilder().getBuilder();
}
/**
* <code>.EntityRendererChangedInfo renderer_changed_info = 5;</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 = 5;</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_;
}
@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\022\"\n\014forward_type\030\010 \001(\0162\014.ForwardT" +
"ype\022\021\n\tentity_id\030\017 \001(\r\022\027\n\017is_server_cach" +
"e\030\003 \001(\010\0229\n\025renderer_changed_info\030\005 \001(\0132\032" +
".EntityRendererChangedInfoB\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[] { "ForwardType", "EntityId", "IsServerCache", "RendererChangedInfo", });
emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.ForwardTypeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}