All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: HomeMarkPointSceneData.proto

package emu.grasscutter.net.proto;

public final class HomeMarkPointSceneDataOuterClass {
  private HomeMarkPointSceneDataOuterClass() {}
  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 HomeMarkPointSceneDataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:HomeMarkPointSceneData)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .HomeMarkPointFurnitureData furniture_list = 7;
     */
    java.util.List 
        getFurnitureListList();
    /**
     * repeated .HomeMarkPointFurnitureData furniture_list = 7;
     */
    emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData getFurnitureList(int index);
    /**
     * repeated .HomeMarkPointFurnitureData furniture_list = 7;
     */
    int getFurnitureListCount();
    /**
     * repeated .HomeMarkPointFurnitureData furniture_list = 7;
     */
    java.util.List 
        getFurnitureListOrBuilderList();
    /**
     * repeated .HomeMarkPointFurnitureData furniture_list = 7;
     */
    emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureDataOrBuilder getFurnitureListOrBuilder(
        int index);

    /**
     * .Vector safe_point_pos = 8;
     * @return Whether the safePointPos field is set.
     */
    boolean hasSafePointPos();
    /**
     * .Vector safe_point_pos = 8;
     * @return The safePointPos.
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getSafePointPos();
    /**
     * .Vector safe_point_pos = 8;
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSafePointPosOrBuilder();

    /**
     * uint32 module_id = 9;
     * @return The moduleId.
     */
    int getModuleId();

    /**
     * uint32 scene_id = 5;
     * @return The sceneId.
     */
    int getSceneId();

    /**
     * .Vector teapot_spirit_pos = 3;
     * @return Whether the teapotSpiritPos field is set.
     */
    boolean hasTeapotSpiritPos();
    /**
     * .Vector teapot_spirit_pos = 3;
     * @return The teapotSpiritPos.
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getTeapotSpiritPos();
    /**
     * .Vector teapot_spirit_pos = 3;
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTeapotSpiritPosOrBuilder();
  }
  /**
   * 
   * Obf: OKNHJBLIEGA
   * 
* * Protobuf type {@code HomeMarkPointSceneData} */ public static final class HomeMarkPointSceneData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:HomeMarkPointSceneData) HomeMarkPointSceneDataOrBuilder { private static final long serialVersionUID = 0L; // Use HomeMarkPointSceneData.newBuilder() to construct. private HomeMarkPointSceneData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HomeMarkPointSceneData() { furnitureList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HomeMarkPointSceneData(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HomeMarkPointSceneData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 26: { emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; if (teapotSpiritPos_ != null) { subBuilder = teapotSpiritPos_.toBuilder(); } teapotSpiritPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(teapotSpiritPos_); teapotSpiritPos_ = subBuilder.buildPartial(); } break; } case 40: { sceneId_ = input.readUInt32(); break; } case 58: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { furnitureList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } furnitureList_.add( input.readMessage(emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.parser(), extensionRegistry)); break; } case 66: { emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; if (safePointPos_ != null) { subBuilder = safePointPos_.toBuilder(); } safePointPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(safePointPos_); safePointPos_ = subBuilder.buildPartial(); } break; } case 72: { moduleId_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { furnitureList_ = java.util.Collections.unmodifiableList(furnitureList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.internal_static_HomeMarkPointSceneData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.internal_static_HomeMarkPointSceneData_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData.class, emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData.Builder.class); } public static final int FURNITURE_LIST_FIELD_NUMBER = 7; private java.util.List furnitureList_; /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ @java.lang.Override public java.util.List getFurnitureListList() { return furnitureList_; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ @java.lang.Override public java.util.List getFurnitureListOrBuilderList() { return furnitureList_; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ @java.lang.Override public int getFurnitureListCount() { return furnitureList_.size(); } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ @java.lang.Override public emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData getFurnitureList(int index) { return furnitureList_.get(index); } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ @java.lang.Override public emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureDataOrBuilder getFurnitureListOrBuilder( int index) { return furnitureList_.get(index); } public static final int SAFE_POINT_POS_FIELD_NUMBER = 8; private emu.grasscutter.net.proto.VectorOuterClass.Vector safePointPos_; /** * .Vector safe_point_pos = 8; * @return Whether the safePointPos field is set. */ @java.lang.Override public boolean hasSafePointPos() { return safePointPos_ != null; } /** * .Vector safe_point_pos = 8; * @return The safePointPos. */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.Vector getSafePointPos() { return safePointPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : safePointPos_; } /** * .Vector safe_point_pos = 8; */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSafePointPosOrBuilder() { return getSafePointPos(); } public static final int MODULE_ID_FIELD_NUMBER = 9; private int moduleId_; /** * uint32 module_id = 9; * @return The moduleId. */ @java.lang.Override public int getModuleId() { return moduleId_; } public static final int SCENE_ID_FIELD_NUMBER = 5; private int sceneId_; /** * uint32 scene_id = 5; * @return The sceneId. */ @java.lang.Override public int getSceneId() { return sceneId_; } public static final int TEAPOT_SPIRIT_POS_FIELD_NUMBER = 3; private emu.grasscutter.net.proto.VectorOuterClass.Vector teapotSpiritPos_; /** * .Vector teapot_spirit_pos = 3; * @return Whether the teapotSpiritPos field is set. */ @java.lang.Override public boolean hasTeapotSpiritPos() { return teapotSpiritPos_ != null; } /** * .Vector teapot_spirit_pos = 3; * @return The teapotSpiritPos. */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.Vector getTeapotSpiritPos() { return teapotSpiritPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : teapotSpiritPos_; } /** * .Vector teapot_spirit_pos = 3; */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTeapotSpiritPosOrBuilder() { return getTeapotSpiritPos(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (teapotSpiritPos_ != null) { output.writeMessage(3, getTeapotSpiritPos()); } if (sceneId_ != 0) { output.writeUInt32(5, sceneId_); } for (int i = 0; i < furnitureList_.size(); i++) { output.writeMessage(7, furnitureList_.get(i)); } if (safePointPos_ != null) { output.writeMessage(8, getSafePointPos()); } if (moduleId_ != 0) { output.writeUInt32(9, moduleId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (teapotSpiritPos_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getTeapotSpiritPos()); } if (sceneId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, sceneId_); } for (int i = 0; i < furnitureList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, furnitureList_.get(i)); } if (safePointPos_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getSafePointPos()); } if (moduleId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, moduleId_); } 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.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData)) { return super.equals(obj); } emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData other = (emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData) obj; if (!getFurnitureListList() .equals(other.getFurnitureListList())) return false; if (hasSafePointPos() != other.hasSafePointPos()) return false; if (hasSafePointPos()) { if (!getSafePointPos() .equals(other.getSafePointPos())) return false; } if (getModuleId() != other.getModuleId()) return false; if (getSceneId() != other.getSceneId()) return false; if (hasTeapotSpiritPos() != other.hasTeapotSpiritPos()) return false; if (hasTeapotSpiritPos()) { if (!getTeapotSpiritPos() .equals(other.getTeapotSpiritPos())) 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 (getFurnitureListCount() > 0) { hash = (37 * hash) + FURNITURE_LIST_FIELD_NUMBER; hash = (53 * hash) + getFurnitureListList().hashCode(); } if (hasSafePointPos()) { hash = (37 * hash) + SAFE_POINT_POS_FIELD_NUMBER; hash = (53 * hash) + getSafePointPos().hashCode(); } hash = (37 * hash) + MODULE_ID_FIELD_NUMBER; hash = (53 * hash) + getModuleId(); hash = (37 * hash) + SCENE_ID_FIELD_NUMBER; hash = (53 * hash) + getSceneId(); if (hasTeapotSpiritPos()) { hash = (37 * hash) + TEAPOT_SPIRIT_POS_FIELD_NUMBER; hash = (53 * hash) + getTeapotSpiritPos().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData 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.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData 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.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData 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.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData 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.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData 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.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Obf: OKNHJBLIEGA
     * 
* * Protobuf type {@code HomeMarkPointSceneData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:HomeMarkPointSceneData) emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.internal_static_HomeMarkPointSceneData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.internal_static_HomeMarkPointSceneData_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData.class, emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData.Builder.class); } // Construct using emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFurnitureListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (furnitureListBuilder_ == null) { furnitureList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { furnitureListBuilder_.clear(); } if (safePointPosBuilder_ == null) { safePointPos_ = null; } else { safePointPos_ = null; safePointPosBuilder_ = null; } moduleId_ = 0; sceneId_ = 0; if (teapotSpiritPosBuilder_ == null) { teapotSpiritPos_ = null; } else { teapotSpiritPos_ = null; teapotSpiritPosBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.internal_static_HomeMarkPointSceneData_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData getDefaultInstanceForType() { return emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData build() { emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData buildPartial() { emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData result = new emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData(this); int from_bitField0_ = bitField0_; if (furnitureListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { furnitureList_ = java.util.Collections.unmodifiableList(furnitureList_); bitField0_ = (bitField0_ & ~0x00000001); } result.furnitureList_ = furnitureList_; } else { result.furnitureList_ = furnitureListBuilder_.build(); } if (safePointPosBuilder_ == null) { result.safePointPos_ = safePointPos_; } else { result.safePointPos_ = safePointPosBuilder_.build(); } result.moduleId_ = moduleId_; result.sceneId_ = sceneId_; if (teapotSpiritPosBuilder_ == null) { result.teapotSpiritPos_ = teapotSpiritPos_; } else { result.teapotSpiritPos_ = teapotSpiritPosBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData) { return mergeFrom((emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData other) { if (other == emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData.getDefaultInstance()) return this; if (furnitureListBuilder_ == null) { if (!other.furnitureList_.isEmpty()) { if (furnitureList_.isEmpty()) { furnitureList_ = other.furnitureList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFurnitureListIsMutable(); furnitureList_.addAll(other.furnitureList_); } onChanged(); } } else { if (!other.furnitureList_.isEmpty()) { if (furnitureListBuilder_.isEmpty()) { furnitureListBuilder_.dispose(); furnitureListBuilder_ = null; furnitureList_ = other.furnitureList_; bitField0_ = (bitField0_ & ~0x00000001); furnitureListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFurnitureListFieldBuilder() : null; } else { furnitureListBuilder_.addAllMessages(other.furnitureList_); } } } if (other.hasSafePointPos()) { mergeSafePointPos(other.getSafePointPos()); } if (other.getModuleId() != 0) { setModuleId(other.getModuleId()); } if (other.getSceneId() != 0) { setSceneId(other.getSceneId()); } if (other.hasTeapotSpiritPos()) { mergeTeapotSpiritPos(other.getTeapotSpiritPos()); } 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.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List furnitureList_ = java.util.Collections.emptyList(); private void ensureFurnitureListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { furnitureList_ = new java.util.ArrayList(furnitureList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.Builder, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureDataOrBuilder> furnitureListBuilder_; /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public java.util.List getFurnitureListList() { if (furnitureListBuilder_ == null) { return java.util.Collections.unmodifiableList(furnitureList_); } else { return furnitureListBuilder_.getMessageList(); } } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public int getFurnitureListCount() { if (furnitureListBuilder_ == null) { return furnitureList_.size(); } else { return furnitureListBuilder_.getCount(); } } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData getFurnitureList(int index) { if (furnitureListBuilder_ == null) { return furnitureList_.get(index); } else { return furnitureListBuilder_.getMessage(index); } } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public Builder setFurnitureList( int index, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData value) { if (furnitureListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFurnitureListIsMutable(); furnitureList_.set(index, value); onChanged(); } else { furnitureListBuilder_.setMessage(index, value); } return this; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public Builder setFurnitureList( int index, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.Builder builderForValue) { if (furnitureListBuilder_ == null) { ensureFurnitureListIsMutable(); furnitureList_.set(index, builderForValue.build()); onChanged(); } else { furnitureListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public Builder addFurnitureList(emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData value) { if (furnitureListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFurnitureListIsMutable(); furnitureList_.add(value); onChanged(); } else { furnitureListBuilder_.addMessage(value); } return this; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public Builder addFurnitureList( int index, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData value) { if (furnitureListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFurnitureListIsMutable(); furnitureList_.add(index, value); onChanged(); } else { furnitureListBuilder_.addMessage(index, value); } return this; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public Builder addFurnitureList( emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.Builder builderForValue) { if (furnitureListBuilder_ == null) { ensureFurnitureListIsMutable(); furnitureList_.add(builderForValue.build()); onChanged(); } else { furnitureListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public Builder addFurnitureList( int index, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.Builder builderForValue) { if (furnitureListBuilder_ == null) { ensureFurnitureListIsMutable(); furnitureList_.add(index, builderForValue.build()); onChanged(); } else { furnitureListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public Builder addAllFurnitureList( java.lang.Iterable values) { if (furnitureListBuilder_ == null) { ensureFurnitureListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, furnitureList_); onChanged(); } else { furnitureListBuilder_.addAllMessages(values); } return this; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public Builder clearFurnitureList() { if (furnitureListBuilder_ == null) { furnitureList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { furnitureListBuilder_.clear(); } return this; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public Builder removeFurnitureList(int index) { if (furnitureListBuilder_ == null) { ensureFurnitureListIsMutable(); furnitureList_.remove(index); onChanged(); } else { furnitureListBuilder_.remove(index); } return this; } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.Builder getFurnitureListBuilder( int index) { return getFurnitureListFieldBuilder().getBuilder(index); } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureDataOrBuilder getFurnitureListOrBuilder( int index) { if (furnitureListBuilder_ == null) { return furnitureList_.get(index); } else { return furnitureListBuilder_.getMessageOrBuilder(index); } } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public java.util.List getFurnitureListOrBuilderList() { if (furnitureListBuilder_ != null) { return furnitureListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(furnitureList_); } } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.Builder addFurnitureListBuilder() { return getFurnitureListFieldBuilder().addBuilder( emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.getDefaultInstance()); } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.Builder addFurnitureListBuilder( int index) { return getFurnitureListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.getDefaultInstance()); } /** * repeated .HomeMarkPointFurnitureData furniture_list = 7; */ public java.util.List getFurnitureListBuilderList() { return getFurnitureListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.Builder, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureDataOrBuilder> getFurnitureListFieldBuilder() { if (furnitureListBuilder_ == null) { furnitureListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureData.Builder, emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.HomeMarkPointFurnitureDataOrBuilder>( furnitureList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); furnitureList_ = null; } return furnitureListBuilder_; } private emu.grasscutter.net.proto.VectorOuterClass.Vector safePointPos_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> safePointPosBuilder_; /** * .Vector safe_point_pos = 8; * @return Whether the safePointPos field is set. */ public boolean hasSafePointPos() { return safePointPosBuilder_ != null || safePointPos_ != null; } /** * .Vector safe_point_pos = 8; * @return The safePointPos. */ public emu.grasscutter.net.proto.VectorOuterClass.Vector getSafePointPos() { if (safePointPosBuilder_ == null) { return safePointPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : safePointPos_; } else { return safePointPosBuilder_.getMessage(); } } /** * .Vector safe_point_pos = 8; */ public Builder setSafePointPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (safePointPosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } safePointPos_ = value; onChanged(); } else { safePointPosBuilder_.setMessage(value); } return this; } /** * .Vector safe_point_pos = 8; */ public Builder setSafePointPos( emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) { if (safePointPosBuilder_ == null) { safePointPos_ = builderForValue.build(); onChanged(); } else { safePointPosBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Vector safe_point_pos = 8; */ public Builder mergeSafePointPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (safePointPosBuilder_ == null) { if (safePointPos_ != null) { safePointPos_ = emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(safePointPos_).mergeFrom(value).buildPartial(); } else { safePointPos_ = value; } onChanged(); } else { safePointPosBuilder_.mergeFrom(value); } return this; } /** * .Vector safe_point_pos = 8; */ public Builder clearSafePointPos() { if (safePointPosBuilder_ == null) { safePointPos_ = null; onChanged(); } else { safePointPos_ = null; safePointPosBuilder_ = null; } return this; } /** * .Vector safe_point_pos = 8; */ public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getSafePointPosBuilder() { onChanged(); return getSafePointPosFieldBuilder().getBuilder(); } /** * .Vector safe_point_pos = 8; */ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSafePointPosOrBuilder() { if (safePointPosBuilder_ != null) { return safePointPosBuilder_.getMessageOrBuilder(); } else { return safePointPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : safePointPos_; } } /** * .Vector safe_point_pos = 8; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> getSafePointPosFieldBuilder() { if (safePointPosBuilder_ == null) { safePointPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>( getSafePointPos(), getParentForChildren(), isClean()); safePointPos_ = null; } return safePointPosBuilder_; } private int moduleId_ ; /** * uint32 module_id = 9; * @return The moduleId. */ @java.lang.Override public int getModuleId() { return moduleId_; } /** * uint32 module_id = 9; * @param value The moduleId to set. * @return This builder for chaining. */ public Builder setModuleId(int value) { moduleId_ = value; onChanged(); return this; } /** * uint32 module_id = 9; * @return This builder for chaining. */ public Builder clearModuleId() { moduleId_ = 0; onChanged(); return this; } private int sceneId_ ; /** * uint32 scene_id = 5; * @return The sceneId. */ @java.lang.Override public int getSceneId() { return sceneId_; } /** * uint32 scene_id = 5; * @param value The sceneId to set. * @return This builder for chaining. */ public Builder setSceneId(int value) { sceneId_ = value; onChanged(); return this; } /** * uint32 scene_id = 5; * @return This builder for chaining. */ public Builder clearSceneId() { sceneId_ = 0; onChanged(); return this; } private emu.grasscutter.net.proto.VectorOuterClass.Vector teapotSpiritPos_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> teapotSpiritPosBuilder_; /** * .Vector teapot_spirit_pos = 3; * @return Whether the teapotSpiritPos field is set. */ public boolean hasTeapotSpiritPos() { return teapotSpiritPosBuilder_ != null || teapotSpiritPos_ != null; } /** * .Vector teapot_spirit_pos = 3; * @return The teapotSpiritPos. */ public emu.grasscutter.net.proto.VectorOuterClass.Vector getTeapotSpiritPos() { if (teapotSpiritPosBuilder_ == null) { return teapotSpiritPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : teapotSpiritPos_; } else { return teapotSpiritPosBuilder_.getMessage(); } } /** * .Vector teapot_spirit_pos = 3; */ public Builder setTeapotSpiritPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (teapotSpiritPosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } teapotSpiritPos_ = value; onChanged(); } else { teapotSpiritPosBuilder_.setMessage(value); } return this; } /** * .Vector teapot_spirit_pos = 3; */ public Builder setTeapotSpiritPos( emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) { if (teapotSpiritPosBuilder_ == null) { teapotSpiritPos_ = builderForValue.build(); onChanged(); } else { teapotSpiritPosBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Vector teapot_spirit_pos = 3; */ public Builder mergeTeapotSpiritPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (teapotSpiritPosBuilder_ == null) { if (teapotSpiritPos_ != null) { teapotSpiritPos_ = emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(teapotSpiritPos_).mergeFrom(value).buildPartial(); } else { teapotSpiritPos_ = value; } onChanged(); } else { teapotSpiritPosBuilder_.mergeFrom(value); } return this; } /** * .Vector teapot_spirit_pos = 3; */ public Builder clearTeapotSpiritPos() { if (teapotSpiritPosBuilder_ == null) { teapotSpiritPos_ = null; onChanged(); } else { teapotSpiritPos_ = null; teapotSpiritPosBuilder_ = null; } return this; } /** * .Vector teapot_spirit_pos = 3; */ public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getTeapotSpiritPosBuilder() { onChanged(); return getTeapotSpiritPosFieldBuilder().getBuilder(); } /** * .Vector teapot_spirit_pos = 3; */ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTeapotSpiritPosOrBuilder() { if (teapotSpiritPosBuilder_ != null) { return teapotSpiritPosBuilder_.getMessageOrBuilder(); } else { return teapotSpiritPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : teapotSpiritPos_; } } /** * .Vector teapot_spirit_pos = 3; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> getTeapotSpiritPosFieldBuilder() { if (teapotSpiritPosBuilder_ == null) { teapotSpiritPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>( getTeapotSpiritPos(), getParentForChildren(), isClean()); teapotSpiritPos_ = null; } return teapotSpiritPosBuilder_; } @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:HomeMarkPointSceneData) } // @@protoc_insertion_point(class_scope:HomeMarkPointSceneData) private static final emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData(); } public static emu.grasscutter.net.proto.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HomeMarkPointSceneData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HomeMarkPointSceneData(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.HomeMarkPointSceneDataOuterClass.HomeMarkPointSceneData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_HomeMarkPointSceneData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_HomeMarkPointSceneData_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\034HomeMarkPointSceneData.proto\032 HomeMark" + "PointFurnitureData.proto\032\014Vector.proto\"\267" + "\001\n\026HomeMarkPointSceneData\0223\n\016furniture_l" + "ist\030\007 \003(\0132\033.HomeMarkPointFurnitureData\022\037" + "\n\016safe_point_pos\030\010 \001(\0132\007.Vector\022\021\n\tmodul" + "e_id\030\t \001(\r\022\020\n\010scene_id\030\005 \001(\r\022\"\n\021teapot_s" + "pirit_pos\030\003 \001(\0132\007.VectorB\033\n\031emu.grasscut" + "ter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.getDescriptor(), emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(), }); internal_static_HomeMarkPointSceneData_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_HomeMarkPointSceneData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_HomeMarkPointSceneData_descriptor, new java.lang.String[] { "FurnitureList", "SafePointPos", "ModuleId", "SceneId", "TeapotSpiritPos", }); emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.getDescriptor(); emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy