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

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

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: GearActivityDetailInfo.proto

package emu.grasscutter.net.proto;

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

    /**
     * .JigsawPictureData jigsaw_picture_data = 8;
     * @return Whether the jigsawPictureData field is set.
     */
    boolean hasJigsawPictureData();
    /**
     * .JigsawPictureData jigsaw_picture_data = 8;
     * @return The jigsawPictureData.
     */
    emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData getJigsawPictureData();
    /**
     * .JigsawPictureData jigsaw_picture_data = 8;
     */
    emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureDataOrBuilder getJigsawPictureDataOrBuilder();

    /**
     * repeated .GearLevelData gear_level_data_list = 3;
     */
    java.util.List 
        getGearLevelDataListList();
    /**
     * repeated .GearLevelData gear_level_data_list = 3;
     */
    emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData getGearLevelDataList(int index);
    /**
     * repeated .GearLevelData gear_level_data_list = 3;
     */
    int getGearLevelDataListCount();
    /**
     * repeated .GearLevelData gear_level_data_list = 3;
     */
    java.util.List 
        getGearLevelDataListOrBuilderList();
    /**
     * repeated .GearLevelData gear_level_data_list = 3;
     */
    emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelDataOrBuilder getGearLevelDataListOrBuilder(
        int index);
  }
  /**
   * 
   * Name: LPCPFOKALPP
   * 
* * Protobuf type {@code GearActivityDetailInfo} */ public static final class GearActivityDetailInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:GearActivityDetailInfo) GearActivityDetailInfoOrBuilder { private static final long serialVersionUID = 0L; // Use GearActivityDetailInfo.newBuilder() to construct. private GearActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GearActivityDetailInfo() { gearLevelDataList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GearActivityDetailInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GearActivityDetailInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { gearLevelDataList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } gearLevelDataList_.add( input.readMessage(emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.parser(), extensionRegistry)); break; } case 66: { emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.Builder subBuilder = null; if (jigsawPictureData_ != null) { subBuilder = jigsawPictureData_.toBuilder(); } jigsawPictureData_ = input.readMessage(emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jigsawPictureData_); jigsawPictureData_ = subBuilder.buildPartial(); } 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)) { gearLevelDataList_ = java.util.Collections.unmodifiableList(gearLevelDataList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.internal_static_GearActivityDetailInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.internal_static_GearActivityDetailInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo.class, emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo.Builder.class); } public static final int JIGSAW_PICTURE_DATA_FIELD_NUMBER = 8; private emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData jigsawPictureData_; /** * .JigsawPictureData jigsaw_picture_data = 8; * @return Whether the jigsawPictureData field is set. */ @java.lang.Override public boolean hasJigsawPictureData() { return jigsawPictureData_ != null; } /** * .JigsawPictureData jigsaw_picture_data = 8; * @return The jigsawPictureData. */ @java.lang.Override public emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData getJigsawPictureData() { return jigsawPictureData_ == null ? emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.getDefaultInstance() : jigsawPictureData_; } /** * .JigsawPictureData jigsaw_picture_data = 8; */ @java.lang.Override public emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureDataOrBuilder getJigsawPictureDataOrBuilder() { return getJigsawPictureData(); } public static final int GEAR_LEVEL_DATA_LIST_FIELD_NUMBER = 3; private java.util.List gearLevelDataList_; /** * repeated .GearLevelData gear_level_data_list = 3; */ @java.lang.Override public java.util.List getGearLevelDataListList() { return gearLevelDataList_; } /** * repeated .GearLevelData gear_level_data_list = 3; */ @java.lang.Override public java.util.List getGearLevelDataListOrBuilderList() { return gearLevelDataList_; } /** * repeated .GearLevelData gear_level_data_list = 3; */ @java.lang.Override public int getGearLevelDataListCount() { return gearLevelDataList_.size(); } /** * repeated .GearLevelData gear_level_data_list = 3; */ @java.lang.Override public emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData getGearLevelDataList(int index) { return gearLevelDataList_.get(index); } /** * repeated .GearLevelData gear_level_data_list = 3; */ @java.lang.Override public emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelDataOrBuilder getGearLevelDataListOrBuilder( int index) { return gearLevelDataList_.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 { for (int i = 0; i < gearLevelDataList_.size(); i++) { output.writeMessage(3, gearLevelDataList_.get(i)); } if (jigsawPictureData_ != null) { output.writeMessage(8, getJigsawPictureData()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < gearLevelDataList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, gearLevelDataList_.get(i)); } if (jigsawPictureData_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getJigsawPictureData()); } 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.GearActivityDetailInfoOuterClass.GearActivityDetailInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo other = (emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo) obj; if (hasJigsawPictureData() != other.hasJigsawPictureData()) return false; if (hasJigsawPictureData()) { if (!getJigsawPictureData() .equals(other.getJigsawPictureData())) return false; } if (!getGearLevelDataListList() .equals(other.getGearLevelDataListList())) 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 (hasJigsawPictureData()) { hash = (37 * hash) + JIGSAW_PICTURE_DATA_FIELD_NUMBER; hash = (53 * hash) + getJigsawPictureData().hashCode(); } if (getGearLevelDataListCount() > 0) { hash = (37 * hash) + GEAR_LEVEL_DATA_LIST_FIELD_NUMBER; hash = (53 * hash) + getGearLevelDataListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo 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.GearActivityDetailInfoOuterClass.GearActivityDetailInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo 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.GearActivityDetailInfoOuterClass.GearActivityDetailInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo 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.GearActivityDetailInfoOuterClass.GearActivityDetailInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo 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.GearActivityDetailInfoOuterClass.GearActivityDetailInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo 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.GearActivityDetailInfoOuterClass.GearActivityDetailInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Name: LPCPFOKALPP
     * 
* * Protobuf type {@code GearActivityDetailInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:GearActivityDetailInfo) emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.internal_static_GearActivityDetailInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.internal_static_GearActivityDetailInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo.class, emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getGearLevelDataListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (jigsawPictureDataBuilder_ == null) { jigsawPictureData_ = null; } else { jigsawPictureData_ = null; jigsawPictureDataBuilder_ = null; } if (gearLevelDataListBuilder_ == null) { gearLevelDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { gearLevelDataListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.internal_static_GearActivityDetailInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo build() { emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo buildPartial() { emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo result = new emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo(this); int from_bitField0_ = bitField0_; if (jigsawPictureDataBuilder_ == null) { result.jigsawPictureData_ = jigsawPictureData_; } else { result.jigsawPictureData_ = jigsawPictureDataBuilder_.build(); } if (gearLevelDataListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { gearLevelDataList_ = java.util.Collections.unmodifiableList(gearLevelDataList_); bitField0_ = (bitField0_ & ~0x00000001); } result.gearLevelDataList_ = gearLevelDataList_; } else { result.gearLevelDataList_ = gearLevelDataListBuilder_.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.GearActivityDetailInfoOuterClass.GearActivityDetailInfo) { return mergeFrom((emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo other) { if (other == emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo.getDefaultInstance()) return this; if (other.hasJigsawPictureData()) { mergeJigsawPictureData(other.getJigsawPictureData()); } if (gearLevelDataListBuilder_ == null) { if (!other.gearLevelDataList_.isEmpty()) { if (gearLevelDataList_.isEmpty()) { gearLevelDataList_ = other.gearLevelDataList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureGearLevelDataListIsMutable(); gearLevelDataList_.addAll(other.gearLevelDataList_); } onChanged(); } } else { if (!other.gearLevelDataList_.isEmpty()) { if (gearLevelDataListBuilder_.isEmpty()) { gearLevelDataListBuilder_.dispose(); gearLevelDataListBuilder_ = null; gearLevelDataList_ = other.gearLevelDataList_; bitField0_ = (bitField0_ & ~0x00000001); gearLevelDataListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGearLevelDataListFieldBuilder() : null; } else { gearLevelDataListBuilder_.addAllMessages(other.gearLevelDataList_); } } } 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.GearActivityDetailInfoOuterClass.GearActivityDetailInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData jigsawPictureData_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData, emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.Builder, emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureDataOrBuilder> jigsawPictureDataBuilder_; /** * .JigsawPictureData jigsaw_picture_data = 8; * @return Whether the jigsawPictureData field is set. */ public boolean hasJigsawPictureData() { return jigsawPictureDataBuilder_ != null || jigsawPictureData_ != null; } /** * .JigsawPictureData jigsaw_picture_data = 8; * @return The jigsawPictureData. */ public emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData getJigsawPictureData() { if (jigsawPictureDataBuilder_ == null) { return jigsawPictureData_ == null ? emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.getDefaultInstance() : jigsawPictureData_; } else { return jigsawPictureDataBuilder_.getMessage(); } } /** * .JigsawPictureData jigsaw_picture_data = 8; */ public Builder setJigsawPictureData(emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData value) { if (jigsawPictureDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jigsawPictureData_ = value; onChanged(); } else { jigsawPictureDataBuilder_.setMessage(value); } return this; } /** * .JigsawPictureData jigsaw_picture_data = 8; */ public Builder setJigsawPictureData( emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.Builder builderForValue) { if (jigsawPictureDataBuilder_ == null) { jigsawPictureData_ = builderForValue.build(); onChanged(); } else { jigsawPictureDataBuilder_.setMessage(builderForValue.build()); } return this; } /** * .JigsawPictureData jigsaw_picture_data = 8; */ public Builder mergeJigsawPictureData(emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData value) { if (jigsawPictureDataBuilder_ == null) { if (jigsawPictureData_ != null) { jigsawPictureData_ = emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.newBuilder(jigsawPictureData_).mergeFrom(value).buildPartial(); } else { jigsawPictureData_ = value; } onChanged(); } else { jigsawPictureDataBuilder_.mergeFrom(value); } return this; } /** * .JigsawPictureData jigsaw_picture_data = 8; */ public Builder clearJigsawPictureData() { if (jigsawPictureDataBuilder_ == null) { jigsawPictureData_ = null; onChanged(); } else { jigsawPictureData_ = null; jigsawPictureDataBuilder_ = null; } return this; } /** * .JigsawPictureData jigsaw_picture_data = 8; */ public emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.Builder getJigsawPictureDataBuilder() { onChanged(); return getJigsawPictureDataFieldBuilder().getBuilder(); } /** * .JigsawPictureData jigsaw_picture_data = 8; */ public emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureDataOrBuilder getJigsawPictureDataOrBuilder() { if (jigsawPictureDataBuilder_ != null) { return jigsawPictureDataBuilder_.getMessageOrBuilder(); } else { return jigsawPictureData_ == null ? emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.getDefaultInstance() : jigsawPictureData_; } } /** * .JigsawPictureData jigsaw_picture_data = 8; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData, emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.Builder, emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureDataOrBuilder> getJigsawPictureDataFieldBuilder() { if (jigsawPictureDataBuilder_ == null) { jigsawPictureDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData, emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureData.Builder, emu.grasscutter.net.proto.JigsawPictureDataOuterClass.JigsawPictureDataOrBuilder>( getJigsawPictureData(), getParentForChildren(), isClean()); jigsawPictureData_ = null; } return jigsawPictureDataBuilder_; } private java.util.List gearLevelDataList_ = java.util.Collections.emptyList(); private void ensureGearLevelDataListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gearLevelDataList_ = new java.util.ArrayList(gearLevelDataList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.Builder, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelDataOrBuilder> gearLevelDataListBuilder_; /** * repeated .GearLevelData gear_level_data_list = 3; */ public java.util.List getGearLevelDataListList() { if (gearLevelDataListBuilder_ == null) { return java.util.Collections.unmodifiableList(gearLevelDataList_); } else { return gearLevelDataListBuilder_.getMessageList(); } } /** * repeated .GearLevelData gear_level_data_list = 3; */ public int getGearLevelDataListCount() { if (gearLevelDataListBuilder_ == null) { return gearLevelDataList_.size(); } else { return gearLevelDataListBuilder_.getCount(); } } /** * repeated .GearLevelData gear_level_data_list = 3; */ public emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData getGearLevelDataList(int index) { if (gearLevelDataListBuilder_ == null) { return gearLevelDataList_.get(index); } else { return gearLevelDataListBuilder_.getMessage(index); } } /** * repeated .GearLevelData gear_level_data_list = 3; */ public Builder setGearLevelDataList( int index, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData value) { if (gearLevelDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGearLevelDataListIsMutable(); gearLevelDataList_.set(index, value); onChanged(); } else { gearLevelDataListBuilder_.setMessage(index, value); } return this; } /** * repeated .GearLevelData gear_level_data_list = 3; */ public Builder setGearLevelDataList( int index, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.Builder builderForValue) { if (gearLevelDataListBuilder_ == null) { ensureGearLevelDataListIsMutable(); gearLevelDataList_.set(index, builderForValue.build()); onChanged(); } else { gearLevelDataListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .GearLevelData gear_level_data_list = 3; */ public Builder addGearLevelDataList(emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData value) { if (gearLevelDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGearLevelDataListIsMutable(); gearLevelDataList_.add(value); onChanged(); } else { gearLevelDataListBuilder_.addMessage(value); } return this; } /** * repeated .GearLevelData gear_level_data_list = 3; */ public Builder addGearLevelDataList( int index, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData value) { if (gearLevelDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGearLevelDataListIsMutable(); gearLevelDataList_.add(index, value); onChanged(); } else { gearLevelDataListBuilder_.addMessage(index, value); } return this; } /** * repeated .GearLevelData gear_level_data_list = 3; */ public Builder addGearLevelDataList( emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.Builder builderForValue) { if (gearLevelDataListBuilder_ == null) { ensureGearLevelDataListIsMutable(); gearLevelDataList_.add(builderForValue.build()); onChanged(); } else { gearLevelDataListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .GearLevelData gear_level_data_list = 3; */ public Builder addGearLevelDataList( int index, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.Builder builderForValue) { if (gearLevelDataListBuilder_ == null) { ensureGearLevelDataListIsMutable(); gearLevelDataList_.add(index, builderForValue.build()); onChanged(); } else { gearLevelDataListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .GearLevelData gear_level_data_list = 3; */ public Builder addAllGearLevelDataList( java.lang.Iterable values) { if (gearLevelDataListBuilder_ == null) { ensureGearLevelDataListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, gearLevelDataList_); onChanged(); } else { gearLevelDataListBuilder_.addAllMessages(values); } return this; } /** * repeated .GearLevelData gear_level_data_list = 3; */ public Builder clearGearLevelDataList() { if (gearLevelDataListBuilder_ == null) { gearLevelDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { gearLevelDataListBuilder_.clear(); } return this; } /** * repeated .GearLevelData gear_level_data_list = 3; */ public Builder removeGearLevelDataList(int index) { if (gearLevelDataListBuilder_ == null) { ensureGearLevelDataListIsMutable(); gearLevelDataList_.remove(index); onChanged(); } else { gearLevelDataListBuilder_.remove(index); } return this; } /** * repeated .GearLevelData gear_level_data_list = 3; */ public emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.Builder getGearLevelDataListBuilder( int index) { return getGearLevelDataListFieldBuilder().getBuilder(index); } /** * repeated .GearLevelData gear_level_data_list = 3; */ public emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelDataOrBuilder getGearLevelDataListOrBuilder( int index) { if (gearLevelDataListBuilder_ == null) { return gearLevelDataList_.get(index); } else { return gearLevelDataListBuilder_.getMessageOrBuilder(index); } } /** * repeated .GearLevelData gear_level_data_list = 3; */ public java.util.List getGearLevelDataListOrBuilderList() { if (gearLevelDataListBuilder_ != null) { return gearLevelDataListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(gearLevelDataList_); } } /** * repeated .GearLevelData gear_level_data_list = 3; */ public emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.Builder addGearLevelDataListBuilder() { return getGearLevelDataListFieldBuilder().addBuilder( emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.getDefaultInstance()); } /** * repeated .GearLevelData gear_level_data_list = 3; */ public emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.Builder addGearLevelDataListBuilder( int index) { return getGearLevelDataListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.getDefaultInstance()); } /** * repeated .GearLevelData gear_level_data_list = 3; */ public java.util.List getGearLevelDataListBuilderList() { return getGearLevelDataListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.Builder, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelDataOrBuilder> getGearLevelDataListFieldBuilder() { if (gearLevelDataListBuilder_ == null) { gearLevelDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelData.Builder, emu.grasscutter.net.proto.GearLevelDataOuterClass.GearLevelDataOrBuilder>( gearLevelDataList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); gearLevelDataList_ = null; } return gearLevelDataListBuilder_; } @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:GearActivityDetailInfo) } // @@protoc_insertion_point(class_scope:GearActivityDetailInfo) private static final emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo(); } public static emu.grasscutter.net.proto.GearActivityDetailInfoOuterClass.GearActivityDetailInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GearActivityDetailInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GearActivityDetailInfo(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.GearActivityDetailInfoOuterClass.GearActivityDetailInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_GearActivityDetailInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_GearActivityDetailInfo_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\034GearActivityDetailInfo.proto\032\023GearLeve" + "lData.proto\032\027JigsawPictureData.proto\"w\n\026" + "GearActivityDetailInfo\022/\n\023jigsaw_picture" + "_data\030\010 \001(\0132\022.JigsawPictureData\022,\n\024gear_" + "level_data_list\030\003 \003(\0132\016.GearLevelDataB\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.GearLevelDataOuterClass.getDescriptor(), emu.grasscutter.net.proto.JigsawPictureDataOuterClass.getDescriptor(), }); internal_static_GearActivityDetailInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_GearActivityDetailInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GearActivityDetailInfo_descriptor, new java.lang.String[] { "JigsawPictureData", "GearLevelDataList", }); emu.grasscutter.net.proto.GearLevelDataOuterClass.getDescriptor(); emu.grasscutter.net.proto.JigsawPictureDataOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy