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

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

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

package emu.grasscutter.net.proto;

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

    /**
     * uint32 shoot_count = 1;
     * @return The shootCount.
     */
    int getShootCount();

    /**
     * uint32 max_combo = 7;
     * @return The maxCombo.
     */
    int getMaxCombo();

    /**
     * .OnlinePlayerInfo player_info = 5;
     * @return Whether the playerInfo field is set.
     */
    boolean hasPlayerInfo();
    /**
     * .OnlinePlayerInfo player_info = 5;
     * @return The playerInfo.
     */
    emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo getPlayerInfo();
    /**
     * .OnlinePlayerInfo player_info = 5;
     */
    emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfoOrBuilder getPlayerInfoOrBuilder();

    /**
     * uint32 final_score = 8;
     * @return The finalScore.
     */
    int getFinalScore();

    /**
     * uint32 uid = 3;
     * @return The uid.
     */
    int getUid();
  }
  /**
   * 
   * Obf: OOIBDPPMDNJ
   * 
* * Protobuf type {@code BalloonSettleInfo} */ public static final class BalloonSettleInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:BalloonSettleInfo) BalloonSettleInfoOrBuilder { private static final long serialVersionUID = 0L; // Use BalloonSettleInfo.newBuilder() to construct. private BalloonSettleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BalloonSettleInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BalloonSettleInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BalloonSettleInfo( 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 8: { shootCount_ = input.readUInt32(); break; } case 24: { uid_ = input.readUInt32(); break; } case 42: { emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.Builder subBuilder = null; if (playerInfo_ != null) { subBuilder = playerInfo_.toBuilder(); } playerInfo_ = input.readMessage(emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(playerInfo_); playerInfo_ = subBuilder.buildPartial(); } break; } case 56: { maxCombo_ = input.readUInt32(); break; } case 64: { finalScore_ = input.readUInt32(); 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.BalloonSettleInfoOuterClass.internal_static_BalloonSettleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.internal_static_BalloonSettleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo.class, emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo.Builder.class); } public static final int SHOOT_COUNT_FIELD_NUMBER = 1; private int shootCount_; /** * uint32 shoot_count = 1; * @return The shootCount. */ @java.lang.Override public int getShootCount() { return shootCount_; } public static final int MAX_COMBO_FIELD_NUMBER = 7; private int maxCombo_; /** * uint32 max_combo = 7; * @return The maxCombo. */ @java.lang.Override public int getMaxCombo() { return maxCombo_; } public static final int PLAYER_INFO_FIELD_NUMBER = 5; private emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo playerInfo_; /** * .OnlinePlayerInfo player_info = 5; * @return Whether the playerInfo field is set. */ @java.lang.Override public boolean hasPlayerInfo() { return playerInfo_ != null; } /** * .OnlinePlayerInfo player_info = 5; * @return The playerInfo. */ @java.lang.Override public emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo getPlayerInfo() { return playerInfo_ == null ? emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.getDefaultInstance() : playerInfo_; } /** * .OnlinePlayerInfo player_info = 5; */ @java.lang.Override public emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfoOrBuilder getPlayerInfoOrBuilder() { return getPlayerInfo(); } public static final int FINAL_SCORE_FIELD_NUMBER = 8; private int finalScore_; /** * uint32 final_score = 8; * @return The finalScore. */ @java.lang.Override public int getFinalScore() { return finalScore_; } public static final int UID_FIELD_NUMBER = 3; private int uid_; /** * uint32 uid = 3; * @return The uid. */ @java.lang.Override public int getUid() { return uid_; } 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 (shootCount_ != 0) { output.writeUInt32(1, shootCount_); } if (uid_ != 0) { output.writeUInt32(3, uid_); } if (playerInfo_ != null) { output.writeMessage(5, getPlayerInfo()); } if (maxCombo_ != 0) { output.writeUInt32(7, maxCombo_); } if (finalScore_ != 0) { output.writeUInt32(8, finalScore_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (shootCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, shootCount_); } if (uid_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, uid_); } if (playerInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getPlayerInfo()); } if (maxCombo_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, maxCombo_); } if (finalScore_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, finalScore_); } 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.BalloonSettleInfoOuterClass.BalloonSettleInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo other = (emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo) obj; if (getShootCount() != other.getShootCount()) return false; if (getMaxCombo() != other.getMaxCombo()) return false; if (hasPlayerInfo() != other.hasPlayerInfo()) return false; if (hasPlayerInfo()) { if (!getPlayerInfo() .equals(other.getPlayerInfo())) return false; } if (getFinalScore() != other.getFinalScore()) return false; if (getUid() != other.getUid()) 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) + SHOOT_COUNT_FIELD_NUMBER; hash = (53 * hash) + getShootCount(); hash = (37 * hash) + MAX_COMBO_FIELD_NUMBER; hash = (53 * hash) + getMaxCombo(); if (hasPlayerInfo()) { hash = (37 * hash) + PLAYER_INFO_FIELD_NUMBER; hash = (53 * hash) + getPlayerInfo().hashCode(); } hash = (37 * hash) + FINAL_SCORE_FIELD_NUMBER; hash = (53 * hash) + getFinalScore(); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo 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.BalloonSettleInfoOuterClass.BalloonSettleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo 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.BalloonSettleInfoOuterClass.BalloonSettleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo 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.BalloonSettleInfoOuterClass.BalloonSettleInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo 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.BalloonSettleInfoOuterClass.BalloonSettleInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo 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.BalloonSettleInfoOuterClass.BalloonSettleInfo 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: OOIBDPPMDNJ
     * 
* * Protobuf type {@code BalloonSettleInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:BalloonSettleInfo) emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.internal_static_BalloonSettleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.internal_static_BalloonSettleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo.class, emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo.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(); shootCount_ = 0; maxCombo_ = 0; if (playerInfoBuilder_ == null) { playerInfo_ = null; } else { playerInfo_ = null; playerInfoBuilder_ = null; } finalScore_ = 0; uid_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.internal_static_BalloonSettleInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo build() { emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo buildPartial() { emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo result = new emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo(this); result.shootCount_ = shootCount_; result.maxCombo_ = maxCombo_; if (playerInfoBuilder_ == null) { result.playerInfo_ = playerInfo_; } else { result.playerInfo_ = playerInfoBuilder_.build(); } result.finalScore_ = finalScore_; result.uid_ = uid_; 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.BalloonSettleInfoOuterClass.BalloonSettleInfo) { return mergeFrom((emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo other) { if (other == emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo.getDefaultInstance()) return this; if (other.getShootCount() != 0) { setShootCount(other.getShootCount()); } if (other.getMaxCombo() != 0) { setMaxCombo(other.getMaxCombo()); } if (other.hasPlayerInfo()) { mergePlayerInfo(other.getPlayerInfo()); } if (other.getFinalScore() != 0) { setFinalScore(other.getFinalScore()); } if (other.getUid() != 0) { setUid(other.getUid()); } 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.BalloonSettleInfoOuterClass.BalloonSettleInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int shootCount_ ; /** * uint32 shoot_count = 1; * @return The shootCount. */ @java.lang.Override public int getShootCount() { return shootCount_; } /** * uint32 shoot_count = 1; * @param value The shootCount to set. * @return This builder for chaining. */ public Builder setShootCount(int value) { shootCount_ = value; onChanged(); return this; } /** * uint32 shoot_count = 1; * @return This builder for chaining. */ public Builder clearShootCount() { shootCount_ = 0; onChanged(); return this; } private int maxCombo_ ; /** * uint32 max_combo = 7; * @return The maxCombo. */ @java.lang.Override public int getMaxCombo() { return maxCombo_; } /** * uint32 max_combo = 7; * @param value The maxCombo to set. * @return This builder for chaining. */ public Builder setMaxCombo(int value) { maxCombo_ = value; onChanged(); return this; } /** * uint32 max_combo = 7; * @return This builder for chaining. */ public Builder clearMaxCombo() { maxCombo_ = 0; onChanged(); return this; } private emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo playerInfo_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo, emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.Builder, emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfoOrBuilder> playerInfoBuilder_; /** * .OnlinePlayerInfo player_info = 5; * @return Whether the playerInfo field is set. */ public boolean hasPlayerInfo() { return playerInfoBuilder_ != null || playerInfo_ != null; } /** * .OnlinePlayerInfo player_info = 5; * @return The playerInfo. */ public emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo getPlayerInfo() { if (playerInfoBuilder_ == null) { return playerInfo_ == null ? emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.getDefaultInstance() : playerInfo_; } else { return playerInfoBuilder_.getMessage(); } } /** * .OnlinePlayerInfo player_info = 5; */ public Builder setPlayerInfo(emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo value) { if (playerInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } playerInfo_ = value; onChanged(); } else { playerInfoBuilder_.setMessage(value); } return this; } /** * .OnlinePlayerInfo player_info = 5; */ public Builder setPlayerInfo( emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.Builder builderForValue) { if (playerInfoBuilder_ == null) { playerInfo_ = builderForValue.build(); onChanged(); } else { playerInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .OnlinePlayerInfo player_info = 5; */ public Builder mergePlayerInfo(emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo value) { if (playerInfoBuilder_ == null) { if (playerInfo_ != null) { playerInfo_ = emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.newBuilder(playerInfo_).mergeFrom(value).buildPartial(); } else { playerInfo_ = value; } onChanged(); } else { playerInfoBuilder_.mergeFrom(value); } return this; } /** * .OnlinePlayerInfo player_info = 5; */ public Builder clearPlayerInfo() { if (playerInfoBuilder_ == null) { playerInfo_ = null; onChanged(); } else { playerInfo_ = null; playerInfoBuilder_ = null; } return this; } /** * .OnlinePlayerInfo player_info = 5; */ public emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.Builder getPlayerInfoBuilder() { onChanged(); return getPlayerInfoFieldBuilder().getBuilder(); } /** * .OnlinePlayerInfo player_info = 5; */ public emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfoOrBuilder getPlayerInfoOrBuilder() { if (playerInfoBuilder_ != null) { return playerInfoBuilder_.getMessageOrBuilder(); } else { return playerInfo_ == null ? emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.getDefaultInstance() : playerInfo_; } } /** * .OnlinePlayerInfo player_info = 5; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo, emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.Builder, emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfoOrBuilder> getPlayerInfoFieldBuilder() { if (playerInfoBuilder_ == null) { playerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo, emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfo.Builder, emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.OnlinePlayerInfoOrBuilder>( getPlayerInfo(), getParentForChildren(), isClean()); playerInfo_ = null; } return playerInfoBuilder_; } private int finalScore_ ; /** * uint32 final_score = 8; * @return The finalScore. */ @java.lang.Override public int getFinalScore() { return finalScore_; } /** * uint32 final_score = 8; * @param value The finalScore to set. * @return This builder for chaining. */ public Builder setFinalScore(int value) { finalScore_ = value; onChanged(); return this; } /** * uint32 final_score = 8; * @return This builder for chaining. */ public Builder clearFinalScore() { finalScore_ = 0; onChanged(); return this; } private int uid_ ; /** * uint32 uid = 3; * @return The uid. */ @java.lang.Override public int getUid() { return uid_; } /** * uint32 uid = 3; * @param value The uid to set. * @return This builder for chaining. */ public Builder setUid(int value) { uid_ = value; onChanged(); return this; } /** * uint32 uid = 3; * @return This builder for chaining. */ public Builder clearUid() { uid_ = 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:BalloonSettleInfo) } // @@protoc_insertion_point(class_scope:BalloonSettleInfo) private static final emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo(); } public static emu.grasscutter.net.proto.BalloonSettleInfoOuterClass.BalloonSettleInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BalloonSettleInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BalloonSettleInfo(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.BalloonSettleInfoOuterClass.BalloonSettleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_BalloonSettleInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BalloonSettleInfo_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\027BalloonSettleInfo.proto\032\026OnlinePlayerI" + "nfo.proto\"\205\001\n\021BalloonSettleInfo\022\023\n\013shoot" + "_count\030\001 \001(\r\022\021\n\tmax_combo\030\007 \001(\r\022&\n\013playe" + "r_info\030\005 \001(\0132\021.OnlinePlayerInfo\022\023\n\013final" + "_score\030\010 \001(\r\022\013\n\003uid\030\003 \001(\rB\033\n\031emu.grasscu" + "tter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.getDescriptor(), }); internal_static_BalloonSettleInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_BalloonSettleInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BalloonSettleInfo_descriptor, new java.lang.String[] { "ShootCount", "MaxCombo", "PlayerInfo", "FinalScore", "Uid", }); emu.grasscutter.net.proto.OnlinePlayerInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy