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

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

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

package emu.grasscutter.net.proto;

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

    /**
     * uint32 best_score = 5;
     * @return The bestScore.
     */
    int getBestScore();

    /**
     * uint32 level_id = 14;
     * @return The levelId.
     */
    int getLevelId();

    /**
     * bool is_open = 11;
     * @return The isOpen.
     */
    boolean getIsOpen();

    /**
     * repeated .CrystalLinkTeamInfo team_info_list = 6;
     */
    java.util.List 
        getTeamInfoListList();
    /**
     * repeated .CrystalLinkTeamInfo team_info_list = 6;
     */
    emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo getTeamInfoList(int index);
    /**
     * repeated .CrystalLinkTeamInfo team_info_list = 6;
     */
    int getTeamInfoListCount();
    /**
     * repeated .CrystalLinkTeamInfo team_info_list = 6;
     */
    java.util.List 
        getTeamInfoListOrBuilderList();
    /**
     * repeated .CrystalLinkTeamInfo team_info_list = 6;
     */
    emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfoOrBuilder getTeamInfoListOrBuilder(
        int index);
  }
  /**
   * 
   * Obf: NLNFBPGLCBA
   * 
* * Protobuf type {@code CrystalLinkLevelInfo} */ public static final class CrystalLinkLevelInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:CrystalLinkLevelInfo) CrystalLinkLevelInfoOrBuilder { private static final long serialVersionUID = 0L; // Use CrystalLinkLevelInfo.newBuilder() to construct. private CrystalLinkLevelInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CrystalLinkLevelInfo() { teamInfoList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CrystalLinkLevelInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CrystalLinkLevelInfo( 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 40: { bestScore_ = input.readUInt32(); break; } case 50: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { teamInfoList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } teamInfoList_.add( input.readMessage(emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.parser(), extensionRegistry)); break; } case 88: { isOpen_ = input.readBool(); break; } case 112: { levelId_ = 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)) { teamInfoList_ = java.util.Collections.unmodifiableList(teamInfoList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.internal_static_CrystalLinkLevelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.internal_static_CrystalLinkLevelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo.class, emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo.Builder.class); } public static final int BEST_SCORE_FIELD_NUMBER = 5; private int bestScore_; /** * uint32 best_score = 5; * @return The bestScore. */ @java.lang.Override public int getBestScore() { return bestScore_; } public static final int LEVEL_ID_FIELD_NUMBER = 14; private int levelId_; /** * uint32 level_id = 14; * @return The levelId. */ @java.lang.Override public int getLevelId() { return levelId_; } public static final int IS_OPEN_FIELD_NUMBER = 11; private boolean isOpen_; /** * bool is_open = 11; * @return The isOpen. */ @java.lang.Override public boolean getIsOpen() { return isOpen_; } public static final int TEAM_INFO_LIST_FIELD_NUMBER = 6; private java.util.List teamInfoList_; /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ @java.lang.Override public java.util.List getTeamInfoListList() { return teamInfoList_; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ @java.lang.Override public java.util.List getTeamInfoListOrBuilderList() { return teamInfoList_; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ @java.lang.Override public int getTeamInfoListCount() { return teamInfoList_.size(); } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ @java.lang.Override public emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo getTeamInfoList(int index) { return teamInfoList_.get(index); } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ @java.lang.Override public emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfoOrBuilder getTeamInfoListOrBuilder( int index) { return teamInfoList_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (bestScore_ != 0) { output.writeUInt32(5, bestScore_); } for (int i = 0; i < teamInfoList_.size(); i++) { output.writeMessage(6, teamInfoList_.get(i)); } if (isOpen_ != false) { output.writeBool(11, isOpen_); } if (levelId_ != 0) { output.writeUInt32(14, levelId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (bestScore_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, bestScore_); } for (int i = 0; i < teamInfoList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, teamInfoList_.get(i)); } if (isOpen_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, isOpen_); } if (levelId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, levelId_); } 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.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo other = (emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo) obj; if (getBestScore() != other.getBestScore()) return false; if (getLevelId() != other.getLevelId()) return false; if (getIsOpen() != other.getIsOpen()) return false; if (!getTeamInfoListList() .equals(other.getTeamInfoListList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BEST_SCORE_FIELD_NUMBER; hash = (53 * hash) + getBestScore(); hash = (37 * hash) + LEVEL_ID_FIELD_NUMBER; hash = (53 * hash) + getLevelId(); hash = (37 * hash) + IS_OPEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsOpen()); if (getTeamInfoListCount() > 0) { hash = (37 * hash) + TEAM_INFO_LIST_FIELD_NUMBER; hash = (53 * hash) + getTeamInfoListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo 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.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo 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.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo 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.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo 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.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo 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.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo 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: NLNFBPGLCBA
     * 
* * Protobuf type {@code CrystalLinkLevelInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:CrystalLinkLevelInfo) emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.internal_static_CrystalLinkLevelInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.internal_static_CrystalLinkLevelInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo.class, emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTeamInfoListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bestScore_ = 0; levelId_ = 0; isOpen_ = false; if (teamInfoListBuilder_ == null) { teamInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { teamInfoListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.internal_static_CrystalLinkLevelInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo build() { emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo buildPartial() { emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo result = new emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo(this); int from_bitField0_ = bitField0_; result.bestScore_ = bestScore_; result.levelId_ = levelId_; result.isOpen_ = isOpen_; if (teamInfoListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { teamInfoList_ = java.util.Collections.unmodifiableList(teamInfoList_); bitField0_ = (bitField0_ & ~0x00000001); } result.teamInfoList_ = teamInfoList_; } else { result.teamInfoList_ = teamInfoListBuilder_.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.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo) { return mergeFrom((emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo other) { if (other == emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo.getDefaultInstance()) return this; if (other.getBestScore() != 0) { setBestScore(other.getBestScore()); } if (other.getLevelId() != 0) { setLevelId(other.getLevelId()); } if (other.getIsOpen() != false) { setIsOpen(other.getIsOpen()); } if (teamInfoListBuilder_ == null) { if (!other.teamInfoList_.isEmpty()) { if (teamInfoList_.isEmpty()) { teamInfoList_ = other.teamInfoList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTeamInfoListIsMutable(); teamInfoList_.addAll(other.teamInfoList_); } onChanged(); } } else { if (!other.teamInfoList_.isEmpty()) { if (teamInfoListBuilder_.isEmpty()) { teamInfoListBuilder_.dispose(); teamInfoListBuilder_ = null; teamInfoList_ = other.teamInfoList_; bitField0_ = (bitField0_ & ~0x00000001); teamInfoListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTeamInfoListFieldBuilder() : null; } else { teamInfoListBuilder_.addAllMessages(other.teamInfoList_); } } } 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.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int bestScore_ ; /** * uint32 best_score = 5; * @return The bestScore. */ @java.lang.Override public int getBestScore() { return bestScore_; } /** * uint32 best_score = 5; * @param value The bestScore to set. * @return This builder for chaining. */ public Builder setBestScore(int value) { bestScore_ = value; onChanged(); return this; } /** * uint32 best_score = 5; * @return This builder for chaining. */ public Builder clearBestScore() { bestScore_ = 0; onChanged(); return this; } private int levelId_ ; /** * uint32 level_id = 14; * @return The levelId. */ @java.lang.Override public int getLevelId() { return levelId_; } /** * uint32 level_id = 14; * @param value The levelId to set. * @return This builder for chaining. */ public Builder setLevelId(int value) { levelId_ = value; onChanged(); return this; } /** * uint32 level_id = 14; * @return This builder for chaining. */ public Builder clearLevelId() { levelId_ = 0; onChanged(); return this; } private boolean isOpen_ ; /** * bool is_open = 11; * @return The isOpen. */ @java.lang.Override public boolean getIsOpen() { return isOpen_; } /** * bool is_open = 11; * @param value The isOpen to set. * @return This builder for chaining. */ public Builder setIsOpen(boolean value) { isOpen_ = value; onChanged(); return this; } /** * bool is_open = 11; * @return This builder for chaining. */ public Builder clearIsOpen() { isOpen_ = false; onChanged(); return this; } private java.util.List teamInfoList_ = java.util.Collections.emptyList(); private void ensureTeamInfoListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { teamInfoList_ = new java.util.ArrayList(teamInfoList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.Builder, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfoOrBuilder> teamInfoListBuilder_; /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public java.util.List getTeamInfoListList() { if (teamInfoListBuilder_ == null) { return java.util.Collections.unmodifiableList(teamInfoList_); } else { return teamInfoListBuilder_.getMessageList(); } } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public int getTeamInfoListCount() { if (teamInfoListBuilder_ == null) { return teamInfoList_.size(); } else { return teamInfoListBuilder_.getCount(); } } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo getTeamInfoList(int index) { if (teamInfoListBuilder_ == null) { return teamInfoList_.get(index); } else { return teamInfoListBuilder_.getMessage(index); } } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public Builder setTeamInfoList( int index, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo value) { if (teamInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTeamInfoListIsMutable(); teamInfoList_.set(index, value); onChanged(); } else { teamInfoListBuilder_.setMessage(index, value); } return this; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public Builder setTeamInfoList( int index, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.Builder builderForValue) { if (teamInfoListBuilder_ == null) { ensureTeamInfoListIsMutable(); teamInfoList_.set(index, builderForValue.build()); onChanged(); } else { teamInfoListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public Builder addTeamInfoList(emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo value) { if (teamInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTeamInfoListIsMutable(); teamInfoList_.add(value); onChanged(); } else { teamInfoListBuilder_.addMessage(value); } return this; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public Builder addTeamInfoList( int index, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo value) { if (teamInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTeamInfoListIsMutable(); teamInfoList_.add(index, value); onChanged(); } else { teamInfoListBuilder_.addMessage(index, value); } return this; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public Builder addTeamInfoList( emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.Builder builderForValue) { if (teamInfoListBuilder_ == null) { ensureTeamInfoListIsMutable(); teamInfoList_.add(builderForValue.build()); onChanged(); } else { teamInfoListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public Builder addTeamInfoList( int index, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.Builder builderForValue) { if (teamInfoListBuilder_ == null) { ensureTeamInfoListIsMutable(); teamInfoList_.add(index, builderForValue.build()); onChanged(); } else { teamInfoListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public Builder addAllTeamInfoList( java.lang.Iterable values) { if (teamInfoListBuilder_ == null) { ensureTeamInfoListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, teamInfoList_); onChanged(); } else { teamInfoListBuilder_.addAllMessages(values); } return this; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public Builder clearTeamInfoList() { if (teamInfoListBuilder_ == null) { teamInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { teamInfoListBuilder_.clear(); } return this; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public Builder removeTeamInfoList(int index) { if (teamInfoListBuilder_ == null) { ensureTeamInfoListIsMutable(); teamInfoList_.remove(index); onChanged(); } else { teamInfoListBuilder_.remove(index); } return this; } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.Builder getTeamInfoListBuilder( int index) { return getTeamInfoListFieldBuilder().getBuilder(index); } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfoOrBuilder getTeamInfoListOrBuilder( int index) { if (teamInfoListBuilder_ == null) { return teamInfoList_.get(index); } else { return teamInfoListBuilder_.getMessageOrBuilder(index); } } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public java.util.List getTeamInfoListOrBuilderList() { if (teamInfoListBuilder_ != null) { return teamInfoListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(teamInfoList_); } } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.Builder addTeamInfoListBuilder() { return getTeamInfoListFieldBuilder().addBuilder( emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.getDefaultInstance()); } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.Builder addTeamInfoListBuilder( int index) { return getTeamInfoListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.getDefaultInstance()); } /** * repeated .CrystalLinkTeamInfo team_info_list = 6; */ public java.util.List getTeamInfoListBuilderList() { return getTeamInfoListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.Builder, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfoOrBuilder> getTeamInfoListFieldBuilder() { if (teamInfoListBuilder_ == null) { teamInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfo.Builder, emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.CrystalLinkTeamInfoOrBuilder>( teamInfoList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); teamInfoList_ = null; } return teamInfoListBuilder_; } @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:CrystalLinkLevelInfo) } // @@protoc_insertion_point(class_scope:CrystalLinkLevelInfo) private static final emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo(); } public static emu.grasscutter.net.proto.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CrystalLinkLevelInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CrystalLinkLevelInfo(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.CrystalLinkLevelInfoOuterClass.CrystalLinkLevelInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_CrystalLinkLevelInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_CrystalLinkLevelInfo_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\032CrystalLinkLevelInfo.proto\032\031CrystalLin" + "kTeamInfo.proto\"{\n\024CrystalLinkLevelInfo\022" + "\022\n\nbest_score\030\005 \001(\r\022\020\n\010level_id\030\016 \001(\r\022\017\n" + "\007is_open\030\013 \001(\010\022,\n\016team_info_list\030\006 \003(\0132\024" + ".CrystalLinkTeamInfoB\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.CrystalLinkTeamInfoOuterClass.getDescriptor(), }); internal_static_CrystalLinkLevelInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_CrystalLinkLevelInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_CrystalLinkLevelInfo_descriptor, new java.lang.String[] { "BestScore", "LevelId", "IsOpen", "TeamInfoList", }); emu.grasscutter.net.proto.CrystalLinkTeamInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy