// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EntityMoveInfo.proto
package emu.grasscutter.net.proto;
public final class EntityMoveInfoOuterClass {
private EntityMoveInfoOuterClass() {}
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 EntityMoveInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:EntityMoveInfo)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 entity_id = 1;
* @return The entityId.
*/
int getEntityId();
/**
* .MotionInfo motion_info = 2;
* @return Whether the motionInfo field is set.
*/
boolean hasMotionInfo();
/**
* .MotionInfo motion_info = 2;
* @return The motionInfo.
*/
emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo getMotionInfo();
/**
* .MotionInfo motion_info = 2;
*/
emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfoOrBuilder getMotionInfoOrBuilder();
/**
* uint32 scene_time = 3;
* @return The sceneTime.
*/
int getSceneTime();
/**
* uint32 reliable_seq = 4;
* @return The reliableSeq.
*/
int getReliableSeq();
/**
* bool is_reliable = 5;
* @return The isReliable.
*/
boolean getIsReliable();
}
/**
* Protobuf type {@code EntityMoveInfo}
*/
public static final class EntityMoveInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:EntityMoveInfo)
EntityMoveInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use EntityMoveInfo.newBuilder() to construct.
private EntityMoveInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EntityMoveInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EntityMoveInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EntityMoveInfo(
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: {
entityId_ = input.readUInt32();
break;
}
case 18: {
emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.Builder subBuilder = null;
if (motionInfo_ != null) {
subBuilder = motionInfo_.toBuilder();
}
motionInfo_ = input.readMessage(emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(motionInfo_);
motionInfo_ = subBuilder.buildPartial();
}
break;
}
case 24: {
sceneTime_ = input.readUInt32();
break;
}
case 32: {
reliableSeq_ = input.readUInt32();
break;
}
case 40: {
isReliable_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.EntityMoveInfoOuterClass.internal_static_EntityMoveInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.EntityMoveInfoOuterClass.internal_static_EntityMoveInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo.class, emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo.Builder.class);
}
public static final int ENTITY_ID_FIELD_NUMBER = 1;
private int entityId_;
/**
* uint32 entity_id = 1;
* @return The entityId.
*/
@java.lang.Override
public int getEntityId() {
return entityId_;
}
public static final int MOTION_INFO_FIELD_NUMBER = 2;
private emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo motionInfo_;
/**
* .MotionInfo motion_info = 2;
* @return Whether the motionInfo field is set.
*/
@java.lang.Override
public boolean hasMotionInfo() {
return motionInfo_ != null;
}
/**
* .MotionInfo motion_info = 2;
* @return The motionInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo getMotionInfo() {
return motionInfo_ == null ? emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.getDefaultInstance() : motionInfo_;
}
/**
* .MotionInfo motion_info = 2;
*/
@java.lang.Override
public emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfoOrBuilder getMotionInfoOrBuilder() {
return getMotionInfo();
}
public static final int SCENE_TIME_FIELD_NUMBER = 3;
private int sceneTime_;
/**
* uint32 scene_time = 3;
* @return The sceneTime.
*/
@java.lang.Override
public int getSceneTime() {
return sceneTime_;
}
public static final int RELIABLE_SEQ_FIELD_NUMBER = 4;
private int reliableSeq_;
/**
* uint32 reliable_seq = 4;
* @return The reliableSeq.
*/
@java.lang.Override
public int getReliableSeq() {
return reliableSeq_;
}
public static final int IS_RELIABLE_FIELD_NUMBER = 5;
private boolean isReliable_;
/**
* bool is_reliable = 5;
* @return The isReliable.
*/
@java.lang.Override
public boolean getIsReliable() {
return isReliable_;
}
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 (entityId_ != 0) {
output.writeUInt32(1, entityId_);
}
if (motionInfo_ != null) {
output.writeMessage(2, getMotionInfo());
}
if (sceneTime_ != 0) {
output.writeUInt32(3, sceneTime_);
}
if (reliableSeq_ != 0) {
output.writeUInt32(4, reliableSeq_);
}
if (isReliable_ != false) {
output.writeBool(5, isReliable_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (entityId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, entityId_);
}
if (motionInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getMotionInfo());
}
if (sceneTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, sceneTime_);
}
if (reliableSeq_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, reliableSeq_);
}
if (isReliable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, isReliable_);
}
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.EntityMoveInfoOuterClass.EntityMoveInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo other = (emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo) obj;
if (getEntityId()
!= other.getEntityId()) return false;
if (hasMotionInfo() != other.hasMotionInfo()) return false;
if (hasMotionInfo()) {
if (!getMotionInfo()
.equals(other.getMotionInfo())) return false;
}
if (getSceneTime()
!= other.getSceneTime()) return false;
if (getReliableSeq()
!= other.getReliableSeq()) return false;
if (getIsReliable()
!= other.getIsReliable()) 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) + ENTITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getEntityId();
if (hasMotionInfo()) {
hash = (37 * hash) + MOTION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getMotionInfo().hashCode();
}
hash = (37 * hash) + SCENE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getSceneTime();
hash = (37 * hash) + RELIABLE_SEQ_FIELD_NUMBER;
hash = (53 * hash) + getReliableSeq();
hash = (37 * hash) + IS_RELIABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsReliable());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo 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.EntityMoveInfoOuterClass.EntityMoveInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo 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.EntityMoveInfoOuterClass.EntityMoveInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo 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.EntityMoveInfoOuterClass.EntityMoveInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo 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.EntityMoveInfoOuterClass.EntityMoveInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo 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.EntityMoveInfoOuterClass.EntityMoveInfo 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 EntityMoveInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:EntityMoveInfo)
emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.EntityMoveInfoOuterClass.internal_static_EntityMoveInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.EntityMoveInfoOuterClass.internal_static_EntityMoveInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo.class, emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo.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();
entityId_ = 0;
if (motionInfoBuilder_ == null) {
motionInfo_ = null;
} else {
motionInfo_ = null;
motionInfoBuilder_ = null;
}
sceneTime_ = 0;
reliableSeq_ = 0;
isReliable_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.EntityMoveInfoOuterClass.internal_static_EntityMoveInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo build() {
emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo buildPartial() {
emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo result = new emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo(this);
result.entityId_ = entityId_;
if (motionInfoBuilder_ == null) {
result.motionInfo_ = motionInfo_;
} else {
result.motionInfo_ = motionInfoBuilder_.build();
}
result.sceneTime_ = sceneTime_;
result.reliableSeq_ = reliableSeq_;
result.isReliable_ = isReliable_;
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.EntityMoveInfoOuterClass.EntityMoveInfo) {
return mergeFrom((emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo other) {
if (other == emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo.getDefaultInstance()) return this;
if (other.getEntityId() != 0) {
setEntityId(other.getEntityId());
}
if (other.hasMotionInfo()) {
mergeMotionInfo(other.getMotionInfo());
}
if (other.getSceneTime() != 0) {
setSceneTime(other.getSceneTime());
}
if (other.getReliableSeq() != 0) {
setReliableSeq(other.getReliableSeq());
}
if (other.getIsReliable() != false) {
setIsReliable(other.getIsReliable());
}
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.EntityMoveInfoOuterClass.EntityMoveInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int entityId_ ;
/**
* uint32 entity_id = 1;
* @return The entityId.
*/
@java.lang.Override
public int getEntityId() {
return entityId_;
}
/**
* uint32 entity_id = 1;
* @param value The entityId to set.
* @return This builder for chaining.
*/
public Builder setEntityId(int value) {
entityId_ = value;
onChanged();
return this;
}
/**
* uint32 entity_id = 1;
* @return This builder for chaining.
*/
public Builder clearEntityId() {
entityId_ = 0;
onChanged();
return this;
}
private emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo motionInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo, emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.Builder, emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfoOrBuilder> motionInfoBuilder_;
/**
* .MotionInfo motion_info = 2;
* @return Whether the motionInfo field is set.
*/
public boolean hasMotionInfo() {
return motionInfoBuilder_ != null || motionInfo_ != null;
}
/**
* .MotionInfo motion_info = 2;
* @return The motionInfo.
*/
public emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo getMotionInfo() {
if (motionInfoBuilder_ == null) {
return motionInfo_ == null ? emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.getDefaultInstance() : motionInfo_;
} else {
return motionInfoBuilder_.getMessage();
}
}
/**
* .MotionInfo motion_info = 2;
*/
public Builder setMotionInfo(emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo value) {
if (motionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
motionInfo_ = value;
onChanged();
} else {
motionInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .MotionInfo motion_info = 2;
*/
public Builder setMotionInfo(
emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.Builder builderForValue) {
if (motionInfoBuilder_ == null) {
motionInfo_ = builderForValue.build();
onChanged();
} else {
motionInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .MotionInfo motion_info = 2;
*/
public Builder mergeMotionInfo(emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo value) {
if (motionInfoBuilder_ == null) {
if (motionInfo_ != null) {
motionInfo_ =
emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.newBuilder(motionInfo_).mergeFrom(value).buildPartial();
} else {
motionInfo_ = value;
}
onChanged();
} else {
motionInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .MotionInfo motion_info = 2;
*/
public Builder clearMotionInfo() {
if (motionInfoBuilder_ == null) {
motionInfo_ = null;
onChanged();
} else {
motionInfo_ = null;
motionInfoBuilder_ = null;
}
return this;
}
/**
* .MotionInfo motion_info = 2;
*/
public emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.Builder getMotionInfoBuilder() {
onChanged();
return getMotionInfoFieldBuilder().getBuilder();
}
/**
* .MotionInfo motion_info = 2;
*/
public emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfoOrBuilder getMotionInfoOrBuilder() {
if (motionInfoBuilder_ != null) {
return motionInfoBuilder_.getMessageOrBuilder();
} else {
return motionInfo_ == null ?
emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.getDefaultInstance() : motionInfo_;
}
}
/**
* .MotionInfo motion_info = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo, emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.Builder, emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfoOrBuilder>
getMotionInfoFieldBuilder() {
if (motionInfoBuilder_ == null) {
motionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo, emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.Builder, emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfoOrBuilder>(
getMotionInfo(),
getParentForChildren(),
isClean());
motionInfo_ = null;
}
return motionInfoBuilder_;
}
private int sceneTime_ ;
/**
* uint32 scene_time = 3;
* @return The sceneTime.
*/
@java.lang.Override
public int getSceneTime() {
return sceneTime_;
}
/**
* uint32 scene_time = 3;
* @param value The sceneTime to set.
* @return This builder for chaining.
*/
public Builder setSceneTime(int value) {
sceneTime_ = value;
onChanged();
return this;
}
/**
* uint32 scene_time = 3;
* @return This builder for chaining.
*/
public Builder clearSceneTime() {
sceneTime_ = 0;
onChanged();
return this;
}
private int reliableSeq_ ;
/**
* uint32 reliable_seq = 4;
* @return The reliableSeq.
*/
@java.lang.Override
public int getReliableSeq() {
return reliableSeq_;
}
/**
* uint32 reliable_seq = 4;
* @param value The reliableSeq to set.
* @return This builder for chaining.
*/
public Builder setReliableSeq(int value) {
reliableSeq_ = value;
onChanged();
return this;
}
/**
* uint32 reliable_seq = 4;
* @return This builder for chaining.
*/
public Builder clearReliableSeq() {
reliableSeq_ = 0;
onChanged();
return this;
}
private boolean isReliable_ ;
/**
* bool is_reliable = 5;
* @return The isReliable.
*/
@java.lang.Override
public boolean getIsReliable() {
return isReliable_;
}
/**
* bool is_reliable = 5;
* @param value The isReliable to set.
* @return This builder for chaining.
*/
public Builder setIsReliable(boolean value) {
isReliable_ = value;
onChanged();
return this;
}
/**
* bool is_reliable = 5;
* @return This builder for chaining.
*/
public Builder clearIsReliable() {
isReliable_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:EntityMoveInfo)
}
// @@protoc_insertion_point(class_scope:EntityMoveInfo)
private static final emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo();
}
public static emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EntityMoveInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EntityMoveInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.EntityMoveInfoOuterClass.EntityMoveInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_EntityMoveInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_EntityMoveInfo_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\024EntityMoveInfo.proto\032\020MotionInfo.proto" +
"\"\204\001\n\016EntityMoveInfo\022\021\n\tentity_id\030\001 \001(\r\022 " +
"\n\013motion_info\030\002 \001(\0132\013.MotionInfo\022\022\n\nscen" +
"e_time\030\003 \001(\r\022\024\n\014reliable_seq\030\004 \001(\r\022\023\n\013is" +
"_reliable\030\005 \001(\010B\033\n\031emu.grasscutter.net.p" +
"rotob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.MotionInfoOuterClass.getDescriptor(),
});
internal_static_EntityMoveInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_EntityMoveInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_EntityMoveInfo_descriptor,
new java.lang.String[] { "EntityId", "MotionInfo", "SceneTime", "ReliableSeq", "IsReliable", });
emu.grasscutter.net.proto.MotionInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}