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

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

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

package emu.grasscutter.net.proto;

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

    /**
     * repeated uint32 finished_bonus_activity_id_list = 11;
     * @return A list containing the finishedBonusActivityIdList.
     */
    java.util.List getFinishedBonusActivityIdListList();
    /**
     * repeated uint32 finished_bonus_activity_id_list = 11;
     * @return The count of finishedBonusActivityIdList.
     */
    int getFinishedBonusActivityIdListCount();
    /**
     * repeated uint32 finished_bonus_activity_id_list = 11;
     * @param index The index of the element to return.
     * @return The finishedBonusActivityIdList at the given index.
     */
    int getFinishedBonusActivityIdList(int index);

    /**
     * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7;
     */
    java.util.List 
        getOpenedOpActivityInfoListList();
    /**
     * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7;
     */
    emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo getOpenedOpActivityInfoList(int index);
    /**
     * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7;
     */
    int getOpenedOpActivityInfoListCount();
    /**
     * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7;
     */
    java.util.List 
        getOpenedOpActivityInfoListOrBuilderList();
    /**
     * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7;
     */
    emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfoOrBuilder getOpenedOpActivityInfoListOrBuilder(
        int index);
  }
  /**
   * 
   * CmdId: 24977
   * Obf: AFHNMKDHELK
   * 
* * Protobuf type {@code OpActivityStateNotify} */ public static final class OpActivityStateNotify extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:OpActivityStateNotify) OpActivityStateNotifyOrBuilder { private static final long serialVersionUID = 0L; // Use OpActivityStateNotify.newBuilder() to construct. private OpActivityStateNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OpActivityStateNotify() { finishedBonusActivityIdList_ = emptyIntList(); openedOpActivityInfoList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OpActivityStateNotify(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OpActivityStateNotify( 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 58: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { openedOpActivityInfoList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } openedOpActivityInfoList_.add( input.readMessage(emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.parser(), extensionRegistry)); break; } case 88: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { finishedBonusActivityIdList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } finishedBonusActivityIdList_.addInt(input.readUInt32()); break; } case 90: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { finishedBonusActivityIdList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { finishedBonusActivityIdList_.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_ & 0x00000002) != 0)) { openedOpActivityInfoList_ = java.util.Collections.unmodifiableList(openedOpActivityInfoList_); } if (((mutable_bitField0_ & 0x00000001) != 0)) { finishedBonusActivityIdList_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.internal_static_OpActivityStateNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.internal_static_OpActivityStateNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify.class, emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify.Builder.class); } public static final int FINISHED_BONUS_ACTIVITY_ID_LIST_FIELD_NUMBER = 11; private com.google.protobuf.Internal.IntList finishedBonusActivityIdList_; /** * repeated uint32 finished_bonus_activity_id_list = 11; * @return A list containing the finishedBonusActivityIdList. */ @java.lang.Override public java.util.List getFinishedBonusActivityIdListList() { return finishedBonusActivityIdList_; } /** * repeated uint32 finished_bonus_activity_id_list = 11; * @return The count of finishedBonusActivityIdList. */ public int getFinishedBonusActivityIdListCount() { return finishedBonusActivityIdList_.size(); } /** * repeated uint32 finished_bonus_activity_id_list = 11; * @param index The index of the element to return. * @return The finishedBonusActivityIdList at the given index. */ public int getFinishedBonusActivityIdList(int index) { return finishedBonusActivityIdList_.getInt(index); } private int finishedBonusActivityIdListMemoizedSerializedSize = -1; public static final int OPENED_OP_ACTIVITY_INFO_LIST_FIELD_NUMBER = 7; private java.util.List openedOpActivityInfoList_; /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ @java.lang.Override public java.util.List getOpenedOpActivityInfoListList() { return openedOpActivityInfoList_; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ @java.lang.Override public java.util.List getOpenedOpActivityInfoListOrBuilderList() { return openedOpActivityInfoList_; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ @java.lang.Override public int getOpenedOpActivityInfoListCount() { return openedOpActivityInfoList_.size(); } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ @java.lang.Override public emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo getOpenedOpActivityInfoList(int index) { return openedOpActivityInfoList_.get(index); } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ @java.lang.Override public emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfoOrBuilder getOpenedOpActivityInfoListOrBuilder( int index) { return openedOpActivityInfoList_.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(); for (int i = 0; i < openedOpActivityInfoList_.size(); i++) { output.writeMessage(7, openedOpActivityInfoList_.get(i)); } if (getFinishedBonusActivityIdListList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(finishedBonusActivityIdListMemoizedSerializedSize); } for (int i = 0; i < finishedBonusActivityIdList_.size(); i++) { output.writeUInt32NoTag(finishedBonusActivityIdList_.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 < openedOpActivityInfoList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, openedOpActivityInfoList_.get(i)); } { int dataSize = 0; for (int i = 0; i < finishedBonusActivityIdList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(finishedBonusActivityIdList_.getInt(i)); } size += dataSize; if (!getFinishedBonusActivityIdListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } finishedBonusActivityIdListMemoizedSerializedSize = 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.OpActivityStateNotifyOuterClass.OpActivityStateNotify)) { return super.equals(obj); } emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify other = (emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify) obj; if (!getFinishedBonusActivityIdListList() .equals(other.getFinishedBonusActivityIdListList())) return false; if (!getOpenedOpActivityInfoListList() .equals(other.getOpenedOpActivityInfoListList())) 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 (getFinishedBonusActivityIdListCount() > 0) { hash = (37 * hash) + FINISHED_BONUS_ACTIVITY_ID_LIST_FIELD_NUMBER; hash = (53 * hash) + getFinishedBonusActivityIdListList().hashCode(); } if (getOpenedOpActivityInfoListCount() > 0) { hash = (37 * hash) + OPENED_OP_ACTIVITY_INFO_LIST_FIELD_NUMBER; hash = (53 * hash) + getOpenedOpActivityInfoListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify 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.OpActivityStateNotifyOuterClass.OpActivityStateNotify parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify 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.OpActivityStateNotifyOuterClass.OpActivityStateNotify parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify 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.OpActivityStateNotifyOuterClass.OpActivityStateNotify parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify 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.OpActivityStateNotifyOuterClass.OpActivityStateNotify parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify 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.OpActivityStateNotifyOuterClass.OpActivityStateNotify 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: 24977
     * Obf: AFHNMKDHELK
     * 
* * Protobuf type {@code OpActivityStateNotify} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:OpActivityStateNotify) emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotifyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.internal_static_OpActivityStateNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.internal_static_OpActivityStateNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify.class, emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify.Builder.class); } // Construct using emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOpenedOpActivityInfoListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); finishedBonusActivityIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); if (openedOpActivityInfoListBuilder_ == null) { openedOpActivityInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { openedOpActivityInfoListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.internal_static_OpActivityStateNotify_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify getDefaultInstanceForType() { return emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify build() { emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify buildPartial() { emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify result = new emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { finishedBonusActivityIdList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.finishedBonusActivityIdList_ = finishedBonusActivityIdList_; if (openedOpActivityInfoListBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { openedOpActivityInfoList_ = java.util.Collections.unmodifiableList(openedOpActivityInfoList_); bitField0_ = (bitField0_ & ~0x00000002); } result.openedOpActivityInfoList_ = openedOpActivityInfoList_; } else { result.openedOpActivityInfoList_ = openedOpActivityInfoListBuilder_.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.OpActivityStateNotifyOuterClass.OpActivityStateNotify) { return mergeFrom((emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify other) { if (other == emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify.getDefaultInstance()) return this; if (!other.finishedBonusActivityIdList_.isEmpty()) { if (finishedBonusActivityIdList_.isEmpty()) { finishedBonusActivityIdList_ = other.finishedBonusActivityIdList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFinishedBonusActivityIdListIsMutable(); finishedBonusActivityIdList_.addAll(other.finishedBonusActivityIdList_); } onChanged(); } if (openedOpActivityInfoListBuilder_ == null) { if (!other.openedOpActivityInfoList_.isEmpty()) { if (openedOpActivityInfoList_.isEmpty()) { openedOpActivityInfoList_ = other.openedOpActivityInfoList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureOpenedOpActivityInfoListIsMutable(); openedOpActivityInfoList_.addAll(other.openedOpActivityInfoList_); } onChanged(); } } else { if (!other.openedOpActivityInfoList_.isEmpty()) { if (openedOpActivityInfoListBuilder_.isEmpty()) { openedOpActivityInfoListBuilder_.dispose(); openedOpActivityInfoListBuilder_ = null; openedOpActivityInfoList_ = other.openedOpActivityInfoList_; bitField0_ = (bitField0_ & ~0x00000002); openedOpActivityInfoListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOpenedOpActivityInfoListFieldBuilder() : null; } else { openedOpActivityInfoListBuilder_.addAllMessages(other.openedOpActivityInfoList_); } } } 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.OpActivityStateNotifyOuterClass.OpActivityStateNotify parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.IntList finishedBonusActivityIdList_ = emptyIntList(); private void ensureFinishedBonusActivityIdListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { finishedBonusActivityIdList_ = mutableCopy(finishedBonusActivityIdList_); bitField0_ |= 0x00000001; } } /** * repeated uint32 finished_bonus_activity_id_list = 11; * @return A list containing the finishedBonusActivityIdList. */ public java.util.List getFinishedBonusActivityIdListList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(finishedBonusActivityIdList_) : finishedBonusActivityIdList_; } /** * repeated uint32 finished_bonus_activity_id_list = 11; * @return The count of finishedBonusActivityIdList. */ public int getFinishedBonusActivityIdListCount() { return finishedBonusActivityIdList_.size(); } /** * repeated uint32 finished_bonus_activity_id_list = 11; * @param index The index of the element to return. * @return The finishedBonusActivityIdList at the given index. */ public int getFinishedBonusActivityIdList(int index) { return finishedBonusActivityIdList_.getInt(index); } /** * repeated uint32 finished_bonus_activity_id_list = 11; * @param index The index to set the value at. * @param value The finishedBonusActivityIdList to set. * @return This builder for chaining. */ public Builder setFinishedBonusActivityIdList( int index, int value) { ensureFinishedBonusActivityIdListIsMutable(); finishedBonusActivityIdList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 finished_bonus_activity_id_list = 11; * @param value The finishedBonusActivityIdList to add. * @return This builder for chaining. */ public Builder addFinishedBonusActivityIdList(int value) { ensureFinishedBonusActivityIdListIsMutable(); finishedBonusActivityIdList_.addInt(value); onChanged(); return this; } /** * repeated uint32 finished_bonus_activity_id_list = 11; * @param values The finishedBonusActivityIdList to add. * @return This builder for chaining. */ public Builder addAllFinishedBonusActivityIdList( java.lang.Iterable values) { ensureFinishedBonusActivityIdListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, finishedBonusActivityIdList_); onChanged(); return this; } /** * repeated uint32 finished_bonus_activity_id_list = 11; * @return This builder for chaining. */ public Builder clearFinishedBonusActivityIdList() { finishedBonusActivityIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private java.util.List openedOpActivityInfoList_ = java.util.Collections.emptyList(); private void ensureOpenedOpActivityInfoListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { openedOpActivityInfoList_ = new java.util.ArrayList(openedOpActivityInfoList_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.Builder, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfoOrBuilder> openedOpActivityInfoListBuilder_; /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public java.util.List getOpenedOpActivityInfoListList() { if (openedOpActivityInfoListBuilder_ == null) { return java.util.Collections.unmodifiableList(openedOpActivityInfoList_); } else { return openedOpActivityInfoListBuilder_.getMessageList(); } } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public int getOpenedOpActivityInfoListCount() { if (openedOpActivityInfoListBuilder_ == null) { return openedOpActivityInfoList_.size(); } else { return openedOpActivityInfoListBuilder_.getCount(); } } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo getOpenedOpActivityInfoList(int index) { if (openedOpActivityInfoListBuilder_ == null) { return openedOpActivityInfoList_.get(index); } else { return openedOpActivityInfoListBuilder_.getMessage(index); } } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public Builder setOpenedOpActivityInfoList( int index, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo value) { if (openedOpActivityInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOpenedOpActivityInfoListIsMutable(); openedOpActivityInfoList_.set(index, value); onChanged(); } else { openedOpActivityInfoListBuilder_.setMessage(index, value); } return this; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public Builder setOpenedOpActivityInfoList( int index, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.Builder builderForValue) { if (openedOpActivityInfoListBuilder_ == null) { ensureOpenedOpActivityInfoListIsMutable(); openedOpActivityInfoList_.set(index, builderForValue.build()); onChanged(); } else { openedOpActivityInfoListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public Builder addOpenedOpActivityInfoList(emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo value) { if (openedOpActivityInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOpenedOpActivityInfoListIsMutable(); openedOpActivityInfoList_.add(value); onChanged(); } else { openedOpActivityInfoListBuilder_.addMessage(value); } return this; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public Builder addOpenedOpActivityInfoList( int index, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo value) { if (openedOpActivityInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOpenedOpActivityInfoListIsMutable(); openedOpActivityInfoList_.add(index, value); onChanged(); } else { openedOpActivityInfoListBuilder_.addMessage(index, value); } return this; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public Builder addOpenedOpActivityInfoList( emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.Builder builderForValue) { if (openedOpActivityInfoListBuilder_ == null) { ensureOpenedOpActivityInfoListIsMutable(); openedOpActivityInfoList_.add(builderForValue.build()); onChanged(); } else { openedOpActivityInfoListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public Builder addOpenedOpActivityInfoList( int index, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.Builder builderForValue) { if (openedOpActivityInfoListBuilder_ == null) { ensureOpenedOpActivityInfoListIsMutable(); openedOpActivityInfoList_.add(index, builderForValue.build()); onChanged(); } else { openedOpActivityInfoListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public Builder addAllOpenedOpActivityInfoList( java.lang.Iterable values) { if (openedOpActivityInfoListBuilder_ == null) { ensureOpenedOpActivityInfoListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, openedOpActivityInfoList_); onChanged(); } else { openedOpActivityInfoListBuilder_.addAllMessages(values); } return this; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public Builder clearOpenedOpActivityInfoList() { if (openedOpActivityInfoListBuilder_ == null) { openedOpActivityInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { openedOpActivityInfoListBuilder_.clear(); } return this; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public Builder removeOpenedOpActivityInfoList(int index) { if (openedOpActivityInfoListBuilder_ == null) { ensureOpenedOpActivityInfoListIsMutable(); openedOpActivityInfoList_.remove(index); onChanged(); } else { openedOpActivityInfoListBuilder_.remove(index); } return this; } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.Builder getOpenedOpActivityInfoListBuilder( int index) { return getOpenedOpActivityInfoListFieldBuilder().getBuilder(index); } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfoOrBuilder getOpenedOpActivityInfoListOrBuilder( int index) { if (openedOpActivityInfoListBuilder_ == null) { return openedOpActivityInfoList_.get(index); } else { return openedOpActivityInfoListBuilder_.getMessageOrBuilder(index); } } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public java.util.List getOpenedOpActivityInfoListOrBuilderList() { if (openedOpActivityInfoListBuilder_ != null) { return openedOpActivityInfoListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(openedOpActivityInfoList_); } } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.Builder addOpenedOpActivityInfoListBuilder() { return getOpenedOpActivityInfoListFieldBuilder().addBuilder( emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.getDefaultInstance()); } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.Builder addOpenedOpActivityInfoListBuilder( int index) { return getOpenedOpActivityInfoListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.getDefaultInstance()); } /** * repeated .OpActivityTagBriefInfo opened_op_activity_info_list = 7; */ public java.util.List getOpenedOpActivityInfoListBuilderList() { return getOpenedOpActivityInfoListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.Builder, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfoOrBuilder> getOpenedOpActivityInfoListFieldBuilder() { if (openedOpActivityInfoListBuilder_ == null) { openedOpActivityInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfo.Builder, emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.OpActivityTagBriefInfoOrBuilder>( openedOpActivityInfoList_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); openedOpActivityInfoList_ = null; } return openedOpActivityInfoListBuilder_; } @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:OpActivityStateNotify) } // @@protoc_insertion_point(class_scope:OpActivityStateNotify) private static final emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify(); } public static emu.grasscutter.net.proto.OpActivityStateNotifyOuterClass.OpActivityStateNotify getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OpActivityStateNotify parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OpActivityStateNotify(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.OpActivityStateNotifyOuterClass.OpActivityStateNotify getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_OpActivityStateNotify_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_OpActivityStateNotify_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\033OpActivityStateNotify.proto\032\034OpActivit" + "yTagBriefInfo.proto\"\177\n\025OpActivityStateNo" + "tify\022\'\n\037finished_bonus_activity_id_list\030" + "\013 \003(\r\022=\n\034opened_op_activity_info_list\030\007 " + "\003(\0132\027.OpActivityTagBriefInfoB\033\n\031emu.gras" + "scutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.getDescriptor(), }); internal_static_OpActivityStateNotify_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_OpActivityStateNotify_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_OpActivityStateNotify_descriptor, new java.lang.String[] { "FinishedBonusActivityIdList", "OpenedOpActivityInfoList", }); emu.grasscutter.net.proto.OpActivityTagBriefInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy