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

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

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

package emu.grasscutter.net.proto;

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

    /**
     * repeated .RogueDiaryAvatar chosen_avatar_list = 10;
     */
    java.util.List 
        getChosenAvatarListList();
    /**
     * repeated .RogueDiaryAvatar chosen_avatar_list = 10;
     */
    emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar getChosenAvatarList(int index);
    /**
     * repeated .RogueDiaryAvatar chosen_avatar_list = 10;
     */
    int getChosenAvatarListCount();
    /**
     * repeated .RogueDiaryAvatar chosen_avatar_list = 10;
     */
    java.util.List 
        getChosenAvatarListOrBuilderList();
    /**
     * repeated .RogueDiaryAvatar chosen_avatar_list = 10;
     */
    emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatarOrBuilder getChosenAvatarListOrBuilder(
        int index);

    /**
     * repeated uint32 chosen_card_list = 15;
     * @return A list containing the chosenCardList.
     */
    java.util.List getChosenCardListList();
    /**
     * repeated uint32 chosen_card_list = 15;
     * @return The count of chosenCardList.
     */
    int getChosenCardListCount();
    /**
     * repeated uint32 chosen_card_list = 15;
     * @param index The index of the element to return.
     * @return The chosenCardList at the given index.
     */
    int getChosenCardList(int index);
  }
  /**
   * 
   * CmdId: 21443
   * Obf: BPFICHHPGJC
   * 
* * Protobuf type {@code RogueFinishRepairReq} */ public static final class RogueFinishRepairReq extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:RogueFinishRepairReq) RogueFinishRepairReqOrBuilder { private static final long serialVersionUID = 0L; // Use RogueFinishRepairReq.newBuilder() to construct. private RogueFinishRepairReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RogueFinishRepairReq() { chosenAvatarList_ = java.util.Collections.emptyList(); chosenCardList_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RogueFinishRepairReq(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RogueFinishRepairReq( 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 82: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { chosenAvatarList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } chosenAvatarList_.add( input.readMessage(emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.parser(), extensionRegistry)); break; } case 120: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { chosenCardList_ = newIntList(); mutable_bitField0_ |= 0x00000002; } chosenCardList_.addInt(input.readUInt32()); break; } case 122: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { chosenCardList_ = newIntList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { chosenCardList_.addInt(input.readUInt32()); } input.popLimit(limit); 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)) { chosenAvatarList_ = java.util.Collections.unmodifiableList(chosenAvatarList_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { chosenCardList_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.internal_static_RogueFinishRepairReq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.internal_static_RogueFinishRepairReq_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq.class, emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq.Builder.class); } public static final int CHOSEN_AVATAR_LIST_FIELD_NUMBER = 10; private java.util.List chosenAvatarList_; /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ @java.lang.Override public java.util.List getChosenAvatarListList() { return chosenAvatarList_; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ @java.lang.Override public java.util.List getChosenAvatarListOrBuilderList() { return chosenAvatarList_; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ @java.lang.Override public int getChosenAvatarListCount() { return chosenAvatarList_.size(); } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ @java.lang.Override public emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar getChosenAvatarList(int index) { return chosenAvatarList_.get(index); } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ @java.lang.Override public emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatarOrBuilder getChosenAvatarListOrBuilder( int index) { return chosenAvatarList_.get(index); } public static final int CHOSEN_CARD_LIST_FIELD_NUMBER = 15; private com.google.protobuf.Internal.IntList chosenCardList_; /** * repeated uint32 chosen_card_list = 15; * @return A list containing the chosenCardList. */ @java.lang.Override public java.util.List getChosenCardListList() { return chosenCardList_; } /** * repeated uint32 chosen_card_list = 15; * @return The count of chosenCardList. */ public int getChosenCardListCount() { return chosenCardList_.size(); } /** * repeated uint32 chosen_card_list = 15; * @param index The index of the element to return. * @return The chosenCardList at the given index. */ public int getChosenCardList(int index) { return chosenCardList_.getInt(index); } private int chosenCardListMemoizedSerializedSize = -1; 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 { getSerializedSize(); for (int i = 0; i < chosenAvatarList_.size(); i++) { output.writeMessage(10, chosenAvatarList_.get(i)); } if (getChosenCardListList().size() > 0) { output.writeUInt32NoTag(122); output.writeUInt32NoTag(chosenCardListMemoizedSerializedSize); } for (int i = 0; i < chosenCardList_.size(); i++) { output.writeUInt32NoTag(chosenCardList_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < chosenAvatarList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, chosenAvatarList_.get(i)); } { int dataSize = 0; for (int i = 0; i < chosenCardList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(chosenCardList_.getInt(i)); } size += dataSize; if (!getChosenCardListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } chosenCardListMemoizedSerializedSize = dataSize; } 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.RogueFinishRepairReqOuterClass.RogueFinishRepairReq)) { return super.equals(obj); } emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq other = (emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq) obj; if (!getChosenAvatarListList() .equals(other.getChosenAvatarListList())) return false; if (!getChosenCardListList() .equals(other.getChosenCardListList())) 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 (getChosenAvatarListCount() > 0) { hash = (37 * hash) + CHOSEN_AVATAR_LIST_FIELD_NUMBER; hash = (53 * hash) + getChosenAvatarListList().hashCode(); } if (getChosenCardListCount() > 0) { hash = (37 * hash) + CHOSEN_CARD_LIST_FIELD_NUMBER; hash = (53 * hash) + getChosenCardListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq 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.RogueFinishRepairReqOuterClass.RogueFinishRepairReq parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq 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.RogueFinishRepairReqOuterClass.RogueFinishRepairReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq 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.RogueFinishRepairReqOuterClass.RogueFinishRepairReq parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq 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.RogueFinishRepairReqOuterClass.RogueFinishRepairReq parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq 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.RogueFinishRepairReqOuterClass.RogueFinishRepairReq 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; } /** *
     * CmdId: 21443
     * Obf: BPFICHHPGJC
     * 
* * Protobuf type {@code RogueFinishRepairReq} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:RogueFinishRepairReq) emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReqOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.internal_static_RogueFinishRepairReq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.internal_static_RogueFinishRepairReq_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq.class, emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq.Builder.class); } // Construct using emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getChosenAvatarListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (chosenAvatarListBuilder_ == null) { chosenAvatarList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { chosenAvatarListBuilder_.clear(); } chosenCardList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.internal_static_RogueFinishRepairReq_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq getDefaultInstanceForType() { return emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq build() { emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq buildPartial() { emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq result = new emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq(this); int from_bitField0_ = bitField0_; if (chosenAvatarListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { chosenAvatarList_ = java.util.Collections.unmodifiableList(chosenAvatarList_); bitField0_ = (bitField0_ & ~0x00000001); } result.chosenAvatarList_ = chosenAvatarList_; } else { result.chosenAvatarList_ = chosenAvatarListBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { chosenCardList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.chosenCardList_ = chosenCardList_; 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.RogueFinishRepairReqOuterClass.RogueFinishRepairReq) { return mergeFrom((emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq other) { if (other == emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq.getDefaultInstance()) return this; if (chosenAvatarListBuilder_ == null) { if (!other.chosenAvatarList_.isEmpty()) { if (chosenAvatarList_.isEmpty()) { chosenAvatarList_ = other.chosenAvatarList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureChosenAvatarListIsMutable(); chosenAvatarList_.addAll(other.chosenAvatarList_); } onChanged(); } } else { if (!other.chosenAvatarList_.isEmpty()) { if (chosenAvatarListBuilder_.isEmpty()) { chosenAvatarListBuilder_.dispose(); chosenAvatarListBuilder_ = null; chosenAvatarList_ = other.chosenAvatarList_; bitField0_ = (bitField0_ & ~0x00000001); chosenAvatarListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getChosenAvatarListFieldBuilder() : null; } else { chosenAvatarListBuilder_.addAllMessages(other.chosenAvatarList_); } } } if (!other.chosenCardList_.isEmpty()) { if (chosenCardList_.isEmpty()) { chosenCardList_ = other.chosenCardList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureChosenCardListIsMutable(); chosenCardList_.addAll(other.chosenCardList_); } onChanged(); } 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.RogueFinishRepairReqOuterClass.RogueFinishRepairReq parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List chosenAvatarList_ = java.util.Collections.emptyList(); private void ensureChosenAvatarListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { chosenAvatarList_ = new java.util.ArrayList(chosenAvatarList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.Builder, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatarOrBuilder> chosenAvatarListBuilder_; /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public java.util.List getChosenAvatarListList() { if (chosenAvatarListBuilder_ == null) { return java.util.Collections.unmodifiableList(chosenAvatarList_); } else { return chosenAvatarListBuilder_.getMessageList(); } } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public int getChosenAvatarListCount() { if (chosenAvatarListBuilder_ == null) { return chosenAvatarList_.size(); } else { return chosenAvatarListBuilder_.getCount(); } } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar getChosenAvatarList(int index) { if (chosenAvatarListBuilder_ == null) { return chosenAvatarList_.get(index); } else { return chosenAvatarListBuilder_.getMessage(index); } } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public Builder setChosenAvatarList( int index, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar value) { if (chosenAvatarListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChosenAvatarListIsMutable(); chosenAvatarList_.set(index, value); onChanged(); } else { chosenAvatarListBuilder_.setMessage(index, value); } return this; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public Builder setChosenAvatarList( int index, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.Builder builderForValue) { if (chosenAvatarListBuilder_ == null) { ensureChosenAvatarListIsMutable(); chosenAvatarList_.set(index, builderForValue.build()); onChanged(); } else { chosenAvatarListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public Builder addChosenAvatarList(emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar value) { if (chosenAvatarListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChosenAvatarListIsMutable(); chosenAvatarList_.add(value); onChanged(); } else { chosenAvatarListBuilder_.addMessage(value); } return this; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public Builder addChosenAvatarList( int index, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar value) { if (chosenAvatarListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChosenAvatarListIsMutable(); chosenAvatarList_.add(index, value); onChanged(); } else { chosenAvatarListBuilder_.addMessage(index, value); } return this; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public Builder addChosenAvatarList( emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.Builder builderForValue) { if (chosenAvatarListBuilder_ == null) { ensureChosenAvatarListIsMutable(); chosenAvatarList_.add(builderForValue.build()); onChanged(); } else { chosenAvatarListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public Builder addChosenAvatarList( int index, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.Builder builderForValue) { if (chosenAvatarListBuilder_ == null) { ensureChosenAvatarListIsMutable(); chosenAvatarList_.add(index, builderForValue.build()); onChanged(); } else { chosenAvatarListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public Builder addAllChosenAvatarList( java.lang.Iterable values) { if (chosenAvatarListBuilder_ == null) { ensureChosenAvatarListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, chosenAvatarList_); onChanged(); } else { chosenAvatarListBuilder_.addAllMessages(values); } return this; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public Builder clearChosenAvatarList() { if (chosenAvatarListBuilder_ == null) { chosenAvatarList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { chosenAvatarListBuilder_.clear(); } return this; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public Builder removeChosenAvatarList(int index) { if (chosenAvatarListBuilder_ == null) { ensureChosenAvatarListIsMutable(); chosenAvatarList_.remove(index); onChanged(); } else { chosenAvatarListBuilder_.remove(index); } return this; } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.Builder getChosenAvatarListBuilder( int index) { return getChosenAvatarListFieldBuilder().getBuilder(index); } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatarOrBuilder getChosenAvatarListOrBuilder( int index) { if (chosenAvatarListBuilder_ == null) { return chosenAvatarList_.get(index); } else { return chosenAvatarListBuilder_.getMessageOrBuilder(index); } } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public java.util.List getChosenAvatarListOrBuilderList() { if (chosenAvatarListBuilder_ != null) { return chosenAvatarListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(chosenAvatarList_); } } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.Builder addChosenAvatarListBuilder() { return getChosenAvatarListFieldBuilder().addBuilder( emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.getDefaultInstance()); } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.Builder addChosenAvatarListBuilder( int index) { return getChosenAvatarListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.getDefaultInstance()); } /** * repeated .RogueDiaryAvatar chosen_avatar_list = 10; */ public java.util.List getChosenAvatarListBuilderList() { return getChosenAvatarListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.Builder, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatarOrBuilder> getChosenAvatarListFieldBuilder() { if (chosenAvatarListBuilder_ == null) { chosenAvatarListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatar.Builder, emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.RogueDiaryAvatarOrBuilder>( chosenAvatarList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); chosenAvatarList_ = null; } return chosenAvatarListBuilder_; } private com.google.protobuf.Internal.IntList chosenCardList_ = emptyIntList(); private void ensureChosenCardListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { chosenCardList_ = mutableCopy(chosenCardList_); bitField0_ |= 0x00000002; } } /** * repeated uint32 chosen_card_list = 15; * @return A list containing the chosenCardList. */ public java.util.List getChosenCardListList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(chosenCardList_) : chosenCardList_; } /** * repeated uint32 chosen_card_list = 15; * @return The count of chosenCardList. */ public int getChosenCardListCount() { return chosenCardList_.size(); } /** * repeated uint32 chosen_card_list = 15; * @param index The index of the element to return. * @return The chosenCardList at the given index. */ public int getChosenCardList(int index) { return chosenCardList_.getInt(index); } /** * repeated uint32 chosen_card_list = 15; * @param index The index to set the value at. * @param value The chosenCardList to set. * @return This builder for chaining. */ public Builder setChosenCardList( int index, int value) { ensureChosenCardListIsMutable(); chosenCardList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 chosen_card_list = 15; * @param value The chosenCardList to add. * @return This builder for chaining. */ public Builder addChosenCardList(int value) { ensureChosenCardListIsMutable(); chosenCardList_.addInt(value); onChanged(); return this; } /** * repeated uint32 chosen_card_list = 15; * @param values The chosenCardList to add. * @return This builder for chaining. */ public Builder addAllChosenCardList( java.lang.Iterable values) { ensureChosenCardListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, chosenCardList_); onChanged(); return this; } /** * repeated uint32 chosen_card_list = 15; * @return This builder for chaining. */ public Builder clearChosenCardList() { chosenCardList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); 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:RogueFinishRepairReq) } // @@protoc_insertion_point(class_scope:RogueFinishRepairReq) private static final emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq(); } public static emu.grasscutter.net.proto.RogueFinishRepairReqOuterClass.RogueFinishRepairReq getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RogueFinishRepairReq parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RogueFinishRepairReq(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.RogueFinishRepairReqOuterClass.RogueFinishRepairReq getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_RogueFinishRepairReq_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_RogueFinishRepairReq_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\032RogueFinishRepairReq.proto\032\026RogueDiary" + "Avatar.proto\"_\n\024RogueFinishRepairReq\022-\n\022" + "chosen_avatar_list\030\n \003(\0132\021.RogueDiaryAva" + "tar\022\030\n\020chosen_card_list\030\017 \003(\rB\033\n\031emu.gra" + "sscutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.getDescriptor(), }); internal_static_RogueFinishRepairReq_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_RogueFinishRepairReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_RogueFinishRepairReq_descriptor, new java.lang.String[] { "ChosenAvatarList", "ChosenCardList", }); emu.grasscutter.net.proto.RogueDiaryAvatarOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy