emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass 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: BreakoutPhysicalObject.proto
package emu.grasscutter.net.proto;
public final class BreakoutPhysicalObjectOuterClass {
private BreakoutPhysicalObjectOuterClass() {}
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 BreakoutPhysicalObjectOrBuilder extends
// @@protoc_insertion_point(interface_extends:BreakoutPhysicalObject)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 id = 1;
* @return The id.
*/
int getId();
/**
* uint32 index = 2;
* @return The index.
*/
int getIndex();
/**
* bool is_active = 3;
* @return The isActive.
*/
boolean getIsActive();
/**
* .BreakoutVector2 pos = 4;
* @return Whether the pos field is set.
*/
boolean hasPos();
/**
* .BreakoutVector2 pos = 4;
* @return The pos.
*/
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getPos();
/**
* .BreakoutVector2 pos = 4;
*/
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getPosOrBuilder();
/**
* .BreakoutVector2 move_dir = 5;
* @return Whether the moveDir field is set.
*/
boolean hasMoveDir();
/**
* .BreakoutVector2 move_dir = 5;
* @return The moveDir.
*/
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getMoveDir();
/**
* .BreakoutVector2 move_dir = 5;
*/
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getMoveDirOrBuilder();
/**
* int32 speed = 6;
* @return The speed.
*/
int getSpeed();
/**
* uint32 init_peer_id = 7;
* @return The initPeerId.
*/
int getInitPeerId();
/**
* uint32 state = 8;
* @return The state.
*/
int getState();
/**
* uint32 element_type = 9;
* @return The elementType.
*/
int getElementType();
/**
* uint32 element_reaction_buff = 10;
* @return The elementReactionBuff.
*/
int getElementReactionBuff();
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
java.util.List
getModifierListList();
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier getModifierList(int index);
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
int getModifierListCount();
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
java.util.List extends emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifierOrBuilder>
getModifierListOrBuilderList();
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifierOrBuilder getModifierListOrBuilder(
int index);
/**
* int32 total_rotation = 12;
* @return The totalRotation.
*/
int getTotalRotation();
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
java.util.List
getInfoListList();
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo getInfoList(int index);
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
int getInfoListCount();
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
java.util.List extends emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfoOrBuilder>
getInfoListOrBuilderList();
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfoOrBuilder getInfoListOrBuilder(
int index);
/**
* uint32 last_hit_peer_id = 14;
* @return The lastHitPeerId.
*/
int getLastHitPeerId();
/**
* uint32 speed_increase_count = 15;
* @return The speedIncreaseCount.
*/
int getSpeedIncreaseCount();
/**
* int32 offset = 16;
* @return The offset.
*/
int getOffset();
}
/**
*
* Obf: NFMHCAILCIF
*
*
* Protobuf type {@code BreakoutPhysicalObject}
*/
public static final class BreakoutPhysicalObject extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:BreakoutPhysicalObject)
BreakoutPhysicalObjectOrBuilder {
private static final long serialVersionUID = 0L;
// Use BreakoutPhysicalObject.newBuilder() to construct.
private BreakoutPhysicalObject(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BreakoutPhysicalObject() {
modifierList_ = java.util.Collections.emptyList();
infoList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BreakoutPhysicalObject();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BreakoutPhysicalObject(
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 8: {
id_ = input.readUInt32();
break;
}
case 16: {
index_ = input.readUInt32();
break;
}
case 24: {
isActive_ = input.readBool();
break;
}
case 34: {
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder subBuilder = null;
if (pos_ != null) {
subBuilder = pos_.toBuilder();
}
pos_ = input.readMessage(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pos_);
pos_ = subBuilder.buildPartial();
}
break;
}
case 42: {
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder subBuilder = null;
if (moveDir_ != null) {
subBuilder = moveDir_.toBuilder();
}
moveDir_ = input.readMessage(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(moveDir_);
moveDir_ = subBuilder.buildPartial();
}
break;
}
case 48: {
speed_ = input.readInt32();
break;
}
case 56: {
initPeerId_ = input.readUInt32();
break;
}
case 64: {
state_ = input.readUInt32();
break;
}
case 72: {
elementType_ = input.readUInt32();
break;
}
case 80: {
elementReactionBuff_ = input.readUInt32();
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
modifierList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
modifierList_.add(
input.readMessage(emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.parser(), extensionRegistry));
break;
}
case 96: {
totalRotation_ = input.readInt32();
break;
}
case 106: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
infoList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
infoList_.add(
input.readMessage(emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.parser(), extensionRegistry));
break;
}
case 112: {
lastHitPeerId_ = input.readUInt32();
break;
}
case 120: {
speedIncreaseCount_ = input.readUInt32();
break;
}
case 128: {
offset_ = input.readInt32();
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)) {
modifierList_ = java.util.Collections.unmodifiableList(modifierList_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
infoList_ = java.util.Collections.unmodifiableList(infoList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.internal_static_BreakoutPhysicalObject_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.internal_static_BreakoutPhysicalObject_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject.class, emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private int id_;
/**
* uint32 id = 1;
* @return The id.
*/
@java.lang.Override
public int getId() {
return id_;
}
public static final int INDEX_FIELD_NUMBER = 2;
private int index_;
/**
* uint32 index = 2;
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
public static final int IS_ACTIVE_FIELD_NUMBER = 3;
private boolean isActive_;
/**
* bool is_active = 3;
* @return The isActive.
*/
@java.lang.Override
public boolean getIsActive() {
return isActive_;
}
public static final int POS_FIELD_NUMBER = 4;
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 pos_;
/**
* .BreakoutVector2 pos = 4;
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return pos_ != null;
}
/**
* .BreakoutVector2 pos = 4;
* @return The pos.
*/
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getPos() {
return pos_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : pos_;
}
/**
* .BreakoutVector2 pos = 4;
*/
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getPosOrBuilder() {
return getPos();
}
public static final int MOVE_DIR_FIELD_NUMBER = 5;
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 moveDir_;
/**
* .BreakoutVector2 move_dir = 5;
* @return Whether the moveDir field is set.
*/
@java.lang.Override
public boolean hasMoveDir() {
return moveDir_ != null;
}
/**
* .BreakoutVector2 move_dir = 5;
* @return The moveDir.
*/
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getMoveDir() {
return moveDir_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : moveDir_;
}
/**
* .BreakoutVector2 move_dir = 5;
*/
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getMoveDirOrBuilder() {
return getMoveDir();
}
public static final int SPEED_FIELD_NUMBER = 6;
private int speed_;
/**
* int32 speed = 6;
* @return The speed.
*/
@java.lang.Override
public int getSpeed() {
return speed_;
}
public static final int INIT_PEER_ID_FIELD_NUMBER = 7;
private int initPeerId_;
/**
* uint32 init_peer_id = 7;
* @return The initPeerId.
*/
@java.lang.Override
public int getInitPeerId() {
return initPeerId_;
}
public static final int STATE_FIELD_NUMBER = 8;
private int state_;
/**
* uint32 state = 8;
* @return The state.
*/
@java.lang.Override
public int getState() {
return state_;
}
public static final int ELEMENT_TYPE_FIELD_NUMBER = 9;
private int elementType_;
/**
* uint32 element_type = 9;
* @return The elementType.
*/
@java.lang.Override
public int getElementType() {
return elementType_;
}
public static final int ELEMENT_REACTION_BUFF_FIELD_NUMBER = 10;
private int elementReactionBuff_;
/**
* uint32 element_reaction_buff = 10;
* @return The elementReactionBuff.
*/
@java.lang.Override
public int getElementReactionBuff() {
return elementReactionBuff_;
}
public static final int MODIFIER_LIST_FIELD_NUMBER = 11;
private java.util.List modifierList_;
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
@java.lang.Override
public java.util.List getModifierListList() {
return modifierList_;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifierOrBuilder>
getModifierListOrBuilderList() {
return modifierList_;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
@java.lang.Override
public int getModifierListCount() {
return modifierList_.size();
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier getModifierList(int index) {
return modifierList_.get(index);
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifierOrBuilder getModifierListOrBuilder(
int index) {
return modifierList_.get(index);
}
public static final int TOTAL_ROTATION_FIELD_NUMBER = 12;
private int totalRotation_;
/**
* int32 total_rotation = 12;
* @return The totalRotation.
*/
@java.lang.Override
public int getTotalRotation() {
return totalRotation_;
}
public static final int INFO_LIST_FIELD_NUMBER = 13;
private java.util.List infoList_;
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
@java.lang.Override
public java.util.List getInfoListList() {
return infoList_;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfoOrBuilder>
getInfoListOrBuilderList() {
return infoList_;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
@java.lang.Override
public int getInfoListCount() {
return infoList_.size();
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo getInfoList(int index) {
return infoList_.get(index);
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfoOrBuilder getInfoListOrBuilder(
int index) {
return infoList_.get(index);
}
public static final int LAST_HIT_PEER_ID_FIELD_NUMBER = 14;
private int lastHitPeerId_;
/**
* uint32 last_hit_peer_id = 14;
* @return The lastHitPeerId.
*/
@java.lang.Override
public int getLastHitPeerId() {
return lastHitPeerId_;
}
public static final int SPEED_INCREASE_COUNT_FIELD_NUMBER = 15;
private int speedIncreaseCount_;
/**
* uint32 speed_increase_count = 15;
* @return The speedIncreaseCount.
*/
@java.lang.Override
public int getSpeedIncreaseCount() {
return speedIncreaseCount_;
}
public static final int OFFSET_FIELD_NUMBER = 16;
private int offset_;
/**
* int32 offset = 16;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
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 (id_ != 0) {
output.writeUInt32(1, id_);
}
if (index_ != 0) {
output.writeUInt32(2, index_);
}
if (isActive_ != false) {
output.writeBool(3, isActive_);
}
if (pos_ != null) {
output.writeMessage(4, getPos());
}
if (moveDir_ != null) {
output.writeMessage(5, getMoveDir());
}
if (speed_ != 0) {
output.writeInt32(6, speed_);
}
if (initPeerId_ != 0) {
output.writeUInt32(7, initPeerId_);
}
if (state_ != 0) {
output.writeUInt32(8, state_);
}
if (elementType_ != 0) {
output.writeUInt32(9, elementType_);
}
if (elementReactionBuff_ != 0) {
output.writeUInt32(10, elementReactionBuff_);
}
for (int i = 0; i < modifierList_.size(); i++) {
output.writeMessage(11, modifierList_.get(i));
}
if (totalRotation_ != 0) {
output.writeInt32(12, totalRotation_);
}
for (int i = 0; i < infoList_.size(); i++) {
output.writeMessage(13, infoList_.get(i));
}
if (lastHitPeerId_ != 0) {
output.writeUInt32(14, lastHitPeerId_);
}
if (speedIncreaseCount_ != 0) {
output.writeUInt32(15, speedIncreaseCount_);
}
if (offset_ != 0) {
output.writeInt32(16, offset_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (id_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, id_);
}
if (index_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, index_);
}
if (isActive_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isActive_);
}
if (pos_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getPos());
}
if (moveDir_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getMoveDir());
}
if (speed_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, speed_);
}
if (initPeerId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, initPeerId_);
}
if (state_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, state_);
}
if (elementType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, elementType_);
}
if (elementReactionBuff_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, elementReactionBuff_);
}
for (int i = 0; i < modifierList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, modifierList_.get(i));
}
if (totalRotation_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(12, totalRotation_);
}
for (int i = 0; i < infoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, infoList_.get(i));
}
if (lastHitPeerId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, lastHitPeerId_);
}
if (speedIncreaseCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, speedIncreaseCount_);
}
if (offset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(16, offset_);
}
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.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject other = (emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject) obj;
if (getId()
!= other.getId()) return false;
if (getIndex()
!= other.getIndex()) return false;
if (getIsActive()
!= other.getIsActive()) return false;
if (hasPos() != other.hasPos()) return false;
if (hasPos()) {
if (!getPos()
.equals(other.getPos())) return false;
}
if (hasMoveDir() != other.hasMoveDir()) return false;
if (hasMoveDir()) {
if (!getMoveDir()
.equals(other.getMoveDir())) return false;
}
if (getSpeed()
!= other.getSpeed()) return false;
if (getInitPeerId()
!= other.getInitPeerId()) return false;
if (getState()
!= other.getState()) return false;
if (getElementType()
!= other.getElementType()) return false;
if (getElementReactionBuff()
!= other.getElementReactionBuff()) return false;
if (!getModifierListList()
.equals(other.getModifierListList())) return false;
if (getTotalRotation()
!= other.getTotalRotation()) return false;
if (!getInfoListList()
.equals(other.getInfoListList())) return false;
if (getLastHitPeerId()
!= other.getLastHitPeerId()) return false;
if (getSpeedIncreaseCount()
!= other.getSpeedIncreaseCount()) return false;
if (getOffset()
!= other.getOffset()) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId();
hash = (37 * hash) + INDEX_FIELD_NUMBER;
hash = (53 * hash) + getIndex();
hash = (37 * hash) + IS_ACTIVE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsActive());
if (hasPos()) {
hash = (37 * hash) + POS_FIELD_NUMBER;
hash = (53 * hash) + getPos().hashCode();
}
if (hasMoveDir()) {
hash = (37 * hash) + MOVE_DIR_FIELD_NUMBER;
hash = (53 * hash) + getMoveDir().hashCode();
}
hash = (37 * hash) + SPEED_FIELD_NUMBER;
hash = (53 * hash) + getSpeed();
hash = (37 * hash) + INIT_PEER_ID_FIELD_NUMBER;
hash = (53 * hash) + getInitPeerId();
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + getState();
hash = (37 * hash) + ELEMENT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getElementType();
hash = (37 * hash) + ELEMENT_REACTION_BUFF_FIELD_NUMBER;
hash = (53 * hash) + getElementReactionBuff();
if (getModifierListCount() > 0) {
hash = (37 * hash) + MODIFIER_LIST_FIELD_NUMBER;
hash = (53 * hash) + getModifierListList().hashCode();
}
hash = (37 * hash) + TOTAL_ROTATION_FIELD_NUMBER;
hash = (53 * hash) + getTotalRotation();
if (getInfoListCount() > 0) {
hash = (37 * hash) + INFO_LIST_FIELD_NUMBER;
hash = (53 * hash) + getInfoListList().hashCode();
}
hash = (37 * hash) + LAST_HIT_PEER_ID_FIELD_NUMBER;
hash = (53 * hash) + getLastHitPeerId();
hash = (37 * hash) + SPEED_INCREASE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getSpeedIncreaseCount();
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + getOffset();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject 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.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject 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.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject 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.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject 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.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject 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.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject 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: NFMHCAILCIF
*
*
* Protobuf type {@code BreakoutPhysicalObject}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:BreakoutPhysicalObject)
emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObjectOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.internal_static_BreakoutPhysicalObject_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.internal_static_BreakoutPhysicalObject_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject.class, emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject.Builder.class);
}
// Construct using emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getModifierListFieldBuilder();
getInfoListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0;
index_ = 0;
isActive_ = false;
if (posBuilder_ == null) {
pos_ = null;
} else {
pos_ = null;
posBuilder_ = null;
}
if (moveDirBuilder_ == null) {
moveDir_ = null;
} else {
moveDir_ = null;
moveDirBuilder_ = null;
}
speed_ = 0;
initPeerId_ = 0;
state_ = 0;
elementType_ = 0;
elementReactionBuff_ = 0;
if (modifierListBuilder_ == null) {
modifierList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
modifierListBuilder_.clear();
}
totalRotation_ = 0;
if (infoListBuilder_ == null) {
infoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
infoListBuilder_.clear();
}
lastHitPeerId_ = 0;
speedIncreaseCount_ = 0;
offset_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.internal_static_BreakoutPhysicalObject_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject getDefaultInstanceForType() {
return emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject build() {
emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject buildPartial() {
emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject result = new emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject(this);
int from_bitField0_ = bitField0_;
result.id_ = id_;
result.index_ = index_;
result.isActive_ = isActive_;
if (posBuilder_ == null) {
result.pos_ = pos_;
} else {
result.pos_ = posBuilder_.build();
}
if (moveDirBuilder_ == null) {
result.moveDir_ = moveDir_;
} else {
result.moveDir_ = moveDirBuilder_.build();
}
result.speed_ = speed_;
result.initPeerId_ = initPeerId_;
result.state_ = state_;
result.elementType_ = elementType_;
result.elementReactionBuff_ = elementReactionBuff_;
if (modifierListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
modifierList_ = java.util.Collections.unmodifiableList(modifierList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.modifierList_ = modifierList_;
} else {
result.modifierList_ = modifierListBuilder_.build();
}
result.totalRotation_ = totalRotation_;
if (infoListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
infoList_ = java.util.Collections.unmodifiableList(infoList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.infoList_ = infoList_;
} else {
result.infoList_ = infoListBuilder_.build();
}
result.lastHitPeerId_ = lastHitPeerId_;
result.speedIncreaseCount_ = speedIncreaseCount_;
result.offset_ = offset_;
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.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject) {
return mergeFrom((emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject other) {
if (other == emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject.getDefaultInstance()) return this;
if (other.getId() != 0) {
setId(other.getId());
}
if (other.getIndex() != 0) {
setIndex(other.getIndex());
}
if (other.getIsActive() != false) {
setIsActive(other.getIsActive());
}
if (other.hasPos()) {
mergePos(other.getPos());
}
if (other.hasMoveDir()) {
mergeMoveDir(other.getMoveDir());
}
if (other.getSpeed() != 0) {
setSpeed(other.getSpeed());
}
if (other.getInitPeerId() != 0) {
setInitPeerId(other.getInitPeerId());
}
if (other.getState() != 0) {
setState(other.getState());
}
if (other.getElementType() != 0) {
setElementType(other.getElementType());
}
if (other.getElementReactionBuff() != 0) {
setElementReactionBuff(other.getElementReactionBuff());
}
if (modifierListBuilder_ == null) {
if (!other.modifierList_.isEmpty()) {
if (modifierList_.isEmpty()) {
modifierList_ = other.modifierList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureModifierListIsMutable();
modifierList_.addAll(other.modifierList_);
}
onChanged();
}
} else {
if (!other.modifierList_.isEmpty()) {
if (modifierListBuilder_.isEmpty()) {
modifierListBuilder_.dispose();
modifierListBuilder_ = null;
modifierList_ = other.modifierList_;
bitField0_ = (bitField0_ & ~0x00000001);
modifierListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getModifierListFieldBuilder() : null;
} else {
modifierListBuilder_.addAllMessages(other.modifierList_);
}
}
}
if (other.getTotalRotation() != 0) {
setTotalRotation(other.getTotalRotation());
}
if (infoListBuilder_ == null) {
if (!other.infoList_.isEmpty()) {
if (infoList_.isEmpty()) {
infoList_ = other.infoList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureInfoListIsMutable();
infoList_.addAll(other.infoList_);
}
onChanged();
}
} else {
if (!other.infoList_.isEmpty()) {
if (infoListBuilder_.isEmpty()) {
infoListBuilder_.dispose();
infoListBuilder_ = null;
infoList_ = other.infoList_;
bitField0_ = (bitField0_ & ~0x00000002);
infoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInfoListFieldBuilder() : null;
} else {
infoListBuilder_.addAllMessages(other.infoList_);
}
}
}
if (other.getLastHitPeerId() != 0) {
setLastHitPeerId(other.getLastHitPeerId());
}
if (other.getSpeedIncreaseCount() != 0) {
setSpeedIncreaseCount(other.getSpeedIncreaseCount());
}
if (other.getOffset() != 0) {
setOffset(other.getOffset());
}
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.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int id_ ;
/**
* uint32 id = 1;
* @return The id.
*/
@java.lang.Override
public int getId() {
return id_;
}
/**
* uint32 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(int value) {
id_ = value;
onChanged();
return this;
}
/**
* uint32 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = 0;
onChanged();
return this;
}
private int index_ ;
/**
* uint32 index = 2;
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
/**
* uint32 index = 2;
* @param value The index to set.
* @return This builder for chaining.
*/
public Builder setIndex(int value) {
index_ = value;
onChanged();
return this;
}
/**
* uint32 index = 2;
* @return This builder for chaining.
*/
public Builder clearIndex() {
index_ = 0;
onChanged();
return this;
}
private boolean isActive_ ;
/**
* bool is_active = 3;
* @return The isActive.
*/
@java.lang.Override
public boolean getIsActive() {
return isActive_;
}
/**
* bool is_active = 3;
* @param value The isActive to set.
* @return This builder for chaining.
*/
public Builder setIsActive(boolean value) {
isActive_ = value;
onChanged();
return this;
}
/**
* bool is_active = 3;
* @return This builder for chaining.
*/
public Builder clearIsActive() {
isActive_ = false;
onChanged();
return this;
}
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 pos_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder> posBuilder_;
/**
* .BreakoutVector2 pos = 4;
* @return Whether the pos field is set.
*/
public boolean hasPos() {
return posBuilder_ != null || pos_ != null;
}
/**
* .BreakoutVector2 pos = 4;
* @return The pos.
*/
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getPos() {
if (posBuilder_ == null) {
return pos_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : pos_;
} else {
return posBuilder_.getMessage();
}
}
/**
* .BreakoutVector2 pos = 4;
*/
public Builder setPos(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
if (posBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pos_ = value;
onChanged();
} else {
posBuilder_.setMessage(value);
}
return this;
}
/**
* .BreakoutVector2 pos = 4;
*/
public Builder setPos(
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder builderForValue) {
if (posBuilder_ == null) {
pos_ = builderForValue.build();
onChanged();
} else {
posBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BreakoutVector2 pos = 4;
*/
public Builder mergePos(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
if (posBuilder_ == null) {
if (pos_ != null) {
pos_ =
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.newBuilder(pos_).mergeFrom(value).buildPartial();
} else {
pos_ = value;
}
onChanged();
} else {
posBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BreakoutVector2 pos = 4;
*/
public Builder clearPos() {
if (posBuilder_ == null) {
pos_ = null;
onChanged();
} else {
pos_ = null;
posBuilder_ = null;
}
return this;
}
/**
* .BreakoutVector2 pos = 4;
*/
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder getPosBuilder() {
onChanged();
return getPosFieldBuilder().getBuilder();
}
/**
* .BreakoutVector2 pos = 4;
*/
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getPosOrBuilder() {
if (posBuilder_ != null) {
return posBuilder_.getMessageOrBuilder();
} else {
return pos_ == null ?
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : pos_;
}
}
/**
* .BreakoutVector2 pos = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>
getPosFieldBuilder() {
if (posBuilder_ == null) {
posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>(
getPos(),
getParentForChildren(),
isClean());
pos_ = null;
}
return posBuilder_;
}
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 moveDir_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder> moveDirBuilder_;
/**
* .BreakoutVector2 move_dir = 5;
* @return Whether the moveDir field is set.
*/
public boolean hasMoveDir() {
return moveDirBuilder_ != null || moveDir_ != null;
}
/**
* .BreakoutVector2 move_dir = 5;
* @return The moveDir.
*/
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getMoveDir() {
if (moveDirBuilder_ == null) {
return moveDir_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : moveDir_;
} else {
return moveDirBuilder_.getMessage();
}
}
/**
* .BreakoutVector2 move_dir = 5;
*/
public Builder setMoveDir(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
if (moveDirBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
moveDir_ = value;
onChanged();
} else {
moveDirBuilder_.setMessage(value);
}
return this;
}
/**
* .BreakoutVector2 move_dir = 5;
*/
public Builder setMoveDir(
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder builderForValue) {
if (moveDirBuilder_ == null) {
moveDir_ = builderForValue.build();
onChanged();
} else {
moveDirBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BreakoutVector2 move_dir = 5;
*/
public Builder mergeMoveDir(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
if (moveDirBuilder_ == null) {
if (moveDir_ != null) {
moveDir_ =
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.newBuilder(moveDir_).mergeFrom(value).buildPartial();
} else {
moveDir_ = value;
}
onChanged();
} else {
moveDirBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BreakoutVector2 move_dir = 5;
*/
public Builder clearMoveDir() {
if (moveDirBuilder_ == null) {
moveDir_ = null;
onChanged();
} else {
moveDir_ = null;
moveDirBuilder_ = null;
}
return this;
}
/**
* .BreakoutVector2 move_dir = 5;
*/
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder getMoveDirBuilder() {
onChanged();
return getMoveDirFieldBuilder().getBuilder();
}
/**
* .BreakoutVector2 move_dir = 5;
*/
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getMoveDirOrBuilder() {
if (moveDirBuilder_ != null) {
return moveDirBuilder_.getMessageOrBuilder();
} else {
return moveDir_ == null ?
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : moveDir_;
}
}
/**
* .BreakoutVector2 move_dir = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>
getMoveDirFieldBuilder() {
if (moveDirBuilder_ == null) {
moveDirBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>(
getMoveDir(),
getParentForChildren(),
isClean());
moveDir_ = null;
}
return moveDirBuilder_;
}
private int speed_ ;
/**
* int32 speed = 6;
* @return The speed.
*/
@java.lang.Override
public int getSpeed() {
return speed_;
}
/**
* int32 speed = 6;
* @param value The speed to set.
* @return This builder for chaining.
*/
public Builder setSpeed(int value) {
speed_ = value;
onChanged();
return this;
}
/**
* int32 speed = 6;
* @return This builder for chaining.
*/
public Builder clearSpeed() {
speed_ = 0;
onChanged();
return this;
}
private int initPeerId_ ;
/**
* uint32 init_peer_id = 7;
* @return The initPeerId.
*/
@java.lang.Override
public int getInitPeerId() {
return initPeerId_;
}
/**
* uint32 init_peer_id = 7;
* @param value The initPeerId to set.
* @return This builder for chaining.
*/
public Builder setInitPeerId(int value) {
initPeerId_ = value;
onChanged();
return this;
}
/**
* uint32 init_peer_id = 7;
* @return This builder for chaining.
*/
public Builder clearInitPeerId() {
initPeerId_ = 0;
onChanged();
return this;
}
private int state_ ;
/**
* uint32 state = 8;
* @return The state.
*/
@java.lang.Override
public int getState() {
return state_;
}
/**
* uint32 state = 8;
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(int value) {
state_ = value;
onChanged();
return this;
}
/**
* uint32 state = 8;
* @return This builder for chaining.
*/
public Builder clearState() {
state_ = 0;
onChanged();
return this;
}
private int elementType_ ;
/**
* uint32 element_type = 9;
* @return The elementType.
*/
@java.lang.Override
public int getElementType() {
return elementType_;
}
/**
* uint32 element_type = 9;
* @param value The elementType to set.
* @return This builder for chaining.
*/
public Builder setElementType(int value) {
elementType_ = value;
onChanged();
return this;
}
/**
* uint32 element_type = 9;
* @return This builder for chaining.
*/
public Builder clearElementType() {
elementType_ = 0;
onChanged();
return this;
}
private int elementReactionBuff_ ;
/**
* uint32 element_reaction_buff = 10;
* @return The elementReactionBuff.
*/
@java.lang.Override
public int getElementReactionBuff() {
return elementReactionBuff_;
}
/**
* uint32 element_reaction_buff = 10;
* @param value The elementReactionBuff to set.
* @return This builder for chaining.
*/
public Builder setElementReactionBuff(int value) {
elementReactionBuff_ = value;
onChanged();
return this;
}
/**
* uint32 element_reaction_buff = 10;
* @return This builder for chaining.
*/
public Builder clearElementReactionBuff() {
elementReactionBuff_ = 0;
onChanged();
return this;
}
private java.util.List modifierList_ =
java.util.Collections.emptyList();
private void ensureModifierListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
modifierList_ = new java.util.ArrayList(modifierList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.Builder, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifierOrBuilder> modifierListBuilder_;
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public java.util.List getModifierListList() {
if (modifierListBuilder_ == null) {
return java.util.Collections.unmodifiableList(modifierList_);
} else {
return modifierListBuilder_.getMessageList();
}
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public int getModifierListCount() {
if (modifierListBuilder_ == null) {
return modifierList_.size();
} else {
return modifierListBuilder_.getCount();
}
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier getModifierList(int index) {
if (modifierListBuilder_ == null) {
return modifierList_.get(index);
} else {
return modifierListBuilder_.getMessage(index);
}
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public Builder setModifierList(
int index, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier value) {
if (modifierListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureModifierListIsMutable();
modifierList_.set(index, value);
onChanged();
} else {
modifierListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public Builder setModifierList(
int index, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.Builder builderForValue) {
if (modifierListBuilder_ == null) {
ensureModifierListIsMutable();
modifierList_.set(index, builderForValue.build());
onChanged();
} else {
modifierListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public Builder addModifierList(emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier value) {
if (modifierListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureModifierListIsMutable();
modifierList_.add(value);
onChanged();
} else {
modifierListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public Builder addModifierList(
int index, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier value) {
if (modifierListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureModifierListIsMutable();
modifierList_.add(index, value);
onChanged();
} else {
modifierListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public Builder addModifierList(
emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.Builder builderForValue) {
if (modifierListBuilder_ == null) {
ensureModifierListIsMutable();
modifierList_.add(builderForValue.build());
onChanged();
} else {
modifierListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public Builder addModifierList(
int index, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.Builder builderForValue) {
if (modifierListBuilder_ == null) {
ensureModifierListIsMutable();
modifierList_.add(index, builderForValue.build());
onChanged();
} else {
modifierListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public Builder addAllModifierList(
java.lang.Iterable extends emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier> values) {
if (modifierListBuilder_ == null) {
ensureModifierListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, modifierList_);
onChanged();
} else {
modifierListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public Builder clearModifierList() {
if (modifierListBuilder_ == null) {
modifierList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
modifierListBuilder_.clear();
}
return this;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public Builder removeModifierList(int index) {
if (modifierListBuilder_ == null) {
ensureModifierListIsMutable();
modifierList_.remove(index);
onChanged();
} else {
modifierListBuilder_.remove(index);
}
return this;
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.Builder getModifierListBuilder(
int index) {
return getModifierListFieldBuilder().getBuilder(index);
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifierOrBuilder getModifierListOrBuilder(
int index) {
if (modifierListBuilder_ == null) {
return modifierList_.get(index); } else {
return modifierListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public java.util.List extends emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifierOrBuilder>
getModifierListOrBuilderList() {
if (modifierListBuilder_ != null) {
return modifierListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(modifierList_);
}
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.Builder addModifierListBuilder() {
return getModifierListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.getDefaultInstance());
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.Builder addModifierListBuilder(
int index) {
return getModifierListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.getDefaultInstance());
}
/**
* repeated .BreakoutPhysicalObjectModifier modifier_list = 11;
*/
public java.util.List
getModifierListBuilderList() {
return getModifierListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.Builder, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifierOrBuilder>
getModifierListFieldBuilder() {
if (modifierListBuilder_ == null) {
modifierListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier.Builder, emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifierOrBuilder>(
modifierList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
modifierList_ = null;
}
return modifierListBuilder_;
}
private int totalRotation_ ;
/**
* int32 total_rotation = 12;
* @return The totalRotation.
*/
@java.lang.Override
public int getTotalRotation() {
return totalRotation_;
}
/**
* int32 total_rotation = 12;
* @param value The totalRotation to set.
* @return This builder for chaining.
*/
public Builder setTotalRotation(int value) {
totalRotation_ = value;
onChanged();
return this;
}
/**
* int32 total_rotation = 12;
* @return This builder for chaining.
*/
public Builder clearTotalRotation() {
totalRotation_ = 0;
onChanged();
return this;
}
private java.util.List infoList_ =
java.util.Collections.emptyList();
private void ensureInfoListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
infoList_ = new java.util.ArrayList(infoList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.Builder, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfoOrBuilder> infoListBuilder_;
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public java.util.List getInfoListList() {
if (infoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(infoList_);
} else {
return infoListBuilder_.getMessageList();
}
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public int getInfoListCount() {
if (infoListBuilder_ == null) {
return infoList_.size();
} else {
return infoListBuilder_.getCount();
}
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo getInfoList(int index) {
if (infoListBuilder_ == null) {
return infoList_.get(index);
} else {
return infoListBuilder_.getMessage(index);
}
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public Builder setInfoList(
int index, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo value) {
if (infoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfoListIsMutable();
infoList_.set(index, value);
onChanged();
} else {
infoListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public Builder setInfoList(
int index, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.Builder builderForValue) {
if (infoListBuilder_ == null) {
ensureInfoListIsMutable();
infoList_.set(index, builderForValue.build());
onChanged();
} else {
infoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public Builder addInfoList(emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo value) {
if (infoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfoListIsMutable();
infoList_.add(value);
onChanged();
} else {
infoListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public Builder addInfoList(
int index, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo value) {
if (infoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfoListIsMutable();
infoList_.add(index, value);
onChanged();
} else {
infoListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public Builder addInfoList(
emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.Builder builderForValue) {
if (infoListBuilder_ == null) {
ensureInfoListIsMutable();
infoList_.add(builderForValue.build());
onChanged();
} else {
infoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public Builder addInfoList(
int index, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.Builder builderForValue) {
if (infoListBuilder_ == null) {
ensureInfoListIsMutable();
infoList_.add(index, builderForValue.build());
onChanged();
} else {
infoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public Builder addAllInfoList(
java.lang.Iterable extends emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo> values) {
if (infoListBuilder_ == null) {
ensureInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, infoList_);
onChanged();
} else {
infoListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public Builder clearInfoList() {
if (infoListBuilder_ == null) {
infoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
infoListBuilder_.clear();
}
return this;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public Builder removeInfoList(int index) {
if (infoListBuilder_ == null) {
ensureInfoListIsMutable();
infoList_.remove(index);
onChanged();
} else {
infoListBuilder_.remove(index);
}
return this;
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.Builder getInfoListBuilder(
int index) {
return getInfoListFieldBuilder().getBuilder(index);
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfoOrBuilder getInfoListOrBuilder(
int index) {
if (infoListBuilder_ == null) {
return infoList_.get(index); } else {
return infoListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public java.util.List extends emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfoOrBuilder>
getInfoListOrBuilderList() {
if (infoListBuilder_ != null) {
return infoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(infoList_);
}
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.Builder addInfoListBuilder() {
return getInfoListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.getDefaultInstance());
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.Builder addInfoListBuilder(
int index) {
return getInfoListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.getDefaultInstance());
}
/**
* repeated .BreakoutBrickInfo info_list = 13;
*/
public java.util.List
getInfoListBuilderList() {
return getInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.Builder, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfoOrBuilder>
getInfoListFieldBuilder() {
if (infoListBuilder_ == null) {
infoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfo.Builder, emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.BreakoutBrickInfoOrBuilder>(
infoList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
infoList_ = null;
}
return infoListBuilder_;
}
private int lastHitPeerId_ ;
/**
* uint32 last_hit_peer_id = 14;
* @return The lastHitPeerId.
*/
@java.lang.Override
public int getLastHitPeerId() {
return lastHitPeerId_;
}
/**
* uint32 last_hit_peer_id = 14;
* @param value The lastHitPeerId to set.
* @return This builder for chaining.
*/
public Builder setLastHitPeerId(int value) {
lastHitPeerId_ = value;
onChanged();
return this;
}
/**
* uint32 last_hit_peer_id = 14;
* @return This builder for chaining.
*/
public Builder clearLastHitPeerId() {
lastHitPeerId_ = 0;
onChanged();
return this;
}
private int speedIncreaseCount_ ;
/**
* uint32 speed_increase_count = 15;
* @return The speedIncreaseCount.
*/
@java.lang.Override
public int getSpeedIncreaseCount() {
return speedIncreaseCount_;
}
/**
* uint32 speed_increase_count = 15;
* @param value The speedIncreaseCount to set.
* @return This builder for chaining.
*/
public Builder setSpeedIncreaseCount(int value) {
speedIncreaseCount_ = value;
onChanged();
return this;
}
/**
* uint32 speed_increase_count = 15;
* @return This builder for chaining.
*/
public Builder clearSpeedIncreaseCount() {
speedIncreaseCount_ = 0;
onChanged();
return this;
}
private int offset_ ;
/**
* int32 offset = 16;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
/**
* int32 offset = 16;
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(int value) {
offset_ = value;
onChanged();
return this;
}
/**
* int32 offset = 16;
* @return This builder for chaining.
*/
public Builder clearOffset() {
offset_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:BreakoutPhysicalObject)
}
// @@protoc_insertion_point(class_scope:BreakoutPhysicalObject)
private static final emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject();
}
public static emu.grasscutter.net.proto.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BreakoutPhysicalObject parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BreakoutPhysicalObject(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.BreakoutPhysicalObjectOuterClass.BreakoutPhysicalObject getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_BreakoutPhysicalObject_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_BreakoutPhysicalObject_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\034BreakoutPhysicalObject.proto\032\025Breakout" +
"Vector2.proto\032$BreakoutPhysicalObjectMod" +
"ifier.proto\032\027BreakoutBrickInfo.proto\"\261\003\n" +
"\026BreakoutPhysicalObject\022\n\n\002id\030\001 \001(\r\022\r\n\005i" +
"ndex\030\002 \001(\r\022\021\n\tis_active\030\003 \001(\010\022\035\n\003pos\030\004 \001" +
"(\0132\020.BreakoutVector2\022\"\n\010move_dir\030\005 \001(\0132\020" +
".BreakoutVector2\022\r\n\005speed\030\006 \001(\005\022\024\n\014init_" +
"peer_id\030\007 \001(\r\022\r\n\005state\030\010 \001(\r\022\024\n\014element_" +
"type\030\t \001(\r\022\035\n\025element_reaction_buff\030\n \001(" +
"\r\0226\n\rmodifier_list\030\013 \003(\0132\037.BreakoutPhysi" +
"calObjectModifier\022\026\n\016total_rotation\030\014 \001(" +
"\005\022%\n\tinfo_list\030\r \003(\0132\022.BreakoutBrickInfo" +
"\022\030\n\020last_hit_peer_id\030\016 \001(\r\022\034\n\024speed_incr" +
"ease_count\030\017 \001(\r\022\016\n\006offset\030\020 \001(\005B\033\n\031emu." +
"grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.BreakoutVector2OuterClass.getDescriptor(),
emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.getDescriptor(),
emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.getDescriptor(),
});
internal_static_BreakoutPhysicalObject_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_BreakoutPhysicalObject_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_BreakoutPhysicalObject_descriptor,
new java.lang.String[] { "Id", "Index", "IsActive", "Pos", "MoveDir", "Speed", "InitPeerId", "State", "ElementType", "ElementReactionBuff", "ModifierList", "TotalRotation", "InfoList", "LastHitPeerId", "SpeedIncreaseCount", "Offset", });
emu.grasscutter.net.proto.BreakoutVector2OuterClass.getDescriptor();
emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.getDescriptor();
emu.grasscutter.net.proto.BreakoutBrickInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}