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

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

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

package emu.grasscutter.net.proto;

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

    /**
     * repeated uint32 levelup_reward_got_level_list = 3;
     * @return A list containing the levelupRewardGotLevelList.
     */
    java.util.List getLevelupRewardGotLevelListList();
    /**
     * repeated uint32 levelup_reward_got_level_list = 3;
     * @return The count of levelupRewardGotLevelList.
     */
    int getLevelupRewardGotLevelListCount();
    /**
     * repeated uint32 levelup_reward_got_level_list = 3;
     * @param index The index of the element to return.
     * @return The levelupRewardGotLevelList at the given index.
     */
    int getLevelupRewardGotLevelList(int index);

    /**
     * repeated uint32 unlocked_module_id_list = 10;
     * @return A list containing the unlockedModuleIdList.
     */
    java.util.List getUnlockedModuleIdListList();
    /**
     * repeated uint32 unlocked_module_id_list = 10;
     * @return The count of unlockedModuleIdList.
     */
    int getUnlockedModuleIdListCount();
    /**
     * repeated uint32 unlocked_module_id_list = 10;
     * @param index The index of the element to return.
     * @return The unlockedModuleIdList at the given index.
     */
    int getUnlockedModuleIdList(int index);

    /**
     * repeated uint32 seen_module_id_list = 8;
     * @return A list containing the seenModuleIdList.
     */
    java.util.List getSeenModuleIdListList();
    /**
     * repeated uint32 seen_module_id_list = 8;
     * @return The count of seenModuleIdList.
     */
    int getSeenModuleIdListCount();
    /**
     * repeated uint32 seen_module_id_list = 8;
     * @param index The index of the element to return.
     * @return The seenModuleIdList at the given index.
     */
    int getSeenModuleIdList(int index);

    /**
     * .FriendEnterHomeOption friend_enter_home_option = 15;
     * @return The enum numeric value on the wire for friendEnterHomeOption.
     */
    int getFriendEnterHomeOptionValue();
    /**
     * .FriendEnterHomeOption friend_enter_home_option = 15;
     * @return The friendEnterHomeOption.
     */
    emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption getFriendEnterHomeOption();
  }
  /**
   * 
   * Obf: GJLOEDNEKNN
   * 
* * Protobuf type {@code PlayerHomeCompInfo} */ public static final class PlayerHomeCompInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:PlayerHomeCompInfo) PlayerHomeCompInfoOrBuilder { private static final long serialVersionUID = 0L; // Use PlayerHomeCompInfo.newBuilder() to construct. private PlayerHomeCompInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PlayerHomeCompInfo() { levelupRewardGotLevelList_ = emptyIntList(); unlockedModuleIdList_ = emptyIntList(); seenModuleIdList_ = emptyIntList(); friendEnterHomeOption_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PlayerHomeCompInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PlayerHomeCompInfo( 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 24: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { levelupRewardGotLevelList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } levelupRewardGotLevelList_.addInt(input.readUInt32()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { levelupRewardGotLevelList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { levelupRewardGotLevelList_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 64: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { seenModuleIdList_ = newIntList(); mutable_bitField0_ |= 0x00000004; } seenModuleIdList_.addInt(input.readUInt32()); break; } case 66: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { seenModuleIdList_ = newIntList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { seenModuleIdList_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 80: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { unlockedModuleIdList_ = newIntList(); mutable_bitField0_ |= 0x00000002; } unlockedModuleIdList_.addInt(input.readUInt32()); break; } case 82: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { unlockedModuleIdList_ = newIntList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { unlockedModuleIdList_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 120: { int rawValue = input.readEnum(); friendEnterHomeOption_ = rawValue; 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)) { levelupRewardGotLevelList_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000004) != 0)) { seenModuleIdList_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000002) != 0)) { unlockedModuleIdList_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.internal_static_PlayerHomeCompInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.internal_static_PlayerHomeCompInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.class, emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.Builder.class); } public static final int LEVELUP_REWARD_GOT_LEVEL_LIST_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList levelupRewardGotLevelList_; /** * repeated uint32 levelup_reward_got_level_list = 3; * @return A list containing the levelupRewardGotLevelList. */ @java.lang.Override public java.util.List getLevelupRewardGotLevelListList() { return levelupRewardGotLevelList_; } /** * repeated uint32 levelup_reward_got_level_list = 3; * @return The count of levelupRewardGotLevelList. */ public int getLevelupRewardGotLevelListCount() { return levelupRewardGotLevelList_.size(); } /** * repeated uint32 levelup_reward_got_level_list = 3; * @param index The index of the element to return. * @return The levelupRewardGotLevelList at the given index. */ public int getLevelupRewardGotLevelList(int index) { return levelupRewardGotLevelList_.getInt(index); } private int levelupRewardGotLevelListMemoizedSerializedSize = -1; public static final int UNLOCKED_MODULE_ID_LIST_FIELD_NUMBER = 10; private com.google.protobuf.Internal.IntList unlockedModuleIdList_; /** * repeated uint32 unlocked_module_id_list = 10; * @return A list containing the unlockedModuleIdList. */ @java.lang.Override public java.util.List getUnlockedModuleIdListList() { return unlockedModuleIdList_; } /** * repeated uint32 unlocked_module_id_list = 10; * @return The count of unlockedModuleIdList. */ public int getUnlockedModuleIdListCount() { return unlockedModuleIdList_.size(); } /** * repeated uint32 unlocked_module_id_list = 10; * @param index The index of the element to return. * @return The unlockedModuleIdList at the given index. */ public int getUnlockedModuleIdList(int index) { return unlockedModuleIdList_.getInt(index); } private int unlockedModuleIdListMemoizedSerializedSize = -1; public static final int SEEN_MODULE_ID_LIST_FIELD_NUMBER = 8; private com.google.protobuf.Internal.IntList seenModuleIdList_; /** * repeated uint32 seen_module_id_list = 8; * @return A list containing the seenModuleIdList. */ @java.lang.Override public java.util.List getSeenModuleIdListList() { return seenModuleIdList_; } /** * repeated uint32 seen_module_id_list = 8; * @return The count of seenModuleIdList. */ public int getSeenModuleIdListCount() { return seenModuleIdList_.size(); } /** * repeated uint32 seen_module_id_list = 8; * @param index The index of the element to return. * @return The seenModuleIdList at the given index. */ public int getSeenModuleIdList(int index) { return seenModuleIdList_.getInt(index); } private int seenModuleIdListMemoizedSerializedSize = -1; public static final int FRIEND_ENTER_HOME_OPTION_FIELD_NUMBER = 15; private int friendEnterHomeOption_; /** * .FriendEnterHomeOption friend_enter_home_option = 15; * @return The enum numeric value on the wire for friendEnterHomeOption. */ @java.lang.Override public int getFriendEnterHomeOptionValue() { return friendEnterHomeOption_; } /** * .FriendEnterHomeOption friend_enter_home_option = 15; * @return The friendEnterHomeOption. */ @java.lang.Override public emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption getFriendEnterHomeOption() { @SuppressWarnings("deprecation") emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption result = emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.valueOf(friendEnterHomeOption_); return result == null ? emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.UNRECOGNIZED : result; } 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 (getLevelupRewardGotLevelListList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(levelupRewardGotLevelListMemoizedSerializedSize); } for (int i = 0; i < levelupRewardGotLevelList_.size(); i++) { output.writeUInt32NoTag(levelupRewardGotLevelList_.getInt(i)); } if (getSeenModuleIdListList().size() > 0) { output.writeUInt32NoTag(66); output.writeUInt32NoTag(seenModuleIdListMemoizedSerializedSize); } for (int i = 0; i < seenModuleIdList_.size(); i++) { output.writeUInt32NoTag(seenModuleIdList_.getInt(i)); } if (getUnlockedModuleIdListList().size() > 0) { output.writeUInt32NoTag(82); output.writeUInt32NoTag(unlockedModuleIdListMemoizedSerializedSize); } for (int i = 0; i < unlockedModuleIdList_.size(); i++) { output.writeUInt32NoTag(unlockedModuleIdList_.getInt(i)); } if (friendEnterHomeOption_ != emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM.getNumber()) { output.writeEnum(15, friendEnterHomeOption_); } 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 < levelupRewardGotLevelList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(levelupRewardGotLevelList_.getInt(i)); } size += dataSize; if (!getLevelupRewardGotLevelListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } levelupRewardGotLevelListMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < seenModuleIdList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(seenModuleIdList_.getInt(i)); } size += dataSize; if (!getSeenModuleIdListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } seenModuleIdListMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < unlockedModuleIdList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(unlockedModuleIdList_.getInt(i)); } size += dataSize; if (!getUnlockedModuleIdListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } unlockedModuleIdListMemoizedSerializedSize = dataSize; } if (friendEnterHomeOption_ != emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(15, friendEnterHomeOption_); } 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo other = (emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo) obj; if (!getLevelupRewardGotLevelListList() .equals(other.getLevelupRewardGotLevelListList())) return false; if (!getUnlockedModuleIdListList() .equals(other.getUnlockedModuleIdListList())) return false; if (!getSeenModuleIdListList() .equals(other.getSeenModuleIdListList())) return false; if (friendEnterHomeOption_ != other.friendEnterHomeOption_) 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 (getLevelupRewardGotLevelListCount() > 0) { hash = (37 * hash) + LEVELUP_REWARD_GOT_LEVEL_LIST_FIELD_NUMBER; hash = (53 * hash) + getLevelupRewardGotLevelListList().hashCode(); } if (getUnlockedModuleIdListCount() > 0) { hash = (37 * hash) + UNLOCKED_MODULE_ID_LIST_FIELD_NUMBER; hash = (53 * hash) + getUnlockedModuleIdListList().hashCode(); } if (getSeenModuleIdListCount() > 0) { hash = (37 * hash) + SEEN_MODULE_ID_LIST_FIELD_NUMBER; hash = (53 * hash) + getSeenModuleIdListList().hashCode(); } hash = (37 * hash) + FRIEND_ENTER_HOME_OPTION_FIELD_NUMBER; hash = (53 * hash) + friendEnterHomeOption_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Obf: GJLOEDNEKNN
     * 
* * Protobuf type {@code PlayerHomeCompInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:PlayerHomeCompInfo) emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.internal_static_PlayerHomeCompInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.internal_static_PlayerHomeCompInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.class, emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); levelupRewardGotLevelList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); unlockedModuleIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); seenModuleIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); friendEnterHomeOption_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.internal_static_PlayerHomeCompInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo build() { emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo buildPartial() { emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo result = new emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { levelupRewardGotLevelList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.levelupRewardGotLevelList_ = levelupRewardGotLevelList_; if (((bitField0_ & 0x00000002) != 0)) { unlockedModuleIdList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.unlockedModuleIdList_ = unlockedModuleIdList_; if (((bitField0_ & 0x00000004) != 0)) { seenModuleIdList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.seenModuleIdList_ = seenModuleIdList_; result.friendEnterHomeOption_ = friendEnterHomeOption_; 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo) { return mergeFrom((emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo other) { if (other == emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.getDefaultInstance()) return this; if (!other.levelupRewardGotLevelList_.isEmpty()) { if (levelupRewardGotLevelList_.isEmpty()) { levelupRewardGotLevelList_ = other.levelupRewardGotLevelList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLevelupRewardGotLevelListIsMutable(); levelupRewardGotLevelList_.addAll(other.levelupRewardGotLevelList_); } onChanged(); } if (!other.unlockedModuleIdList_.isEmpty()) { if (unlockedModuleIdList_.isEmpty()) { unlockedModuleIdList_ = other.unlockedModuleIdList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureUnlockedModuleIdListIsMutable(); unlockedModuleIdList_.addAll(other.unlockedModuleIdList_); } onChanged(); } if (!other.seenModuleIdList_.isEmpty()) { if (seenModuleIdList_.isEmpty()) { seenModuleIdList_ = other.seenModuleIdList_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureSeenModuleIdListIsMutable(); seenModuleIdList_.addAll(other.seenModuleIdList_); } onChanged(); } if (other.friendEnterHomeOption_ != 0) { setFriendEnterHomeOptionValue(other.getFriendEnterHomeOptionValue()); } 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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.IntList levelupRewardGotLevelList_ = emptyIntList(); private void ensureLevelupRewardGotLevelListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { levelupRewardGotLevelList_ = mutableCopy(levelupRewardGotLevelList_); bitField0_ |= 0x00000001; } } /** * repeated uint32 levelup_reward_got_level_list = 3; * @return A list containing the levelupRewardGotLevelList. */ public java.util.List getLevelupRewardGotLevelListList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(levelupRewardGotLevelList_) : levelupRewardGotLevelList_; } /** * repeated uint32 levelup_reward_got_level_list = 3; * @return The count of levelupRewardGotLevelList. */ public int getLevelupRewardGotLevelListCount() { return levelupRewardGotLevelList_.size(); } /** * repeated uint32 levelup_reward_got_level_list = 3; * @param index The index of the element to return. * @return The levelupRewardGotLevelList at the given index. */ public int getLevelupRewardGotLevelList(int index) { return levelupRewardGotLevelList_.getInt(index); } /** * repeated uint32 levelup_reward_got_level_list = 3; * @param index The index to set the value at. * @param value The levelupRewardGotLevelList to set. * @return This builder for chaining. */ public Builder setLevelupRewardGotLevelList( int index, int value) { ensureLevelupRewardGotLevelListIsMutable(); levelupRewardGotLevelList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 levelup_reward_got_level_list = 3; * @param value The levelupRewardGotLevelList to add. * @return This builder for chaining. */ public Builder addLevelupRewardGotLevelList(int value) { ensureLevelupRewardGotLevelListIsMutable(); levelupRewardGotLevelList_.addInt(value); onChanged(); return this; } /** * repeated uint32 levelup_reward_got_level_list = 3; * @param values The levelupRewardGotLevelList to add. * @return This builder for chaining. */ public Builder addAllLevelupRewardGotLevelList( java.lang.Iterable values) { ensureLevelupRewardGotLevelListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, levelupRewardGotLevelList_); onChanged(); return this; } /** * repeated uint32 levelup_reward_got_level_list = 3; * @return This builder for chaining. */ public Builder clearLevelupRewardGotLevelList() { levelupRewardGotLevelList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private com.google.protobuf.Internal.IntList unlockedModuleIdList_ = emptyIntList(); private void ensureUnlockedModuleIdListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unlockedModuleIdList_ = mutableCopy(unlockedModuleIdList_); bitField0_ |= 0x00000002; } } /** * repeated uint32 unlocked_module_id_list = 10; * @return A list containing the unlockedModuleIdList. */ public java.util.List getUnlockedModuleIdListList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(unlockedModuleIdList_) : unlockedModuleIdList_; } /** * repeated uint32 unlocked_module_id_list = 10; * @return The count of unlockedModuleIdList. */ public int getUnlockedModuleIdListCount() { return unlockedModuleIdList_.size(); } /** * repeated uint32 unlocked_module_id_list = 10; * @param index The index of the element to return. * @return The unlockedModuleIdList at the given index. */ public int getUnlockedModuleIdList(int index) { return unlockedModuleIdList_.getInt(index); } /** * repeated uint32 unlocked_module_id_list = 10; * @param index The index to set the value at. * @param value The unlockedModuleIdList to set. * @return This builder for chaining. */ public Builder setUnlockedModuleIdList( int index, int value) { ensureUnlockedModuleIdListIsMutable(); unlockedModuleIdList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 unlocked_module_id_list = 10; * @param value The unlockedModuleIdList to add. * @return This builder for chaining. */ public Builder addUnlockedModuleIdList(int value) { ensureUnlockedModuleIdListIsMutable(); unlockedModuleIdList_.addInt(value); onChanged(); return this; } /** * repeated uint32 unlocked_module_id_list = 10; * @param values The unlockedModuleIdList to add. * @return This builder for chaining. */ public Builder addAllUnlockedModuleIdList( java.lang.Iterable values) { ensureUnlockedModuleIdListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, unlockedModuleIdList_); onChanged(); return this; } /** * repeated uint32 unlocked_module_id_list = 10; * @return This builder for chaining. */ public Builder clearUnlockedModuleIdList() { unlockedModuleIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private com.google.protobuf.Internal.IntList seenModuleIdList_ = emptyIntList(); private void ensureSeenModuleIdListIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { seenModuleIdList_ = mutableCopy(seenModuleIdList_); bitField0_ |= 0x00000004; } } /** * repeated uint32 seen_module_id_list = 8; * @return A list containing the seenModuleIdList. */ public java.util.List getSeenModuleIdListList() { return ((bitField0_ & 0x00000004) != 0) ? java.util.Collections.unmodifiableList(seenModuleIdList_) : seenModuleIdList_; } /** * repeated uint32 seen_module_id_list = 8; * @return The count of seenModuleIdList. */ public int getSeenModuleIdListCount() { return seenModuleIdList_.size(); } /** * repeated uint32 seen_module_id_list = 8; * @param index The index of the element to return. * @return The seenModuleIdList at the given index. */ public int getSeenModuleIdList(int index) { return seenModuleIdList_.getInt(index); } /** * repeated uint32 seen_module_id_list = 8; * @param index The index to set the value at. * @param value The seenModuleIdList to set. * @return This builder for chaining. */ public Builder setSeenModuleIdList( int index, int value) { ensureSeenModuleIdListIsMutable(); seenModuleIdList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 seen_module_id_list = 8; * @param value The seenModuleIdList to add. * @return This builder for chaining. */ public Builder addSeenModuleIdList(int value) { ensureSeenModuleIdListIsMutable(); seenModuleIdList_.addInt(value); onChanged(); return this; } /** * repeated uint32 seen_module_id_list = 8; * @param values The seenModuleIdList to add. * @return This builder for chaining. */ public Builder addAllSeenModuleIdList( java.lang.Iterable values) { ensureSeenModuleIdListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, seenModuleIdList_); onChanged(); return this; } /** * repeated uint32 seen_module_id_list = 8; * @return This builder for chaining. */ public Builder clearSeenModuleIdList() { seenModuleIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } private int friendEnterHomeOption_ = 0; /** * .FriendEnterHomeOption friend_enter_home_option = 15; * @return The enum numeric value on the wire for friendEnterHomeOption. */ @java.lang.Override public int getFriendEnterHomeOptionValue() { return friendEnterHomeOption_; } /** * .FriendEnterHomeOption friend_enter_home_option = 15; * @param value The enum numeric value on the wire for friendEnterHomeOption to set. * @return This builder for chaining. */ public Builder setFriendEnterHomeOptionValue(int value) { friendEnterHomeOption_ = value; onChanged(); return this; } /** * .FriendEnterHomeOption friend_enter_home_option = 15; * @return The friendEnterHomeOption. */ @java.lang.Override public emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption getFriendEnterHomeOption() { @SuppressWarnings("deprecation") emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption result = emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.valueOf(friendEnterHomeOption_); return result == null ? emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.UNRECOGNIZED : result; } /** * .FriendEnterHomeOption friend_enter_home_option = 15; * @param value The friendEnterHomeOption to set. * @return This builder for chaining. */ public Builder setFriendEnterHomeOption(emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption value) { if (value == null) { throw new NullPointerException(); } friendEnterHomeOption_ = value.getNumber(); onChanged(); return this; } /** * .FriendEnterHomeOption friend_enter_home_option = 15; * @return This builder for chaining. */ public Builder clearFriendEnterHomeOption() { friendEnterHomeOption_ = 0; 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:PlayerHomeCompInfo) } // @@protoc_insertion_point(class_scope:PlayerHomeCompInfo) private static final emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo(); } public static emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PlayerHomeCompInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PlayerHomeCompInfo(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.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_PlayerHomeCompInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_PlayerHomeCompInfo_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\030PlayerHomeCompInfo.proto\032\033FriendEnterH" + "omeOption.proto\"\263\001\n\022PlayerHomeCompInfo\022%" + "\n\035levelup_reward_got_level_list\030\003 \003(\r\022\037\n" + "\027unlocked_module_id_list\030\n \003(\r\022\033\n\023seen_m" + "odule_id_list\030\010 \003(\r\0228\n\030friend_enter_home" + "_option\030\017 \001(\0162\026.FriendEnterHomeOptionB\033\n" + "\031emu.grasscutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.getDescriptor(), }); internal_static_PlayerHomeCompInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_PlayerHomeCompInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_PlayerHomeCompInfo_descriptor, new java.lang.String[] { "LevelupRewardGotLevelList", "UnlockedModuleIdList", "SeenModuleIdList", "FriendEnterHomeOption", }); emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy