// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ScenePlayerLocationNotify.proto package emu.grasscutter.net.proto; public final class ScenePlayerLocationNotifyOuterClass { private ScenePlayerLocationNotifyOuterClass() {} 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 ScenePlayerLocationNotifyOrBuilder extends // @@protoc_insertion_point(interface_extends:ScenePlayerLocationNotify) com.google.protobuf.MessageOrBuilder { /** * uint32 scene_id = 14; * @return The sceneId. */ int getSceneId(); /** * repeated .PlayerLocationInfo player_loc_list = 3; */ java.util.List getPlayerLocListList(); /** * repeated .PlayerLocationInfo player_loc_list = 3; */ emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo getPlayerLocList(int index); /** * repeated .PlayerLocationInfo player_loc_list = 3; */ int getPlayerLocListCount(); /** * repeated .PlayerLocationInfo player_loc_list = 3; */ java.util.List getPlayerLocListOrBuilderList(); /** * repeated .PlayerLocationInfo player_loc_list = 3; */ emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder getPlayerLocListOrBuilder( int index); /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ java.util.List getVehicleLocListList(); /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo getVehicleLocList(int index); /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ int getVehicleLocListCount(); /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ java.util.List getVehicleLocListOrBuilderList(); /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfoOrBuilder getVehicleLocListOrBuilder( int index); } /** *
   * CmdId: 212
   * Name: HCKDLDDBGEN
   * 
* * Protobuf type {@code ScenePlayerLocationNotify} */ public static final class ScenePlayerLocationNotify extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ScenePlayerLocationNotify) ScenePlayerLocationNotifyOrBuilder { private static final long serialVersionUID = 0L; // Use ScenePlayerLocationNotify.newBuilder() to construct. private ScenePlayerLocationNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ScenePlayerLocationNotify() { playerLocList_ = java.util.Collections.emptyList(); vehicleLocList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ScenePlayerLocationNotify(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ScenePlayerLocationNotify( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { playerLocList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } playerLocList_.add( input.readMessage(emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.parser(), extensionRegistry)); break; } case 58: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { vehicleLocList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } vehicleLocList_.add( input.readMessage(emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.parser(), extensionRegistry)); break; } case 112: { sceneId_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { playerLocList_ = java.util.Collections.unmodifiableList(playerLocList_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { vehicleLocList_ = java.util.Collections.unmodifiableList(vehicleLocList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.internal_static_ScenePlayerLocationNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.internal_static_ScenePlayerLocationNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify.class, emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify.Builder.class); } public static final int SCENE_ID_FIELD_NUMBER = 14; private int sceneId_; /** * uint32 scene_id = 14; * @return The sceneId. */ @java.lang.Override public int getSceneId() { return sceneId_; } public static final int PLAYER_LOC_LIST_FIELD_NUMBER = 3; private java.util.List playerLocList_; /** * repeated .PlayerLocationInfo player_loc_list = 3; */ @java.lang.Override public java.util.List getPlayerLocListList() { return playerLocList_; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ @java.lang.Override public java.util.List getPlayerLocListOrBuilderList() { return playerLocList_; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ @java.lang.Override public int getPlayerLocListCount() { return playerLocList_.size(); } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ @java.lang.Override public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo getPlayerLocList(int index) { return playerLocList_.get(index); } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ @java.lang.Override public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder getPlayerLocListOrBuilder( int index) { return playerLocList_.get(index); } public static final int VEHICLE_LOC_LIST_FIELD_NUMBER = 7; private java.util.List vehicleLocList_; /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ @java.lang.Override public java.util.List getVehicleLocListList() { return vehicleLocList_; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ @java.lang.Override public java.util.List getVehicleLocListOrBuilderList() { return vehicleLocList_; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ @java.lang.Override public int getVehicleLocListCount() { return vehicleLocList_.size(); } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ @java.lang.Override public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo getVehicleLocList(int index) { return vehicleLocList_.get(index); } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ @java.lang.Override public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfoOrBuilder getVehicleLocListOrBuilder( int index) { return vehicleLocList_.get(index); } 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 { for (int i = 0; i < playerLocList_.size(); i++) { output.writeMessage(3, playerLocList_.get(i)); } for (int i = 0; i < vehicleLocList_.size(); i++) { output.writeMessage(7, vehicleLocList_.get(i)); } if (sceneId_ != 0) { output.writeUInt32(14, sceneId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < playerLocList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, playerLocList_.get(i)); } for (int i = 0; i < vehicleLocList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, vehicleLocList_.get(i)); } if (sceneId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, sceneId_); } 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.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify)) { return super.equals(obj); } emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify other = (emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify) obj; if (getSceneId() != other.getSceneId()) return false; if (!getPlayerLocListList() .equals(other.getPlayerLocListList())) return false; if (!getVehicleLocListList() .equals(other.getVehicleLocListList())) 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) + SCENE_ID_FIELD_NUMBER; hash = (53 * hash) + getSceneId(); if (getPlayerLocListCount() > 0) { hash = (37 * hash) + PLAYER_LOC_LIST_FIELD_NUMBER; hash = (53 * hash) + getPlayerLocListList().hashCode(); } if (getVehicleLocListCount() > 0) { hash = (37 * hash) + VEHICLE_LOC_LIST_FIELD_NUMBER; hash = (53 * hash) + getVehicleLocListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify 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.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify 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.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify 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.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify 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.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify 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.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify 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: 212
     * Name: HCKDLDDBGEN
     * 
* * Protobuf type {@code ScenePlayerLocationNotify} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ScenePlayerLocationNotify) emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotifyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.internal_static_ScenePlayerLocationNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.internal_static_ScenePlayerLocationNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify.class, emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify.Builder.class); } // Construct using emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPlayerLocListFieldBuilder(); getVehicleLocListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); sceneId_ = 0; if (playerLocListBuilder_ == null) { playerLocList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { playerLocListBuilder_.clear(); } if (vehicleLocListBuilder_ == null) { vehicleLocList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { vehicleLocListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.internal_static_ScenePlayerLocationNotify_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify getDefaultInstanceForType() { return emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify build() { emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify buildPartial() { emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify result = new emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify(this); int from_bitField0_ = bitField0_; result.sceneId_ = sceneId_; if (playerLocListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { playerLocList_ = java.util.Collections.unmodifiableList(playerLocList_); bitField0_ = (bitField0_ & ~0x00000001); } result.playerLocList_ = playerLocList_; } else { result.playerLocList_ = playerLocListBuilder_.build(); } if (vehicleLocListBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { vehicleLocList_ = java.util.Collections.unmodifiableList(vehicleLocList_); bitField0_ = (bitField0_ & ~0x00000002); } result.vehicleLocList_ = vehicleLocList_; } else { result.vehicleLocList_ = vehicleLocListBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify) { return mergeFrom((emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify other) { if (other == emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify.getDefaultInstance()) return this; if (other.getSceneId() != 0) { setSceneId(other.getSceneId()); } if (playerLocListBuilder_ == null) { if (!other.playerLocList_.isEmpty()) { if (playerLocList_.isEmpty()) { playerLocList_ = other.playerLocList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePlayerLocListIsMutable(); playerLocList_.addAll(other.playerLocList_); } onChanged(); } } else { if (!other.playerLocList_.isEmpty()) { if (playerLocListBuilder_.isEmpty()) { playerLocListBuilder_.dispose(); playerLocListBuilder_ = null; playerLocList_ = other.playerLocList_; bitField0_ = (bitField0_ & ~0x00000001); playerLocListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPlayerLocListFieldBuilder() : null; } else { playerLocListBuilder_.addAllMessages(other.playerLocList_); } } } if (vehicleLocListBuilder_ == null) { if (!other.vehicleLocList_.isEmpty()) { if (vehicleLocList_.isEmpty()) { vehicleLocList_ = other.vehicleLocList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureVehicleLocListIsMutable(); vehicleLocList_.addAll(other.vehicleLocList_); } onChanged(); } } else { if (!other.vehicleLocList_.isEmpty()) { if (vehicleLocListBuilder_.isEmpty()) { vehicleLocListBuilder_.dispose(); vehicleLocListBuilder_ = null; vehicleLocList_ = other.vehicleLocList_; bitField0_ = (bitField0_ & ~0x00000002); vehicleLocListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getVehicleLocListFieldBuilder() : null; } else { vehicleLocListBuilder_.addAllMessages(other.vehicleLocList_); } } } 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.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int sceneId_ ; /** * uint32 scene_id = 14; * @return The sceneId. */ @java.lang.Override public int getSceneId() { return sceneId_; } /** * uint32 scene_id = 14; * @param value The sceneId to set. * @return This builder for chaining. */ public Builder setSceneId(int value) { sceneId_ = value; onChanged(); return this; } /** * uint32 scene_id = 14; * @return This builder for chaining. */ public Builder clearSceneId() { sceneId_ = 0; onChanged(); return this; } private java.util.List playerLocList_ = java.util.Collections.emptyList(); private void ensurePlayerLocListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { playerLocList_ = new java.util.ArrayList(playerLocList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder> playerLocListBuilder_; /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public java.util.List getPlayerLocListList() { if (playerLocListBuilder_ == null) { return java.util.Collections.unmodifiableList(playerLocList_); } else { return playerLocListBuilder_.getMessageList(); } } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public int getPlayerLocListCount() { if (playerLocListBuilder_ == null) { return playerLocList_.size(); } else { return playerLocListBuilder_.getCount(); } } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo getPlayerLocList(int index) { if (playerLocListBuilder_ == null) { return playerLocList_.get(index); } else { return playerLocListBuilder_.getMessage(index); } } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public Builder setPlayerLocList( int index, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo value) { if (playerLocListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlayerLocListIsMutable(); playerLocList_.set(index, value); onChanged(); } else { playerLocListBuilder_.setMessage(index, value); } return this; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public Builder setPlayerLocList( int index, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder builderForValue) { if (playerLocListBuilder_ == null) { ensurePlayerLocListIsMutable(); playerLocList_.set(index, builderForValue.build()); onChanged(); } else { playerLocListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public Builder addPlayerLocList(emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo value) { if (playerLocListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlayerLocListIsMutable(); playerLocList_.add(value); onChanged(); } else { playerLocListBuilder_.addMessage(value); } return this; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public Builder addPlayerLocList( int index, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo value) { if (playerLocListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlayerLocListIsMutable(); playerLocList_.add(index, value); onChanged(); } else { playerLocListBuilder_.addMessage(index, value); } return this; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public Builder addPlayerLocList( emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder builderForValue) { if (playerLocListBuilder_ == null) { ensurePlayerLocListIsMutable(); playerLocList_.add(builderForValue.build()); onChanged(); } else { playerLocListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public Builder addPlayerLocList( int index, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder builderForValue) { if (playerLocListBuilder_ == null) { ensurePlayerLocListIsMutable(); playerLocList_.add(index, builderForValue.build()); onChanged(); } else { playerLocListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public Builder addAllPlayerLocList( java.lang.Iterable values) { if (playerLocListBuilder_ == null) { ensurePlayerLocListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, playerLocList_); onChanged(); } else { playerLocListBuilder_.addAllMessages(values); } return this; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public Builder clearPlayerLocList() { if (playerLocListBuilder_ == null) { playerLocList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { playerLocListBuilder_.clear(); } return this; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public Builder removePlayerLocList(int index) { if (playerLocListBuilder_ == null) { ensurePlayerLocListIsMutable(); playerLocList_.remove(index); onChanged(); } else { playerLocListBuilder_.remove(index); } return this; } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder getPlayerLocListBuilder( int index) { return getPlayerLocListFieldBuilder().getBuilder(index); } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder getPlayerLocListOrBuilder( int index) { if (playerLocListBuilder_ == null) { return playerLocList_.get(index); } else { return playerLocListBuilder_.getMessageOrBuilder(index); } } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public java.util.List getPlayerLocListOrBuilderList() { if (playerLocListBuilder_ != null) { return playerLocListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(playerLocList_); } } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder addPlayerLocListBuilder() { return getPlayerLocListFieldBuilder().addBuilder( emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.getDefaultInstance()); } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder addPlayerLocListBuilder( int index) { return getPlayerLocListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.getDefaultInstance()); } /** * repeated .PlayerLocationInfo player_loc_list = 3; */ public java.util.List getPlayerLocListBuilderList() { return getPlayerLocListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder> getPlayerLocListFieldBuilder() { if (playerLocListBuilder_ == null) { playerLocListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder, emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder>( playerLocList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); playerLocList_ = null; } return playerLocListBuilder_; } private java.util.List vehicleLocList_ = java.util.Collections.emptyList(); private void ensureVehicleLocListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { vehicleLocList_ = new java.util.ArrayList(vehicleLocList_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfoOrBuilder> vehicleLocListBuilder_; /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public java.util.List getVehicleLocListList() { if (vehicleLocListBuilder_ == null) { return java.util.Collections.unmodifiableList(vehicleLocList_); } else { return vehicleLocListBuilder_.getMessageList(); } } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public int getVehicleLocListCount() { if (vehicleLocListBuilder_ == null) { return vehicleLocList_.size(); } else { return vehicleLocListBuilder_.getCount(); } } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo getVehicleLocList(int index) { if (vehicleLocListBuilder_ == null) { return vehicleLocList_.get(index); } else { return vehicleLocListBuilder_.getMessage(index); } } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public Builder setVehicleLocList( int index, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo value) { if (vehicleLocListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVehicleLocListIsMutable(); vehicleLocList_.set(index, value); onChanged(); } else { vehicleLocListBuilder_.setMessage(index, value); } return this; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public Builder setVehicleLocList( int index, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder builderForValue) { if (vehicleLocListBuilder_ == null) { ensureVehicleLocListIsMutable(); vehicleLocList_.set(index, builderForValue.build()); onChanged(); } else { vehicleLocListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public Builder addVehicleLocList(emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo value) { if (vehicleLocListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVehicleLocListIsMutable(); vehicleLocList_.add(value); onChanged(); } else { vehicleLocListBuilder_.addMessage(value); } return this; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public Builder addVehicleLocList( int index, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo value) { if (vehicleLocListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVehicleLocListIsMutable(); vehicleLocList_.add(index, value); onChanged(); } else { vehicleLocListBuilder_.addMessage(index, value); } return this; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public Builder addVehicleLocList( emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder builderForValue) { if (vehicleLocListBuilder_ == null) { ensureVehicleLocListIsMutable(); vehicleLocList_.add(builderForValue.build()); onChanged(); } else { vehicleLocListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public Builder addVehicleLocList( int index, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder builderForValue) { if (vehicleLocListBuilder_ == null) { ensureVehicleLocListIsMutable(); vehicleLocList_.add(index, builderForValue.build()); onChanged(); } else { vehicleLocListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public Builder addAllVehicleLocList( java.lang.Iterable values) { if (vehicleLocListBuilder_ == null) { ensureVehicleLocListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, vehicleLocList_); onChanged(); } else { vehicleLocListBuilder_.addAllMessages(values); } return this; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public Builder clearVehicleLocList() { if (vehicleLocListBuilder_ == null) { vehicleLocList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { vehicleLocListBuilder_.clear(); } return this; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public Builder removeVehicleLocList(int index) { if (vehicleLocListBuilder_ == null) { ensureVehicleLocListIsMutable(); vehicleLocList_.remove(index); onChanged(); } else { vehicleLocListBuilder_.remove(index); } return this; } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder getVehicleLocListBuilder( int index) { return getVehicleLocListFieldBuilder().getBuilder(index); } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfoOrBuilder getVehicleLocListOrBuilder( int index) { if (vehicleLocListBuilder_ == null) { return vehicleLocList_.get(index); } else { return vehicleLocListBuilder_.getMessageOrBuilder(index); } } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public java.util.List getVehicleLocListOrBuilderList() { if (vehicleLocListBuilder_ != null) { return vehicleLocListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(vehicleLocList_); } } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder addVehicleLocListBuilder() { return getVehicleLocListFieldBuilder().addBuilder( emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.getDefaultInstance()); } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder addVehicleLocListBuilder( int index) { return getVehicleLocListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.getDefaultInstance()); } /** * repeated .VehicleLocationInfo vehicle_loc_list = 7; */ public java.util.List getVehicleLocListBuilderList() { return getVehicleLocListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfoOrBuilder> getVehicleLocListFieldBuilder() { if (vehicleLocListBuilder_ == null) { vehicleLocListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder, emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfoOrBuilder>( vehicleLocList_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); vehicleLocList_ = null; } return vehicleLocListBuilder_; } @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:ScenePlayerLocationNotify) } // @@protoc_insertion_point(class_scope:ScenePlayerLocationNotify) private static final emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify(); } public static emu.grasscutter.net.proto.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ScenePlayerLocationNotify parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ScenePlayerLocationNotify(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.ScenePlayerLocationNotifyOuterClass.ScenePlayerLocationNotify getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_ScenePlayerLocationNotify_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ScenePlayerLocationNotify_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\037ScenePlayerLocationNotify.proto\032\030Playe" + "rLocationInfo.proto\032\031VehicleLocationInfo" + ".proto\"\213\001\n\031ScenePlayerLocationNotify\022\020\n\010" + "scene_id\030\016 \001(\r\022,\n\017player_loc_list\030\003 \003(\0132" + "\023.PlayerLocationInfo\022.\n\020vehicle_loc_list" + "\030\007 \003(\0132\024.VehicleLocationInfoB\033\n\031emu.gras" + "scutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.getDescriptor(), emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.getDescriptor(), }); internal_static_ScenePlayerLocationNotify_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_ScenePlayerLocationNotify_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ScenePlayerLocationNotify_descriptor, new java.lang.String[] { "SceneId", "PlayerLocList", "VehicleLocList", }); emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }