diff --git a/src/generated/main/java/emu/grasscutter/net/proto/ScenePointUnlockNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/ScenePointUnlockNotifyOuterClass.java index bd4616c0d..4d4d773a2 100644 --- a/src/generated/main/java/emu/grasscutter/net/proto/ScenePointUnlockNotifyOuterClass.java +++ b/src/generated/main/java/emu/grasscutter/net/proto/ScenePointUnlockNotifyOuterClass.java @@ -1,1585 +1,1315 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ScenePointUnlockNotify.proto - -package emu.grasscutter.net.proto; - -public final class ScenePointUnlockNotifyOuterClass { - private ScenePointUnlockNotifyOuterClass() {} - - 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 ScenePointUnlockNotifyOrBuilder - extends - // @@protoc_insertion_point(interface_extends:ScenePointUnlockNotify) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-         * JOMDNANCHND
-         * 
- * - * repeated uint32 locked_point_list = 14; - * - * @return A list containing the lockedPointList. - */ - java.util.List getLockedPointListList(); - /** - * - * - *
-         * JOMDNANCHND
-         * 
- * - * repeated uint32 locked_point_list = 14; - * - * @return The count of lockedPointList. - */ - int getLockedPointListCount(); - /** - * - * - *
-         * JOMDNANCHND
-         * 
- * - * repeated uint32 locked_point_list = 14; - * - * @param index The index of the element to return. - * @return The lockedPointList at the given index. - */ - int getLockedPointList(int index); - - /** - * repeated uint32 hide_point_list = 9; - * - * @return A list containing the hidePointList. - */ - java.util.List getHidePointListList(); - /** - * repeated uint32 hide_point_list = 9; - * - * @return The count of hidePointList. - */ - int getHidePointListCount(); - /** - * repeated uint32 hide_point_list = 9; - * - * @param index The index of the element to return. - * @return The hidePointList at the given index. - */ - int getHidePointList(int index); - - /** - * repeated uint32 point_list = 3; - * - * @return A list containing the pointList. - */ - java.util.List getPointListList(); - /** - * repeated uint32 point_list = 3; - * - * @return The count of pointList. - */ - int getPointListCount(); - /** - * repeated uint32 point_list = 3; - * - * @param index The index of the element to return. - * @return The pointList at the given index. - */ - int getPointList(int index); - - /** - * - * - *
-         * LLLIACPHNEH
-         * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @return A list containing the unhidePointList. - */ - java.util.List getUnhidePointListList(); - /** - * - * - *
-         * LLLIACPHNEH
-         * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @return The count of unhidePointList. - */ - int getUnhidePointListCount(); - /** - * - * - *
-         * LLLIACPHNEH
-         * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @param index The index of the element to return. - * @return The unhidePointList at the given index. - */ - int getUnhidePointList(int index); - - /** - * uint32 scene_id = 6; - * - * @return The sceneId. - */ - int getSceneId(); - } - /** - * - * - *
-     * Name: DCLKBOACANF
-     * CmdId: 261
-     * 
- * - * Protobuf type {@code ScenePointUnlockNotify} - */ - public static final class ScenePointUnlockNotify extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:ScenePointUnlockNotify) - ScenePointUnlockNotifyOrBuilder { - private static final long serialVersionUID = 0L; - // Use ScenePointUnlockNotify.newBuilder() to construct. - private ScenePointUnlockNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ScenePointUnlockNotify() { - lockedPointList_ = emptyIntList(); - hidePointList_ = emptyIntList(); - pointList_ = emptyIntList(); - unhidePointList_ = emptyIntList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ScenePointUnlockNotify(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ScenePointUnlockNotify( - 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 24: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - pointList_ = newIntList(); - mutable_bitField0_ |= 0x00000004; - } - pointList_.addInt(input.readUInt32()); - break; - } - case 26: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { - pointList_ = newIntList(); - mutable_bitField0_ |= 0x00000004; - } - while (input.getBytesUntilLimit() > 0) { - pointList_.addInt(input.readUInt32()); - } - input.popLimit(limit); - break; - } - case 48: - { - sceneId_ = input.readUInt32(); - break; - } - case 56: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - unhidePointList_ = newIntList(); - mutable_bitField0_ |= 0x00000008; - } - unhidePointList_.addInt(input.readUInt32()); - break; - } - case 58: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { - unhidePointList_ = newIntList(); - mutable_bitField0_ |= 0x00000008; - } - while (input.getBytesUntilLimit() > 0) { - unhidePointList_.addInt(input.readUInt32()); - } - input.popLimit(limit); - break; - } - case 72: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - hidePointList_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } - hidePointList_.addInt(input.readUInt32()); - break; - } - case 74: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - hidePointList_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } - while (input.getBytesUntilLimit() > 0) { - hidePointList_.addInt(input.readUInt32()); - } - input.popLimit(limit); - break; - } - case 112: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - lockedPointList_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - lockedPointList_.addInt(input.readUInt32()); - break; - } - case 114: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - lockedPointList_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { - lockedPointList_.addInt(input.readUInt32()); - } - input.popLimit(limit); - 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_ & 0x00000004) != 0)) { - pointList_.makeImmutable(); // C - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - unhidePointList_.makeImmutable(); // C - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - hidePointList_.makeImmutable(); // C - } - if (((mutable_bitField0_ & 0x00000001) != 0)) { - lockedPointList_.makeImmutable(); // C - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass - .internal_static_ScenePointUnlockNotify_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass - .internal_static_ScenePointUnlockNotify_fieldAccessorTable - .ensureFieldAccessorsInitialized( - emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - .class, - emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - .Builder.class); - } - - public static final int LOCKED_POINT_LIST_FIELD_NUMBER = 14; - private com.google.protobuf.Internal.IntList lockedPointList_; - /** - * - * - *
-         * JOMDNANCHND
-         * 
- * - * repeated uint32 locked_point_list = 14; - * - * @return A list containing the lockedPointList. - */ - @java.lang.Override - public java.util.List getLockedPointListList() { - return lockedPointList_; - } - /** - * - * - *
-         * JOMDNANCHND
-         * 
- * - * repeated uint32 locked_point_list = 14; - * - * @return The count of lockedPointList. - */ - public int getLockedPointListCount() { - return lockedPointList_.size(); - } - /** - * - * - *
-         * JOMDNANCHND
-         * 
- * - * repeated uint32 locked_point_list = 14; - * - * @param index The index of the element to return. - * @return The lockedPointList at the given index. - */ - public int getLockedPointList(int index) { - return lockedPointList_.getInt(index); - } - - private int lockedPointListMemoizedSerializedSize = -1; - - public static final int HIDE_POINT_LIST_FIELD_NUMBER = 9; - private com.google.protobuf.Internal.IntList hidePointList_; - /** - * repeated uint32 hide_point_list = 9; - * - * @return A list containing the hidePointList. - */ - @java.lang.Override - public java.util.List getHidePointListList() { - return hidePointList_; - } - /** - * repeated uint32 hide_point_list = 9; - * - * @return The count of hidePointList. - */ - public int getHidePointListCount() { - return hidePointList_.size(); - } - /** - * repeated uint32 hide_point_list = 9; - * - * @param index The index of the element to return. - * @return The hidePointList at the given index. - */ - public int getHidePointList(int index) { - return hidePointList_.getInt(index); - } - - private int hidePointListMemoizedSerializedSize = -1; - - public static final int POINT_LIST_FIELD_NUMBER = 3; - private com.google.protobuf.Internal.IntList pointList_; - /** - * repeated uint32 point_list = 3; - * - * @return A list containing the pointList. - */ - @java.lang.Override - public java.util.List getPointListList() { - return pointList_; - } - /** - * repeated uint32 point_list = 3; - * - * @return The count of pointList. - */ - public int getPointListCount() { - return pointList_.size(); - } - /** - * repeated uint32 point_list = 3; - * - * @param index The index of the element to return. - * @return The pointList at the given index. - */ - public int getPointList(int index) { - return pointList_.getInt(index); - } - - private int pointListMemoizedSerializedSize = -1; - - public static final int UNHIDE_POINT_LIST_FIELD_NUMBER = 7; - private com.google.protobuf.Internal.IntList unhidePointList_; - /** - * - * - *
-         * LLLIACPHNEH
-         * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @return A list containing the unhidePointList. - */ - @java.lang.Override - public java.util.List getUnhidePointListList() { - return unhidePointList_; - } - /** - * - * - *
-         * LLLIACPHNEH
-         * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @return The count of unhidePointList. - */ - public int getUnhidePointListCount() { - return unhidePointList_.size(); - } - /** - * - * - *
-         * LLLIACPHNEH
-         * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @param index The index of the element to return. - * @return The unhidePointList at the given index. - */ - public int getUnhidePointList(int index) { - return unhidePointList_.getInt(index); - } - - private int unhidePointListMemoizedSerializedSize = -1; - - public static final int SCENE_ID_FIELD_NUMBER = 6; - private int sceneId_; - /** - * uint32 scene_id = 6; - * - * @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 { - getSerializedSize(); - if (getPointListList().size() > 0) { - output.writeUInt32NoTag(26); - output.writeUInt32NoTag(pointListMemoizedSerializedSize); - } - for (int i = 0; i < pointList_.size(); i++) { - output.writeUInt32NoTag(pointList_.getInt(i)); - } - if (sceneId_ != 0) { - output.writeUInt32(6, sceneId_); - } - if (getUnhidePointListList().size() > 0) { - output.writeUInt32NoTag(58); - output.writeUInt32NoTag(unhidePointListMemoizedSerializedSize); - } - for (int i = 0; i < unhidePointList_.size(); i++) { - output.writeUInt32NoTag(unhidePointList_.getInt(i)); - } - if (getHidePointListList().size() > 0) { - output.writeUInt32NoTag(74); - output.writeUInt32NoTag(hidePointListMemoizedSerializedSize); - } - for (int i = 0; i < hidePointList_.size(); i++) { - output.writeUInt32NoTag(hidePointList_.getInt(i)); - } - if (getLockedPointListList().size() > 0) { - output.writeUInt32NoTag(114); - output.writeUInt32NoTag(lockedPointListMemoizedSerializedSize); - } - for (int i = 0; i < lockedPointList_.size(); i++) { - output.writeUInt32NoTag(lockedPointList_.getInt(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < pointList_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(pointList_.getInt(i)); - } - size += dataSize; - if (!getPointListList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); - } - pointListMemoizedSerializedSize = dataSize; - } - if (sceneId_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, sceneId_); - } - { - int dataSize = 0; - for (int i = 0; i < unhidePointList_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag( - unhidePointList_.getInt(i)); - } - size += dataSize; - if (!getUnhidePointListList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); - } - unhidePointListMemoizedSerializedSize = dataSize; - } - { - int dataSize = 0; - for (int i = 0; i < hidePointList_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag( - hidePointList_.getInt(i)); - } - size += dataSize; - if (!getHidePointListList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); - } - hidePointListMemoizedSerializedSize = dataSize; - } - { - int dataSize = 0; - for (int i = 0; i < lockedPointList_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag( - lockedPointList_.getInt(i)); - } - size += dataSize; - if (!getLockedPointListList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); - } - lockedPointListMemoizedSerializedSize = dataSize; - } - 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify)) { - return super.equals(obj); - } - emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify other = - (emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify) obj; - - if (!getLockedPointListList().equals(other.getLockedPointListList())) return false; - if (!getHidePointListList().equals(other.getHidePointListList())) return false; - if (!getPointListList().equals(other.getPointListList())) return false; - if (!getUnhidePointListList().equals(other.getUnhidePointListList())) 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 (getLockedPointListCount() > 0) { - hash = (37 * hash) + LOCKED_POINT_LIST_FIELD_NUMBER; - hash = (53 * hash) + getLockedPointListList().hashCode(); - } - if (getHidePointListCount() > 0) { - hash = (37 * hash) + HIDE_POINT_LIST_FIELD_NUMBER; - hash = (53 * hash) + getHidePointListList().hashCode(); - } - if (getPointListCount() > 0) { - hash = (37 * hash) + POINT_LIST_FIELD_NUMBER; - hash = (53 * hash) + getPointListList().hashCode(); - } - if (getUnhidePointListCount() > 0) { - hash = (37 * hash) + UNHIDE_POINT_LIST_FIELD_NUMBER; - hash = (53 * hash) + getUnhidePointListList().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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - 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; - } - /** - * - * - *
-         * Name: DCLKBOACANF
-         * CmdId: 261
-         * 
- * - * Protobuf type {@code ScenePointUnlockNotify} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:ScenePointUnlockNotify) - emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotifyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass - .internal_static_ScenePointUnlockNotify_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass - .internal_static_ScenePointUnlockNotify_fieldAccessorTable - .ensureFieldAccessorsInitialized( - emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - .class, - emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - .Builder.class); - } - - // Construct using - // emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify.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(); - lockedPointList_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000001); - hidePointList_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000002); - pointList_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000004); - unhidePointList_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000008); - sceneId_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass - .internal_static_ScenePointUnlockNotify_descriptor; - } - - @java.lang.Override - public emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - getDefaultInstanceForType() { - return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - .getDefaultInstance(); - } - - @java.lang.Override - public emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - build() { - emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - buildPartial() { - emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify result = - new emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify( - this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - lockedPointList_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.lockedPointList_ = lockedPointList_; - if (((bitField0_ & 0x00000002) != 0)) { - hidePointList_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.hidePointList_ = hidePointList_; - if (((bitField0_ & 0x00000004) != 0)) { - pointList_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.pointList_ = pointList_; - if (((bitField0_ & 0x00000008) != 0)) { - unhidePointList_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.unhidePointList_ = unhidePointList_; - 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify) { - return mergeFrom( - (emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify) - other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify other) { - if (other - == emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - .getDefaultInstance()) return this; - if (!other.lockedPointList_.isEmpty()) { - if (lockedPointList_.isEmpty()) { - lockedPointList_ = other.lockedPointList_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureLockedPointListIsMutable(); - lockedPointList_.addAll(other.lockedPointList_); - } - onChanged(); - } - if (!other.hidePointList_.isEmpty()) { - if (hidePointList_.isEmpty()) { - hidePointList_ = other.hidePointList_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureHidePointListIsMutable(); - hidePointList_.addAll(other.hidePointList_); - } - onChanged(); - } - if (!other.pointList_.isEmpty()) { - if (pointList_.isEmpty()) { - pointList_ = other.pointList_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensurePointListIsMutable(); - pointList_.addAll(other.pointList_); - } - onChanged(); - } - if (!other.unhidePointList_.isEmpty()) { - if (unhidePointList_.isEmpty()) { - unhidePointList_ = other.unhidePointList_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureUnhidePointListIsMutable(); - unhidePointList_.addAll(other.unhidePointList_); - } - onChanged(); - } - 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.protobuf.Internal.IntList lockedPointList_ = emptyIntList(); - - private void ensureLockedPointListIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - lockedPointList_ = mutableCopy(lockedPointList_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
-             * JOMDNANCHND
-             * 
- * - * repeated uint32 locked_point_list = 14; - * - * @return A list containing the lockedPointList. - */ - public java.util.List getLockedPointListList() { - return ((bitField0_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(lockedPointList_) - : lockedPointList_; - } - /** - * - * - *
-             * JOMDNANCHND
-             * 
- * - * repeated uint32 locked_point_list = 14; - * - * @return The count of lockedPointList. - */ - public int getLockedPointListCount() { - return lockedPointList_.size(); - } - /** - * - * - *
-             * JOMDNANCHND
-             * 
- * - * repeated uint32 locked_point_list = 14; - * - * @param index The index of the element to return. - * @return The lockedPointList at the given index. - */ - public int getLockedPointList(int index) { - return lockedPointList_.getInt(index); - } - /** - * - * - *
-             * JOMDNANCHND
-             * 
- * - * repeated uint32 locked_point_list = 14; - * - * @param index The index to set the value at. - * @param value The lockedPointList to set. - * @return This builder for chaining. - */ - public Builder setLockedPointList(int index, int value) { - ensureLockedPointListIsMutable(); - lockedPointList_.setInt(index, value); - onChanged(); - return this; - } - /** - * - * - *
-             * JOMDNANCHND
-             * 
- * - * repeated uint32 locked_point_list = 14; - * - * @param value The lockedPointList to add. - * @return This builder for chaining. - */ - public Builder addLockedPointList(int value) { - ensureLockedPointListIsMutable(); - lockedPointList_.addInt(value); - onChanged(); - return this; - } - /** - * - * - *
-             * JOMDNANCHND
-             * 
- * - * repeated uint32 locked_point_list = 14; - * - * @param values The lockedPointList to add. - * @return This builder for chaining. - */ - public Builder addAllLockedPointList(java.lang.Iterable values) { - ensureLockedPointListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, lockedPointList_); - onChanged(); - return this; - } - /** - * - * - *
-             * JOMDNANCHND
-             * 
- * - * repeated uint32 locked_point_list = 14; - * - * @return This builder for chaining. - */ - public Builder clearLockedPointList() { - lockedPointList_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - private com.google.protobuf.Internal.IntList hidePointList_ = emptyIntList(); - - private void ensureHidePointListIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - hidePointList_ = mutableCopy(hidePointList_); - bitField0_ |= 0x00000002; - } - } - /** - * repeated uint32 hide_point_list = 9; - * - * @return A list containing the hidePointList. - */ - public java.util.List getHidePointListList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(hidePointList_) - : hidePointList_; - } - /** - * repeated uint32 hide_point_list = 9; - * - * @return The count of hidePointList. - */ - public int getHidePointListCount() { - return hidePointList_.size(); - } - /** - * repeated uint32 hide_point_list = 9; - * - * @param index The index of the element to return. - * @return The hidePointList at the given index. - */ - public int getHidePointList(int index) { - return hidePointList_.getInt(index); - } - /** - * repeated uint32 hide_point_list = 9; - * - * @param index The index to set the value at. - * @param value The hidePointList to set. - * @return This builder for chaining. - */ - public Builder setHidePointList(int index, int value) { - ensureHidePointListIsMutable(); - hidePointList_.setInt(index, value); - onChanged(); - return this; - } - /** - * repeated uint32 hide_point_list = 9; - * - * @param value The hidePointList to add. - * @return This builder for chaining. - */ - public Builder addHidePointList(int value) { - ensureHidePointListIsMutable(); - hidePointList_.addInt(value); - onChanged(); - return this; - } - /** - * repeated uint32 hide_point_list = 9; - * - * @param values The hidePointList to add. - * @return This builder for chaining. - */ - public Builder addAllHidePointList(java.lang.Iterable values) { - ensureHidePointListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hidePointList_); - onChanged(); - return this; - } - /** - * repeated uint32 hide_point_list = 9; - * - * @return This builder for chaining. - */ - public Builder clearHidePointList() { - hidePointList_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - private com.google.protobuf.Internal.IntList pointList_ = emptyIntList(); - - private void ensurePointListIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - pointList_ = mutableCopy(pointList_); - bitField0_ |= 0x00000004; - } - } - /** - * repeated uint32 point_list = 3; - * - * @return A list containing the pointList. - */ - public java.util.List getPointListList() { - return ((bitField0_ & 0x00000004) != 0) - ? java.util.Collections.unmodifiableList(pointList_) - : pointList_; - } - /** - * repeated uint32 point_list = 3; - * - * @return The count of pointList. - */ - public int getPointListCount() { - return pointList_.size(); - } - /** - * repeated uint32 point_list = 3; - * - * @param index The index of the element to return. - * @return The pointList at the given index. - */ - public int getPointList(int index) { - return pointList_.getInt(index); - } - /** - * repeated uint32 point_list = 3; - * - * @param index The index to set the value at. - * @param value The pointList to set. - * @return This builder for chaining. - */ - public Builder setPointList(int index, int value) { - ensurePointListIsMutable(); - pointList_.setInt(index, value); - onChanged(); - return this; - } - /** - * repeated uint32 point_list = 3; - * - * @param value The pointList to add. - * @return This builder for chaining. - */ - public Builder addPointList(int value) { - ensurePointListIsMutable(); - pointList_.addInt(value); - onChanged(); - return this; - } - /** - * repeated uint32 point_list = 3; - * - * @param values The pointList to add. - * @return This builder for chaining. - */ - public Builder addAllPointList(java.lang.Iterable values) { - ensurePointListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pointList_); - onChanged(); - return this; - } - /** - * repeated uint32 point_list = 3; - * - * @return This builder for chaining. - */ - public Builder clearPointList() { - pointList_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - private com.google.protobuf.Internal.IntList unhidePointList_ = emptyIntList(); - - private void ensureUnhidePointListIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - unhidePointList_ = mutableCopy(unhidePointList_); - bitField0_ |= 0x00000008; - } - } - /** - * - * - *
-             * LLLIACPHNEH
-             * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @return A list containing the unhidePointList. - */ - public java.util.List getUnhidePointListList() { - return ((bitField0_ & 0x00000008) != 0) - ? java.util.Collections.unmodifiableList(unhidePointList_) - : unhidePointList_; - } - /** - * - * - *
-             * LLLIACPHNEH
-             * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @return The count of unhidePointList. - */ - public int getUnhidePointListCount() { - return unhidePointList_.size(); - } - /** - * - * - *
-             * LLLIACPHNEH
-             * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @param index The index of the element to return. - * @return The unhidePointList at the given index. - */ - public int getUnhidePointList(int index) { - return unhidePointList_.getInt(index); - } - /** - * - * - *
-             * LLLIACPHNEH
-             * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @param index The index to set the value at. - * @param value The unhidePointList to set. - * @return This builder for chaining. - */ - public Builder setUnhidePointList(int index, int value) { - ensureUnhidePointListIsMutable(); - unhidePointList_.setInt(index, value); - onChanged(); - return this; - } - /** - * - * - *
-             * LLLIACPHNEH
-             * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @param value The unhidePointList to add. - * @return This builder for chaining. - */ - public Builder addUnhidePointList(int value) { - ensureUnhidePointListIsMutable(); - unhidePointList_.addInt(value); - onChanged(); - return this; - } - /** - * - * - *
-             * LLLIACPHNEH
-             * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @param values The unhidePointList to add. - * @return This builder for chaining. - */ - public Builder addAllUnhidePointList(java.lang.Iterable values) { - ensureUnhidePointListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unhidePointList_); - onChanged(); - return this; - } - /** - * - * - *
-             * LLLIACPHNEH
-             * 
- * - * repeated uint32 unhide_point_list = 7; - * - * @return This builder for chaining. - */ - public Builder clearUnhidePointList() { - unhidePointList_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - - private int sceneId_; - /** - * uint32 scene_id = 6; - * - * @return The sceneId. - */ - @java.lang.Override - public int getSceneId() { - return sceneId_; - } - /** - * uint32 scene_id = 6; - * - * @param value The sceneId to set. - * @return This builder for chaining. - */ - public Builder setSceneId(int value) { - - sceneId_ = value; - onChanged(); - return this; - } - /** - * uint32 scene_id = 6; - * - * @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:ScenePointUnlockNotify) - } - - // @@protoc_insertion_point(class_scope:ScenePointUnlockNotify) - private static final emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass - .ScenePointUnlockNotify - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify(); - } - - public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScenePointUnlockNotify parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ScenePointUnlockNotify(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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ScenePointUnlockNotify_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_ScenePointUnlockNotify_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\034ScenePointUnlockNotify.proto\"\215\001\n\026Scene" - + "PointUnlockNotify\022\031\n\021locked_point_list\030\016" - + " \003(\r\022\027\n\017hide_point_list\030\t \003(\r\022\022\n\npoint_l" - + "ist\030\003 \003(\r\022\031\n\021unhide_point_list\030\007 \003(\r\022\020\n\010" - + "scene_id\030\006 \001(\rB\033\n\031emu.grasscutter.net.pr" - + "otob\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_ScenePointUnlockNotify_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_ScenePointUnlockNotify_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_ScenePointUnlockNotify_descriptor, - new java.lang.String[] { - "LockedPointList", "HidePointList", "PointList", "UnhidePointList", "SceneId", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ScenePointUnlockNotify.proto + +package emu.grasscutter.net.proto; + +public final class ScenePointUnlockNotifyOuterClass { + private ScenePointUnlockNotifyOuterClass() {} + 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 ScenePointUnlockNotifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:ScenePointUnlockNotify) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated uint32 unhide_point_list = 14; + * @return A list containing the unhidePointList. + */ + java.util.List getUnhidePointListList(); + /** + * repeated uint32 unhide_point_list = 14; + * @return The count of unhidePointList. + */ + int getUnhidePointListCount(); + /** + * repeated uint32 unhide_point_list = 14; + * @param index The index of the element to return. + * @return The unhidePointList at the given index. + */ + int getUnhidePointList(int index); + + /** + * repeated uint32 hide_point_list = 9; + * @return A list containing the hidePointList. + */ + java.util.List getHidePointListList(); + /** + * repeated uint32 hide_point_list = 9; + * @return The count of hidePointList. + */ + int getHidePointListCount(); + /** + * repeated uint32 hide_point_list = 9; + * @param index The index of the element to return. + * @return The hidePointList at the given index. + */ + int getHidePointList(int index); + + /** + * repeated uint32 point_list = 3; + * @return A list containing the pointList. + */ + java.util.List getPointListList(); + /** + * repeated uint32 point_list = 3; + * @return The count of pointList. + */ + int getPointListCount(); + /** + * repeated uint32 point_list = 3; + * @param index The index of the element to return. + * @return The pointList at the given index. + */ + int getPointList(int index); + + /** + * repeated uint32 locked_point_list = 7; + * @return A list containing the lockedPointList. + */ + java.util.List getLockedPointListList(); + /** + * repeated uint32 locked_point_list = 7; + * @return The count of lockedPointList. + */ + int getLockedPointListCount(); + /** + * repeated uint32 locked_point_list = 7; + * @param index The index of the element to return. + * @return The lockedPointList at the given index. + */ + int getLockedPointList(int index); + + /** + * uint32 scene_id = 6; + * @return The sceneId. + */ + int getSceneId(); + } + /** + * Protobuf type {@code ScenePointUnlockNotify} + */ + public static final class ScenePointUnlockNotify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ScenePointUnlockNotify) + ScenePointUnlockNotifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use ScenePointUnlockNotify.newBuilder() to construct. + private ScenePointUnlockNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ScenePointUnlockNotify() { + unhidePointList_ = emptyIntList(); + hidePointList_ = emptyIntList(); + pointList_ = emptyIntList(); + lockedPointList_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ScenePointUnlockNotify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ScenePointUnlockNotify( + 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 24: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + pointList_ = newIntList(); + mutable_bitField0_ |= 0x00000004; + } + pointList_.addInt(input.readUInt32()); + break; + } + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { + pointList_ = newIntList(); + mutable_bitField0_ |= 0x00000004; + } + while (input.getBytesUntilLimit() > 0) { + pointList_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 48: { + + sceneId_ = input.readUInt32(); + break; + } + case 56: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + lockedPointList_ = newIntList(); + mutable_bitField0_ |= 0x00000008; + } + lockedPointList_.addInt(input.readUInt32()); + break; + } + case 58: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { + lockedPointList_ = newIntList(); + mutable_bitField0_ |= 0x00000008; + } + while (input.getBytesUntilLimit() > 0) { + lockedPointList_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 72: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + hidePointList_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + hidePointList_.addInt(input.readUInt32()); + break; + } + case 74: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + hidePointList_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + hidePointList_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 112: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + unhidePointList_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + unhidePointList_.addInt(input.readUInt32()); + break; + } + case 114: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + unhidePointList_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + unhidePointList_.addInt(input.readUInt32()); + } + input.popLimit(limit); + 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_ & 0x00000004) != 0)) { + pointList_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + lockedPointList_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + hidePointList_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000001) != 0)) { + unhidePointList_.makeImmutable(); // C + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.internal_static_ScenePointUnlockNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.internal_static_ScenePointUnlockNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify.class, emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify.Builder.class); + } + + public static final int UNHIDE_POINT_LIST_FIELD_NUMBER = 14; + private com.google.protobuf.Internal.IntList unhidePointList_; + /** + * repeated uint32 unhide_point_list = 14; + * @return A list containing the unhidePointList. + */ + @java.lang.Override + public java.util.List + getUnhidePointListList() { + return unhidePointList_; + } + /** + * repeated uint32 unhide_point_list = 14; + * @return The count of unhidePointList. + */ + public int getUnhidePointListCount() { + return unhidePointList_.size(); + } + /** + * repeated uint32 unhide_point_list = 14; + * @param index The index of the element to return. + * @return The unhidePointList at the given index. + */ + public int getUnhidePointList(int index) { + return unhidePointList_.getInt(index); + } + private int unhidePointListMemoizedSerializedSize = -1; + + public static final int HIDE_POINT_LIST_FIELD_NUMBER = 9; + private com.google.protobuf.Internal.IntList hidePointList_; + /** + * repeated uint32 hide_point_list = 9; + * @return A list containing the hidePointList. + */ + @java.lang.Override + public java.util.List + getHidePointListList() { + return hidePointList_; + } + /** + * repeated uint32 hide_point_list = 9; + * @return The count of hidePointList. + */ + public int getHidePointListCount() { + return hidePointList_.size(); + } + /** + * repeated uint32 hide_point_list = 9; + * @param index The index of the element to return. + * @return The hidePointList at the given index. + */ + public int getHidePointList(int index) { + return hidePointList_.getInt(index); + } + private int hidePointListMemoizedSerializedSize = -1; + + public static final int POINT_LIST_FIELD_NUMBER = 3; + private com.google.protobuf.Internal.IntList pointList_; + /** + * repeated uint32 point_list = 3; + * @return A list containing the pointList. + */ + @java.lang.Override + public java.util.List + getPointListList() { + return pointList_; + } + /** + * repeated uint32 point_list = 3; + * @return The count of pointList. + */ + public int getPointListCount() { + return pointList_.size(); + } + /** + * repeated uint32 point_list = 3; + * @param index The index of the element to return. + * @return The pointList at the given index. + */ + public int getPointList(int index) { + return pointList_.getInt(index); + } + private int pointListMemoizedSerializedSize = -1; + + public static final int LOCKED_POINT_LIST_FIELD_NUMBER = 7; + private com.google.protobuf.Internal.IntList lockedPointList_; + /** + * repeated uint32 locked_point_list = 7; + * @return A list containing the lockedPointList. + */ + @java.lang.Override + public java.util.List + getLockedPointListList() { + return lockedPointList_; + } + /** + * repeated uint32 locked_point_list = 7; + * @return The count of lockedPointList. + */ + public int getLockedPointListCount() { + return lockedPointList_.size(); + } + /** + * repeated uint32 locked_point_list = 7; + * @param index The index of the element to return. + * @return The lockedPointList at the given index. + */ + public int getLockedPointList(int index) { + return lockedPointList_.getInt(index); + } + private int lockedPointListMemoizedSerializedSize = -1; + + public static final int SCENE_ID_FIELD_NUMBER = 6; + private int sceneId_; + /** + * uint32 scene_id = 6; + * @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 { + getSerializedSize(); + if (getPointListList().size() > 0) { + output.writeUInt32NoTag(26); + output.writeUInt32NoTag(pointListMemoizedSerializedSize); + } + for (int i = 0; i < pointList_.size(); i++) { + output.writeUInt32NoTag(pointList_.getInt(i)); + } + if (sceneId_ != 0) { + output.writeUInt32(6, sceneId_); + } + if (getLockedPointListList().size() > 0) { + output.writeUInt32NoTag(58); + output.writeUInt32NoTag(lockedPointListMemoizedSerializedSize); + } + for (int i = 0; i < lockedPointList_.size(); i++) { + output.writeUInt32NoTag(lockedPointList_.getInt(i)); + } + if (getHidePointListList().size() > 0) { + output.writeUInt32NoTag(74); + output.writeUInt32NoTag(hidePointListMemoizedSerializedSize); + } + for (int i = 0; i < hidePointList_.size(); i++) { + output.writeUInt32NoTag(hidePointList_.getInt(i)); + } + if (getUnhidePointListList().size() > 0) { + output.writeUInt32NoTag(114); + output.writeUInt32NoTag(unhidePointListMemoizedSerializedSize); + } + for (int i = 0; i < unhidePointList_.size(); i++) { + output.writeUInt32NoTag(unhidePointList_.getInt(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < pointList_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(pointList_.getInt(i)); + } + size += dataSize; + if (!getPointListList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + pointListMemoizedSerializedSize = dataSize; + } + if (sceneId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, sceneId_); + } + { + int dataSize = 0; + for (int i = 0; i < lockedPointList_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(lockedPointList_.getInt(i)); + } + size += dataSize; + if (!getLockedPointListList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + lockedPointListMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < hidePointList_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(hidePointList_.getInt(i)); + } + size += dataSize; + if (!getHidePointListList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + hidePointListMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < unhidePointList_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(unhidePointList_.getInt(i)); + } + size += dataSize; + if (!getUnhidePointListList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + unhidePointListMemoizedSerializedSize = dataSize; + } + 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify)) { + return super.equals(obj); + } + emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify other = (emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify) obj; + + if (!getUnhidePointListList() + .equals(other.getUnhidePointListList())) return false; + if (!getHidePointListList() + .equals(other.getHidePointListList())) return false; + if (!getPointListList() + .equals(other.getPointListList())) return false; + if (!getLockedPointListList() + .equals(other.getLockedPointListList())) 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 (getUnhidePointListCount() > 0) { + hash = (37 * hash) + UNHIDE_POINT_LIST_FIELD_NUMBER; + hash = (53 * hash) + getUnhidePointListList().hashCode(); + } + if (getHidePointListCount() > 0) { + hash = (37 * hash) + HIDE_POINT_LIST_FIELD_NUMBER; + hash = (53 * hash) + getHidePointListList().hashCode(); + } + if (getPointListCount() > 0) { + hash = (37 * hash) + POINT_LIST_FIELD_NUMBER; + hash = (53 * hash) + getPointListList().hashCode(); + } + if (getLockedPointListCount() > 0) { + hash = (37 * hash) + LOCKED_POINT_LIST_FIELD_NUMBER; + hash = (53 * hash) + getLockedPointListList().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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify 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; + } + /** + * Protobuf type {@code ScenePointUnlockNotify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ScenePointUnlockNotify) + emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.internal_static_ScenePointUnlockNotify_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.internal_static_ScenePointUnlockNotify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify.class, emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify.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(); + unhidePointList_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + hidePointList_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000002); + pointList_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); + lockedPointList_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + sceneId_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.internal_static_ScenePointUnlockNotify_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify getDefaultInstanceForType() { + return emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify build() { + emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify buildPartial() { + emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify result = new emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + unhidePointList_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.unhidePointList_ = unhidePointList_; + if (((bitField0_ & 0x00000002) != 0)) { + hidePointList_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.hidePointList_ = hidePointList_; + if (((bitField0_ & 0x00000004) != 0)) { + pointList_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.pointList_ = pointList_; + if (((bitField0_ & 0x00000008) != 0)) { + lockedPointList_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.lockedPointList_ = lockedPointList_; + 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify) { + return mergeFrom((emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify other) { + if (other == emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify.getDefaultInstance()) return this; + if (!other.unhidePointList_.isEmpty()) { + if (unhidePointList_.isEmpty()) { + unhidePointList_ = other.unhidePointList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureUnhidePointListIsMutable(); + unhidePointList_.addAll(other.unhidePointList_); + } + onChanged(); + } + if (!other.hidePointList_.isEmpty()) { + if (hidePointList_.isEmpty()) { + hidePointList_ = other.hidePointList_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureHidePointListIsMutable(); + hidePointList_.addAll(other.hidePointList_); + } + onChanged(); + } + if (!other.pointList_.isEmpty()) { + if (pointList_.isEmpty()) { + pointList_ = other.pointList_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensurePointListIsMutable(); + pointList_.addAll(other.pointList_); + } + onChanged(); + } + if (!other.lockedPointList_.isEmpty()) { + if (lockedPointList_.isEmpty()) { + lockedPointList_ = other.lockedPointList_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureLockedPointListIsMutable(); + lockedPointList_.addAll(other.lockedPointList_); + } + onChanged(); + } + 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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.Internal.IntList unhidePointList_ = emptyIntList(); + private void ensureUnhidePointListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + unhidePointList_ = mutableCopy(unhidePointList_); + bitField0_ |= 0x00000001; + } + } + /** + * repeated uint32 unhide_point_list = 14; + * @return A list containing the unhidePointList. + */ + public java.util.List + getUnhidePointListList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(unhidePointList_) : unhidePointList_; + } + /** + * repeated uint32 unhide_point_list = 14; + * @return The count of unhidePointList. + */ + public int getUnhidePointListCount() { + return unhidePointList_.size(); + } + /** + * repeated uint32 unhide_point_list = 14; + * @param index The index of the element to return. + * @return The unhidePointList at the given index. + */ + public int getUnhidePointList(int index) { + return unhidePointList_.getInt(index); + } + /** + * repeated uint32 unhide_point_list = 14; + * @param index The index to set the value at. + * @param value The unhidePointList to set. + * @return This builder for chaining. + */ + public Builder setUnhidePointList( + int index, int value) { + ensureUnhidePointListIsMutable(); + unhidePointList_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated uint32 unhide_point_list = 14; + * @param value The unhidePointList to add. + * @return This builder for chaining. + */ + public Builder addUnhidePointList(int value) { + ensureUnhidePointListIsMutable(); + unhidePointList_.addInt(value); + onChanged(); + return this; + } + /** + * repeated uint32 unhide_point_list = 14; + * @param values The unhidePointList to add. + * @return This builder for chaining. + */ + public Builder addAllUnhidePointList( + java.lang.Iterable values) { + ensureUnhidePointListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unhidePointList_); + onChanged(); + return this; + } + /** + * repeated uint32 unhide_point_list = 14; + * @return This builder for chaining. + */ + public Builder clearUnhidePointList() { + unhidePointList_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList hidePointList_ = emptyIntList(); + private void ensureHidePointListIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + hidePointList_ = mutableCopy(hidePointList_); + bitField0_ |= 0x00000002; + } + } + /** + * repeated uint32 hide_point_list = 9; + * @return A list containing the hidePointList. + */ + public java.util.List + getHidePointListList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(hidePointList_) : hidePointList_; + } + /** + * repeated uint32 hide_point_list = 9; + * @return The count of hidePointList. + */ + public int getHidePointListCount() { + return hidePointList_.size(); + } + /** + * repeated uint32 hide_point_list = 9; + * @param index The index of the element to return. + * @return The hidePointList at the given index. + */ + public int getHidePointList(int index) { + return hidePointList_.getInt(index); + } + /** + * repeated uint32 hide_point_list = 9; + * @param index The index to set the value at. + * @param value The hidePointList to set. + * @return This builder for chaining. + */ + public Builder setHidePointList( + int index, int value) { + ensureHidePointListIsMutable(); + hidePointList_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated uint32 hide_point_list = 9; + * @param value The hidePointList to add. + * @return This builder for chaining. + */ + public Builder addHidePointList(int value) { + ensureHidePointListIsMutable(); + hidePointList_.addInt(value); + onChanged(); + return this; + } + /** + * repeated uint32 hide_point_list = 9; + * @param values The hidePointList to add. + * @return This builder for chaining. + */ + public Builder addAllHidePointList( + java.lang.Iterable values) { + ensureHidePointListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hidePointList_); + onChanged(); + return this; + } + /** + * repeated uint32 hide_point_list = 9; + * @return This builder for chaining. + */ + public Builder clearHidePointList() { + hidePointList_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList pointList_ = emptyIntList(); + private void ensurePointListIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + pointList_ = mutableCopy(pointList_); + bitField0_ |= 0x00000004; + } + } + /** + * repeated uint32 point_list = 3; + * @return A list containing the pointList. + */ + public java.util.List + getPointListList() { + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(pointList_) : pointList_; + } + /** + * repeated uint32 point_list = 3; + * @return The count of pointList. + */ + public int getPointListCount() { + return pointList_.size(); + } + /** + * repeated uint32 point_list = 3; + * @param index The index of the element to return. + * @return The pointList at the given index. + */ + public int getPointList(int index) { + return pointList_.getInt(index); + } + /** + * repeated uint32 point_list = 3; + * @param index The index to set the value at. + * @param value The pointList to set. + * @return This builder for chaining. + */ + public Builder setPointList( + int index, int value) { + ensurePointListIsMutable(); + pointList_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated uint32 point_list = 3; + * @param value The pointList to add. + * @return This builder for chaining. + */ + public Builder addPointList(int value) { + ensurePointListIsMutable(); + pointList_.addInt(value); + onChanged(); + return this; + } + /** + * repeated uint32 point_list = 3; + * @param values The pointList to add. + * @return This builder for chaining. + */ + public Builder addAllPointList( + java.lang.Iterable values) { + ensurePointListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pointList_); + onChanged(); + return this; + } + /** + * repeated uint32 point_list = 3; + * @return This builder for chaining. + */ + public Builder clearPointList() { + pointList_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList lockedPointList_ = emptyIntList(); + private void ensureLockedPointListIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + lockedPointList_ = mutableCopy(lockedPointList_); + bitField0_ |= 0x00000008; + } + } + /** + * repeated uint32 locked_point_list = 7; + * @return A list containing the lockedPointList. + */ + public java.util.List + getLockedPointListList() { + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(lockedPointList_) : lockedPointList_; + } + /** + * repeated uint32 locked_point_list = 7; + * @return The count of lockedPointList. + */ + public int getLockedPointListCount() { + return lockedPointList_.size(); + } + /** + * repeated uint32 locked_point_list = 7; + * @param index The index of the element to return. + * @return The lockedPointList at the given index. + */ + public int getLockedPointList(int index) { + return lockedPointList_.getInt(index); + } + /** + * repeated uint32 locked_point_list = 7; + * @param index The index to set the value at. + * @param value The lockedPointList to set. + * @return This builder for chaining. + */ + public Builder setLockedPointList( + int index, int value) { + ensureLockedPointListIsMutable(); + lockedPointList_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated uint32 locked_point_list = 7; + * @param value The lockedPointList to add. + * @return This builder for chaining. + */ + public Builder addLockedPointList(int value) { + ensureLockedPointListIsMutable(); + lockedPointList_.addInt(value); + onChanged(); + return this; + } + /** + * repeated uint32 locked_point_list = 7; + * @param values The lockedPointList to add. + * @return This builder for chaining. + */ + public Builder addAllLockedPointList( + java.lang.Iterable values) { + ensureLockedPointListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, lockedPointList_); + onChanged(); + return this; + } + /** + * repeated uint32 locked_point_list = 7; + * @return This builder for chaining. + */ + public Builder clearLockedPointList() { + lockedPointList_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + private int sceneId_ ; + /** + * uint32 scene_id = 6; + * @return The sceneId. + */ + @java.lang.Override + public int getSceneId() { + return sceneId_; + } + /** + * uint32 scene_id = 6; + * @param value The sceneId to set. + * @return This builder for chaining. + */ + public Builder setSceneId(int value) { + + sceneId_ = value; + onChanged(); + return this; + } + /** + * uint32 scene_id = 6; + * @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:ScenePointUnlockNotify) + } + + // @@protoc_insertion_point(class_scope:ScenePointUnlockNotify) + private static final emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify(); + } + + public static emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScenePointUnlockNotify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ScenePointUnlockNotify(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.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ScenePointUnlockNotify_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ScenePointUnlockNotify_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\034ScenePointUnlockNotify.proto\"\215\001\n\026Scene" + + "PointUnlockNotify\022\031\n\021unhide_point_list\030\016" + + " \003(\r\022\027\n\017hide_point_list\030\t \003(\r\022\022\n\npoint_l" + + "ist\030\003 \003(\r\022\031\n\021locked_point_list\030\007 \003(\r\022\020\n\010" + + "scene_id\030\006 \001(\rB\033\n\031emu.grasscutter.net.pr" + + "otob\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_ScenePointUnlockNotify_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_ScenePointUnlockNotify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ScenePointUnlockNotify_descriptor, + new java.lang.String[] { "UnhidePointList", "HidePointList", "PointList", "LockedPointList", "SceneId", }); + } + + // @@protoc_insertion_point(outer_class_scope) +}