emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EvtFixedRushMove.proto
package emu.grasscutter.net.proto;
public final class EvtFixedRushMoveOuterClass {
private EvtFixedRushMoveOuterClass() {}
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 EvtFixedRushMoveOrBuilder extends
// @@protoc_insertion_point(interface_extends:EvtFixedRushMove)
com.google.protobuf.MessageOrBuilder {
/**
* float speed = 12;
* @return The speed.
*/
float getSpeed();
/**
* string override_collider = 8;
* @return The overrideCollider.
*/
java.lang.String getOverrideCollider();
/**
* string override_collider = 8;
* @return The bytes for overrideCollider.
*/
com.google.protobuf.ByteString
getOverrideColliderBytes();
/**
* bool IFFPKMEPDMA = 11;
* @return The iFFPKMEPDMA.
*/
boolean getIFFPKMEPDMA();
/**
* uint32 entity_id = 15;
* @return The entityId.
*/
int getEntityId();
/**
* repeated uint32 animator_state_id_list = 10;
* @return A list containing the animatorStateIdList.
*/
java.util.List getAnimatorStateIdListList();
/**
* repeated uint32 animator_state_id_list = 10;
* @return The count of animatorStateIdList.
*/
int getAnimatorStateIdListCount();
/**
* repeated uint32 animator_state_id_list = 10;
* @param index The index of the element to return.
* @return The animatorStateIdList at the given index.
*/
int getAnimatorStateIdList(int index);
/**
* .Vector target_pos = 3;
* @return Whether the targetPos field is set.
*/
boolean hasTargetPos();
/**
* .Vector target_pos = 3;
* @return The targetPos.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getTargetPos();
/**
* .Vector target_pos = 3;
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTargetPosOrBuilder();
/**
* bool CEIIFCMKJJC = 13;
* @return The cEIIFCMKJJC.
*/
boolean getCEIIFCMKJJC();
}
/**
*
* Obf: JAGPFBDDEAN
*
*
* Protobuf type {@code EvtFixedRushMove}
*/
public static final class EvtFixedRushMove extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:EvtFixedRushMove)
EvtFixedRushMoveOrBuilder {
private static final long serialVersionUID = 0L;
// Use EvtFixedRushMove.newBuilder() to construct.
private EvtFixedRushMove(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EvtFixedRushMove() {
overrideCollider_ = "";
animatorStateIdList_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EvtFixedRushMove();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EvtFixedRushMove(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 26: {
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
if (targetPos_ != null) {
subBuilder = targetPos_.toBuilder();
}
targetPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(targetPos_);
targetPos_ = subBuilder.buildPartial();
}
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
overrideCollider_ = s;
break;
}
case 80: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
animatorStateIdList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
animatorStateIdList_.addInt(input.readUInt32());
break;
}
case 82: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
animatorStateIdList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
animatorStateIdList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 88: {
iFFPKMEPDMA_ = input.readBool();
break;
}
case 101: {
speed_ = input.readFloat();
break;
}
case 104: {
cEIIFCMKJJC_ = input.readBool();
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
animatorStateIdList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.internal_static_EvtFixedRushMove_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.internal_static_EvtFixedRushMove_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove.class, emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove.Builder.class);
}
public static final int SPEED_FIELD_NUMBER = 12;
private float speed_;
/**
* float speed = 12;
* @return The speed.
*/
@java.lang.Override
public float getSpeed() {
return speed_;
}
public static final int OVERRIDE_COLLIDER_FIELD_NUMBER = 8;
private volatile java.lang.Object overrideCollider_;
/**
* string override_collider = 8;
* @return The overrideCollider.
*/
@java.lang.Override
public java.lang.String getOverrideCollider() {
java.lang.Object ref = overrideCollider_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
overrideCollider_ = s;
return s;
}
}
/**
* string override_collider = 8;
* @return The bytes for overrideCollider.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOverrideColliderBytes() {
java.lang.Object ref = overrideCollider_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
overrideCollider_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IFFPKMEPDMA_FIELD_NUMBER = 11;
private boolean iFFPKMEPDMA_;
/**
* bool IFFPKMEPDMA = 11;
* @return The iFFPKMEPDMA.
*/
@java.lang.Override
public boolean getIFFPKMEPDMA() {
return iFFPKMEPDMA_;
}
public static final int ENTITY_ID_FIELD_NUMBER = 15;
private int entityId_;
/**
* uint32 entity_id = 15;
* @return The entityId.
*/
@java.lang.Override
public int getEntityId() {
return entityId_;
}
public static final int ANIMATOR_STATE_ID_LIST_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.IntList animatorStateIdList_;
/**
* repeated uint32 animator_state_id_list = 10;
* @return A list containing the animatorStateIdList.
*/
@java.lang.Override
public java.util.List
getAnimatorStateIdListList() {
return animatorStateIdList_;
}
/**
* repeated uint32 animator_state_id_list = 10;
* @return The count of animatorStateIdList.
*/
public int getAnimatorStateIdListCount() {
return animatorStateIdList_.size();
}
/**
* repeated uint32 animator_state_id_list = 10;
* @param index The index of the element to return.
* @return The animatorStateIdList at the given index.
*/
public int getAnimatorStateIdList(int index) {
return animatorStateIdList_.getInt(index);
}
private int animatorStateIdListMemoizedSerializedSize = -1;
public static final int TARGET_POS_FIELD_NUMBER = 3;
private emu.grasscutter.net.proto.VectorOuterClass.Vector targetPos_;
/**
* .Vector target_pos = 3;
* @return Whether the targetPos field is set.
*/
@java.lang.Override
public boolean hasTargetPos() {
return targetPos_ != null;
}
/**
* .Vector target_pos = 3;
* @return The targetPos.
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.Vector getTargetPos() {
return targetPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : targetPos_;
}
/**
* .Vector target_pos = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTargetPosOrBuilder() {
return getTargetPos();
}
public static final int CEIIFCMKJJC_FIELD_NUMBER = 13;
private boolean cEIIFCMKJJC_;
/**
* bool CEIIFCMKJJC = 13;
* @return The cEIIFCMKJJC.
*/
@java.lang.Override
public boolean getCEIIFCMKJJC() {
return cEIIFCMKJJC_;
}
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 {
getSerializedSize();
if (targetPos_ != null) {
output.writeMessage(3, getTargetPos());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(overrideCollider_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, overrideCollider_);
}
if (getAnimatorStateIdListList().size() > 0) {
output.writeUInt32NoTag(82);
output.writeUInt32NoTag(animatorStateIdListMemoizedSerializedSize);
}
for (int i = 0; i < animatorStateIdList_.size(); i++) {
output.writeUInt32NoTag(animatorStateIdList_.getInt(i));
}
if (iFFPKMEPDMA_ != false) {
output.writeBool(11, iFFPKMEPDMA_);
}
if (speed_ != 0F) {
output.writeFloat(12, speed_);
}
if (cEIIFCMKJJC_ != false) {
output.writeBool(13, cEIIFCMKJJC_);
}
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 (targetPos_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTargetPos());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(overrideCollider_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, overrideCollider_);
}
{
int dataSize = 0;
for (int i = 0; i < animatorStateIdList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(animatorStateIdList_.getInt(i));
}
size += dataSize;
if (!getAnimatorStateIdListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
animatorStateIdListMemoizedSerializedSize = dataSize;
}
if (iFFPKMEPDMA_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, iFFPKMEPDMA_);
}
if (speed_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(12, speed_);
}
if (cEIIFCMKJJC_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, cEIIFCMKJJC_);
}
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.EvtFixedRushMoveOuterClass.EvtFixedRushMove)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove other = (emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove) obj;
if (java.lang.Float.floatToIntBits(getSpeed())
!= java.lang.Float.floatToIntBits(
other.getSpeed())) return false;
if (!getOverrideCollider()
.equals(other.getOverrideCollider())) return false;
if (getIFFPKMEPDMA()
!= other.getIFFPKMEPDMA()) return false;
if (getEntityId()
!= other.getEntityId()) return false;
if (!getAnimatorStateIdListList()
.equals(other.getAnimatorStateIdListList())) return false;
if (hasTargetPos() != other.hasTargetPos()) return false;
if (hasTargetPos()) {
if (!getTargetPos()
.equals(other.getTargetPos())) return false;
}
if (getCEIIFCMKJJC()
!= other.getCEIIFCMKJJC()) 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) + SPEED_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getSpeed());
hash = (37 * hash) + OVERRIDE_COLLIDER_FIELD_NUMBER;
hash = (53 * hash) + getOverrideCollider().hashCode();
hash = (37 * hash) + IFFPKMEPDMA_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIFFPKMEPDMA());
hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getEntityId();
if (getAnimatorStateIdListCount() > 0) {
hash = (37 * hash) + ANIMATOR_STATE_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getAnimatorStateIdListList().hashCode();
}
if (hasTargetPos()) {
hash = (37 * hash) + TARGET_POS_FIELD_NUMBER;
hash = (53 * hash) + getTargetPos().hashCode();
}
hash = (37 * hash) + CEIIFCMKJJC_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCEIIFCMKJJC());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove 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.EvtFixedRushMoveOuterClass.EvtFixedRushMove parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove 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.EvtFixedRushMoveOuterClass.EvtFixedRushMove parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove 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.EvtFixedRushMoveOuterClass.EvtFixedRushMove parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove 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.EvtFixedRushMoveOuterClass.EvtFixedRushMove parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove 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.EvtFixedRushMoveOuterClass.EvtFixedRushMove 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;
}
/**
*
* Obf: JAGPFBDDEAN
*
*
* Protobuf type {@code EvtFixedRushMove}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:EvtFixedRushMove)
emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMoveOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.internal_static_EvtFixedRushMove_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.internal_static_EvtFixedRushMove_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove.class, emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove.Builder.class);
}
// Construct using emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove.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();
speed_ = 0F;
overrideCollider_ = "";
iFFPKMEPDMA_ = false;
entityId_ = 0;
animatorStateIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
if (targetPosBuilder_ == null) {
targetPos_ = null;
} else {
targetPos_ = null;
targetPosBuilder_ = null;
}
cEIIFCMKJJC_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.internal_static_EvtFixedRushMove_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove getDefaultInstanceForType() {
return emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove build() {
emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove buildPartial() {
emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove result = new emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove(this);
int from_bitField0_ = bitField0_;
result.speed_ = speed_;
result.overrideCollider_ = overrideCollider_;
result.iFFPKMEPDMA_ = iFFPKMEPDMA_;
result.entityId_ = entityId_;
if (((bitField0_ & 0x00000001) != 0)) {
animatorStateIdList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.animatorStateIdList_ = animatorStateIdList_;
if (targetPosBuilder_ == null) {
result.targetPos_ = targetPos_;
} else {
result.targetPos_ = targetPosBuilder_.build();
}
result.cEIIFCMKJJC_ = cEIIFCMKJJC_;
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.EvtFixedRushMoveOuterClass.EvtFixedRushMove) {
return mergeFrom((emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove other) {
if (other == emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove.getDefaultInstance()) return this;
if (other.getSpeed() != 0F) {
setSpeed(other.getSpeed());
}
if (!other.getOverrideCollider().isEmpty()) {
overrideCollider_ = other.overrideCollider_;
onChanged();
}
if (other.getIFFPKMEPDMA() != false) {
setIFFPKMEPDMA(other.getIFFPKMEPDMA());
}
if (other.getEntityId() != 0) {
setEntityId(other.getEntityId());
}
if (!other.animatorStateIdList_.isEmpty()) {
if (animatorStateIdList_.isEmpty()) {
animatorStateIdList_ = other.animatorStateIdList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAnimatorStateIdListIsMutable();
animatorStateIdList_.addAll(other.animatorStateIdList_);
}
onChanged();
}
if (other.hasTargetPos()) {
mergeTargetPos(other.getTargetPos());
}
if (other.getCEIIFCMKJJC() != false) {
setCEIIFCMKJJC(other.getCEIIFCMKJJC());
}
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.EvtFixedRushMoveOuterClass.EvtFixedRushMove parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private float speed_ ;
/**
* float speed = 12;
* @return The speed.
*/
@java.lang.Override
public float getSpeed() {
return speed_;
}
/**
* float speed = 12;
* @param value The speed to set.
* @return This builder for chaining.
*/
public Builder setSpeed(float value) {
speed_ = value;
onChanged();
return this;
}
/**
* float speed = 12;
* @return This builder for chaining.
*/
public Builder clearSpeed() {
speed_ = 0F;
onChanged();
return this;
}
private java.lang.Object overrideCollider_ = "";
/**
* string override_collider = 8;
* @return The overrideCollider.
*/
public java.lang.String getOverrideCollider() {
java.lang.Object ref = overrideCollider_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
overrideCollider_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string override_collider = 8;
* @return The bytes for overrideCollider.
*/
public com.google.protobuf.ByteString
getOverrideColliderBytes() {
java.lang.Object ref = overrideCollider_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
overrideCollider_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string override_collider = 8;
* @param value The overrideCollider to set.
* @return This builder for chaining.
*/
public Builder setOverrideCollider(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
overrideCollider_ = value;
onChanged();
return this;
}
/**
* string override_collider = 8;
* @return This builder for chaining.
*/
public Builder clearOverrideCollider() {
overrideCollider_ = getDefaultInstance().getOverrideCollider();
onChanged();
return this;
}
/**
* string override_collider = 8;
* @param value The bytes for overrideCollider to set.
* @return This builder for chaining.
*/
public Builder setOverrideColliderBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
overrideCollider_ = value;
onChanged();
return this;
}
private boolean iFFPKMEPDMA_ ;
/**
* bool IFFPKMEPDMA = 11;
* @return The iFFPKMEPDMA.
*/
@java.lang.Override
public boolean getIFFPKMEPDMA() {
return iFFPKMEPDMA_;
}
/**
* bool IFFPKMEPDMA = 11;
* @param value The iFFPKMEPDMA to set.
* @return This builder for chaining.
*/
public Builder setIFFPKMEPDMA(boolean value) {
iFFPKMEPDMA_ = value;
onChanged();
return this;
}
/**
* bool IFFPKMEPDMA = 11;
* @return This builder for chaining.
*/
public Builder clearIFFPKMEPDMA() {
iFFPKMEPDMA_ = false;
onChanged();
return this;
}
private int entityId_ ;
/**
* uint32 entity_id = 15;
* @return The entityId.
*/
@java.lang.Override
public int getEntityId() {
return entityId_;
}
/**
* uint32 entity_id = 15;
* @param value The entityId to set.
* @return This builder for chaining.
*/
public Builder setEntityId(int value) {
entityId_ = value;
onChanged();
return this;
}
/**
* uint32 entity_id = 15;
* @return This builder for chaining.
*/
public Builder clearEntityId() {
entityId_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList animatorStateIdList_ = emptyIntList();
private void ensureAnimatorStateIdListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
animatorStateIdList_ = mutableCopy(animatorStateIdList_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint32 animator_state_id_list = 10;
* @return A list containing the animatorStateIdList.
*/
public java.util.List
getAnimatorStateIdListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(animatorStateIdList_) : animatorStateIdList_;
}
/**
* repeated uint32 animator_state_id_list = 10;
* @return The count of animatorStateIdList.
*/
public int getAnimatorStateIdListCount() {
return animatorStateIdList_.size();
}
/**
* repeated uint32 animator_state_id_list = 10;
* @param index The index of the element to return.
* @return The animatorStateIdList at the given index.
*/
public int getAnimatorStateIdList(int index) {
return animatorStateIdList_.getInt(index);
}
/**
* repeated uint32 animator_state_id_list = 10;
* @param index The index to set the value at.
* @param value The animatorStateIdList to set.
* @return This builder for chaining.
*/
public Builder setAnimatorStateIdList(
int index, int value) {
ensureAnimatorStateIdListIsMutable();
animatorStateIdList_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 animator_state_id_list = 10;
* @param value The animatorStateIdList to add.
* @return This builder for chaining.
*/
public Builder addAnimatorStateIdList(int value) {
ensureAnimatorStateIdListIsMutable();
animatorStateIdList_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 animator_state_id_list = 10;
* @param values The animatorStateIdList to add.
* @return This builder for chaining.
*/
public Builder addAllAnimatorStateIdList(
java.lang.Iterable extends java.lang.Integer> values) {
ensureAnimatorStateIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, animatorStateIdList_);
onChanged();
return this;
}
/**
* repeated uint32 animator_state_id_list = 10;
* @return This builder for chaining.
*/
public Builder clearAnimatorStateIdList() {
animatorStateIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private emu.grasscutter.net.proto.VectorOuterClass.Vector targetPos_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> targetPosBuilder_;
/**
* .Vector target_pos = 3;
* @return Whether the targetPos field is set.
*/
public boolean hasTargetPos() {
return targetPosBuilder_ != null || targetPos_ != null;
}
/**
* .Vector target_pos = 3;
* @return The targetPos.
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector getTargetPos() {
if (targetPosBuilder_ == null) {
return targetPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : targetPos_;
} else {
return targetPosBuilder_.getMessage();
}
}
/**
* .Vector target_pos = 3;
*/
public Builder setTargetPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (targetPosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
targetPos_ = value;
onChanged();
} else {
targetPosBuilder_.setMessage(value);
}
return this;
}
/**
* .Vector target_pos = 3;
*/
public Builder setTargetPos(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (targetPosBuilder_ == null) {
targetPos_ = builderForValue.build();
onChanged();
} else {
targetPosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Vector target_pos = 3;
*/
public Builder mergeTargetPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (targetPosBuilder_ == null) {
if (targetPos_ != null) {
targetPos_ =
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(targetPos_).mergeFrom(value).buildPartial();
} else {
targetPos_ = value;
}
onChanged();
} else {
targetPosBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Vector target_pos = 3;
*/
public Builder clearTargetPos() {
if (targetPosBuilder_ == null) {
targetPos_ = null;
onChanged();
} else {
targetPos_ = null;
targetPosBuilder_ = null;
}
return this;
}
/**
* .Vector target_pos = 3;
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getTargetPosBuilder() {
onChanged();
return getTargetPosFieldBuilder().getBuilder();
}
/**
* .Vector target_pos = 3;
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTargetPosOrBuilder() {
if (targetPosBuilder_ != null) {
return targetPosBuilder_.getMessageOrBuilder();
} else {
return targetPos_ == null ?
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : targetPos_;
}
}
/**
* .Vector target_pos = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getTargetPosFieldBuilder() {
if (targetPosBuilder_ == null) {
targetPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
getTargetPos(),
getParentForChildren(),
isClean());
targetPos_ = null;
}
return targetPosBuilder_;
}
private boolean cEIIFCMKJJC_ ;
/**
* bool CEIIFCMKJJC = 13;
* @return The cEIIFCMKJJC.
*/
@java.lang.Override
public boolean getCEIIFCMKJJC() {
return cEIIFCMKJJC_;
}
/**
* bool CEIIFCMKJJC = 13;
* @param value The cEIIFCMKJJC to set.
* @return This builder for chaining.
*/
public Builder setCEIIFCMKJJC(boolean value) {
cEIIFCMKJJC_ = value;
onChanged();
return this;
}
/**
* bool CEIIFCMKJJC = 13;
* @return This builder for chaining.
*/
public Builder clearCEIIFCMKJJC() {
cEIIFCMKJJC_ = 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:EvtFixedRushMove)
}
// @@protoc_insertion_point(class_scope:EvtFixedRushMove)
private static final emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove();
}
public static emu.grasscutter.net.proto.EvtFixedRushMoveOuterClass.EvtFixedRushMove getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EvtFixedRushMove parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EvtFixedRushMove(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.EvtFixedRushMoveOuterClass.EvtFixedRushMove getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_EvtFixedRushMove_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_EvtFixedRushMove_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\026EvtFixedRushMove.proto\032\014Vector.proto\"\266" +
"\001\n\020EvtFixedRushMove\022\r\n\005speed\030\014 \001(\002\022\031\n\021ov" +
"erride_collider\030\010 \001(\t\022\023\n\013IFFPKMEPDMA\030\013 \001" +
"(\010\022\021\n\tentity_id\030\017 \001(\r\022\036\n\026animator_state_" +
"id_list\030\n \003(\r\022\033\n\ntarget_pos\030\003 \001(\0132\007.Vect" +
"or\022\023\n\013CEIIFCMKJJC\030\r \001(\010B\033\n\031emu.grasscutt" +
"er.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
});
internal_static_EvtFixedRushMove_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_EvtFixedRushMove_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_EvtFixedRushMove_descriptor,
new java.lang.String[] { "Speed", "OverrideCollider", "IFFPKMEPDMA", "EntityId", "AnimatorStateIdList", "TargetPos", "CEIIFCMKJJC", });
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}