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

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

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

package emu.grasscutter.net.proto;

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

    /**
     * uint32 level = 11;
     * @return The level.
     */
    int getLevel();

    /**
     * string owner_nick_name = 5;
     * @return The ownerNickName.
     */
    java.lang.String getOwnerNickName();
    /**
     * string owner_nick_name = 5;
     * @return The bytes for ownerNickName.
     */
    com.google.protobuf.ByteString
        getOwnerNickNameBytes();

    /**
     * bool is_in_edit_mode = 9;
     * @return The isInEditMode.
     */
    boolean getIsInEditMode();

    /**
     * uint32 cur_room_scene_id = 13;
     * @return The curRoomSceneId.
     */
    int getCurRoomSceneId();

    /**
     * uint32 cur_module_id = 8;
     * @return The curModuleId.
     */
    int getCurModuleId();

    /**
     * uint64 exp = 10;
     * @return The exp.
     */
    long getExp();

    /**
     * uint32 home_owner_uid = 14;
     * @return The homeOwnerUid.
     */
    int getHomeOwnerUid();

    /**
     * .HomeLimitedShopInfo limited_shop_info = 15;
     * @return Whether the limitedShopInfo field is set.
     */
    boolean hasLimitedShopInfo();
    /**
     * .HomeLimitedShopInfo limited_shop_info = 15;
     * @return The limitedShopInfo.
     */
    emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo getLimitedShopInfo();
    /**
     * .HomeLimitedShopInfo limited_shop_info = 15;
     */
    emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfoOrBuilder getLimitedShopInfoOrBuilder();
  }
  /**
   * 
   * Obf: ICMPDPAEKNA
   * 
* * Protobuf type {@code HomeBasicInfo} */ public static final class HomeBasicInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:HomeBasicInfo) HomeBasicInfoOrBuilder { private static final long serialVersionUID = 0L; // Use HomeBasicInfo.newBuilder() to construct. private HomeBasicInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HomeBasicInfo() { ownerNickName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HomeBasicInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HomeBasicInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 42: { java.lang.String s = input.readStringRequireUtf8(); ownerNickName_ = s; break; } case 64: { curModuleId_ = input.readUInt32(); break; } case 72: { isInEditMode_ = input.readBool(); break; } case 80: { exp_ = input.readUInt64(); break; } case 88: { level_ = input.readUInt32(); break; } case 104: { curRoomSceneId_ = input.readUInt32(); break; } case 112: { homeOwnerUid_ = input.readUInt32(); break; } case 122: { emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.Builder subBuilder = null; if (limitedShopInfo_ != null) { subBuilder = limitedShopInfo_.toBuilder(); } limitedShopInfo_ = input.readMessage(emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(limitedShopInfo_); limitedShopInfo_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.HomeBasicInfoOuterClass.internal_static_HomeBasicInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.HomeBasicInfoOuterClass.internal_static_HomeBasicInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo.class, emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo.Builder.class); } public static final int LEVEL_FIELD_NUMBER = 11; private int level_; /** * uint32 level = 11; * @return The level. */ @java.lang.Override public int getLevel() { return level_; } public static final int OWNER_NICK_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object ownerNickName_; /** * string owner_nick_name = 5; * @return The ownerNickName. */ @java.lang.Override public java.lang.String getOwnerNickName() { java.lang.Object ref = ownerNickName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ownerNickName_ = s; return s; } } /** * string owner_nick_name = 5; * @return The bytes for ownerNickName. */ @java.lang.Override public com.google.protobuf.ByteString getOwnerNickNameBytes() { java.lang.Object ref = ownerNickName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ownerNickName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IS_IN_EDIT_MODE_FIELD_NUMBER = 9; private boolean isInEditMode_; /** * bool is_in_edit_mode = 9; * @return The isInEditMode. */ @java.lang.Override public boolean getIsInEditMode() { return isInEditMode_; } public static final int CUR_ROOM_SCENE_ID_FIELD_NUMBER = 13; private int curRoomSceneId_; /** * uint32 cur_room_scene_id = 13; * @return The curRoomSceneId. */ @java.lang.Override public int getCurRoomSceneId() { return curRoomSceneId_; } public static final int CUR_MODULE_ID_FIELD_NUMBER = 8; private int curModuleId_; /** * uint32 cur_module_id = 8; * @return The curModuleId. */ @java.lang.Override public int getCurModuleId() { return curModuleId_; } public static final int EXP_FIELD_NUMBER = 10; private long exp_; /** * uint64 exp = 10; * @return The exp. */ @java.lang.Override public long getExp() { return exp_; } public static final int HOME_OWNER_UID_FIELD_NUMBER = 14; private int homeOwnerUid_; /** * uint32 home_owner_uid = 14; * @return The homeOwnerUid. */ @java.lang.Override public int getHomeOwnerUid() { return homeOwnerUid_; } public static final int LIMITED_SHOP_INFO_FIELD_NUMBER = 15; private emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo limitedShopInfo_; /** * .HomeLimitedShopInfo limited_shop_info = 15; * @return Whether the limitedShopInfo field is set. */ @java.lang.Override public boolean hasLimitedShopInfo() { return limitedShopInfo_ != null; } /** * .HomeLimitedShopInfo limited_shop_info = 15; * @return The limitedShopInfo. */ @java.lang.Override public emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo getLimitedShopInfo() { return limitedShopInfo_ == null ? emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.getDefaultInstance() : limitedShopInfo_; } /** * .HomeLimitedShopInfo limited_shop_info = 15; */ @java.lang.Override public emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfoOrBuilder getLimitedShopInfoOrBuilder() { return getLimitedShopInfo(); } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerNickName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ownerNickName_); } if (curModuleId_ != 0) { output.writeUInt32(8, curModuleId_); } if (isInEditMode_ != false) { output.writeBool(9, isInEditMode_); } if (exp_ != 0L) { output.writeUInt64(10, exp_); } if (level_ != 0) { output.writeUInt32(11, level_); } if (curRoomSceneId_ != 0) { output.writeUInt32(13, curRoomSceneId_); } if (homeOwnerUid_ != 0) { output.writeUInt32(14, homeOwnerUid_); } if (limitedShopInfo_ != null) { output.writeMessage(15, getLimitedShopInfo()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerNickName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ownerNickName_); } if (curModuleId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, curModuleId_); } if (isInEditMode_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, isInEditMode_); } if (exp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(10, exp_); } if (level_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, level_); } if (curRoomSceneId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, curRoomSceneId_); } if (homeOwnerUid_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, homeOwnerUid_); } if (limitedShopInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getLimitedShopInfo()); } 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.HomeBasicInfoOuterClass.HomeBasicInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo other = (emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo) obj; if (getLevel() != other.getLevel()) return false; if (!getOwnerNickName() .equals(other.getOwnerNickName())) return false; if (getIsInEditMode() != other.getIsInEditMode()) return false; if (getCurRoomSceneId() != other.getCurRoomSceneId()) return false; if (getCurModuleId() != other.getCurModuleId()) return false; if (getExp() != other.getExp()) return false; if (getHomeOwnerUid() != other.getHomeOwnerUid()) return false; if (hasLimitedShopInfo() != other.hasLimitedShopInfo()) return false; if (hasLimitedShopInfo()) { if (!getLimitedShopInfo() .equals(other.getLimitedShopInfo())) 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) + LEVEL_FIELD_NUMBER; hash = (53 * hash) + getLevel(); hash = (37 * hash) + OWNER_NICK_NAME_FIELD_NUMBER; hash = (53 * hash) + getOwnerNickName().hashCode(); hash = (37 * hash) + IS_IN_EDIT_MODE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsInEditMode()); hash = (37 * hash) + CUR_ROOM_SCENE_ID_FIELD_NUMBER; hash = (53 * hash) + getCurRoomSceneId(); hash = (37 * hash) + CUR_MODULE_ID_FIELD_NUMBER; hash = (53 * hash) + getCurModuleId(); hash = (37 * hash) + EXP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExp()); hash = (37 * hash) + HOME_OWNER_UID_FIELD_NUMBER; hash = (53 * hash) + getHomeOwnerUid(); if (hasLimitedShopInfo()) { hash = (37 * hash) + LIMITED_SHOP_INFO_FIELD_NUMBER; hash = (53 * hash) + getLimitedShopInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo 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.HomeBasicInfoOuterClass.HomeBasicInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo 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.HomeBasicInfoOuterClass.HomeBasicInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo 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.HomeBasicInfoOuterClass.HomeBasicInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo 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.HomeBasicInfoOuterClass.HomeBasicInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo 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.HomeBasicInfoOuterClass.HomeBasicInfo 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: ICMPDPAEKNA
     * 
* * Protobuf type {@code HomeBasicInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:HomeBasicInfo) emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.HomeBasicInfoOuterClass.internal_static_HomeBasicInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.HomeBasicInfoOuterClass.internal_static_HomeBasicInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo.class, emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo.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(); level_ = 0; ownerNickName_ = ""; isInEditMode_ = false; curRoomSceneId_ = 0; curModuleId_ = 0; exp_ = 0L; homeOwnerUid_ = 0; if (limitedShopInfoBuilder_ == null) { limitedShopInfo_ = null; } else { limitedShopInfo_ = null; limitedShopInfoBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.HomeBasicInfoOuterClass.internal_static_HomeBasicInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo build() { emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo buildPartial() { emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo result = new emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo(this); result.level_ = level_; result.ownerNickName_ = ownerNickName_; result.isInEditMode_ = isInEditMode_; result.curRoomSceneId_ = curRoomSceneId_; result.curModuleId_ = curModuleId_; result.exp_ = exp_; result.homeOwnerUid_ = homeOwnerUid_; if (limitedShopInfoBuilder_ == null) { result.limitedShopInfo_ = limitedShopInfo_; } else { result.limitedShopInfo_ = limitedShopInfoBuilder_.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.HomeBasicInfoOuterClass.HomeBasicInfo) { return mergeFrom((emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo other) { if (other == emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo.getDefaultInstance()) return this; if (other.getLevel() != 0) { setLevel(other.getLevel()); } if (!other.getOwnerNickName().isEmpty()) { ownerNickName_ = other.ownerNickName_; onChanged(); } if (other.getIsInEditMode() != false) { setIsInEditMode(other.getIsInEditMode()); } if (other.getCurRoomSceneId() != 0) { setCurRoomSceneId(other.getCurRoomSceneId()); } if (other.getCurModuleId() != 0) { setCurModuleId(other.getCurModuleId()); } if (other.getExp() != 0L) { setExp(other.getExp()); } if (other.getHomeOwnerUid() != 0) { setHomeOwnerUid(other.getHomeOwnerUid()); } if (other.hasLimitedShopInfo()) { mergeLimitedShopInfo(other.getLimitedShopInfo()); } 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.HomeBasicInfoOuterClass.HomeBasicInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int level_ ; /** * uint32 level = 11; * @return The level. */ @java.lang.Override public int getLevel() { return level_; } /** * uint32 level = 11; * @param value The level to set. * @return This builder for chaining. */ public Builder setLevel(int value) { level_ = value; onChanged(); return this; } /** * uint32 level = 11; * @return This builder for chaining. */ public Builder clearLevel() { level_ = 0; onChanged(); return this; } private java.lang.Object ownerNickName_ = ""; /** * string owner_nick_name = 5; * @return The ownerNickName. */ public java.lang.String getOwnerNickName() { java.lang.Object ref = ownerNickName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ownerNickName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string owner_nick_name = 5; * @return The bytes for ownerNickName. */ public com.google.protobuf.ByteString getOwnerNickNameBytes() { java.lang.Object ref = ownerNickName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ownerNickName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string owner_nick_name = 5; * @param value The ownerNickName to set. * @return This builder for chaining. */ public Builder setOwnerNickName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ownerNickName_ = value; onChanged(); return this; } /** * string owner_nick_name = 5; * @return This builder for chaining. */ public Builder clearOwnerNickName() { ownerNickName_ = getDefaultInstance().getOwnerNickName(); onChanged(); return this; } /** * string owner_nick_name = 5; * @param value The bytes for ownerNickName to set. * @return This builder for chaining. */ public Builder setOwnerNickNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ownerNickName_ = value; onChanged(); return this; } private boolean isInEditMode_ ; /** * bool is_in_edit_mode = 9; * @return The isInEditMode. */ @java.lang.Override public boolean getIsInEditMode() { return isInEditMode_; } /** * bool is_in_edit_mode = 9; * @param value The isInEditMode to set. * @return This builder for chaining. */ public Builder setIsInEditMode(boolean value) { isInEditMode_ = value; onChanged(); return this; } /** * bool is_in_edit_mode = 9; * @return This builder for chaining. */ public Builder clearIsInEditMode() { isInEditMode_ = false; onChanged(); return this; } private int curRoomSceneId_ ; /** * uint32 cur_room_scene_id = 13; * @return The curRoomSceneId. */ @java.lang.Override public int getCurRoomSceneId() { return curRoomSceneId_; } /** * uint32 cur_room_scene_id = 13; * @param value The curRoomSceneId to set. * @return This builder for chaining. */ public Builder setCurRoomSceneId(int value) { curRoomSceneId_ = value; onChanged(); return this; } /** * uint32 cur_room_scene_id = 13; * @return This builder for chaining. */ public Builder clearCurRoomSceneId() { curRoomSceneId_ = 0; onChanged(); return this; } private int curModuleId_ ; /** * uint32 cur_module_id = 8; * @return The curModuleId. */ @java.lang.Override public int getCurModuleId() { return curModuleId_; } /** * uint32 cur_module_id = 8; * @param value The curModuleId to set. * @return This builder for chaining. */ public Builder setCurModuleId(int value) { curModuleId_ = value; onChanged(); return this; } /** * uint32 cur_module_id = 8; * @return This builder for chaining. */ public Builder clearCurModuleId() { curModuleId_ = 0; onChanged(); return this; } private long exp_ ; /** * uint64 exp = 10; * @return The exp. */ @java.lang.Override public long getExp() { return exp_; } /** * uint64 exp = 10; * @param value The exp to set. * @return This builder for chaining. */ public Builder setExp(long value) { exp_ = value; onChanged(); return this; } /** * uint64 exp = 10; * @return This builder for chaining. */ public Builder clearExp() { exp_ = 0L; onChanged(); return this; } private int homeOwnerUid_ ; /** * uint32 home_owner_uid = 14; * @return The homeOwnerUid. */ @java.lang.Override public int getHomeOwnerUid() { return homeOwnerUid_; } /** * uint32 home_owner_uid = 14; * @param value The homeOwnerUid to set. * @return This builder for chaining. */ public Builder setHomeOwnerUid(int value) { homeOwnerUid_ = value; onChanged(); return this; } /** * uint32 home_owner_uid = 14; * @return This builder for chaining. */ public Builder clearHomeOwnerUid() { homeOwnerUid_ = 0; onChanged(); return this; } private emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo limitedShopInfo_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo, emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.Builder, emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfoOrBuilder> limitedShopInfoBuilder_; /** * .HomeLimitedShopInfo limited_shop_info = 15; * @return Whether the limitedShopInfo field is set. */ public boolean hasLimitedShopInfo() { return limitedShopInfoBuilder_ != null || limitedShopInfo_ != null; } /** * .HomeLimitedShopInfo limited_shop_info = 15; * @return The limitedShopInfo. */ public emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo getLimitedShopInfo() { if (limitedShopInfoBuilder_ == null) { return limitedShopInfo_ == null ? emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.getDefaultInstance() : limitedShopInfo_; } else { return limitedShopInfoBuilder_.getMessage(); } } /** * .HomeLimitedShopInfo limited_shop_info = 15; */ public Builder setLimitedShopInfo(emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo value) { if (limitedShopInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } limitedShopInfo_ = value; onChanged(); } else { limitedShopInfoBuilder_.setMessage(value); } return this; } /** * .HomeLimitedShopInfo limited_shop_info = 15; */ public Builder setLimitedShopInfo( emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.Builder builderForValue) { if (limitedShopInfoBuilder_ == null) { limitedShopInfo_ = builderForValue.build(); onChanged(); } else { limitedShopInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .HomeLimitedShopInfo limited_shop_info = 15; */ public Builder mergeLimitedShopInfo(emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo value) { if (limitedShopInfoBuilder_ == null) { if (limitedShopInfo_ != null) { limitedShopInfo_ = emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.newBuilder(limitedShopInfo_).mergeFrom(value).buildPartial(); } else { limitedShopInfo_ = value; } onChanged(); } else { limitedShopInfoBuilder_.mergeFrom(value); } return this; } /** * .HomeLimitedShopInfo limited_shop_info = 15; */ public Builder clearLimitedShopInfo() { if (limitedShopInfoBuilder_ == null) { limitedShopInfo_ = null; onChanged(); } else { limitedShopInfo_ = null; limitedShopInfoBuilder_ = null; } return this; } /** * .HomeLimitedShopInfo limited_shop_info = 15; */ public emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.Builder getLimitedShopInfoBuilder() { onChanged(); return getLimitedShopInfoFieldBuilder().getBuilder(); } /** * .HomeLimitedShopInfo limited_shop_info = 15; */ public emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfoOrBuilder getLimitedShopInfoOrBuilder() { if (limitedShopInfoBuilder_ != null) { return limitedShopInfoBuilder_.getMessageOrBuilder(); } else { return limitedShopInfo_ == null ? emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.getDefaultInstance() : limitedShopInfo_; } } /** * .HomeLimitedShopInfo limited_shop_info = 15; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo, emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.Builder, emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfoOrBuilder> getLimitedShopInfoFieldBuilder() { if (limitedShopInfoBuilder_ == null) { limitedShopInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo, emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.Builder, emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfoOrBuilder>( getLimitedShopInfo(), getParentForChildren(), isClean()); limitedShopInfo_ = null; } return limitedShopInfoBuilder_; } @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:HomeBasicInfo) } // @@protoc_insertion_point(class_scope:HomeBasicInfo) private static final emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo(); } public static emu.grasscutter.net.proto.HomeBasicInfoOuterClass.HomeBasicInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HomeBasicInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HomeBasicInfo(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.HomeBasicInfoOuterClass.HomeBasicInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_HomeBasicInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_HomeBasicInfo_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\023HomeBasicInfo.proto\032\031HomeLimitedShopIn" + "fo.proto\"\330\001\n\rHomeBasicInfo\022\r\n\005level\030\013 \001(" + "\r\022\027\n\017owner_nick_name\030\005 \001(\t\022\027\n\017is_in_edit" + "_mode\030\t \001(\010\022\031\n\021cur_room_scene_id\030\r \001(\r\022\025" + "\n\rcur_module_id\030\010 \001(\r\022\013\n\003exp\030\n \001(\004\022\026\n\016ho" + "me_owner_uid\030\016 \001(\r\022/\n\021limited_shop_info\030" + "\017 \001(\0132\024.HomeLimitedShopInfoB\033\n\031emu.grass" + "cutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.getDescriptor(), }); internal_static_HomeBasicInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_HomeBasicInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_HomeBasicInfo_descriptor, new java.lang.String[] { "Level", "OwnerNickName", "IsInEditMode", "CurRoomSceneId", "CurModuleId", "Exp", "HomeOwnerUid", "LimitedShopInfo", }); emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy