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

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

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

package emu.grasscutter.net.proto;

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

    /**
     * int32 retcode = 14;
     * @return The retcode.
     */
    int getRetcode();

    /**
     * repeated uint32 unlockCompoundList = 9;
     * @return A list containing the unlockCompoundList.
     */
    java.util.List getUnlockCompoundListList();
    /**
     * repeated uint32 unlockCompoundList = 9;
     * @return The count of unlockCompoundList.
     */
    int getUnlockCompoundListCount();
    /**
     * repeated uint32 unlockCompoundList = 9;
     * @param index The index of the element to return.
     * @return The unlockCompoundList at the given index.
     */
    int getUnlockCompoundList(int index);

    /**
     * repeated .CompoundQueueData compoundQueueDataList = 12;
     */
    java.util.List 
        getCompoundQueueDataListList();
    /**
     * repeated .CompoundQueueData compoundQueueDataList = 12;
     */
    emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData getCompoundQueueDataList(int index);
    /**
     * repeated .CompoundQueueData compoundQueueDataList = 12;
     */
    int getCompoundQueueDataListCount();
    /**
     * repeated .CompoundQueueData compoundQueueDataList = 12;
     */
    java.util.List 
        getCompoundQueueDataListOrBuilderList();
    /**
     * repeated .CompoundQueueData compoundQueueDataList = 12;
     */
    emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueDataOrBuilder getCompoundQueueDataListOrBuilder(
        int index);
  }
  /**
   * 
   * CmdId: 24302
   * Obf: AFFGNHAFPID
   * 
* * Protobuf type {@code GetCompoundDataRsp} */ public static final class GetCompoundDataRsp extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:GetCompoundDataRsp) GetCompoundDataRspOrBuilder { private static final long serialVersionUID = 0L; // Use GetCompoundDataRsp.newBuilder() to construct. private GetCompoundDataRsp(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetCompoundDataRsp() { unlockCompoundList_ = emptyIntList(); compoundQueueDataList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetCompoundDataRsp(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetCompoundDataRsp( 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 72: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { unlockCompoundList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } unlockCompoundList_.addInt(input.readUInt32()); break; } case 74: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { unlockCompoundList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { unlockCompoundList_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 98: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { compoundQueueDataList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } compoundQueueDataList_.add( input.readMessage(emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.parser(), extensionRegistry)); break; } case 112: { retcode_ = input.readInt32(); 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)) { unlockCompoundList_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000002) != 0)) { compoundQueueDataList_ = java.util.Collections.unmodifiableList(compoundQueueDataList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.internal_static_GetCompoundDataRsp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.internal_static_GetCompoundDataRsp_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp.class, emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp.Builder.class); } public static final int RETCODE_FIELD_NUMBER = 14; private int retcode_; /** * int32 retcode = 14; * @return The retcode. */ @java.lang.Override public int getRetcode() { return retcode_; } public static final int UNLOCKCOMPOUNDLIST_FIELD_NUMBER = 9; private com.google.protobuf.Internal.IntList unlockCompoundList_; /** * repeated uint32 unlockCompoundList = 9; * @return A list containing the unlockCompoundList. */ @java.lang.Override public java.util.List getUnlockCompoundListList() { return unlockCompoundList_; } /** * repeated uint32 unlockCompoundList = 9; * @return The count of unlockCompoundList. */ public int getUnlockCompoundListCount() { return unlockCompoundList_.size(); } /** * repeated uint32 unlockCompoundList = 9; * @param index The index of the element to return. * @return The unlockCompoundList at the given index. */ public int getUnlockCompoundList(int index) { return unlockCompoundList_.getInt(index); } private int unlockCompoundListMemoizedSerializedSize = -1; public static final int COMPOUNDQUEUEDATALIST_FIELD_NUMBER = 12; private java.util.List compoundQueueDataList_; /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ @java.lang.Override public java.util.List getCompoundQueueDataListList() { return compoundQueueDataList_; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ @java.lang.Override public java.util.List getCompoundQueueDataListOrBuilderList() { return compoundQueueDataList_; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ @java.lang.Override public int getCompoundQueueDataListCount() { return compoundQueueDataList_.size(); } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ @java.lang.Override public emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData getCompoundQueueDataList(int index) { return compoundQueueDataList_.get(index); } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ @java.lang.Override public emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueDataOrBuilder getCompoundQueueDataListOrBuilder( int index) { return compoundQueueDataList_.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 { getSerializedSize(); if (getUnlockCompoundListList().size() > 0) { output.writeUInt32NoTag(74); output.writeUInt32NoTag(unlockCompoundListMemoizedSerializedSize); } for (int i = 0; i < unlockCompoundList_.size(); i++) { output.writeUInt32NoTag(unlockCompoundList_.getInt(i)); } for (int i = 0; i < compoundQueueDataList_.size(); i++) { output.writeMessage(12, compoundQueueDataList_.get(i)); } if (retcode_ != 0) { output.writeInt32(14, retcode_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < unlockCompoundList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(unlockCompoundList_.getInt(i)); } size += dataSize; if (!getUnlockCompoundListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } unlockCompoundListMemoizedSerializedSize = dataSize; } for (int i = 0; i < compoundQueueDataList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, compoundQueueDataList_.get(i)); } if (retcode_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(14, retcode_); } 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.GetCompoundDataRspOuterClass.GetCompoundDataRsp)) { return super.equals(obj); } emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp other = (emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp) obj; if (getRetcode() != other.getRetcode()) return false; if (!getUnlockCompoundListList() .equals(other.getUnlockCompoundListList())) return false; if (!getCompoundQueueDataListList() .equals(other.getCompoundQueueDataListList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RETCODE_FIELD_NUMBER; hash = (53 * hash) + getRetcode(); if (getUnlockCompoundListCount() > 0) { hash = (37 * hash) + UNLOCKCOMPOUNDLIST_FIELD_NUMBER; hash = (53 * hash) + getUnlockCompoundListList().hashCode(); } if (getCompoundQueueDataListCount() > 0) { hash = (37 * hash) + COMPOUNDQUEUEDATALIST_FIELD_NUMBER; hash = (53 * hash) + getCompoundQueueDataListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp 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.GetCompoundDataRspOuterClass.GetCompoundDataRsp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp 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.GetCompoundDataRspOuterClass.GetCompoundDataRsp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp 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.GetCompoundDataRspOuterClass.GetCompoundDataRsp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp 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.GetCompoundDataRspOuterClass.GetCompoundDataRsp parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp 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.GetCompoundDataRspOuterClass.GetCompoundDataRsp 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: 24302
     * Obf: AFFGNHAFPID
     * 
* * Protobuf type {@code GetCompoundDataRsp} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:GetCompoundDataRsp) emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRspOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.internal_static_GetCompoundDataRsp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.internal_static_GetCompoundDataRsp_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp.class, emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp.Builder.class); } // Construct using emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCompoundQueueDataListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); retcode_ = 0; unlockCompoundList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); if (compoundQueueDataListBuilder_ == null) { compoundQueueDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { compoundQueueDataListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.internal_static_GetCompoundDataRsp_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp getDefaultInstanceForType() { return emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp build() { emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp buildPartial() { emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp result = new emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp(this); int from_bitField0_ = bitField0_; result.retcode_ = retcode_; if (((bitField0_ & 0x00000001) != 0)) { unlockCompoundList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.unlockCompoundList_ = unlockCompoundList_; if (compoundQueueDataListBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { compoundQueueDataList_ = java.util.Collections.unmodifiableList(compoundQueueDataList_); bitField0_ = (bitField0_ & ~0x00000002); } result.compoundQueueDataList_ = compoundQueueDataList_; } else { result.compoundQueueDataList_ = compoundQueueDataListBuilder_.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.GetCompoundDataRspOuterClass.GetCompoundDataRsp) { return mergeFrom((emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp other) { if (other == emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp.getDefaultInstance()) return this; if (other.getRetcode() != 0) { setRetcode(other.getRetcode()); } if (!other.unlockCompoundList_.isEmpty()) { if (unlockCompoundList_.isEmpty()) { unlockCompoundList_ = other.unlockCompoundList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUnlockCompoundListIsMutable(); unlockCompoundList_.addAll(other.unlockCompoundList_); } onChanged(); } if (compoundQueueDataListBuilder_ == null) { if (!other.compoundQueueDataList_.isEmpty()) { if (compoundQueueDataList_.isEmpty()) { compoundQueueDataList_ = other.compoundQueueDataList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCompoundQueueDataListIsMutable(); compoundQueueDataList_.addAll(other.compoundQueueDataList_); } onChanged(); } } else { if (!other.compoundQueueDataList_.isEmpty()) { if (compoundQueueDataListBuilder_.isEmpty()) { compoundQueueDataListBuilder_.dispose(); compoundQueueDataListBuilder_ = null; compoundQueueDataList_ = other.compoundQueueDataList_; bitField0_ = (bitField0_ & ~0x00000002); compoundQueueDataListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCompoundQueueDataListFieldBuilder() : null; } else { compoundQueueDataListBuilder_.addAllMessages(other.compoundQueueDataList_); } } } 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.GetCompoundDataRspOuterClass.GetCompoundDataRsp parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int retcode_ ; /** * int32 retcode = 14; * @return The retcode. */ @java.lang.Override public int getRetcode() { return retcode_; } /** * int32 retcode = 14; * @param value The retcode to set. * @return This builder for chaining. */ public Builder setRetcode(int value) { retcode_ = value; onChanged(); return this; } /** * int32 retcode = 14; * @return This builder for chaining. */ public Builder clearRetcode() { retcode_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList unlockCompoundList_ = emptyIntList(); private void ensureUnlockCompoundListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { unlockCompoundList_ = mutableCopy(unlockCompoundList_); bitField0_ |= 0x00000001; } } /** * repeated uint32 unlockCompoundList = 9; * @return A list containing the unlockCompoundList. */ public java.util.List getUnlockCompoundListList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(unlockCompoundList_) : unlockCompoundList_; } /** * repeated uint32 unlockCompoundList = 9; * @return The count of unlockCompoundList. */ public int getUnlockCompoundListCount() { return unlockCompoundList_.size(); } /** * repeated uint32 unlockCompoundList = 9; * @param index The index of the element to return. * @return The unlockCompoundList at the given index. */ public int getUnlockCompoundList(int index) { return unlockCompoundList_.getInt(index); } /** * repeated uint32 unlockCompoundList = 9; * @param index The index to set the value at. * @param value The unlockCompoundList to set. * @return This builder for chaining. */ public Builder setUnlockCompoundList( int index, int value) { ensureUnlockCompoundListIsMutable(); unlockCompoundList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 unlockCompoundList = 9; * @param value The unlockCompoundList to add. * @return This builder for chaining. */ public Builder addUnlockCompoundList(int value) { ensureUnlockCompoundListIsMutable(); unlockCompoundList_.addInt(value); onChanged(); return this; } /** * repeated uint32 unlockCompoundList = 9; * @param values The unlockCompoundList to add. * @return This builder for chaining. */ public Builder addAllUnlockCompoundList( java.lang.Iterable values) { ensureUnlockCompoundListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, unlockCompoundList_); onChanged(); return this; } /** * repeated uint32 unlockCompoundList = 9; * @return This builder for chaining. */ public Builder clearUnlockCompoundList() { unlockCompoundList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private java.util.List compoundQueueDataList_ = java.util.Collections.emptyList(); private void ensureCompoundQueueDataListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { compoundQueueDataList_ = new java.util.ArrayList(compoundQueueDataList_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueDataOrBuilder> compoundQueueDataListBuilder_; /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public java.util.List getCompoundQueueDataListList() { if (compoundQueueDataListBuilder_ == null) { return java.util.Collections.unmodifiableList(compoundQueueDataList_); } else { return compoundQueueDataListBuilder_.getMessageList(); } } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public int getCompoundQueueDataListCount() { if (compoundQueueDataListBuilder_ == null) { return compoundQueueDataList_.size(); } else { return compoundQueueDataListBuilder_.getCount(); } } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData getCompoundQueueDataList(int index) { if (compoundQueueDataListBuilder_ == null) { return compoundQueueDataList_.get(index); } else { return compoundQueueDataListBuilder_.getMessage(index); } } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public Builder setCompoundQueueDataList( int index, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData value) { if (compoundQueueDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCompoundQueueDataListIsMutable(); compoundQueueDataList_.set(index, value); onChanged(); } else { compoundQueueDataListBuilder_.setMessage(index, value); } return this; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public Builder setCompoundQueueDataList( int index, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder builderForValue) { if (compoundQueueDataListBuilder_ == null) { ensureCompoundQueueDataListIsMutable(); compoundQueueDataList_.set(index, builderForValue.build()); onChanged(); } else { compoundQueueDataListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public Builder addCompoundQueueDataList(emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData value) { if (compoundQueueDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCompoundQueueDataListIsMutable(); compoundQueueDataList_.add(value); onChanged(); } else { compoundQueueDataListBuilder_.addMessage(value); } return this; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public Builder addCompoundQueueDataList( int index, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData value) { if (compoundQueueDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCompoundQueueDataListIsMutable(); compoundQueueDataList_.add(index, value); onChanged(); } else { compoundQueueDataListBuilder_.addMessage(index, value); } return this; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public Builder addCompoundQueueDataList( emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder builderForValue) { if (compoundQueueDataListBuilder_ == null) { ensureCompoundQueueDataListIsMutable(); compoundQueueDataList_.add(builderForValue.build()); onChanged(); } else { compoundQueueDataListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public Builder addCompoundQueueDataList( int index, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder builderForValue) { if (compoundQueueDataListBuilder_ == null) { ensureCompoundQueueDataListIsMutable(); compoundQueueDataList_.add(index, builderForValue.build()); onChanged(); } else { compoundQueueDataListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public Builder addAllCompoundQueueDataList( java.lang.Iterable values) { if (compoundQueueDataListBuilder_ == null) { ensureCompoundQueueDataListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, compoundQueueDataList_); onChanged(); } else { compoundQueueDataListBuilder_.addAllMessages(values); } return this; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public Builder clearCompoundQueueDataList() { if (compoundQueueDataListBuilder_ == null) { compoundQueueDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { compoundQueueDataListBuilder_.clear(); } return this; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public Builder removeCompoundQueueDataList(int index) { if (compoundQueueDataListBuilder_ == null) { ensureCompoundQueueDataListIsMutable(); compoundQueueDataList_.remove(index); onChanged(); } else { compoundQueueDataListBuilder_.remove(index); } return this; } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder getCompoundQueueDataListBuilder( int index) { return getCompoundQueueDataListFieldBuilder().getBuilder(index); } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueDataOrBuilder getCompoundQueueDataListOrBuilder( int index) { if (compoundQueueDataListBuilder_ == null) { return compoundQueueDataList_.get(index); } else { return compoundQueueDataListBuilder_.getMessageOrBuilder(index); } } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public java.util.List getCompoundQueueDataListOrBuilderList() { if (compoundQueueDataListBuilder_ != null) { return compoundQueueDataListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(compoundQueueDataList_); } } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder addCompoundQueueDataListBuilder() { return getCompoundQueueDataListFieldBuilder().addBuilder( emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.getDefaultInstance()); } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder addCompoundQueueDataListBuilder( int index) { return getCompoundQueueDataListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.getDefaultInstance()); } /** * repeated .CompoundQueueData compoundQueueDataList = 12; */ public java.util.List getCompoundQueueDataListBuilderList() { return getCompoundQueueDataListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueDataOrBuilder> getCompoundQueueDataListFieldBuilder() { if (compoundQueueDataListBuilder_ == null) { compoundQueueDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder, emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueDataOrBuilder>( compoundQueueDataList_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); compoundQueueDataList_ = null; } return compoundQueueDataListBuilder_; } @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:GetCompoundDataRsp) } // @@protoc_insertion_point(class_scope:GetCompoundDataRsp) private static final emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp(); } public static emu.grasscutter.net.proto.GetCompoundDataRspOuterClass.GetCompoundDataRsp getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetCompoundDataRsp parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetCompoundDataRsp(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.GetCompoundDataRspOuterClass.GetCompoundDataRsp getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_GetCompoundDataRsp_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_GetCompoundDataRsp_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\030GetCompoundDataRsp.proto\032\027CompoundQueu" + "eData.proto\"t\n\022GetCompoundDataRsp\022\017\n\007ret" + "code\030\016 \001(\005\022\032\n\022unlockCompoundList\030\t \003(\r\0221" + "\n\025compoundQueueDataList\030\014 \003(\0132\022.Compound" + "QueueDataB\033\n\031emu.grasscutter.net.protob\006" + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.CompoundQueueDataOuterClass.getDescriptor(), }); internal_static_GetCompoundDataRsp_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_GetCompoundDataRsp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GetCompoundDataRsp_descriptor, new java.lang.String[] { "Retcode", "UnlockCompoundList", "CompoundQueueDataList", }); emu.grasscutter.net.proto.CompoundQueueDataOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy