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

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

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

package emu.grasscutter.net.proto;

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

    /**
     * repeated .DungeonEntryInfo dungeon_entry_list = 9;
     */
    java.util.List 
        getDungeonEntryListList();
    /**
     * repeated .DungeonEntryInfo dungeon_entry_list = 9;
     */
    emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDungeonEntryList(int index);
    /**
     * repeated .DungeonEntryInfo dungeon_entry_list = 9;
     */
    int getDungeonEntryListCount();
    /**
     * repeated .DungeonEntryInfo dungeon_entry_list = 9;
     */
    java.util.List 
        getDungeonEntryListOrBuilderList();
    /**
     * repeated .DungeonEntryInfo dungeon_entry_list = 9;
     */
    emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getDungeonEntryListOrBuilder(
        int index);

    /**
     * uint32 point_id = 2;
     * @return The pointId.
     */
    int getPointId();

    /**
     * uint32 recommend_dungeon_id = 10;
     * @return The recommendDungeonId.
     */
    int getRecommendDungeonId();

    /**
     * uint32 scene_id = 12;
     * @return The sceneId.
     */
    int getSceneId();
  }
  /**
   * 
   * Obf: CECCCBKAFKN
   * 
* * Protobuf type {@code DungeonEntryPointInfo} */ public static final class DungeonEntryPointInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:DungeonEntryPointInfo) DungeonEntryPointInfoOrBuilder { private static final long serialVersionUID = 0L; // Use DungeonEntryPointInfo.newBuilder() to construct. private DungeonEntryPointInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DungeonEntryPointInfo() { dungeonEntryList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DungeonEntryPointInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DungeonEntryPointInfo( 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 16: { pointId_ = input.readUInt32(); break; } case 74: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { dungeonEntryList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } dungeonEntryList_.add( input.readMessage(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.parser(), extensionRegistry)); break; } case 80: { recommendDungeonId_ = input.readUInt32(); break; } case 96: { sceneId_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dungeonEntryList_ = java.util.Collections.unmodifiableList(dungeonEntryList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.internal_static_DungeonEntryPointInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.internal_static_DungeonEntryPointInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.class, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder.class); } public static final int DUNGEON_ENTRY_LIST_FIELD_NUMBER = 9; private java.util.List dungeonEntryList_; /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ @java.lang.Override public java.util.List getDungeonEntryListList() { return dungeonEntryList_; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ @java.lang.Override public java.util.List getDungeonEntryListOrBuilderList() { return dungeonEntryList_; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ @java.lang.Override public int getDungeonEntryListCount() { return dungeonEntryList_.size(); } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ @java.lang.Override public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDungeonEntryList(int index) { return dungeonEntryList_.get(index); } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ @java.lang.Override public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getDungeonEntryListOrBuilder( int index) { return dungeonEntryList_.get(index); } public static final int POINT_ID_FIELD_NUMBER = 2; private int pointId_; /** * uint32 point_id = 2; * @return The pointId. */ @java.lang.Override public int getPointId() { return pointId_; } public static final int RECOMMEND_DUNGEON_ID_FIELD_NUMBER = 10; private int recommendDungeonId_; /** * uint32 recommend_dungeon_id = 10; * @return The recommendDungeonId. */ @java.lang.Override public int getRecommendDungeonId() { return recommendDungeonId_; } public static final int SCENE_ID_FIELD_NUMBER = 12; private int sceneId_; /** * uint32 scene_id = 12; * @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 { if (pointId_ != 0) { output.writeUInt32(2, pointId_); } for (int i = 0; i < dungeonEntryList_.size(); i++) { output.writeMessage(9, dungeonEntryList_.get(i)); } if (recommendDungeonId_ != 0) { output.writeUInt32(10, recommendDungeonId_); } if (sceneId_ != 0) { output.writeUInt32(12, sceneId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (pointId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, pointId_); } for (int i = 0; i < dungeonEntryList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, dungeonEntryList_.get(i)); } if (recommendDungeonId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, recommendDungeonId_); } if (sceneId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(12, sceneId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo other = (emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo) obj; if (!getDungeonEntryListList() .equals(other.getDungeonEntryListList())) return false; if (getPointId() != other.getPointId()) return false; if (getRecommendDungeonId() != other.getRecommendDungeonId()) 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 (getDungeonEntryListCount() > 0) { hash = (37 * hash) + DUNGEON_ENTRY_LIST_FIELD_NUMBER; hash = (53 * hash) + getDungeonEntryListList().hashCode(); } hash = (37 * hash) + POINT_ID_FIELD_NUMBER; hash = (53 * hash) + getPointId(); hash = (37 * hash) + RECOMMEND_DUNGEON_ID_FIELD_NUMBER; hash = (53 * hash) + getRecommendDungeonId(); 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.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo 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.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo 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.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo 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.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo 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.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo 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.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo 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: CECCCBKAFKN
     * 
* * Protobuf type {@code DungeonEntryPointInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:DungeonEntryPointInfo) emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.internal_static_DungeonEntryPointInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.internal_static_DungeonEntryPointInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.class, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDungeonEntryListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (dungeonEntryListBuilder_ == null) { dungeonEntryList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dungeonEntryListBuilder_.clear(); } pointId_ = 0; recommendDungeonId_ = 0; sceneId_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.internal_static_DungeonEntryPointInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo build() { emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo buildPartial() { emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo result = new emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo(this); int from_bitField0_ = bitField0_; if (dungeonEntryListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dungeonEntryList_ = java.util.Collections.unmodifiableList(dungeonEntryList_); bitField0_ = (bitField0_ & ~0x00000001); } result.dungeonEntryList_ = dungeonEntryList_; } else { result.dungeonEntryList_ = dungeonEntryListBuilder_.build(); } result.pointId_ = pointId_; result.recommendDungeonId_ = recommendDungeonId_; 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.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo) { return mergeFrom((emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo other) { if (other == emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.getDefaultInstance()) return this; if (dungeonEntryListBuilder_ == null) { if (!other.dungeonEntryList_.isEmpty()) { if (dungeonEntryList_.isEmpty()) { dungeonEntryList_ = other.dungeonEntryList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDungeonEntryListIsMutable(); dungeonEntryList_.addAll(other.dungeonEntryList_); } onChanged(); } } else { if (!other.dungeonEntryList_.isEmpty()) { if (dungeonEntryListBuilder_.isEmpty()) { dungeonEntryListBuilder_.dispose(); dungeonEntryListBuilder_ = null; dungeonEntryList_ = other.dungeonEntryList_; bitField0_ = (bitField0_ & ~0x00000001); dungeonEntryListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDungeonEntryListFieldBuilder() : null; } else { dungeonEntryListBuilder_.addAllMessages(other.dungeonEntryList_); } } } if (other.getPointId() != 0) { setPointId(other.getPointId()); } if (other.getRecommendDungeonId() != 0) { setRecommendDungeonId(other.getRecommendDungeonId()); } 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.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List dungeonEntryList_ = java.util.Collections.emptyList(); private void ensureDungeonEntryListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dungeonEntryList_ = new java.util.ArrayList(dungeonEntryList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder> dungeonEntryListBuilder_; /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public java.util.List getDungeonEntryListList() { if (dungeonEntryListBuilder_ == null) { return java.util.Collections.unmodifiableList(dungeonEntryList_); } else { return dungeonEntryListBuilder_.getMessageList(); } } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public int getDungeonEntryListCount() { if (dungeonEntryListBuilder_ == null) { return dungeonEntryList_.size(); } else { return dungeonEntryListBuilder_.getCount(); } } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDungeonEntryList(int index) { if (dungeonEntryListBuilder_ == null) { return dungeonEntryList_.get(index); } else { return dungeonEntryListBuilder_.getMessage(index); } } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public Builder setDungeonEntryList( int index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo value) { if (dungeonEntryListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDungeonEntryListIsMutable(); dungeonEntryList_.set(index, value); onChanged(); } else { dungeonEntryListBuilder_.setMessage(index, value); } return this; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public Builder setDungeonEntryList( int index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder builderForValue) { if (dungeonEntryListBuilder_ == null) { ensureDungeonEntryListIsMutable(); dungeonEntryList_.set(index, builderForValue.build()); onChanged(); } else { dungeonEntryListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public Builder addDungeonEntryList(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo value) { if (dungeonEntryListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDungeonEntryListIsMutable(); dungeonEntryList_.add(value); onChanged(); } else { dungeonEntryListBuilder_.addMessage(value); } return this; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public Builder addDungeonEntryList( int index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo value) { if (dungeonEntryListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDungeonEntryListIsMutable(); dungeonEntryList_.add(index, value); onChanged(); } else { dungeonEntryListBuilder_.addMessage(index, value); } return this; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public Builder addDungeonEntryList( emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder builderForValue) { if (dungeonEntryListBuilder_ == null) { ensureDungeonEntryListIsMutable(); dungeonEntryList_.add(builderForValue.build()); onChanged(); } else { dungeonEntryListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public Builder addDungeonEntryList( int index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder builderForValue) { if (dungeonEntryListBuilder_ == null) { ensureDungeonEntryListIsMutable(); dungeonEntryList_.add(index, builderForValue.build()); onChanged(); } else { dungeonEntryListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public Builder addAllDungeonEntryList( java.lang.Iterable values) { if (dungeonEntryListBuilder_ == null) { ensureDungeonEntryListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dungeonEntryList_); onChanged(); } else { dungeonEntryListBuilder_.addAllMessages(values); } return this; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public Builder clearDungeonEntryList() { if (dungeonEntryListBuilder_ == null) { dungeonEntryList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dungeonEntryListBuilder_.clear(); } return this; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public Builder removeDungeonEntryList(int index) { if (dungeonEntryListBuilder_ == null) { ensureDungeonEntryListIsMutable(); dungeonEntryList_.remove(index); onChanged(); } else { dungeonEntryListBuilder_.remove(index); } return this; } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder getDungeonEntryListBuilder( int index) { return getDungeonEntryListFieldBuilder().getBuilder(index); } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getDungeonEntryListOrBuilder( int index) { if (dungeonEntryListBuilder_ == null) { return dungeonEntryList_.get(index); } else { return dungeonEntryListBuilder_.getMessageOrBuilder(index); } } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public java.util.List getDungeonEntryListOrBuilderList() { if (dungeonEntryListBuilder_ != null) { return dungeonEntryListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dungeonEntryList_); } } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder addDungeonEntryListBuilder() { return getDungeonEntryListFieldBuilder().addBuilder( emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance()); } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder addDungeonEntryListBuilder( int index) { return getDungeonEntryListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance()); } /** * repeated .DungeonEntryInfo dungeon_entry_list = 9; */ public java.util.List getDungeonEntryListBuilderList() { return getDungeonEntryListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder> getDungeonEntryListFieldBuilder() { if (dungeonEntryListBuilder_ == null) { dungeonEntryListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>( dungeonEntryList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dungeonEntryList_ = null; } return dungeonEntryListBuilder_; } private int pointId_ ; /** * uint32 point_id = 2; * @return The pointId. */ @java.lang.Override public int getPointId() { return pointId_; } /** * uint32 point_id = 2; * @param value The pointId to set. * @return This builder for chaining. */ public Builder setPointId(int value) { pointId_ = value; onChanged(); return this; } /** * uint32 point_id = 2; * @return This builder for chaining. */ public Builder clearPointId() { pointId_ = 0; onChanged(); return this; } private int recommendDungeonId_ ; /** * uint32 recommend_dungeon_id = 10; * @return The recommendDungeonId. */ @java.lang.Override public int getRecommendDungeonId() { return recommendDungeonId_; } /** * uint32 recommend_dungeon_id = 10; * @param value The recommendDungeonId to set. * @return This builder for chaining. */ public Builder setRecommendDungeonId(int value) { recommendDungeonId_ = value; onChanged(); return this; } /** * uint32 recommend_dungeon_id = 10; * @return This builder for chaining. */ public Builder clearRecommendDungeonId() { recommendDungeonId_ = 0; onChanged(); return this; } private int sceneId_ ; /** * uint32 scene_id = 12; * @return The sceneId. */ @java.lang.Override public int getSceneId() { return sceneId_; } /** * uint32 scene_id = 12; * @param value The sceneId to set. * @return This builder for chaining. */ public Builder setSceneId(int value) { sceneId_ = value; onChanged(); return this; } /** * uint32 scene_id = 12; * @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:DungeonEntryPointInfo) } // @@protoc_insertion_point(class_scope:DungeonEntryPointInfo) private static final emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo(); } public static emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DungeonEntryPointInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DungeonEntryPointInfo(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.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_DungeonEntryPointInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DungeonEntryPointInfo_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\033DungeonEntryPointInfo.proto\032\026DungeonEn" + "tryInfo.proto\"\210\001\n\025DungeonEntryPointInfo\022" + "-\n\022dungeon_entry_list\030\t \003(\0132\021.DungeonEnt" + "ryInfo\022\020\n\010point_id\030\002 \001(\r\022\034\n\024recommend_du" + "ngeon_id\030\n \001(\r\022\020\n\010scene_id\030\014 \001(\rB\033\n\031emu." + "grasscutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.getDescriptor(), }); internal_static_DungeonEntryPointInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_DungeonEntryPointInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DungeonEntryPointInfo_descriptor, new java.lang.String[] { "DungeonEntryList", "PointId", "RecommendDungeonId", "SceneId", }); emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy