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

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

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

package emu.grasscutter.net.proto;

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

    /**
     * repeated .BlitzRushStage stage_list = 12;
     */
    java.util.List 
        getStageListList();
    /**
     * repeated .BlitzRushStage stage_list = 12;
     */
    emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage getStageList(int index);
    /**
     * repeated .BlitzRushStage stage_list = 12;
     */
    int getStageListCount();
    /**
     * repeated .BlitzRushStage stage_list = 12;
     */
    java.util.List 
        getStageListOrBuilderList();
    /**
     * repeated .BlitzRushStage stage_list = 12;
     */
    emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStageOrBuilder getStageListOrBuilder(
        int index);

    /**
     * repeated .ParkourLevelInfo parkour_level_info_list = 13;
     */
    java.util.List 
        getParkourLevelInfoListList();
    /**
     * repeated .ParkourLevelInfo parkour_level_info_list = 13;
     */
    emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo getParkourLevelInfoList(int index);
    /**
     * repeated .ParkourLevelInfo parkour_level_info_list = 13;
     */
    int getParkourLevelInfoListCount();
    /**
     * repeated .ParkourLevelInfo parkour_level_info_list = 13;
     */
    java.util.List 
        getParkourLevelInfoListOrBuilderList();
    /**
     * repeated .ParkourLevelInfo parkour_level_info_list = 13;
     */
    emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfoOrBuilder getParkourLevelInfoListOrBuilder(
        int index);

    /**
     * uint32 content_close_time = 1;
     * @return The contentCloseTime.
     */
    int getContentCloseTime();

    /**
     * bool is_content_closed = 15;
     * @return The isContentClosed.
     */
    boolean getIsContentClosed();
  }
  /**
   * 
   * Obf: KBIJLFOPMMA
   * 
* * Protobuf type {@code BlitzRushActivityDetailInfo} */ public static final class BlitzRushActivityDetailInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:BlitzRushActivityDetailInfo) BlitzRushActivityDetailInfoOrBuilder { private static final long serialVersionUID = 0L; // Use BlitzRushActivityDetailInfo.newBuilder() to construct. private BlitzRushActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlitzRushActivityDetailInfo() { stageList_ = java.util.Collections.emptyList(); parkourLevelInfoList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BlitzRushActivityDetailInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlitzRushActivityDetailInfo( 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 8: { contentCloseTime_ = input.readUInt32(); break; } case 98: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { stageList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } stageList_.add( input.readMessage(emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.parser(), extensionRegistry)); break; } case 106: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { parkourLevelInfoList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } parkourLevelInfoList_.add( input.readMessage(emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.parser(), extensionRegistry)); break; } case 120: { isContentClosed_ = input.readBool(); 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)) { stageList_ = java.util.Collections.unmodifiableList(stageList_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { parkourLevelInfoList_ = java.util.Collections.unmodifiableList(parkourLevelInfoList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.internal_static_BlitzRushActivityDetailInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.internal_static_BlitzRushActivityDetailInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo.class, emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo.Builder.class); } public static final int STAGE_LIST_FIELD_NUMBER = 12; private java.util.List stageList_; /** * repeated .BlitzRushStage stage_list = 12; */ @java.lang.Override public java.util.List getStageListList() { return stageList_; } /** * repeated .BlitzRushStage stage_list = 12; */ @java.lang.Override public java.util.List getStageListOrBuilderList() { return stageList_; } /** * repeated .BlitzRushStage stage_list = 12; */ @java.lang.Override public int getStageListCount() { return stageList_.size(); } /** * repeated .BlitzRushStage stage_list = 12; */ @java.lang.Override public emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage getStageList(int index) { return stageList_.get(index); } /** * repeated .BlitzRushStage stage_list = 12; */ @java.lang.Override public emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStageOrBuilder getStageListOrBuilder( int index) { return stageList_.get(index); } public static final int PARKOUR_LEVEL_INFO_LIST_FIELD_NUMBER = 13; private java.util.List parkourLevelInfoList_; /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ @java.lang.Override public java.util.List getParkourLevelInfoListList() { return parkourLevelInfoList_; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ @java.lang.Override public java.util.List getParkourLevelInfoListOrBuilderList() { return parkourLevelInfoList_; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ @java.lang.Override public int getParkourLevelInfoListCount() { return parkourLevelInfoList_.size(); } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ @java.lang.Override public emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo getParkourLevelInfoList(int index) { return parkourLevelInfoList_.get(index); } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ @java.lang.Override public emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfoOrBuilder getParkourLevelInfoListOrBuilder( int index) { return parkourLevelInfoList_.get(index); } public static final int CONTENT_CLOSE_TIME_FIELD_NUMBER = 1; private int contentCloseTime_; /** * uint32 content_close_time = 1; * @return The contentCloseTime. */ @java.lang.Override public int getContentCloseTime() { return contentCloseTime_; } public static final int IS_CONTENT_CLOSED_FIELD_NUMBER = 15; private boolean isContentClosed_; /** * bool is_content_closed = 15; * @return The isContentClosed. */ @java.lang.Override public boolean getIsContentClosed() { return isContentClosed_; } 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 (contentCloseTime_ != 0) { output.writeUInt32(1, contentCloseTime_); } for (int i = 0; i < stageList_.size(); i++) { output.writeMessage(12, stageList_.get(i)); } for (int i = 0; i < parkourLevelInfoList_.size(); i++) { output.writeMessage(13, parkourLevelInfoList_.get(i)); } if (isContentClosed_ != false) { output.writeBool(15, isContentClosed_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (contentCloseTime_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, contentCloseTime_); } for (int i = 0; i < stageList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, stageList_.get(i)); } for (int i = 0; i < parkourLevelInfoList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, parkourLevelInfoList_.get(i)); } if (isContentClosed_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, isContentClosed_); } 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.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo other = (emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo) obj; if (!getStageListList() .equals(other.getStageListList())) return false; if (!getParkourLevelInfoListList() .equals(other.getParkourLevelInfoListList())) return false; if (getContentCloseTime() != other.getContentCloseTime()) return false; if (getIsContentClosed() != other.getIsContentClosed()) 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 (getStageListCount() > 0) { hash = (37 * hash) + STAGE_LIST_FIELD_NUMBER; hash = (53 * hash) + getStageListList().hashCode(); } if (getParkourLevelInfoListCount() > 0) { hash = (37 * hash) + PARKOUR_LEVEL_INFO_LIST_FIELD_NUMBER; hash = (53 * hash) + getParkourLevelInfoListList().hashCode(); } hash = (37 * hash) + CONTENT_CLOSE_TIME_FIELD_NUMBER; hash = (53 * hash) + getContentCloseTime(); hash = (37 * hash) + IS_CONTENT_CLOSED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsContentClosed()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo 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.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo 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.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo 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.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo 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.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo 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.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo 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: KBIJLFOPMMA
     * 
* * Protobuf type {@code BlitzRushActivityDetailInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:BlitzRushActivityDetailInfo) emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.internal_static_BlitzRushActivityDetailInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.internal_static_BlitzRushActivityDetailInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo.class, emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStageListFieldBuilder(); getParkourLevelInfoListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (stageListBuilder_ == null) { stageList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { stageListBuilder_.clear(); } if (parkourLevelInfoListBuilder_ == null) { parkourLevelInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { parkourLevelInfoListBuilder_.clear(); } contentCloseTime_ = 0; isContentClosed_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.internal_static_BlitzRushActivityDetailInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo build() { emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo buildPartial() { emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo result = new emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo(this); int from_bitField0_ = bitField0_; if (stageListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { stageList_ = java.util.Collections.unmodifiableList(stageList_); bitField0_ = (bitField0_ & ~0x00000001); } result.stageList_ = stageList_; } else { result.stageList_ = stageListBuilder_.build(); } if (parkourLevelInfoListBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { parkourLevelInfoList_ = java.util.Collections.unmodifiableList(parkourLevelInfoList_); bitField0_ = (bitField0_ & ~0x00000002); } result.parkourLevelInfoList_ = parkourLevelInfoList_; } else { result.parkourLevelInfoList_ = parkourLevelInfoListBuilder_.build(); } result.contentCloseTime_ = contentCloseTime_; result.isContentClosed_ = isContentClosed_; 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.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo) { return mergeFrom((emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo other) { if (other == emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo.getDefaultInstance()) return this; if (stageListBuilder_ == null) { if (!other.stageList_.isEmpty()) { if (stageList_.isEmpty()) { stageList_ = other.stageList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStageListIsMutable(); stageList_.addAll(other.stageList_); } onChanged(); } } else { if (!other.stageList_.isEmpty()) { if (stageListBuilder_.isEmpty()) { stageListBuilder_.dispose(); stageListBuilder_ = null; stageList_ = other.stageList_; bitField0_ = (bitField0_ & ~0x00000001); stageListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStageListFieldBuilder() : null; } else { stageListBuilder_.addAllMessages(other.stageList_); } } } if (parkourLevelInfoListBuilder_ == null) { if (!other.parkourLevelInfoList_.isEmpty()) { if (parkourLevelInfoList_.isEmpty()) { parkourLevelInfoList_ = other.parkourLevelInfoList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureParkourLevelInfoListIsMutable(); parkourLevelInfoList_.addAll(other.parkourLevelInfoList_); } onChanged(); } } else { if (!other.parkourLevelInfoList_.isEmpty()) { if (parkourLevelInfoListBuilder_.isEmpty()) { parkourLevelInfoListBuilder_.dispose(); parkourLevelInfoListBuilder_ = null; parkourLevelInfoList_ = other.parkourLevelInfoList_; bitField0_ = (bitField0_ & ~0x00000002); parkourLevelInfoListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getParkourLevelInfoListFieldBuilder() : null; } else { parkourLevelInfoListBuilder_.addAllMessages(other.parkourLevelInfoList_); } } } if (other.getContentCloseTime() != 0) { setContentCloseTime(other.getContentCloseTime()); } if (other.getIsContentClosed() != false) { setIsContentClosed(other.getIsContentClosed()); } 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.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List stageList_ = java.util.Collections.emptyList(); private void ensureStageListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stageList_ = new java.util.ArrayList(stageList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.Builder, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStageOrBuilder> stageListBuilder_; /** * repeated .BlitzRushStage stage_list = 12; */ public java.util.List getStageListList() { if (stageListBuilder_ == null) { return java.util.Collections.unmodifiableList(stageList_); } else { return stageListBuilder_.getMessageList(); } } /** * repeated .BlitzRushStage stage_list = 12; */ public int getStageListCount() { if (stageListBuilder_ == null) { return stageList_.size(); } else { return stageListBuilder_.getCount(); } } /** * repeated .BlitzRushStage stage_list = 12; */ public emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage getStageList(int index) { if (stageListBuilder_ == null) { return stageList_.get(index); } else { return stageListBuilder_.getMessage(index); } } /** * repeated .BlitzRushStage stage_list = 12; */ public Builder setStageList( int index, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage value) { if (stageListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStageListIsMutable(); stageList_.set(index, value); onChanged(); } else { stageListBuilder_.setMessage(index, value); } return this; } /** * repeated .BlitzRushStage stage_list = 12; */ public Builder setStageList( int index, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.Builder builderForValue) { if (stageListBuilder_ == null) { ensureStageListIsMutable(); stageList_.set(index, builderForValue.build()); onChanged(); } else { stageListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .BlitzRushStage stage_list = 12; */ public Builder addStageList(emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage value) { if (stageListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStageListIsMutable(); stageList_.add(value); onChanged(); } else { stageListBuilder_.addMessage(value); } return this; } /** * repeated .BlitzRushStage stage_list = 12; */ public Builder addStageList( int index, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage value) { if (stageListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStageListIsMutable(); stageList_.add(index, value); onChanged(); } else { stageListBuilder_.addMessage(index, value); } return this; } /** * repeated .BlitzRushStage stage_list = 12; */ public Builder addStageList( emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.Builder builderForValue) { if (stageListBuilder_ == null) { ensureStageListIsMutable(); stageList_.add(builderForValue.build()); onChanged(); } else { stageListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .BlitzRushStage stage_list = 12; */ public Builder addStageList( int index, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.Builder builderForValue) { if (stageListBuilder_ == null) { ensureStageListIsMutable(); stageList_.add(index, builderForValue.build()); onChanged(); } else { stageListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .BlitzRushStage stage_list = 12; */ public Builder addAllStageList( java.lang.Iterable values) { if (stageListBuilder_ == null) { ensureStageListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stageList_); onChanged(); } else { stageListBuilder_.addAllMessages(values); } return this; } /** * repeated .BlitzRushStage stage_list = 12; */ public Builder clearStageList() { if (stageListBuilder_ == null) { stageList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { stageListBuilder_.clear(); } return this; } /** * repeated .BlitzRushStage stage_list = 12; */ public Builder removeStageList(int index) { if (stageListBuilder_ == null) { ensureStageListIsMutable(); stageList_.remove(index); onChanged(); } else { stageListBuilder_.remove(index); } return this; } /** * repeated .BlitzRushStage stage_list = 12; */ public emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.Builder getStageListBuilder( int index) { return getStageListFieldBuilder().getBuilder(index); } /** * repeated .BlitzRushStage stage_list = 12; */ public emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStageOrBuilder getStageListOrBuilder( int index) { if (stageListBuilder_ == null) { return stageList_.get(index); } else { return stageListBuilder_.getMessageOrBuilder(index); } } /** * repeated .BlitzRushStage stage_list = 12; */ public java.util.List getStageListOrBuilderList() { if (stageListBuilder_ != null) { return stageListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stageList_); } } /** * repeated .BlitzRushStage stage_list = 12; */ public emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.Builder addStageListBuilder() { return getStageListFieldBuilder().addBuilder( emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.getDefaultInstance()); } /** * repeated .BlitzRushStage stage_list = 12; */ public emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.Builder addStageListBuilder( int index) { return getStageListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.getDefaultInstance()); } /** * repeated .BlitzRushStage stage_list = 12; */ public java.util.List getStageListBuilderList() { return getStageListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.Builder, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStageOrBuilder> getStageListFieldBuilder() { if (stageListBuilder_ == null) { stageListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStage.Builder, emu.grasscutter.net.proto.BlitzRushStageOuterClass.BlitzRushStageOrBuilder>( stageList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); stageList_ = null; } return stageListBuilder_; } private java.util.List parkourLevelInfoList_ = java.util.Collections.emptyList(); private void ensureParkourLevelInfoListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { parkourLevelInfoList_ = new java.util.ArrayList(parkourLevelInfoList_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.Builder, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfoOrBuilder> parkourLevelInfoListBuilder_; /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public java.util.List getParkourLevelInfoListList() { if (parkourLevelInfoListBuilder_ == null) { return java.util.Collections.unmodifiableList(parkourLevelInfoList_); } else { return parkourLevelInfoListBuilder_.getMessageList(); } } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public int getParkourLevelInfoListCount() { if (parkourLevelInfoListBuilder_ == null) { return parkourLevelInfoList_.size(); } else { return parkourLevelInfoListBuilder_.getCount(); } } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo getParkourLevelInfoList(int index) { if (parkourLevelInfoListBuilder_ == null) { return parkourLevelInfoList_.get(index); } else { return parkourLevelInfoListBuilder_.getMessage(index); } } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public Builder setParkourLevelInfoList( int index, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo value) { if (parkourLevelInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParkourLevelInfoListIsMutable(); parkourLevelInfoList_.set(index, value); onChanged(); } else { parkourLevelInfoListBuilder_.setMessage(index, value); } return this; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public Builder setParkourLevelInfoList( int index, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.Builder builderForValue) { if (parkourLevelInfoListBuilder_ == null) { ensureParkourLevelInfoListIsMutable(); parkourLevelInfoList_.set(index, builderForValue.build()); onChanged(); } else { parkourLevelInfoListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public Builder addParkourLevelInfoList(emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo value) { if (parkourLevelInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParkourLevelInfoListIsMutable(); parkourLevelInfoList_.add(value); onChanged(); } else { parkourLevelInfoListBuilder_.addMessage(value); } return this; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public Builder addParkourLevelInfoList( int index, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo value) { if (parkourLevelInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParkourLevelInfoListIsMutable(); parkourLevelInfoList_.add(index, value); onChanged(); } else { parkourLevelInfoListBuilder_.addMessage(index, value); } return this; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public Builder addParkourLevelInfoList( emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.Builder builderForValue) { if (parkourLevelInfoListBuilder_ == null) { ensureParkourLevelInfoListIsMutable(); parkourLevelInfoList_.add(builderForValue.build()); onChanged(); } else { parkourLevelInfoListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public Builder addParkourLevelInfoList( int index, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.Builder builderForValue) { if (parkourLevelInfoListBuilder_ == null) { ensureParkourLevelInfoListIsMutable(); parkourLevelInfoList_.add(index, builderForValue.build()); onChanged(); } else { parkourLevelInfoListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public Builder addAllParkourLevelInfoList( java.lang.Iterable values) { if (parkourLevelInfoListBuilder_ == null) { ensureParkourLevelInfoListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, parkourLevelInfoList_); onChanged(); } else { parkourLevelInfoListBuilder_.addAllMessages(values); } return this; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public Builder clearParkourLevelInfoList() { if (parkourLevelInfoListBuilder_ == null) { parkourLevelInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { parkourLevelInfoListBuilder_.clear(); } return this; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public Builder removeParkourLevelInfoList(int index) { if (parkourLevelInfoListBuilder_ == null) { ensureParkourLevelInfoListIsMutable(); parkourLevelInfoList_.remove(index); onChanged(); } else { parkourLevelInfoListBuilder_.remove(index); } return this; } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.Builder getParkourLevelInfoListBuilder( int index) { return getParkourLevelInfoListFieldBuilder().getBuilder(index); } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfoOrBuilder getParkourLevelInfoListOrBuilder( int index) { if (parkourLevelInfoListBuilder_ == null) { return parkourLevelInfoList_.get(index); } else { return parkourLevelInfoListBuilder_.getMessageOrBuilder(index); } } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public java.util.List getParkourLevelInfoListOrBuilderList() { if (parkourLevelInfoListBuilder_ != null) { return parkourLevelInfoListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(parkourLevelInfoList_); } } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.Builder addParkourLevelInfoListBuilder() { return getParkourLevelInfoListFieldBuilder().addBuilder( emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.getDefaultInstance()); } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.Builder addParkourLevelInfoListBuilder( int index) { return getParkourLevelInfoListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.getDefaultInstance()); } /** * repeated .ParkourLevelInfo parkour_level_info_list = 13; */ public java.util.List getParkourLevelInfoListBuilderList() { return getParkourLevelInfoListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.Builder, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfoOrBuilder> getParkourLevelInfoListFieldBuilder() { if (parkourLevelInfoListBuilder_ == null) { parkourLevelInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfo.Builder, emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.ParkourLevelInfoOrBuilder>( parkourLevelInfoList_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); parkourLevelInfoList_ = null; } return parkourLevelInfoListBuilder_; } private int contentCloseTime_ ; /** * uint32 content_close_time = 1; * @return The contentCloseTime. */ @java.lang.Override public int getContentCloseTime() { return contentCloseTime_; } /** * uint32 content_close_time = 1; * @param value The contentCloseTime to set. * @return This builder for chaining. */ public Builder setContentCloseTime(int value) { contentCloseTime_ = value; onChanged(); return this; } /** * uint32 content_close_time = 1; * @return This builder for chaining. */ public Builder clearContentCloseTime() { contentCloseTime_ = 0; onChanged(); return this; } private boolean isContentClosed_ ; /** * bool is_content_closed = 15; * @return The isContentClosed. */ @java.lang.Override public boolean getIsContentClosed() { return isContentClosed_; } /** * bool is_content_closed = 15; * @param value The isContentClosed to set. * @return This builder for chaining. */ public Builder setIsContentClosed(boolean value) { isContentClosed_ = value; onChanged(); return this; } /** * bool is_content_closed = 15; * @return This builder for chaining. */ public Builder clearIsContentClosed() { isContentClosed_ = false; 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:BlitzRushActivityDetailInfo) } // @@protoc_insertion_point(class_scope:BlitzRushActivityDetailInfo) private static final emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo(); } public static emu.grasscutter.net.proto.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BlitzRushActivityDetailInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlitzRushActivityDetailInfo(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.BlitzRushActivityDetailInfoOuterClass.BlitzRushActivityDetailInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_BlitzRushActivityDetailInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BlitzRushActivityDetailInfo_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!BlitzRushActivityDetailInfo.proto\032\024Bli" + "tzRushStage.proto\032\026ParkourLevelInfo.prot" + "o\"\255\001\n\033BlitzRushActivityDetailInfo\022#\n\nsta" + "ge_list\030\014 \003(\0132\017.BlitzRushStage\0222\n\027parkou" + "r_level_info_list\030\r \003(\0132\021.ParkourLevelIn" + "fo\022\032\n\022content_close_time\030\001 \001(\r\022\031\n\021is_con" + "tent_closed\030\017 \001(\010B\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.BlitzRushStageOuterClass.getDescriptor(), emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.getDescriptor(), }); internal_static_BlitzRushActivityDetailInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_BlitzRushActivityDetailInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BlitzRushActivityDetailInfo_descriptor, new java.lang.String[] { "StageList", "ParkourLevelInfoList", "ContentCloseTime", "IsContentClosed", }); emu.grasscutter.net.proto.BlitzRushStageOuterClass.getDescriptor(); emu.grasscutter.net.proto.ParkourLevelInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy