// Generated by the protocol buffer compiler. DO NOT EDIT! // source: EvtCreateGadgetNotify.proto package emu.grasscutter.net.proto; public final class EvtCreateGadgetNotifyOuterClass { private EvtCreateGadgetNotifyOuterClass() {} 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 EvtCreateGadgetNotifyOrBuilder extends // @@protoc_insertion_point(interface_extends:EvtCreateGadgetNotify) com.google.protobuf.MessageOrBuilder { /** * uint64 guid = 11; * @return The guid. */ long getGuid(); /** * repeated uint32 target_lock_point_index_list = 516; * @return A list containing the targetLockPointIndexList. */ java.util.List getTargetLockPointIndexListList(); /** * repeated uint32 target_lock_point_index_list = 516; * @return The count of targetLockPointIndexList. */ int getTargetLockPointIndexListCount(); /** * repeated uint32 target_lock_point_index_list = 516; * @param index The index of the element to return. * @return The targetLockPointIndexList at the given index. */ int getTargetLockPointIndexList(int index); /** * uint32 room_id = 3; * @return The roomId. */ int getRoomId(); /** * bool is_peer_id_from_player = 1886; * @return The isPeerIdFromPlayer. */ boolean getIsPeerIdFromPlayer(); /** * bool HEPFGKFLCCD = 13; * @return The hEPFGKFLCCD. */ boolean getHEPFGKFLCCD(); /** * uint32 owner_entity_id = 14; * @return The ownerEntityId. */ int getOwnerEntityId(); /** * bool is_async_load = 438; * @return The isAsyncLoad. */ boolean getIsAsyncLoad(); /** * uint32 target_lock_point_index = 8; * @return The targetLockPointIndex. */ int getTargetLockPointIndex(); /** * .Vector InitEulerAngles = 4; * @return Whether the initEulerAngles field is set. */ boolean hasInitEulerAngles(); /** * .Vector InitEulerAngles = 4; * @return The initEulerAngles. */ emu.grasscutter.net.proto.VectorOuterClass.Vector getInitEulerAngles(); /** * .Vector InitEulerAngles = 4; */ emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getInitEulerAnglesOrBuilder(); /** * uint32 prop_owner_entity_id = 1; * @return The propOwnerEntityId. */ int getPropOwnerEntityId(); /** * uint32 camp_type = 5; * @return The campType. */ int getCampType(); /** * .ForwardType forward_type = 7; * @return The enum numeric value on the wire for forwardType. */ int getForwardTypeValue(); /** * .ForwardType forward_type = 7; * @return The forwardType. */ emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType(); /** * .Vector InitPos = 9; * @return Whether the initPos field is set. */ boolean hasInitPos(); /** * .Vector InitPos = 9; * @return The initPos. */ emu.grasscutter.net.proto.VectorOuterClass.Vector getInitPos(); /** * .Vector InitPos = 9; */ emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getInitPosOrBuilder(); /** * uint32 target_entity_id = 2; * @return The targetEntityId. */ int getTargetEntityId(); /** * uint32 config_id = 15; * @return The configId. */ int getConfigId(); /** * uint32 camp_id = 12; * @return The campId. */ int getCampId(); /** * repeated uint32 target_entity_id_list = 216; * @return A list containing the targetEntityIdList. */ java.util.List getTargetEntityIdListList(); /** * repeated uint32 target_entity_id_list = 216; * @return The count of targetEntityIdList. */ int getTargetEntityIdListCount(); /** * repeated uint32 target_entity_id_list = 216; * @param index The index of the element to return. * @return The targetEntityIdList at the given index. */ int getTargetEntityIdList(int index); /** * uint32 entity_id = 10; * @return The entityId. */ int getEntityId(); /** * bool CNIILEKPCMD = 6; * @return The cNIILEKPCMD. */ boolean getCNIILEKPCMD(); } /** *
   * CmdId: 22195
   * Obf: LGEDOOIENKG
   * 
* * Protobuf type {@code EvtCreateGadgetNotify} */ public static final class EvtCreateGadgetNotify extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:EvtCreateGadgetNotify) EvtCreateGadgetNotifyOrBuilder { private static final long serialVersionUID = 0L; // Use EvtCreateGadgetNotify.newBuilder() to construct. private EvtCreateGadgetNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EvtCreateGadgetNotify() { targetLockPointIndexList_ = emptyIntList(); forwardType_ = 0; targetEntityIdList_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EvtCreateGadgetNotify(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EvtCreateGadgetNotify( 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: { propOwnerEntityId_ = input.readUInt32(); break; } case 16: { targetEntityId_ = input.readUInt32(); break; } case 24: { roomId_ = input.readUInt32(); break; } case 34: { emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; if (initEulerAngles_ != null) { subBuilder = initEulerAngles_.toBuilder(); } initEulerAngles_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(initEulerAngles_); initEulerAngles_ = subBuilder.buildPartial(); } break; } case 40: { campType_ = input.readUInt32(); break; } case 48: { cNIILEKPCMD_ = input.readBool(); break; } case 56: { int rawValue = input.readEnum(); forwardType_ = rawValue; break; } case 64: { targetLockPointIndex_ = input.readUInt32(); break; } case 74: { emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; if (initPos_ != null) { subBuilder = initPos_.toBuilder(); } initPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(initPos_); initPos_ = subBuilder.buildPartial(); } break; } case 80: { entityId_ = input.readUInt32(); break; } case 88: { guid_ = input.readUInt64(); break; } case 96: { campId_ = input.readUInt32(); break; } case 104: { hEPFGKFLCCD_ = input.readBool(); break; } case 112: { ownerEntityId_ = input.readUInt32(); break; } case 120: { configId_ = input.readUInt32(); break; } case 1728: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { targetEntityIdList_ = newIntList(); mutable_bitField0_ |= 0x00000002; } targetEntityIdList_.addInt(input.readUInt32()); break; } case 1730: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { targetEntityIdList_ = newIntList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { targetEntityIdList_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 3504: { isAsyncLoad_ = input.readBool(); break; } case 4128: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { targetLockPointIndexList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } targetLockPointIndexList_.addInt(input.readUInt32()); break; } case 4130: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { targetLockPointIndexList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { targetLockPointIndexList_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 15088: { isPeerIdFromPlayer_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { targetEntityIdList_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000001) != 0)) { targetLockPointIndexList_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.internal_static_EvtCreateGadgetNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.internal_static_EvtCreateGadgetNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify.class, emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify.Builder.class); } public static final int GUID_FIELD_NUMBER = 11; private long guid_; /** * uint64 guid = 11; * @return The guid. */ @java.lang.Override public long getGuid() { return guid_; } public static final int TARGET_LOCK_POINT_INDEX_LIST_FIELD_NUMBER = 516; private com.google.protobuf.Internal.IntList targetLockPointIndexList_; /** * repeated uint32 target_lock_point_index_list = 516; * @return A list containing the targetLockPointIndexList. */ @java.lang.Override public java.util.List getTargetLockPointIndexListList() { return targetLockPointIndexList_; } /** * repeated uint32 target_lock_point_index_list = 516; * @return The count of targetLockPointIndexList. */ public int getTargetLockPointIndexListCount() { return targetLockPointIndexList_.size(); } /** * repeated uint32 target_lock_point_index_list = 516; * @param index The index of the element to return. * @return The targetLockPointIndexList at the given index. */ public int getTargetLockPointIndexList(int index) { return targetLockPointIndexList_.getInt(index); } private int targetLockPointIndexListMemoizedSerializedSize = -1; public static final int ROOM_ID_FIELD_NUMBER = 3; private int roomId_; /** * uint32 room_id = 3; * @return The roomId. */ @java.lang.Override public int getRoomId() { return roomId_; } public static final int IS_PEER_ID_FROM_PLAYER_FIELD_NUMBER = 1886; private boolean isPeerIdFromPlayer_; /** * bool is_peer_id_from_player = 1886; * @return The isPeerIdFromPlayer. */ @java.lang.Override public boolean getIsPeerIdFromPlayer() { return isPeerIdFromPlayer_; } public static final int HEPFGKFLCCD_FIELD_NUMBER = 13; private boolean hEPFGKFLCCD_; /** * bool HEPFGKFLCCD = 13; * @return The hEPFGKFLCCD. */ @java.lang.Override public boolean getHEPFGKFLCCD() { return hEPFGKFLCCD_; } public static final int OWNER_ENTITY_ID_FIELD_NUMBER = 14; private int ownerEntityId_; /** * uint32 owner_entity_id = 14; * @return The ownerEntityId. */ @java.lang.Override public int getOwnerEntityId() { return ownerEntityId_; } public static final int IS_ASYNC_LOAD_FIELD_NUMBER = 438; private boolean isAsyncLoad_; /** * bool is_async_load = 438; * @return The isAsyncLoad. */ @java.lang.Override public boolean getIsAsyncLoad() { return isAsyncLoad_; } public static final int TARGET_LOCK_POINT_INDEX_FIELD_NUMBER = 8; private int targetLockPointIndex_; /** * uint32 target_lock_point_index = 8; * @return The targetLockPointIndex. */ @java.lang.Override public int getTargetLockPointIndex() { return targetLockPointIndex_; } public static final int INITEULERANGLES_FIELD_NUMBER = 4; private emu.grasscutter.net.proto.VectorOuterClass.Vector initEulerAngles_; /** * .Vector InitEulerAngles = 4; * @return Whether the initEulerAngles field is set. */ @java.lang.Override public boolean hasInitEulerAngles() { return initEulerAngles_ != null; } /** * .Vector InitEulerAngles = 4; * @return The initEulerAngles. */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.Vector getInitEulerAngles() { return initEulerAngles_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : initEulerAngles_; } /** * .Vector InitEulerAngles = 4; */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getInitEulerAnglesOrBuilder() { return getInitEulerAngles(); } public static final int PROP_OWNER_ENTITY_ID_FIELD_NUMBER = 1; private int propOwnerEntityId_; /** * uint32 prop_owner_entity_id = 1; * @return The propOwnerEntityId. */ @java.lang.Override public int getPropOwnerEntityId() { return propOwnerEntityId_; } public static final int CAMP_TYPE_FIELD_NUMBER = 5; private int campType_; /** * uint32 camp_type = 5; * @return The campType. */ @java.lang.Override public int getCampType() { return campType_; } public static final int FORWARD_TYPE_FIELD_NUMBER = 7; private int forwardType_; /** * .ForwardType forward_type = 7; * @return The enum numeric value on the wire for forwardType. */ @java.lang.Override public int getForwardTypeValue() { return forwardType_; } /** * .ForwardType forward_type = 7; * @return The forwardType. */ @java.lang.Override public emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType() { @SuppressWarnings("deprecation") emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType result = emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.valueOf(forwardType_); return result == null ? emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.UNRECOGNIZED : result; } public static final int INITPOS_FIELD_NUMBER = 9; private emu.grasscutter.net.proto.VectorOuterClass.Vector initPos_; /** * .Vector InitPos = 9; * @return Whether the initPos field is set. */ @java.lang.Override public boolean hasInitPos() { return initPos_ != null; } /** * .Vector InitPos = 9; * @return The initPos. */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.Vector getInitPos() { return initPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : initPos_; } /** * .Vector InitPos = 9; */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getInitPosOrBuilder() { return getInitPos(); } public static final int TARGET_ENTITY_ID_FIELD_NUMBER = 2; private int targetEntityId_; /** * uint32 target_entity_id = 2; * @return The targetEntityId. */ @java.lang.Override public int getTargetEntityId() { return targetEntityId_; } public static final int CONFIG_ID_FIELD_NUMBER = 15; private int configId_; /** * uint32 config_id = 15; * @return The configId. */ @java.lang.Override public int getConfigId() { return configId_; } public static final int CAMP_ID_FIELD_NUMBER = 12; private int campId_; /** * uint32 camp_id = 12; * @return The campId. */ @java.lang.Override public int getCampId() { return campId_; } public static final int TARGET_ENTITY_ID_LIST_FIELD_NUMBER = 216; private com.google.protobuf.Internal.IntList targetEntityIdList_; /** * repeated uint32 target_entity_id_list = 216; * @return A list containing the targetEntityIdList. */ @java.lang.Override public java.util.List getTargetEntityIdListList() { return targetEntityIdList_; } /** * repeated uint32 target_entity_id_list = 216; * @return The count of targetEntityIdList. */ public int getTargetEntityIdListCount() { return targetEntityIdList_.size(); } /** * repeated uint32 target_entity_id_list = 216; * @param index The index of the element to return. * @return The targetEntityIdList at the given index. */ public int getTargetEntityIdList(int index) { return targetEntityIdList_.getInt(index); } private int targetEntityIdListMemoizedSerializedSize = -1; public static final int ENTITY_ID_FIELD_NUMBER = 10; private int entityId_; /** * uint32 entity_id = 10; * @return The entityId. */ @java.lang.Override public int getEntityId() { return entityId_; } public static final int CNIILEKPCMD_FIELD_NUMBER = 6; private boolean cNIILEKPCMD_; /** * bool CNIILEKPCMD = 6; * @return The cNIILEKPCMD. */ @java.lang.Override public boolean getCNIILEKPCMD() { return cNIILEKPCMD_; } 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 (propOwnerEntityId_ != 0) { output.writeUInt32(1, propOwnerEntityId_); } if (targetEntityId_ != 0) { output.writeUInt32(2, targetEntityId_); } if (roomId_ != 0) { output.writeUInt32(3, roomId_); } if (initEulerAngles_ != null) { output.writeMessage(4, getInitEulerAngles()); } if (campType_ != 0) { output.writeUInt32(5, campType_); } if (cNIILEKPCMD_ != false) { output.writeBool(6, cNIILEKPCMD_); } if (forwardType_ != emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.FORWARD_TYPE_LOCAL.getNumber()) { output.writeEnum(7, forwardType_); } if (targetLockPointIndex_ != 0) { output.writeUInt32(8, targetLockPointIndex_); } if (initPos_ != null) { output.writeMessage(9, getInitPos()); } if (entityId_ != 0) { output.writeUInt32(10, entityId_); } if (guid_ != 0L) { output.writeUInt64(11, guid_); } if (campId_ != 0) { output.writeUInt32(12, campId_); } if (hEPFGKFLCCD_ != false) { output.writeBool(13, hEPFGKFLCCD_); } if (ownerEntityId_ != 0) { output.writeUInt32(14, ownerEntityId_); } if (configId_ != 0) { output.writeUInt32(15, configId_); } if (getTargetEntityIdListList().size() > 0) { output.writeUInt32NoTag(1730); output.writeUInt32NoTag(targetEntityIdListMemoizedSerializedSize); } for (int i = 0; i < targetEntityIdList_.size(); i++) { output.writeUInt32NoTag(targetEntityIdList_.getInt(i)); } if (isAsyncLoad_ != false) { output.writeBool(438, isAsyncLoad_); } if (getTargetLockPointIndexListList().size() > 0) { output.writeUInt32NoTag(4130); output.writeUInt32NoTag(targetLockPointIndexListMemoizedSerializedSize); } for (int i = 0; i < targetLockPointIndexList_.size(); i++) { output.writeUInt32NoTag(targetLockPointIndexList_.getInt(i)); } if (isPeerIdFromPlayer_ != false) { output.writeBool(1886, isPeerIdFromPlayer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (propOwnerEntityId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, propOwnerEntityId_); } if (targetEntityId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, targetEntityId_); } if (roomId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, roomId_); } if (initEulerAngles_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getInitEulerAngles()); } if (campType_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, campType_); } if (cNIILEKPCMD_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, cNIILEKPCMD_); } if (forwardType_ != emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.FORWARD_TYPE_LOCAL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, forwardType_); } if (targetLockPointIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, targetLockPointIndex_); } if (initPos_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getInitPos()); } if (entityId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, entityId_); } if (guid_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(11, guid_); } if (campId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(12, campId_); } if (hEPFGKFLCCD_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, hEPFGKFLCCD_); } if (ownerEntityId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, ownerEntityId_); } if (configId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(15, configId_); } { int dataSize = 0; for (int i = 0; i < targetEntityIdList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(targetEntityIdList_.getInt(i)); } size += dataSize; if (!getTargetEntityIdListList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } targetEntityIdListMemoizedSerializedSize = dataSize; } if (isAsyncLoad_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(438, isAsyncLoad_); } { int dataSize = 0; for (int i = 0; i < targetLockPointIndexList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(targetLockPointIndexList_.getInt(i)); } size += dataSize; if (!getTargetLockPointIndexListList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } targetLockPointIndexListMemoizedSerializedSize = dataSize; } if (isPeerIdFromPlayer_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1886, isPeerIdFromPlayer_); } 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.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify)) { return super.equals(obj); } emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify other = (emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify) obj; if (getGuid() != other.getGuid()) return false; if (!getTargetLockPointIndexListList() .equals(other.getTargetLockPointIndexListList())) return false; if (getRoomId() != other.getRoomId()) return false; if (getIsPeerIdFromPlayer() != other.getIsPeerIdFromPlayer()) return false; if (getHEPFGKFLCCD() != other.getHEPFGKFLCCD()) return false; if (getOwnerEntityId() != other.getOwnerEntityId()) return false; if (getIsAsyncLoad() != other.getIsAsyncLoad()) return false; if (getTargetLockPointIndex() != other.getTargetLockPointIndex()) return false; if (hasInitEulerAngles() != other.hasInitEulerAngles()) return false; if (hasInitEulerAngles()) { if (!getInitEulerAngles() .equals(other.getInitEulerAngles())) return false; } if (getPropOwnerEntityId() != other.getPropOwnerEntityId()) return false; if (getCampType() != other.getCampType()) return false; if (forwardType_ != other.forwardType_) return false; if (hasInitPos() != other.hasInitPos()) return false; if (hasInitPos()) { if (!getInitPos() .equals(other.getInitPos())) return false; } if (getTargetEntityId() != other.getTargetEntityId()) return false; if (getConfigId() != other.getConfigId()) return false; if (getCampId() != other.getCampId()) return false; if (!getTargetEntityIdListList() .equals(other.getTargetEntityIdListList())) return false; if (getEntityId() != other.getEntityId()) return false; if (getCNIILEKPCMD() != other.getCNIILEKPCMD()) 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) + GUID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGuid()); if (getTargetLockPointIndexListCount() > 0) { hash = (37 * hash) + TARGET_LOCK_POINT_INDEX_LIST_FIELD_NUMBER; hash = (53 * hash) + getTargetLockPointIndexListList().hashCode(); } hash = (37 * hash) + ROOM_ID_FIELD_NUMBER; hash = (53 * hash) + getRoomId(); hash = (37 * hash) + IS_PEER_ID_FROM_PLAYER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsPeerIdFromPlayer()); hash = (37 * hash) + HEPFGKFLCCD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHEPFGKFLCCD()); hash = (37 * hash) + OWNER_ENTITY_ID_FIELD_NUMBER; hash = (53 * hash) + getOwnerEntityId(); hash = (37 * hash) + IS_ASYNC_LOAD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsAsyncLoad()); hash = (37 * hash) + TARGET_LOCK_POINT_INDEX_FIELD_NUMBER; hash = (53 * hash) + getTargetLockPointIndex(); if (hasInitEulerAngles()) { hash = (37 * hash) + INITEULERANGLES_FIELD_NUMBER; hash = (53 * hash) + getInitEulerAngles().hashCode(); } hash = (37 * hash) + PROP_OWNER_ENTITY_ID_FIELD_NUMBER; hash = (53 * hash) + getPropOwnerEntityId(); hash = (37 * hash) + CAMP_TYPE_FIELD_NUMBER; hash = (53 * hash) + getCampType(); hash = (37 * hash) + FORWARD_TYPE_FIELD_NUMBER; hash = (53 * hash) + forwardType_; if (hasInitPos()) { hash = (37 * hash) + INITPOS_FIELD_NUMBER; hash = (53 * hash) + getInitPos().hashCode(); } hash = (37 * hash) + TARGET_ENTITY_ID_FIELD_NUMBER; hash = (53 * hash) + getTargetEntityId(); hash = (37 * hash) + CONFIG_ID_FIELD_NUMBER; hash = (53 * hash) + getConfigId(); hash = (37 * hash) + CAMP_ID_FIELD_NUMBER; hash = (53 * hash) + getCampId(); if (getTargetEntityIdListCount() > 0) { hash = (37 * hash) + TARGET_ENTITY_ID_LIST_FIELD_NUMBER; hash = (53 * hash) + getTargetEntityIdListList().hashCode(); } hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER; hash = (53 * hash) + getEntityId(); hash = (37 * hash) + CNIILEKPCMD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCNIILEKPCMD()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify 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.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify 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.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify 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.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify 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.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify 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.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify 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; } /** *
     * CmdId: 22195
     * Obf: LGEDOOIENKG
     * 
* * Protobuf type {@code EvtCreateGadgetNotify} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:EvtCreateGadgetNotify) emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotifyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.internal_static_EvtCreateGadgetNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.internal_static_EvtCreateGadgetNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify.class, emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify.Builder.class); } // Construct using emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify.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(); guid_ = 0L; targetLockPointIndexList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); roomId_ = 0; isPeerIdFromPlayer_ = false; hEPFGKFLCCD_ = false; ownerEntityId_ = 0; isAsyncLoad_ = false; targetLockPointIndex_ = 0; if (initEulerAnglesBuilder_ == null) { initEulerAngles_ = null; } else { initEulerAngles_ = null; initEulerAnglesBuilder_ = null; } propOwnerEntityId_ = 0; campType_ = 0; forwardType_ = 0; if (initPosBuilder_ == null) { initPos_ = null; } else { initPos_ = null; initPosBuilder_ = null; } targetEntityId_ = 0; configId_ = 0; campId_ = 0; targetEntityIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); entityId_ = 0; cNIILEKPCMD_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.internal_static_EvtCreateGadgetNotify_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify getDefaultInstanceForType() { return emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify build() { emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify buildPartial() { emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify result = new emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify(this); int from_bitField0_ = bitField0_; result.guid_ = guid_; if (((bitField0_ & 0x00000001) != 0)) { targetLockPointIndexList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.targetLockPointIndexList_ = targetLockPointIndexList_; result.roomId_ = roomId_; result.isPeerIdFromPlayer_ = isPeerIdFromPlayer_; result.hEPFGKFLCCD_ = hEPFGKFLCCD_; result.ownerEntityId_ = ownerEntityId_; result.isAsyncLoad_ = isAsyncLoad_; result.targetLockPointIndex_ = targetLockPointIndex_; if (initEulerAnglesBuilder_ == null) { result.initEulerAngles_ = initEulerAngles_; } else { result.initEulerAngles_ = initEulerAnglesBuilder_.build(); } result.propOwnerEntityId_ = propOwnerEntityId_; result.campType_ = campType_; result.forwardType_ = forwardType_; if (initPosBuilder_ == null) { result.initPos_ = initPos_; } else { result.initPos_ = initPosBuilder_.build(); } result.targetEntityId_ = targetEntityId_; result.configId_ = configId_; result.campId_ = campId_; if (((bitField0_ & 0x00000002) != 0)) { targetEntityIdList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.targetEntityIdList_ = targetEntityIdList_; result.entityId_ = entityId_; result.cNIILEKPCMD_ = cNIILEKPCMD_; 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.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify) { return mergeFrom((emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify other) { if (other == emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify.getDefaultInstance()) return this; if (other.getGuid() != 0L) { setGuid(other.getGuid()); } if (!other.targetLockPointIndexList_.isEmpty()) { if (targetLockPointIndexList_.isEmpty()) { targetLockPointIndexList_ = other.targetLockPointIndexList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTargetLockPointIndexListIsMutable(); targetLockPointIndexList_.addAll(other.targetLockPointIndexList_); } onChanged(); } if (other.getRoomId() != 0) { setRoomId(other.getRoomId()); } if (other.getIsPeerIdFromPlayer() != false) { setIsPeerIdFromPlayer(other.getIsPeerIdFromPlayer()); } if (other.getHEPFGKFLCCD() != false) { setHEPFGKFLCCD(other.getHEPFGKFLCCD()); } if (other.getOwnerEntityId() != 0) { setOwnerEntityId(other.getOwnerEntityId()); } if (other.getIsAsyncLoad() != false) { setIsAsyncLoad(other.getIsAsyncLoad()); } if (other.getTargetLockPointIndex() != 0) { setTargetLockPointIndex(other.getTargetLockPointIndex()); } if (other.hasInitEulerAngles()) { mergeInitEulerAngles(other.getInitEulerAngles()); } if (other.getPropOwnerEntityId() != 0) { setPropOwnerEntityId(other.getPropOwnerEntityId()); } if (other.getCampType() != 0) { setCampType(other.getCampType()); } if (other.forwardType_ != 0) { setForwardTypeValue(other.getForwardTypeValue()); } if (other.hasInitPos()) { mergeInitPos(other.getInitPos()); } if (other.getTargetEntityId() != 0) { setTargetEntityId(other.getTargetEntityId()); } if (other.getConfigId() != 0) { setConfigId(other.getConfigId()); } if (other.getCampId() != 0) { setCampId(other.getCampId()); } if (!other.targetEntityIdList_.isEmpty()) { if (targetEntityIdList_.isEmpty()) { targetEntityIdList_ = other.targetEntityIdList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTargetEntityIdListIsMutable(); targetEntityIdList_.addAll(other.targetEntityIdList_); } onChanged(); } if (other.getEntityId() != 0) { setEntityId(other.getEntityId()); } if (other.getCNIILEKPCMD() != false) { setCNIILEKPCMD(other.getCNIILEKPCMD()); } 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.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long guid_ ; /** * uint64 guid = 11; * @return The guid. */ @java.lang.Override public long getGuid() { return guid_; } /** * uint64 guid = 11; * @param value The guid to set. * @return This builder for chaining. */ public Builder setGuid(long value) { guid_ = value; onChanged(); return this; } /** * uint64 guid = 11; * @return This builder for chaining. */ public Builder clearGuid() { guid_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.IntList targetLockPointIndexList_ = emptyIntList(); private void ensureTargetLockPointIndexListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { targetLockPointIndexList_ = mutableCopy(targetLockPointIndexList_); bitField0_ |= 0x00000001; } } /** * repeated uint32 target_lock_point_index_list = 516; * @return A list containing the targetLockPointIndexList. */ public java.util.List getTargetLockPointIndexListList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(targetLockPointIndexList_) : targetLockPointIndexList_; } /** * repeated uint32 target_lock_point_index_list = 516; * @return The count of targetLockPointIndexList. */ public int getTargetLockPointIndexListCount() { return targetLockPointIndexList_.size(); } /** * repeated uint32 target_lock_point_index_list = 516; * @param index The index of the element to return. * @return The targetLockPointIndexList at the given index. */ public int getTargetLockPointIndexList(int index) { return targetLockPointIndexList_.getInt(index); } /** * repeated uint32 target_lock_point_index_list = 516; * @param index The index to set the value at. * @param value The targetLockPointIndexList to set. * @return This builder for chaining. */ public Builder setTargetLockPointIndexList( int index, int value) { ensureTargetLockPointIndexListIsMutable(); targetLockPointIndexList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 target_lock_point_index_list = 516; * @param value The targetLockPointIndexList to add. * @return This builder for chaining. */ public Builder addTargetLockPointIndexList(int value) { ensureTargetLockPointIndexListIsMutable(); targetLockPointIndexList_.addInt(value); onChanged(); return this; } /** * repeated uint32 target_lock_point_index_list = 516; * @param values The targetLockPointIndexList to add. * @return This builder for chaining. */ public Builder addAllTargetLockPointIndexList( java.lang.Iterable values) { ensureTargetLockPointIndexListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, targetLockPointIndexList_); onChanged(); return this; } /** * repeated uint32 target_lock_point_index_list = 516; * @return This builder for chaining. */ public Builder clearTargetLockPointIndexList() { targetLockPointIndexList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private int roomId_ ; /** * uint32 room_id = 3; * @return The roomId. */ @java.lang.Override public int getRoomId() { return roomId_; } /** * uint32 room_id = 3; * @param value The roomId to set. * @return This builder for chaining. */ public Builder setRoomId(int value) { roomId_ = value; onChanged(); return this; } /** * uint32 room_id = 3; * @return This builder for chaining. */ public Builder clearRoomId() { roomId_ = 0; onChanged(); return this; } private boolean isPeerIdFromPlayer_ ; /** * bool is_peer_id_from_player = 1886; * @return The isPeerIdFromPlayer. */ @java.lang.Override public boolean getIsPeerIdFromPlayer() { return isPeerIdFromPlayer_; } /** * bool is_peer_id_from_player = 1886; * @param value The isPeerIdFromPlayer to set. * @return This builder for chaining. */ public Builder setIsPeerIdFromPlayer(boolean value) { isPeerIdFromPlayer_ = value; onChanged(); return this; } /** * bool is_peer_id_from_player = 1886; * @return This builder for chaining. */ public Builder clearIsPeerIdFromPlayer() { isPeerIdFromPlayer_ = false; onChanged(); return this; } private boolean hEPFGKFLCCD_ ; /** * bool HEPFGKFLCCD = 13; * @return The hEPFGKFLCCD. */ @java.lang.Override public boolean getHEPFGKFLCCD() { return hEPFGKFLCCD_; } /** * bool HEPFGKFLCCD = 13; * @param value The hEPFGKFLCCD to set. * @return This builder for chaining. */ public Builder setHEPFGKFLCCD(boolean value) { hEPFGKFLCCD_ = value; onChanged(); return this; } /** * bool HEPFGKFLCCD = 13; * @return This builder for chaining. */ public Builder clearHEPFGKFLCCD() { hEPFGKFLCCD_ = false; onChanged(); return this; } private int ownerEntityId_ ; /** * uint32 owner_entity_id = 14; * @return The ownerEntityId. */ @java.lang.Override public int getOwnerEntityId() { return ownerEntityId_; } /** * uint32 owner_entity_id = 14; * @param value The ownerEntityId to set. * @return This builder for chaining. */ public Builder setOwnerEntityId(int value) { ownerEntityId_ = value; onChanged(); return this; } /** * uint32 owner_entity_id = 14; * @return This builder for chaining. */ public Builder clearOwnerEntityId() { ownerEntityId_ = 0; onChanged(); return this; } private boolean isAsyncLoad_ ; /** * bool is_async_load = 438; * @return The isAsyncLoad. */ @java.lang.Override public boolean getIsAsyncLoad() { return isAsyncLoad_; } /** * bool is_async_load = 438; * @param value The isAsyncLoad to set. * @return This builder for chaining. */ public Builder setIsAsyncLoad(boolean value) { isAsyncLoad_ = value; onChanged(); return this; } /** * bool is_async_load = 438; * @return This builder for chaining. */ public Builder clearIsAsyncLoad() { isAsyncLoad_ = false; onChanged(); return this; } private int targetLockPointIndex_ ; /** * uint32 target_lock_point_index = 8; * @return The targetLockPointIndex. */ @java.lang.Override public int getTargetLockPointIndex() { return targetLockPointIndex_; } /** * uint32 target_lock_point_index = 8; * @param value The targetLockPointIndex to set. * @return This builder for chaining. */ public Builder setTargetLockPointIndex(int value) { targetLockPointIndex_ = value; onChanged(); return this; } /** * uint32 target_lock_point_index = 8; * @return This builder for chaining. */ public Builder clearTargetLockPointIndex() { targetLockPointIndex_ = 0; onChanged(); return this; } private emu.grasscutter.net.proto.VectorOuterClass.Vector initEulerAngles_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> initEulerAnglesBuilder_; /** * .Vector InitEulerAngles = 4; * @return Whether the initEulerAngles field is set. */ public boolean hasInitEulerAngles() { return initEulerAnglesBuilder_ != null || initEulerAngles_ != null; } /** * .Vector InitEulerAngles = 4; * @return The initEulerAngles. */ public emu.grasscutter.net.proto.VectorOuterClass.Vector getInitEulerAngles() { if (initEulerAnglesBuilder_ == null) { return initEulerAngles_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : initEulerAngles_; } else { return initEulerAnglesBuilder_.getMessage(); } } /** * .Vector InitEulerAngles = 4; */ public Builder setInitEulerAngles(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (initEulerAnglesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } initEulerAngles_ = value; onChanged(); } else { initEulerAnglesBuilder_.setMessage(value); } return this; } /** * .Vector InitEulerAngles = 4; */ public Builder setInitEulerAngles( emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) { if (initEulerAnglesBuilder_ == null) { initEulerAngles_ = builderForValue.build(); onChanged(); } else { initEulerAnglesBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Vector InitEulerAngles = 4; */ public Builder mergeInitEulerAngles(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (initEulerAnglesBuilder_ == null) { if (initEulerAngles_ != null) { initEulerAngles_ = emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(initEulerAngles_).mergeFrom(value).buildPartial(); } else { initEulerAngles_ = value; } onChanged(); } else { initEulerAnglesBuilder_.mergeFrom(value); } return this; } /** * .Vector InitEulerAngles = 4; */ public Builder clearInitEulerAngles() { if (initEulerAnglesBuilder_ == null) { initEulerAngles_ = null; onChanged(); } else { initEulerAngles_ = null; initEulerAnglesBuilder_ = null; } return this; } /** * .Vector InitEulerAngles = 4; */ public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getInitEulerAnglesBuilder() { onChanged(); return getInitEulerAnglesFieldBuilder().getBuilder(); } /** * .Vector InitEulerAngles = 4; */ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getInitEulerAnglesOrBuilder() { if (initEulerAnglesBuilder_ != null) { return initEulerAnglesBuilder_.getMessageOrBuilder(); } else { return initEulerAngles_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : initEulerAngles_; } } /** * .Vector InitEulerAngles = 4; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> getInitEulerAnglesFieldBuilder() { if (initEulerAnglesBuilder_ == null) { initEulerAnglesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>( getInitEulerAngles(), getParentForChildren(), isClean()); initEulerAngles_ = null; } return initEulerAnglesBuilder_; } private int propOwnerEntityId_ ; /** * uint32 prop_owner_entity_id = 1; * @return The propOwnerEntityId. */ @java.lang.Override public int getPropOwnerEntityId() { return propOwnerEntityId_; } /** * uint32 prop_owner_entity_id = 1; * @param value The propOwnerEntityId to set. * @return This builder for chaining. */ public Builder setPropOwnerEntityId(int value) { propOwnerEntityId_ = value; onChanged(); return this; } /** * uint32 prop_owner_entity_id = 1; * @return This builder for chaining. */ public Builder clearPropOwnerEntityId() { propOwnerEntityId_ = 0; onChanged(); return this; } private int campType_ ; /** * uint32 camp_type = 5; * @return The campType. */ @java.lang.Override public int getCampType() { return campType_; } /** * uint32 camp_type = 5; * @param value The campType to set. * @return This builder for chaining. */ public Builder setCampType(int value) { campType_ = value; onChanged(); return this; } /** * uint32 camp_type = 5; * @return This builder for chaining. */ public Builder clearCampType() { campType_ = 0; onChanged(); return this; } private int forwardType_ = 0; /** * .ForwardType forward_type = 7; * @return The enum numeric value on the wire for forwardType. */ @java.lang.Override public int getForwardTypeValue() { return forwardType_; } /** * .ForwardType forward_type = 7; * @param value The enum numeric value on the wire for forwardType to set. * @return This builder for chaining. */ public Builder setForwardTypeValue(int value) { forwardType_ = value; onChanged(); return this; } /** * .ForwardType forward_type = 7; * @return The forwardType. */ @java.lang.Override public emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType() { @SuppressWarnings("deprecation") emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType result = emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.valueOf(forwardType_); return result == null ? emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.UNRECOGNIZED : result; } /** * .ForwardType forward_type = 7; * @param value The forwardType to set. * @return This builder for chaining. */ public Builder setForwardType(emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType value) { if (value == null) { throw new NullPointerException(); } forwardType_ = value.getNumber(); onChanged(); return this; } /** * .ForwardType forward_type = 7; * @return This builder for chaining. */ public Builder clearForwardType() { forwardType_ = 0; onChanged(); return this; } private emu.grasscutter.net.proto.VectorOuterClass.Vector initPos_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> initPosBuilder_; /** * .Vector InitPos = 9; * @return Whether the initPos field is set. */ public boolean hasInitPos() { return initPosBuilder_ != null || initPos_ != null; } /** * .Vector InitPos = 9; * @return The initPos. */ public emu.grasscutter.net.proto.VectorOuterClass.Vector getInitPos() { if (initPosBuilder_ == null) { return initPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : initPos_; } else { return initPosBuilder_.getMessage(); } } /** * .Vector InitPos = 9; */ public Builder setInitPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (initPosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } initPos_ = value; onChanged(); } else { initPosBuilder_.setMessage(value); } return this; } /** * .Vector InitPos = 9; */ public Builder setInitPos( emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) { if (initPosBuilder_ == null) { initPos_ = builderForValue.build(); onChanged(); } else { initPosBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Vector InitPos = 9; */ public Builder mergeInitPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (initPosBuilder_ == null) { if (initPos_ != null) { initPos_ = emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(initPos_).mergeFrom(value).buildPartial(); } else { initPos_ = value; } onChanged(); } else { initPosBuilder_.mergeFrom(value); } return this; } /** * .Vector InitPos = 9; */ public Builder clearInitPos() { if (initPosBuilder_ == null) { initPos_ = null; onChanged(); } else { initPos_ = null; initPosBuilder_ = null; } return this; } /** * .Vector InitPos = 9; */ public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getInitPosBuilder() { onChanged(); return getInitPosFieldBuilder().getBuilder(); } /** * .Vector InitPos = 9; */ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getInitPosOrBuilder() { if (initPosBuilder_ != null) { return initPosBuilder_.getMessageOrBuilder(); } else { return initPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : initPos_; } } /** * .Vector InitPos = 9; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> getInitPosFieldBuilder() { if (initPosBuilder_ == null) { initPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>( getInitPos(), getParentForChildren(), isClean()); initPos_ = null; } return initPosBuilder_; } private int targetEntityId_ ; /** * uint32 target_entity_id = 2; * @return The targetEntityId. */ @java.lang.Override public int getTargetEntityId() { return targetEntityId_; } /** * uint32 target_entity_id = 2; * @param value The targetEntityId to set. * @return This builder for chaining. */ public Builder setTargetEntityId(int value) { targetEntityId_ = value; onChanged(); return this; } /** * uint32 target_entity_id = 2; * @return This builder for chaining. */ public Builder clearTargetEntityId() { targetEntityId_ = 0; onChanged(); return this; } private int configId_ ; /** * uint32 config_id = 15; * @return The configId. */ @java.lang.Override public int getConfigId() { return configId_; } /** * uint32 config_id = 15; * @param value The configId to set. * @return This builder for chaining. */ public Builder setConfigId(int value) { configId_ = value; onChanged(); return this; } /** * uint32 config_id = 15; * @return This builder for chaining. */ public Builder clearConfigId() { configId_ = 0; onChanged(); return this; } private int campId_ ; /** * uint32 camp_id = 12; * @return The campId. */ @java.lang.Override public int getCampId() { return campId_; } /** * uint32 camp_id = 12; * @param value The campId to set. * @return This builder for chaining. */ public Builder setCampId(int value) { campId_ = value; onChanged(); return this; } /** * uint32 camp_id = 12; * @return This builder for chaining. */ public Builder clearCampId() { campId_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList targetEntityIdList_ = emptyIntList(); private void ensureTargetEntityIdListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { targetEntityIdList_ = mutableCopy(targetEntityIdList_); bitField0_ |= 0x00000002; } } /** * repeated uint32 target_entity_id_list = 216; * @return A list containing the targetEntityIdList. */ public java.util.List getTargetEntityIdListList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(targetEntityIdList_) : targetEntityIdList_; } /** * repeated uint32 target_entity_id_list = 216; * @return The count of targetEntityIdList. */ public int getTargetEntityIdListCount() { return targetEntityIdList_.size(); } /** * repeated uint32 target_entity_id_list = 216; * @param index The index of the element to return. * @return The targetEntityIdList at the given index. */ public int getTargetEntityIdList(int index) { return targetEntityIdList_.getInt(index); } /** * repeated uint32 target_entity_id_list = 216; * @param index The index to set the value at. * @param value The targetEntityIdList to set. * @return This builder for chaining. */ public Builder setTargetEntityIdList( int index, int value) { ensureTargetEntityIdListIsMutable(); targetEntityIdList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 target_entity_id_list = 216; * @param value The targetEntityIdList to add. * @return This builder for chaining. */ public Builder addTargetEntityIdList(int value) { ensureTargetEntityIdListIsMutable(); targetEntityIdList_.addInt(value); onChanged(); return this; } /** * repeated uint32 target_entity_id_list = 216; * @param values The targetEntityIdList to add. * @return This builder for chaining. */ public Builder addAllTargetEntityIdList( java.lang.Iterable values) { ensureTargetEntityIdListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, targetEntityIdList_); onChanged(); return this; } /** * repeated uint32 target_entity_id_list = 216; * @return This builder for chaining. */ public Builder clearTargetEntityIdList() { targetEntityIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private int entityId_ ; /** * uint32 entity_id = 10; * @return The entityId. */ @java.lang.Override public int getEntityId() { return entityId_; } /** * uint32 entity_id = 10; * @param value The entityId to set. * @return This builder for chaining. */ public Builder setEntityId(int value) { entityId_ = value; onChanged(); return this; } /** * uint32 entity_id = 10; * @return This builder for chaining. */ public Builder clearEntityId() { entityId_ = 0; onChanged(); return this; } private boolean cNIILEKPCMD_ ; /** * bool CNIILEKPCMD = 6; * @return The cNIILEKPCMD. */ @java.lang.Override public boolean getCNIILEKPCMD() { return cNIILEKPCMD_; } /** * bool CNIILEKPCMD = 6; * @param value The cNIILEKPCMD to set. * @return This builder for chaining. */ public Builder setCNIILEKPCMD(boolean value) { cNIILEKPCMD_ = value; onChanged(); return this; } /** * bool CNIILEKPCMD = 6; * @return This builder for chaining. */ public Builder clearCNIILEKPCMD() { cNIILEKPCMD_ = 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:EvtCreateGadgetNotify) } // @@protoc_insertion_point(class_scope:EvtCreateGadgetNotify) private static final emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify(); } public static emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EvtCreateGadgetNotify parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EvtCreateGadgetNotify(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.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_EvtCreateGadgetNotify_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_EvtCreateGadgetNotify_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\033EvtCreateGadgetNotify.proto\032\014Vector.pr" + "oto\032\021ForwardType.proto\"\374\003\n\025EvtCreateGadg" + "etNotify\022\014\n\004guid\030\013 \001(\004\022%\n\034target_lock_po" + "int_index_list\030\204\004 \003(\r\022\017\n\007room_id\030\003 \001(\r\022\037" + "\n\026is_peer_id_from_player\030\336\016 \001(\010\022\023\n\013HEPFG" + "KFLCCD\030\r \001(\010\022\027\n\017owner_entity_id\030\016 \001(\r\022\026\n" + "\ris_async_load\030\266\003 \001(\010\022\037\n\027target_lock_poi" + "nt_index\030\010 \001(\r\022 \n\017InitEulerAngles\030\004 \001(\0132" + "\007.Vector\022\034\n\024prop_owner_entity_id\030\001 \001(\r\022\021" + "\n\tcamp_type\030\005 \001(\r\022\"\n\014forward_type\030\007 \001(\0162" + "\014.ForwardType\022\030\n\007InitPos\030\t \001(\0132\007.Vector\022" + "\030\n\020target_entity_id\030\002 \001(\r\022\021\n\tconfig_id\030\017" + " \001(\r\022\017\n\007camp_id\030\014 \001(\r\022\036\n\025target_entity_i" + "d_list\030\330\001 \003(\r\022\021\n\tentity_id\030\n \001(\r\022\023\n\013CNII" + "LEKPCMD\030\006 \001(\010B\033\n\031emu.grasscutter.net.pro" + "tob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(), emu.grasscutter.net.proto.ForwardTypeOuterClass.getDescriptor(), }); internal_static_EvtCreateGadgetNotify_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_EvtCreateGadgetNotify_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_EvtCreateGadgetNotify_descriptor, new java.lang.String[] { "Guid", "TargetLockPointIndexList", "RoomId", "IsPeerIdFromPlayer", "HEPFGKFLCCD", "OwnerEntityId", "IsAsyncLoad", "TargetLockPointIndex", "InitEulerAngles", "PropOwnerEntityId", "CampType", "ForwardType", "InitPos", "TargetEntityId", "ConfigId", "CampId", "TargetEntityIdList", "EntityId", "CNIILEKPCMD", }); emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(); emu.grasscutter.net.proto.ForwardTypeOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }