mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 02:12:52 +08:00
1386 lines
66 KiB
Java
1386 lines
66 KiB
Java
// 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 {
|
|
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
java.util.List<emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo>
|
|
getVehicleLocListList();
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo getVehicleLocList(
|
|
int index);
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
int getVehicleLocListCount();
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass
|
|
.VehicleLocationInfoOrBuilder>
|
|
getVehicleLocListOrBuilderList();
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfoOrBuilder
|
|
getVehicleLocListOrBuilder(int index);
|
|
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
java.util.List<emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo>
|
|
getPlayerLocListList();
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo getPlayerLocList(
|
|
int index);
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
int getPlayerLocListCount();
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder>
|
|
getPlayerLocListOrBuilderList();
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder
|
|
getPlayerLocListOrBuilder(int index);
|
|
|
|
/**
|
|
* <code>uint32 scene_id = 12;</code>
|
|
*
|
|
* @return The sceneId.
|
|
*/
|
|
int getSceneId();
|
|
}
|
|
/**
|
|
*
|
|
*
|
|
* <pre>
|
|
* Name: EGCBDDHMNGD
|
|
* CmdId: 291
|
|
* </pre>
|
|
*
|
|
* 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() {
|
|
vehicleLocList_ = java.util.Collections.emptyList();
|
|
playerLocList_ = 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 58:
|
|
{
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
vehicleLocList_ =
|
|
new java.util.ArrayList<
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass
|
|
.VehicleLocationInfo>();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
vehicleLocList_.add(
|
|
input.readMessage(
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo
|
|
.parser(),
|
|
extensionRegistry));
|
|
break;
|
|
}
|
|
case 96:
|
|
{
|
|
sceneId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 122:
|
|
{
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
playerLocList_ =
|
|
new java.util.ArrayList<
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass
|
|
.PlayerLocationInfo>();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
playerLocList_.add(
|
|
input.readMessage(
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo
|
|
.parser(),
|
|
extensionRegistry));
|
|
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)) {
|
|
vehicleLocList_ = java.util.Collections.unmodifiableList(vehicleLocList_);
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
playerLocList_ = java.util.Collections.unmodifiableList(playerLocList_);
|
|
}
|
|
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 VEHICLE_LOC_LIST_FIELD_NUMBER = 7;
|
|
private java.util.List<
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo>
|
|
vehicleLocList_;
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
@java.lang.Override
|
|
public java.util.List<
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo>
|
|
getVehicleLocListList() {
|
|
return vehicleLocList_;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
@java.lang.Override
|
|
public java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass
|
|
.VehicleLocationInfoOrBuilder>
|
|
getVehicleLocListOrBuilderList() {
|
|
return vehicleLocList_;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
@java.lang.Override
|
|
public int getVehicleLocListCount() {
|
|
return vehicleLocList_.size();
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo
|
|
getVehicleLocList(int index) {
|
|
return vehicleLocList_.get(index);
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfoOrBuilder
|
|
getVehicleLocListOrBuilder(int index) {
|
|
return vehicleLocList_.get(index);
|
|
}
|
|
|
|
public static final int PLAYER_LOC_LIST_FIELD_NUMBER = 15;
|
|
private java.util.List<
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo>
|
|
playerLocList_;
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
@java.lang.Override
|
|
public java.util.List<emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo>
|
|
getPlayerLocListList() {
|
|
return playerLocList_;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
@java.lang.Override
|
|
public java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder>
|
|
getPlayerLocListOrBuilderList() {
|
|
return playerLocList_;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
@java.lang.Override
|
|
public int getPlayerLocListCount() {
|
|
return playerLocList_.size();
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo
|
|
getPlayerLocList(int index) {
|
|
return playerLocList_.get(index);
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder
|
|
getPlayerLocListOrBuilder(int index) {
|
|
return playerLocList_.get(index);
|
|
}
|
|
|
|
public static final int SCENE_ID_FIELD_NUMBER = 12;
|
|
private int sceneId_;
|
|
/**
|
|
* <code>uint32 scene_id = 12;</code>
|
|
*
|
|
* @return The sceneId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSceneId() {
|
|
return sceneId_;
|
|
}
|
|
|
|
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 < vehicleLocList_.size(); i++) {
|
|
output.writeMessage(7, vehicleLocList_.get(i));
|
|
}
|
|
if (sceneId_ != 0) {
|
|
output.writeUInt32(12, sceneId_);
|
|
}
|
|
for (int i = 0; i < playerLocList_.size(); i++) {
|
|
output.writeMessage(15, playerLocList_.get(i));
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
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(12, sceneId_);
|
|
}
|
|
for (int i = 0; i < playerLocList_.size(); i++) {
|
|
size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, playerLocList_.get(i));
|
|
}
|
|
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 (!getVehicleLocListList().equals(other.getVehicleLocListList())) return false;
|
|
if (!getPlayerLocListList().equals(other.getPlayerLocListList())) return false;
|
|
if (getSceneId() != other.getSceneId()) 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();
|
|
if (getVehicleLocListCount() > 0) {
|
|
hash = (37 * hash) + VEHICLE_LOC_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getVehicleLocListList().hashCode();
|
|
}
|
|
if (getPlayerLocListCount() > 0) {
|
|
hash = (37 * hash) + PLAYER_LOC_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPlayerLocListList().hashCode();
|
|
}
|
|
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSceneId();
|
|
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;
|
|
}
|
|
/**
|
|
*
|
|
*
|
|
* <pre>
|
|
* Name: EGCBDDHMNGD
|
|
* CmdId: 291
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code ScenePlayerLocationNotify}
|
|
*/
|
|
public static final class Builder
|
|
extends com.google.protobuf.GeneratedMessageV3.Builder<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) {
|
|
getVehicleLocListFieldBuilder();
|
|
getPlayerLocListFieldBuilder();
|
|
}
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
if (vehicleLocListBuilder_ == null) {
|
|
vehicleLocList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
vehicleLocListBuilder_.clear();
|
|
}
|
|
if (playerLocListBuilder_ == null) {
|
|
playerLocList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
playerLocListBuilder_.clear();
|
|
}
|
|
sceneId_ = 0;
|
|
|
|
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_;
|
|
if (vehicleLocListBuilder_ == null) {
|
|
if (((bitField0_ & 0x00000001) != 0)) {
|
|
vehicleLocList_ = java.util.Collections.unmodifiableList(vehicleLocList_);
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
}
|
|
result.vehicleLocList_ = vehicleLocList_;
|
|
} else {
|
|
result.vehicleLocList_ = vehicleLocListBuilder_.build();
|
|
}
|
|
if (playerLocListBuilder_ == null) {
|
|
if (((bitField0_ & 0x00000002) != 0)) {
|
|
playerLocList_ = java.util.Collections.unmodifiableList(playerLocList_);
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
}
|
|
result.playerLocList_ = playerLocList_;
|
|
} else {
|
|
result.playerLocList_ = playerLocListBuilder_.build();
|
|
}
|
|
result.sceneId_ = sceneId_;
|
|
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 (vehicleLocListBuilder_ == null) {
|
|
if (!other.vehicleLocList_.isEmpty()) {
|
|
if (vehicleLocList_.isEmpty()) {
|
|
vehicleLocList_ = other.vehicleLocList_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
ensureVehicleLocListIsMutable();
|
|
vehicleLocList_.addAll(other.vehicleLocList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (!other.vehicleLocList_.isEmpty()) {
|
|
if (vehicleLocListBuilder_.isEmpty()) {
|
|
vehicleLocListBuilder_.dispose();
|
|
vehicleLocListBuilder_ = null;
|
|
vehicleLocList_ = other.vehicleLocList_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
vehicleLocListBuilder_ =
|
|
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
|
|
? getVehicleLocListFieldBuilder()
|
|
: null;
|
|
} else {
|
|
vehicleLocListBuilder_.addAllMessages(other.vehicleLocList_);
|
|
}
|
|
}
|
|
}
|
|
if (playerLocListBuilder_ == null) {
|
|
if (!other.playerLocList_.isEmpty()) {
|
|
if (playerLocList_.isEmpty()) {
|
|
playerLocList_ = other.playerLocList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
ensurePlayerLocListIsMutable();
|
|
playerLocList_.addAll(other.playerLocList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (!other.playerLocList_.isEmpty()) {
|
|
if (playerLocListBuilder_.isEmpty()) {
|
|
playerLocListBuilder_.dispose();
|
|
playerLocListBuilder_ = null;
|
|
playerLocList_ = other.playerLocList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
playerLocListBuilder_ =
|
|
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
|
|
? getPlayerLocListFieldBuilder()
|
|
: null;
|
|
} else {
|
|
playerLocListBuilder_.addAllMessages(other.playerLocList_);
|
|
}
|
|
}
|
|
}
|
|
if (other.getSceneId() != 0) {
|
|
setSceneId(other.getSceneId());
|
|
}
|
|
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 java.util.List<
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo>
|
|
vehicleLocList_ = java.util.Collections.emptyList();
|
|
|
|
private void ensureVehicleLocListIsMutable() {
|
|
if (!((bitField0_ & 0x00000001) != 0)) {
|
|
vehicleLocList_ =
|
|
new java.util.ArrayList<
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo>(
|
|
vehicleLocList_);
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
}
|
|
|
|
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_;
|
|
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public java.util.List<
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo>
|
|
getVehicleLocListList() {
|
|
if (vehicleLocListBuilder_ == null) {
|
|
return java.util.Collections.unmodifiableList(vehicleLocList_);
|
|
} else {
|
|
return vehicleLocListBuilder_.getMessageList();
|
|
}
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public int getVehicleLocListCount() {
|
|
if (vehicleLocListBuilder_ == null) {
|
|
return vehicleLocList_.size();
|
|
} else {
|
|
return vehicleLocListBuilder_.getCount();
|
|
}
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo
|
|
getVehicleLocList(int index) {
|
|
if (vehicleLocListBuilder_ == null) {
|
|
return vehicleLocList_.get(index);
|
|
} else {
|
|
return vehicleLocListBuilder_.getMessage(index);
|
|
}
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public Builder addAllVehicleLocList(
|
|
java.lang.Iterable<
|
|
? extends
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo>
|
|
values) {
|
|
if (vehicleLocListBuilder_ == null) {
|
|
ensureVehicleLocListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vehicleLocList_);
|
|
onChanged();
|
|
} else {
|
|
vehicleLocListBuilder_.addAllMessages(values);
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public Builder clearVehicleLocList() {
|
|
if (vehicleLocListBuilder_ == null) {
|
|
vehicleLocList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
} else {
|
|
vehicleLocListBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public Builder removeVehicleLocList(int index) {
|
|
if (vehicleLocListBuilder_ == null) {
|
|
ensureVehicleLocListIsMutable();
|
|
vehicleLocList_.remove(index);
|
|
onChanged();
|
|
} else {
|
|
vehicleLocListBuilder_.remove(index);
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder
|
|
getVehicleLocListBuilder(int index) {
|
|
return getVehicleLocListFieldBuilder().getBuilder(index);
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfoOrBuilder
|
|
getVehicleLocListOrBuilder(int index) {
|
|
if (vehicleLocListBuilder_ == null) {
|
|
return vehicleLocList_.get(index);
|
|
} else {
|
|
return vehicleLocListBuilder_.getMessageOrBuilder(index);
|
|
}
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass
|
|
.VehicleLocationInfoOrBuilder>
|
|
getVehicleLocListOrBuilderList() {
|
|
if (vehicleLocListBuilder_ != null) {
|
|
return vehicleLocListBuilder_.getMessageOrBuilderList();
|
|
} else {
|
|
return java.util.Collections.unmodifiableList(vehicleLocList_);
|
|
}
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder
|
|
addVehicleLocListBuilder() {
|
|
return getVehicleLocListFieldBuilder()
|
|
.addBuilder(
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo
|
|
.getDefaultInstance());
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder
|
|
addVehicleLocListBuilder(int index) {
|
|
return getVehicleLocListFieldBuilder()
|
|
.addBuilder(
|
|
index,
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo
|
|
.getDefaultInstance());
|
|
}
|
|
/** <code>repeated .VehicleLocationInfo vehicle_loc_list = 7;</code> */
|
|
public java.util.List<
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.VehicleLocationInfo.Builder>
|
|
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_ & 0x00000001) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
vehicleLocList_ = null;
|
|
}
|
|
return vehicleLocListBuilder_;
|
|
}
|
|
|
|
private java.util.List<
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo>
|
|
playerLocList_ = java.util.Collections.emptyList();
|
|
|
|
private void ensurePlayerLocListIsMutable() {
|
|
if (!((bitField0_ & 0x00000002) != 0)) {
|
|
playerLocList_ =
|
|
new java.util.ArrayList<
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo>(
|
|
playerLocList_);
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
}
|
|
|
|
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_;
|
|
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public java.util.List<
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo>
|
|
getPlayerLocListList() {
|
|
if (playerLocListBuilder_ == null) {
|
|
return java.util.Collections.unmodifiableList(playerLocList_);
|
|
} else {
|
|
return playerLocListBuilder_.getMessageList();
|
|
}
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public int getPlayerLocListCount() {
|
|
if (playerLocListBuilder_ == null) {
|
|
return playerLocList_.size();
|
|
} else {
|
|
return playerLocListBuilder_.getCount();
|
|
}
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo
|
|
getPlayerLocList(int index) {
|
|
if (playerLocListBuilder_ == null) {
|
|
return playerLocList_.get(index);
|
|
} else {
|
|
return playerLocListBuilder_.getMessage(index);
|
|
}
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public Builder addAllPlayerLocList(
|
|
java.lang.Iterable<
|
|
? extends
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo>
|
|
values) {
|
|
if (playerLocListBuilder_ == null) {
|
|
ensurePlayerLocListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, playerLocList_);
|
|
onChanged();
|
|
} else {
|
|
playerLocListBuilder_.addAllMessages(values);
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public Builder clearPlayerLocList() {
|
|
if (playerLocListBuilder_ == null) {
|
|
playerLocList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
onChanged();
|
|
} else {
|
|
playerLocListBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public Builder removePlayerLocList(int index) {
|
|
if (playerLocListBuilder_ == null) {
|
|
ensurePlayerLocListIsMutable();
|
|
playerLocList_.remove(index);
|
|
onChanged();
|
|
} else {
|
|
playerLocListBuilder_.remove(index);
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder
|
|
getPlayerLocListBuilder(int index) {
|
|
return getPlayerLocListFieldBuilder().getBuilder(index);
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfoOrBuilder
|
|
getPlayerLocListOrBuilder(int index) {
|
|
if (playerLocListBuilder_ == null) {
|
|
return playerLocList_.get(index);
|
|
} else {
|
|
return playerLocListBuilder_.getMessageOrBuilder(index);
|
|
}
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass
|
|
.PlayerLocationInfoOrBuilder>
|
|
getPlayerLocListOrBuilderList() {
|
|
if (playerLocListBuilder_ != null) {
|
|
return playerLocListBuilder_.getMessageOrBuilderList();
|
|
} else {
|
|
return java.util.Collections.unmodifiableList(playerLocList_);
|
|
}
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder
|
|
addPlayerLocListBuilder() {
|
|
return getPlayerLocListFieldBuilder()
|
|
.addBuilder(
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo
|
|
.getDefaultInstance());
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder
|
|
addPlayerLocListBuilder(int index) {
|
|
return getPlayerLocListFieldBuilder()
|
|
.addBuilder(
|
|
index,
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo
|
|
.getDefaultInstance());
|
|
}
|
|
/** <code>repeated .PlayerLocationInfo player_loc_list = 15;</code> */
|
|
public java.util.List<
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.PlayerLocationInfo.Builder>
|
|
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_ & 0x00000002) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
playerLocList_ = null;
|
|
}
|
|
return playerLocListBuilder_;
|
|
}
|
|
|
|
private int sceneId_;
|
|
/**
|
|
* <code>uint32 scene_id = 12;</code>
|
|
*
|
|
* @return The sceneId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSceneId() {
|
|
return sceneId_;
|
|
}
|
|
/**
|
|
* <code>uint32 scene_id = 12;</code>
|
|
*
|
|
* @param value The sceneId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSceneId(int value) {
|
|
|
|
sceneId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 scene_id = 12;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSceneId() {
|
|
|
|
sceneId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final Builder setUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.setUnknownFields(unknownFields);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final Builder mergeUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.mergeUnknownFields(unknownFields);
|
|
}
|
|
|
|
// @@protoc_insertion_point(builder_scope: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<ScenePlayerLocationNotify> PARSER =
|
|
new com.google.protobuf.AbstractParser<ScenePlayerLocationNotify>() {
|
|
@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<ScenePlayerLocationNotify> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<ScenePlayerLocationNotify> 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.\n\020"
|
|
+ "vehicle_loc_list\030\007 \003(\0132\024.VehicleLocation"
|
|
+ "Info\022,\n\017player_loc_list\030\017 \003(\0132\023.PlayerLo"
|
|
+ "cationInfo\022\020\n\010scene_id\030\014 \001(\rB\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[] {
|
|
"VehicleLocList", "PlayerLocList", "SceneId",
|
|
});
|
|
emu.grasscutter.net.proto.PlayerLocationInfoOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.VehicleLocationInfoOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|