mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-08 04:03:35 +08:00
06cbae31fa
line seps r weird
2350 lines
85 KiB
Java
2350 lines
85 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: UgcMusicBriefInfo.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class UgcMusicBriefInfoOuterClass {
|
|
private UgcMusicBriefInfoOuterClass() {}
|
|
|
|
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 UgcMusicBriefInfoOrBuilder
|
|
extends
|
|
// @@protoc_insertion_point(interface_extends:UgcMusicBriefInfo)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>uint64 import_from_ugc_guid = 5;</code>
|
|
*
|
|
* @return The importFromUgcGuid.
|
|
*/
|
|
long getImportFromUgcGuid();
|
|
|
|
/**
|
|
* <code>bool is_published = 8;</code>
|
|
*
|
|
* @return The isPublished.
|
|
*/
|
|
boolean getIsPublished();
|
|
|
|
/**
|
|
* <code>bool is_played = 1;</code>
|
|
*
|
|
* @return The isPlayed.
|
|
*/
|
|
boolean getIsPlayed();
|
|
|
|
/**
|
|
* <code>uint32 music_id = 2;</code>
|
|
*
|
|
* @return The musicId.
|
|
*/
|
|
int getMusicId();
|
|
|
|
/**
|
|
* <code>uint32 save_page_type = 1182;</code>
|
|
*
|
|
* @return The savePageType.
|
|
*/
|
|
int getSavePageType();
|
|
|
|
/**
|
|
* <code>uint32 save_idx = 12;</code>
|
|
*
|
|
* @return The saveIdx.
|
|
*/
|
|
int getSaveIdx();
|
|
|
|
/**
|
|
* <code>string creator_nickname = 10;</code>
|
|
*
|
|
* @return The creatorNickname.
|
|
*/
|
|
java.lang.String getCreatorNickname();
|
|
/**
|
|
* <code>string creator_nickname = 10;</code>
|
|
*
|
|
* @return The bytes for creatorNickname.
|
|
*/
|
|
com.google.protobuf.ByteString getCreatorNicknameBytes();
|
|
|
|
/**
|
|
* <code>uint32 version = 15;</code>
|
|
*
|
|
* @return The version.
|
|
*/
|
|
int getVersion();
|
|
|
|
/**
|
|
* <code>uint32 save_time = 3;</code>
|
|
*
|
|
* @return The saveTime.
|
|
*/
|
|
int getSaveTime();
|
|
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @return A list containing the afterNoteList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getAfterNoteListList();
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @return The count of afterNoteList.
|
|
*/
|
|
int getAfterNoteListCount();
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @param index The index of the element to return.
|
|
* @return The afterNoteList at the given index.
|
|
*/
|
|
int getAfterNoteList(int index);
|
|
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @return A list containing the beforeNoteList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getBeforeNoteListList();
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @return The count of beforeNoteList.
|
|
*/
|
|
int getBeforeNoteListCount();
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @param index The index of the element to return.
|
|
* @return The beforeNoteList at the given index.
|
|
*/
|
|
int getBeforeNoteList(int index);
|
|
|
|
/**
|
|
* <code>bool is_psn_platform = 9;</code>
|
|
*
|
|
* @return The isPsnPlatform.
|
|
*/
|
|
boolean getIsPsnPlatform();
|
|
|
|
/**
|
|
* <code>uint32 time_line_edit_time = 1822;</code>
|
|
*
|
|
* @return The timeLineEditTime.
|
|
*/
|
|
int getTimeLineEditTime();
|
|
|
|
/**
|
|
* <code>bool is_changed_after_publish = 11;</code>
|
|
*
|
|
* @return The isChangedAfterPublish.
|
|
*/
|
|
boolean getIsChangedAfterPublish();
|
|
|
|
/**
|
|
* <code>uint32 publish_time = 13;</code>
|
|
*
|
|
* @return The publishTime.
|
|
*/
|
|
int getPublishTime();
|
|
|
|
/**
|
|
* <code>uint32 max_score = 14;</code>
|
|
*
|
|
* @return The maxScore.
|
|
*/
|
|
int getMaxScore();
|
|
|
|
/**
|
|
* <code>uint32 real_time_edit_time = 576;</code>
|
|
*
|
|
* @return The realTimeEditTime.
|
|
*/
|
|
int getRealTimeEditTime();
|
|
|
|
/**
|
|
* <code>uint32 note_count = 7;</code>
|
|
*
|
|
* @return The noteCount.
|
|
*/
|
|
int getNoteCount();
|
|
|
|
/**
|
|
* <code>uint64 ugc_guid = 4;</code>
|
|
*
|
|
* @return The ugcGuid.
|
|
*/
|
|
long getUgcGuid();
|
|
|
|
/**
|
|
* <code>uint32 self_max_score = 6;</code>
|
|
*
|
|
* @return The selfMaxScore.
|
|
*/
|
|
int getSelfMaxScore();
|
|
}
|
|
/**
|
|
*
|
|
*
|
|
* <pre>
|
|
* 3.2
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code UgcMusicBriefInfo}
|
|
*/
|
|
public static final class UgcMusicBriefInfo extends com.google.protobuf.GeneratedMessageV3
|
|
implements
|
|
// @@protoc_insertion_point(message_implements:UgcMusicBriefInfo)
|
|
UgcMusicBriefInfoOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use UgcMusicBriefInfo.newBuilder() to construct.
|
|
private UgcMusicBriefInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
|
|
private UgcMusicBriefInfo() {
|
|
creatorNickname_ = "";
|
|
afterNoteList_ = emptyIntList();
|
|
beforeNoteList_ = emptyIntList();
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
|
|
return new UgcMusicBriefInfo();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
|
|
private UgcMusicBriefInfo(
|
|
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 8:
|
|
{
|
|
isPlayed_ = input.readBool();
|
|
break;
|
|
}
|
|
case 16:
|
|
{
|
|
musicId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 24:
|
|
{
|
|
saveTime_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 32:
|
|
{
|
|
ugcGuid_ = input.readUInt64();
|
|
break;
|
|
}
|
|
case 40:
|
|
{
|
|
importFromUgcGuid_ = input.readUInt64();
|
|
break;
|
|
}
|
|
case 48:
|
|
{
|
|
selfMaxScore_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 56:
|
|
{
|
|
noteCount_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 64:
|
|
{
|
|
isPublished_ = input.readBool();
|
|
break;
|
|
}
|
|
case 72:
|
|
{
|
|
isPsnPlatform_ = input.readBool();
|
|
break;
|
|
}
|
|
case 82:
|
|
{
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
creatorNickname_ = s;
|
|
break;
|
|
}
|
|
case 88:
|
|
{
|
|
isChangedAfterPublish_ = input.readBool();
|
|
break;
|
|
}
|
|
case 96:
|
|
{
|
|
saveIdx_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 104:
|
|
{
|
|
publishTime_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 112:
|
|
{
|
|
maxScore_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 120:
|
|
{
|
|
version_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 4608:
|
|
{
|
|
realTimeEditTime_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 7856:
|
|
{
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
beforeNoteList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
beforeNoteList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 7858:
|
|
{
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
|
|
beforeNoteList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
beforeNoteList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 8016:
|
|
{
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
afterNoteList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
afterNoteList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 8018:
|
|
{
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
|
afterNoteList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
afterNoteList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 9456:
|
|
{
|
|
savePageType_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 14576:
|
|
{
|
|
timeLineEditTime_ = 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 {
|
|
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
beforeNoteList_.makeImmutable(); // C
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
afterNoteList_.makeImmutable(); // C
|
|
}
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
|
|
return emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass
|
|
.internal_static_UgcMusicBriefInfo_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass
|
|
.internal_static_UgcMusicBriefInfo_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo.class,
|
|
emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo.Builder
|
|
.class);
|
|
}
|
|
|
|
public static final int IMPORT_FROM_UGC_GUID_FIELD_NUMBER = 5;
|
|
private long importFromUgcGuid_;
|
|
/**
|
|
* <code>uint64 import_from_ugc_guid = 5;</code>
|
|
*
|
|
* @return The importFromUgcGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getImportFromUgcGuid() {
|
|
return importFromUgcGuid_;
|
|
}
|
|
|
|
public static final int IS_PUBLISHED_FIELD_NUMBER = 8;
|
|
private boolean isPublished_;
|
|
/**
|
|
* <code>bool is_published = 8;</code>
|
|
*
|
|
* @return The isPublished.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsPublished() {
|
|
return isPublished_;
|
|
}
|
|
|
|
public static final int IS_PLAYED_FIELD_NUMBER = 1;
|
|
private boolean isPlayed_;
|
|
/**
|
|
* <code>bool is_played = 1;</code>
|
|
*
|
|
* @return The isPlayed.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsPlayed() {
|
|
return isPlayed_;
|
|
}
|
|
|
|
public static final int MUSIC_ID_FIELD_NUMBER = 2;
|
|
private int musicId_;
|
|
/**
|
|
* <code>uint32 music_id = 2;</code>
|
|
*
|
|
* @return The musicId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getMusicId() {
|
|
return musicId_;
|
|
}
|
|
|
|
public static final int SAVE_PAGE_TYPE_FIELD_NUMBER = 1182;
|
|
private int savePageType_;
|
|
/**
|
|
* <code>uint32 save_page_type = 1182;</code>
|
|
*
|
|
* @return The savePageType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSavePageType() {
|
|
return savePageType_;
|
|
}
|
|
|
|
public static final int SAVE_IDX_FIELD_NUMBER = 12;
|
|
private int saveIdx_;
|
|
/**
|
|
* <code>uint32 save_idx = 12;</code>
|
|
*
|
|
* @return The saveIdx.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSaveIdx() {
|
|
return saveIdx_;
|
|
}
|
|
|
|
public static final int CREATOR_NICKNAME_FIELD_NUMBER = 10;
|
|
private volatile java.lang.Object creatorNickname_;
|
|
/**
|
|
* <code>string creator_nickname = 10;</code>
|
|
*
|
|
* @return The creatorNickname.
|
|
*/
|
|
@java.lang.Override
|
|
public java.lang.String getCreatorNickname() {
|
|
java.lang.Object ref = creatorNickname_;
|
|
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();
|
|
creatorNickname_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string creator_nickname = 10;</code>
|
|
*
|
|
* @return The bytes for creatorNickname.
|
|
*/
|
|
@java.lang.Override
|
|
public com.google.protobuf.ByteString getCreatorNicknameBytes() {
|
|
java.lang.Object ref = creatorNickname_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
|
|
creatorNickname_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
public static final int VERSION_FIELD_NUMBER = 15;
|
|
private int version_;
|
|
/**
|
|
* <code>uint32 version = 15;</code>
|
|
*
|
|
* @return The version.
|
|
*/
|
|
@java.lang.Override
|
|
public int getVersion() {
|
|
return version_;
|
|
}
|
|
|
|
public static final int SAVE_TIME_FIELD_NUMBER = 3;
|
|
private int saveTime_;
|
|
/**
|
|
* <code>uint32 save_time = 3;</code>
|
|
*
|
|
* @return The saveTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSaveTime() {
|
|
return saveTime_;
|
|
}
|
|
|
|
public static final int AFTER_NOTE_LIST_FIELD_NUMBER = 1002;
|
|
private com.google.protobuf.Internal.IntList afterNoteList_;
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @return A list containing the afterNoteList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer> getAfterNoteListList() {
|
|
return afterNoteList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @return The count of afterNoteList.
|
|
*/
|
|
public int getAfterNoteListCount() {
|
|
return afterNoteList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @param index The index of the element to return.
|
|
* @return The afterNoteList at the given index.
|
|
*/
|
|
public int getAfterNoteList(int index) {
|
|
return afterNoteList_.getInt(index);
|
|
}
|
|
|
|
private int afterNoteListMemoizedSerializedSize = -1;
|
|
|
|
public static final int BEFORE_NOTE_LIST_FIELD_NUMBER = 982;
|
|
private com.google.protobuf.Internal.IntList beforeNoteList_;
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @return A list containing the beforeNoteList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer> getBeforeNoteListList() {
|
|
return beforeNoteList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @return The count of beforeNoteList.
|
|
*/
|
|
public int getBeforeNoteListCount() {
|
|
return beforeNoteList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @param index The index of the element to return.
|
|
* @return The beforeNoteList at the given index.
|
|
*/
|
|
public int getBeforeNoteList(int index) {
|
|
return beforeNoteList_.getInt(index);
|
|
}
|
|
|
|
private int beforeNoteListMemoizedSerializedSize = -1;
|
|
|
|
public static final int IS_PSN_PLATFORM_FIELD_NUMBER = 9;
|
|
private boolean isPsnPlatform_;
|
|
/**
|
|
* <code>bool is_psn_platform = 9;</code>
|
|
*
|
|
* @return The isPsnPlatform.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsPsnPlatform() {
|
|
return isPsnPlatform_;
|
|
}
|
|
|
|
public static final int TIME_LINE_EDIT_TIME_FIELD_NUMBER = 1822;
|
|
private int timeLineEditTime_;
|
|
/**
|
|
* <code>uint32 time_line_edit_time = 1822;</code>
|
|
*
|
|
* @return The timeLineEditTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getTimeLineEditTime() {
|
|
return timeLineEditTime_;
|
|
}
|
|
|
|
public static final int IS_CHANGED_AFTER_PUBLISH_FIELD_NUMBER = 11;
|
|
private boolean isChangedAfterPublish_;
|
|
/**
|
|
* <code>bool is_changed_after_publish = 11;</code>
|
|
*
|
|
* @return The isChangedAfterPublish.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsChangedAfterPublish() {
|
|
return isChangedAfterPublish_;
|
|
}
|
|
|
|
public static final int PUBLISH_TIME_FIELD_NUMBER = 13;
|
|
private int publishTime_;
|
|
/**
|
|
* <code>uint32 publish_time = 13;</code>
|
|
*
|
|
* @return The publishTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPublishTime() {
|
|
return publishTime_;
|
|
}
|
|
|
|
public static final int MAX_SCORE_FIELD_NUMBER = 14;
|
|
private int maxScore_;
|
|
/**
|
|
* <code>uint32 max_score = 14;</code>
|
|
*
|
|
* @return The maxScore.
|
|
*/
|
|
@java.lang.Override
|
|
public int getMaxScore() {
|
|
return maxScore_;
|
|
}
|
|
|
|
public static final int REAL_TIME_EDIT_TIME_FIELD_NUMBER = 576;
|
|
private int realTimeEditTime_;
|
|
/**
|
|
* <code>uint32 real_time_edit_time = 576;</code>
|
|
*
|
|
* @return The realTimeEditTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRealTimeEditTime() {
|
|
return realTimeEditTime_;
|
|
}
|
|
|
|
public static final int NOTE_COUNT_FIELD_NUMBER = 7;
|
|
private int noteCount_;
|
|
/**
|
|
* <code>uint32 note_count = 7;</code>
|
|
*
|
|
* @return The noteCount.
|
|
*/
|
|
@java.lang.Override
|
|
public int getNoteCount() {
|
|
return noteCount_;
|
|
}
|
|
|
|
public static final int UGC_GUID_FIELD_NUMBER = 4;
|
|
private long ugcGuid_;
|
|
/**
|
|
* <code>uint64 ugc_guid = 4;</code>
|
|
*
|
|
* @return The ugcGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getUgcGuid() {
|
|
return ugcGuid_;
|
|
}
|
|
|
|
public static final int SELF_MAX_SCORE_FIELD_NUMBER = 6;
|
|
private int selfMaxScore_;
|
|
/**
|
|
* <code>uint32 self_max_score = 6;</code>
|
|
*
|
|
* @return The selfMaxScore.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSelfMaxScore() {
|
|
return selfMaxScore_;
|
|
}
|
|
|
|
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 (isPlayed_ != false) {
|
|
output.writeBool(1, isPlayed_);
|
|
}
|
|
if (musicId_ != 0) {
|
|
output.writeUInt32(2, musicId_);
|
|
}
|
|
if (saveTime_ != 0) {
|
|
output.writeUInt32(3, saveTime_);
|
|
}
|
|
if (ugcGuid_ != 0L) {
|
|
output.writeUInt64(4, ugcGuid_);
|
|
}
|
|
if (importFromUgcGuid_ != 0L) {
|
|
output.writeUInt64(5, importFromUgcGuid_);
|
|
}
|
|
if (selfMaxScore_ != 0) {
|
|
output.writeUInt32(6, selfMaxScore_);
|
|
}
|
|
if (noteCount_ != 0) {
|
|
output.writeUInt32(7, noteCount_);
|
|
}
|
|
if (isPublished_ != false) {
|
|
output.writeBool(8, isPublished_);
|
|
}
|
|
if (isPsnPlatform_ != false) {
|
|
output.writeBool(9, isPsnPlatform_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorNickname_)) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, creatorNickname_);
|
|
}
|
|
if (isChangedAfterPublish_ != false) {
|
|
output.writeBool(11, isChangedAfterPublish_);
|
|
}
|
|
if (saveIdx_ != 0) {
|
|
output.writeUInt32(12, saveIdx_);
|
|
}
|
|
if (publishTime_ != 0) {
|
|
output.writeUInt32(13, publishTime_);
|
|
}
|
|
if (maxScore_ != 0) {
|
|
output.writeUInt32(14, maxScore_);
|
|
}
|
|
if (version_ != 0) {
|
|
output.writeUInt32(15, version_);
|
|
}
|
|
if (realTimeEditTime_ != 0) {
|
|
output.writeUInt32(576, realTimeEditTime_);
|
|
}
|
|
if (getBeforeNoteListList().size() > 0) {
|
|
output.writeUInt32NoTag(7858);
|
|
output.writeUInt32NoTag(beforeNoteListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < beforeNoteList_.size(); i++) {
|
|
output.writeUInt32NoTag(beforeNoteList_.getInt(i));
|
|
}
|
|
if (getAfterNoteListList().size() > 0) {
|
|
output.writeUInt32NoTag(8018);
|
|
output.writeUInt32NoTag(afterNoteListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < afterNoteList_.size(); i++) {
|
|
output.writeUInt32NoTag(afterNoteList_.getInt(i));
|
|
}
|
|
if (savePageType_ != 0) {
|
|
output.writeUInt32(1182, savePageType_);
|
|
}
|
|
if (timeLineEditTime_ != 0) {
|
|
output.writeUInt32(1822, timeLineEditTime_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (isPlayed_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, isPlayed_);
|
|
}
|
|
if (musicId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(2, musicId_);
|
|
}
|
|
if (saveTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(3, saveTime_);
|
|
}
|
|
if (ugcGuid_ != 0L) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(4, ugcGuid_);
|
|
}
|
|
if (importFromUgcGuid_ != 0L) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(5, importFromUgcGuid_);
|
|
}
|
|
if (selfMaxScore_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, selfMaxScore_);
|
|
}
|
|
if (noteCount_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(7, noteCount_);
|
|
}
|
|
if (isPublished_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, isPublished_);
|
|
}
|
|
if (isPsnPlatform_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, isPsnPlatform_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorNickname_)) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, creatorNickname_);
|
|
}
|
|
if (isChangedAfterPublish_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, isChangedAfterPublish_);
|
|
}
|
|
if (saveIdx_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(12, saveIdx_);
|
|
}
|
|
if (publishTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(13, publishTime_);
|
|
}
|
|
if (maxScore_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(14, maxScore_);
|
|
}
|
|
if (version_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(15, version_);
|
|
}
|
|
if (realTimeEditTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(576, realTimeEditTime_);
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < beforeNoteList_.size(); i++) {
|
|
dataSize +=
|
|
com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(
|
|
beforeNoteList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getBeforeNoteListList().isEmpty()) {
|
|
size += 2;
|
|
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
beforeNoteListMemoizedSerializedSize = dataSize;
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < afterNoteList_.size(); i++) {
|
|
dataSize +=
|
|
com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(
|
|
afterNoteList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getAfterNoteListList().isEmpty()) {
|
|
size += 2;
|
|
size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
afterNoteListMemoizedSerializedSize = dataSize;
|
|
}
|
|
if (savePageType_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(1182, savePageType_);
|
|
}
|
|
if (timeLineEditTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(1822, timeLineEditTime_);
|
|
}
|
|
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.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo other =
|
|
(emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo) obj;
|
|
|
|
if (getImportFromUgcGuid() != other.getImportFromUgcGuid()) return false;
|
|
if (getIsPublished() != other.getIsPublished()) return false;
|
|
if (getIsPlayed() != other.getIsPlayed()) return false;
|
|
if (getMusicId() != other.getMusicId()) return false;
|
|
if (getSavePageType() != other.getSavePageType()) return false;
|
|
if (getSaveIdx() != other.getSaveIdx()) return false;
|
|
if (!getCreatorNickname().equals(other.getCreatorNickname())) return false;
|
|
if (getVersion() != other.getVersion()) return false;
|
|
if (getSaveTime() != other.getSaveTime()) return false;
|
|
if (!getAfterNoteListList().equals(other.getAfterNoteListList())) return false;
|
|
if (!getBeforeNoteListList().equals(other.getBeforeNoteListList())) return false;
|
|
if (getIsPsnPlatform() != other.getIsPsnPlatform()) return false;
|
|
if (getTimeLineEditTime() != other.getTimeLineEditTime()) return false;
|
|
if (getIsChangedAfterPublish() != other.getIsChangedAfterPublish()) return false;
|
|
if (getPublishTime() != other.getPublishTime()) return false;
|
|
if (getMaxScore() != other.getMaxScore()) return false;
|
|
if (getRealTimeEditTime() != other.getRealTimeEditTime()) return false;
|
|
if (getNoteCount() != other.getNoteCount()) return false;
|
|
if (getUgcGuid() != other.getUgcGuid()) return false;
|
|
if (getSelfMaxScore() != other.getSelfMaxScore()) 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) + IMPORT_FROM_UGC_GUID_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImportFromUgcGuid());
|
|
hash = (37 * hash) + IS_PUBLISHED_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsPublished());
|
|
hash = (37 * hash) + IS_PLAYED_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsPlayed());
|
|
hash = (37 * hash) + MUSIC_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getMusicId();
|
|
hash = (37 * hash) + SAVE_PAGE_TYPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSavePageType();
|
|
hash = (37 * hash) + SAVE_IDX_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSaveIdx();
|
|
hash = (37 * hash) + CREATOR_NICKNAME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCreatorNickname().hashCode();
|
|
hash = (37 * hash) + VERSION_FIELD_NUMBER;
|
|
hash = (53 * hash) + getVersion();
|
|
hash = (37 * hash) + SAVE_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSaveTime();
|
|
if (getAfterNoteListCount() > 0) {
|
|
hash = (37 * hash) + AFTER_NOTE_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getAfterNoteListList().hashCode();
|
|
}
|
|
if (getBeforeNoteListCount() > 0) {
|
|
hash = (37 * hash) + BEFORE_NOTE_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getBeforeNoteListList().hashCode();
|
|
}
|
|
hash = (37 * hash) + IS_PSN_PLATFORM_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsPsnPlatform());
|
|
hash = (37 * hash) + TIME_LINE_EDIT_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getTimeLineEditTime();
|
|
hash = (37 * hash) + IS_CHANGED_AFTER_PUBLISH_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsChangedAfterPublish());
|
|
hash = (37 * hash) + PUBLISH_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPublishTime();
|
|
hash = (37 * hash) + MAX_SCORE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getMaxScore();
|
|
hash = (37 * hash) + REAL_TIME_EDIT_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getRealTimeEditTime();
|
|
hash = (37 * hash) + NOTE_COUNT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getNoteCount();
|
|
hash = (37 * hash) + UGC_GUID_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUgcGuid());
|
|
hash = (37 * hash) + SELF_MAX_SCORE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSelfMaxScore();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo parseFrom(
|
|
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo 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.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo 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.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo parseFrom(
|
|
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo parseFrom(
|
|
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo parseFrom(
|
|
java.io.InputStream input) throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo 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.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo
|
|
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo
|
|
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.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo parseFrom(
|
|
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo 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.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo 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;
|
|
}
|
|
/**
|
|
*
|
|
*
|
|
* <pre>
|
|
* 3.2
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code UgcMusicBriefInfo}
|
|
*/
|
|
public static final class Builder
|
|
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
|
|
implements
|
|
// @@protoc_insertion_point(builder_implements:UgcMusicBriefInfo)
|
|
emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfoOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
|
|
return emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass
|
|
.internal_static_UgcMusicBriefInfo_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass
|
|
.internal_static_UgcMusicBriefInfo_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo.class,
|
|
emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo.Builder
|
|
.class);
|
|
}
|
|
|
|
// Construct using
|
|
// emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo.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();
|
|
importFromUgcGuid_ = 0L;
|
|
|
|
isPublished_ = false;
|
|
|
|
isPlayed_ = false;
|
|
|
|
musicId_ = 0;
|
|
|
|
savePageType_ = 0;
|
|
|
|
saveIdx_ = 0;
|
|
|
|
creatorNickname_ = "";
|
|
|
|
version_ = 0;
|
|
|
|
saveTime_ = 0;
|
|
|
|
afterNoteList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
beforeNoteList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
isPsnPlatform_ = false;
|
|
|
|
timeLineEditTime_ = 0;
|
|
|
|
isChangedAfterPublish_ = false;
|
|
|
|
publishTime_ = 0;
|
|
|
|
maxScore_ = 0;
|
|
|
|
realTimeEditTime_ = 0;
|
|
|
|
noteCount_ = 0;
|
|
|
|
ugcGuid_ = 0L;
|
|
|
|
selfMaxScore_ = 0;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass
|
|
.internal_static_UgcMusicBriefInfo_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo
|
|
getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo
|
|
.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo build() {
|
|
emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo result =
|
|
buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo
|
|
buildPartial() {
|
|
emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo result =
|
|
new emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo(this);
|
|
int from_bitField0_ = bitField0_;
|
|
result.importFromUgcGuid_ = importFromUgcGuid_;
|
|
result.isPublished_ = isPublished_;
|
|
result.isPlayed_ = isPlayed_;
|
|
result.musicId_ = musicId_;
|
|
result.savePageType_ = savePageType_;
|
|
result.saveIdx_ = saveIdx_;
|
|
result.creatorNickname_ = creatorNickname_;
|
|
result.version_ = version_;
|
|
result.saveTime_ = saveTime_;
|
|
if (((bitField0_ & 0x00000001) != 0)) {
|
|
afterNoteList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
}
|
|
result.afterNoteList_ = afterNoteList_;
|
|
if (((bitField0_ & 0x00000002) != 0)) {
|
|
beforeNoteList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
}
|
|
result.beforeNoteList_ = beforeNoteList_;
|
|
result.isPsnPlatform_ = isPsnPlatform_;
|
|
result.timeLineEditTime_ = timeLineEditTime_;
|
|
result.isChangedAfterPublish_ = isChangedAfterPublish_;
|
|
result.publishTime_ = publishTime_;
|
|
result.maxScore_ = maxScore_;
|
|
result.realTimeEditTime_ = realTimeEditTime_;
|
|
result.noteCount_ = noteCount_;
|
|
result.ugcGuid_ = ugcGuid_;
|
|
result.selfMaxScore_ = selfMaxScore_;
|
|
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.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo) {
|
|
return mergeFrom(
|
|
(emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo) other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(
|
|
emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo other) {
|
|
if (other
|
|
== emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo
|
|
.getDefaultInstance()) return this;
|
|
if (other.getImportFromUgcGuid() != 0L) {
|
|
setImportFromUgcGuid(other.getImportFromUgcGuid());
|
|
}
|
|
if (other.getIsPublished() != false) {
|
|
setIsPublished(other.getIsPublished());
|
|
}
|
|
if (other.getIsPlayed() != false) {
|
|
setIsPlayed(other.getIsPlayed());
|
|
}
|
|
if (other.getMusicId() != 0) {
|
|
setMusicId(other.getMusicId());
|
|
}
|
|
if (other.getSavePageType() != 0) {
|
|
setSavePageType(other.getSavePageType());
|
|
}
|
|
if (other.getSaveIdx() != 0) {
|
|
setSaveIdx(other.getSaveIdx());
|
|
}
|
|
if (!other.getCreatorNickname().isEmpty()) {
|
|
creatorNickname_ = other.creatorNickname_;
|
|
onChanged();
|
|
}
|
|
if (other.getVersion() != 0) {
|
|
setVersion(other.getVersion());
|
|
}
|
|
if (other.getSaveTime() != 0) {
|
|
setSaveTime(other.getSaveTime());
|
|
}
|
|
if (!other.afterNoteList_.isEmpty()) {
|
|
if (afterNoteList_.isEmpty()) {
|
|
afterNoteList_ = other.afterNoteList_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
ensureAfterNoteListIsMutable();
|
|
afterNoteList_.addAll(other.afterNoteList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (!other.beforeNoteList_.isEmpty()) {
|
|
if (beforeNoteList_.isEmpty()) {
|
|
beforeNoteList_ = other.beforeNoteList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
ensureBeforeNoteListIsMutable();
|
|
beforeNoteList_.addAll(other.beforeNoteList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (other.getIsPsnPlatform() != false) {
|
|
setIsPsnPlatform(other.getIsPsnPlatform());
|
|
}
|
|
if (other.getTimeLineEditTime() != 0) {
|
|
setTimeLineEditTime(other.getTimeLineEditTime());
|
|
}
|
|
if (other.getIsChangedAfterPublish() != false) {
|
|
setIsChangedAfterPublish(other.getIsChangedAfterPublish());
|
|
}
|
|
if (other.getPublishTime() != 0) {
|
|
setPublishTime(other.getPublishTime());
|
|
}
|
|
if (other.getMaxScore() != 0) {
|
|
setMaxScore(other.getMaxScore());
|
|
}
|
|
if (other.getRealTimeEditTime() != 0) {
|
|
setRealTimeEditTime(other.getRealTimeEditTime());
|
|
}
|
|
if (other.getNoteCount() != 0) {
|
|
setNoteCount(other.getNoteCount());
|
|
}
|
|
if (other.getUgcGuid() != 0L) {
|
|
setUgcGuid(other.getUgcGuid());
|
|
}
|
|
if (other.getSelfMaxScore() != 0) {
|
|
setSelfMaxScore(other.getSelfMaxScore());
|
|
}
|
|
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.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo parsedMessage =
|
|
null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage =
|
|
(emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo)
|
|
e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private int bitField0_;
|
|
|
|
private long importFromUgcGuid_;
|
|
/**
|
|
* <code>uint64 import_from_ugc_guid = 5;</code>
|
|
*
|
|
* @return The importFromUgcGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getImportFromUgcGuid() {
|
|
return importFromUgcGuid_;
|
|
}
|
|
/**
|
|
* <code>uint64 import_from_ugc_guid = 5;</code>
|
|
*
|
|
* @param value The importFromUgcGuid to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setImportFromUgcGuid(long value) {
|
|
|
|
importFromUgcGuid_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint64 import_from_ugc_guid = 5;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearImportFromUgcGuid() {
|
|
|
|
importFromUgcGuid_ = 0L;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isPublished_;
|
|
/**
|
|
* <code>bool is_published = 8;</code>
|
|
*
|
|
* @return The isPublished.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsPublished() {
|
|
return isPublished_;
|
|
}
|
|
/**
|
|
* <code>bool is_published = 8;</code>
|
|
*
|
|
* @param value The isPublished to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsPublished(boolean value) {
|
|
|
|
isPublished_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_published = 8;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsPublished() {
|
|
|
|
isPublished_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isPlayed_;
|
|
/**
|
|
* <code>bool is_played = 1;</code>
|
|
*
|
|
* @return The isPlayed.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsPlayed() {
|
|
return isPlayed_;
|
|
}
|
|
/**
|
|
* <code>bool is_played = 1;</code>
|
|
*
|
|
* @param value The isPlayed to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsPlayed(boolean value) {
|
|
|
|
isPlayed_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_played = 1;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsPlayed() {
|
|
|
|
isPlayed_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int musicId_;
|
|
/**
|
|
* <code>uint32 music_id = 2;</code>
|
|
*
|
|
* @return The musicId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getMusicId() {
|
|
return musicId_;
|
|
}
|
|
/**
|
|
* <code>uint32 music_id = 2;</code>
|
|
*
|
|
* @param value The musicId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setMusicId(int value) {
|
|
|
|
musicId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 music_id = 2;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearMusicId() {
|
|
|
|
musicId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int savePageType_;
|
|
/**
|
|
* <code>uint32 save_page_type = 1182;</code>
|
|
*
|
|
* @return The savePageType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSavePageType() {
|
|
return savePageType_;
|
|
}
|
|
/**
|
|
* <code>uint32 save_page_type = 1182;</code>
|
|
*
|
|
* @param value The savePageType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSavePageType(int value) {
|
|
|
|
savePageType_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 save_page_type = 1182;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSavePageType() {
|
|
|
|
savePageType_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int saveIdx_;
|
|
/**
|
|
* <code>uint32 save_idx = 12;</code>
|
|
*
|
|
* @return The saveIdx.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSaveIdx() {
|
|
return saveIdx_;
|
|
}
|
|
/**
|
|
* <code>uint32 save_idx = 12;</code>
|
|
*
|
|
* @param value The saveIdx to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSaveIdx(int value) {
|
|
|
|
saveIdx_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 save_idx = 12;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSaveIdx() {
|
|
|
|
saveIdx_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object creatorNickname_ = "";
|
|
/**
|
|
* <code>string creator_nickname = 10;</code>
|
|
*
|
|
* @return The creatorNickname.
|
|
*/
|
|
public java.lang.String getCreatorNickname() {
|
|
java.lang.Object ref = creatorNickname_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
creatorNickname_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string creator_nickname = 10;</code>
|
|
*
|
|
* @return The bytes for creatorNickname.
|
|
*/
|
|
public com.google.protobuf.ByteString getCreatorNicknameBytes() {
|
|
java.lang.Object ref = creatorNickname_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
|
|
creatorNickname_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string creator_nickname = 10;</code>
|
|
*
|
|
* @param value The creatorNickname to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCreatorNickname(java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
creatorNickname_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string creator_nickname = 10;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearCreatorNickname() {
|
|
|
|
creatorNickname_ = getDefaultInstance().getCreatorNickname();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string creator_nickname = 10;</code>
|
|
*
|
|
* @param value The bytes for creatorNickname to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCreatorNicknameBytes(com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
creatorNickname_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int version_;
|
|
/**
|
|
* <code>uint32 version = 15;</code>
|
|
*
|
|
* @return The version.
|
|
*/
|
|
@java.lang.Override
|
|
public int getVersion() {
|
|
return version_;
|
|
}
|
|
/**
|
|
* <code>uint32 version = 15;</code>
|
|
*
|
|
* @param value The version to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setVersion(int value) {
|
|
|
|
version_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 version = 15;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearVersion() {
|
|
|
|
version_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int saveTime_;
|
|
/**
|
|
* <code>uint32 save_time = 3;</code>
|
|
*
|
|
* @return The saveTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSaveTime() {
|
|
return saveTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 save_time = 3;</code>
|
|
*
|
|
* @param value The saveTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSaveTime(int value) {
|
|
|
|
saveTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 save_time = 3;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSaveTime() {
|
|
|
|
saveTime_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList afterNoteList_ = emptyIntList();
|
|
|
|
private void ensureAfterNoteListIsMutable() {
|
|
if (!((bitField0_ & 0x00000001) != 0)) {
|
|
afterNoteList_ = mutableCopy(afterNoteList_);
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @return A list containing the afterNoteList.
|
|
*/
|
|
public java.util.List<java.lang.Integer> getAfterNoteListList() {
|
|
return ((bitField0_ & 0x00000001) != 0)
|
|
? java.util.Collections.unmodifiableList(afterNoteList_)
|
|
: afterNoteList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @return The count of afterNoteList.
|
|
*/
|
|
public int getAfterNoteListCount() {
|
|
return afterNoteList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @param index The index of the element to return.
|
|
* @return The afterNoteList at the given index.
|
|
*/
|
|
public int getAfterNoteList(int index) {
|
|
return afterNoteList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @param index The index to set the value at.
|
|
* @param value The afterNoteList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAfterNoteList(int index, int value) {
|
|
ensureAfterNoteListIsMutable();
|
|
afterNoteList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @param value The afterNoteList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAfterNoteList(int value) {
|
|
ensureAfterNoteListIsMutable();
|
|
afterNoteList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @param values The afterNoteList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllAfterNoteList(java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureAfterNoteListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, afterNoteList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 after_note_list = 1002;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAfterNoteList() {
|
|
afterNoteList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList beforeNoteList_ = emptyIntList();
|
|
|
|
private void ensureBeforeNoteListIsMutable() {
|
|
if (!((bitField0_ & 0x00000002) != 0)) {
|
|
beforeNoteList_ = mutableCopy(beforeNoteList_);
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @return A list containing the beforeNoteList.
|
|
*/
|
|
public java.util.List<java.lang.Integer> getBeforeNoteListList() {
|
|
return ((bitField0_ & 0x00000002) != 0)
|
|
? java.util.Collections.unmodifiableList(beforeNoteList_)
|
|
: beforeNoteList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @return The count of beforeNoteList.
|
|
*/
|
|
public int getBeforeNoteListCount() {
|
|
return beforeNoteList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @param index The index of the element to return.
|
|
* @return The beforeNoteList at the given index.
|
|
*/
|
|
public int getBeforeNoteList(int index) {
|
|
return beforeNoteList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @param index The index to set the value at.
|
|
* @param value The beforeNoteList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setBeforeNoteList(int index, int value) {
|
|
ensureBeforeNoteListIsMutable();
|
|
beforeNoteList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @param value The beforeNoteList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addBeforeNoteList(int value) {
|
|
ensureBeforeNoteListIsMutable();
|
|
beforeNoteList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @param values The beforeNoteList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllBeforeNoteList(java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureBeforeNoteListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, beforeNoteList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 before_note_list = 982;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearBeforeNoteList() {
|
|
beforeNoteList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isPsnPlatform_;
|
|
/**
|
|
* <code>bool is_psn_platform = 9;</code>
|
|
*
|
|
* @return The isPsnPlatform.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsPsnPlatform() {
|
|
return isPsnPlatform_;
|
|
}
|
|
/**
|
|
* <code>bool is_psn_platform = 9;</code>
|
|
*
|
|
* @param value The isPsnPlatform to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsPsnPlatform(boolean value) {
|
|
|
|
isPsnPlatform_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_psn_platform = 9;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsPsnPlatform() {
|
|
|
|
isPsnPlatform_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int timeLineEditTime_;
|
|
/**
|
|
* <code>uint32 time_line_edit_time = 1822;</code>
|
|
*
|
|
* @return The timeLineEditTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getTimeLineEditTime() {
|
|
return timeLineEditTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 time_line_edit_time = 1822;</code>
|
|
*
|
|
* @param value The timeLineEditTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setTimeLineEditTime(int value) {
|
|
|
|
timeLineEditTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 time_line_edit_time = 1822;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearTimeLineEditTime() {
|
|
|
|
timeLineEditTime_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isChangedAfterPublish_;
|
|
/**
|
|
* <code>bool is_changed_after_publish = 11;</code>
|
|
*
|
|
* @return The isChangedAfterPublish.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsChangedAfterPublish() {
|
|
return isChangedAfterPublish_;
|
|
}
|
|
/**
|
|
* <code>bool is_changed_after_publish = 11;</code>
|
|
*
|
|
* @param value The isChangedAfterPublish to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsChangedAfterPublish(boolean value) {
|
|
|
|
isChangedAfterPublish_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_changed_after_publish = 11;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsChangedAfterPublish() {
|
|
|
|
isChangedAfterPublish_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int publishTime_;
|
|
/**
|
|
* <code>uint32 publish_time = 13;</code>
|
|
*
|
|
* @return The publishTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPublishTime() {
|
|
return publishTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 publish_time = 13;</code>
|
|
*
|
|
* @param value The publishTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setPublishTime(int value) {
|
|
|
|
publishTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 publish_time = 13;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearPublishTime() {
|
|
|
|
publishTime_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int maxScore_;
|
|
/**
|
|
* <code>uint32 max_score = 14;</code>
|
|
*
|
|
* @return The maxScore.
|
|
*/
|
|
@java.lang.Override
|
|
public int getMaxScore() {
|
|
return maxScore_;
|
|
}
|
|
/**
|
|
* <code>uint32 max_score = 14;</code>
|
|
*
|
|
* @param value The maxScore to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setMaxScore(int value) {
|
|
|
|
maxScore_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 max_score = 14;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearMaxScore() {
|
|
|
|
maxScore_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int realTimeEditTime_;
|
|
/**
|
|
* <code>uint32 real_time_edit_time = 576;</code>
|
|
*
|
|
* @return The realTimeEditTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRealTimeEditTime() {
|
|
return realTimeEditTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 real_time_edit_time = 576;</code>
|
|
*
|
|
* @param value The realTimeEditTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setRealTimeEditTime(int value) {
|
|
|
|
realTimeEditTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 real_time_edit_time = 576;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearRealTimeEditTime() {
|
|
|
|
realTimeEditTime_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int noteCount_;
|
|
/**
|
|
* <code>uint32 note_count = 7;</code>
|
|
*
|
|
* @return The noteCount.
|
|
*/
|
|
@java.lang.Override
|
|
public int getNoteCount() {
|
|
return noteCount_;
|
|
}
|
|
/**
|
|
* <code>uint32 note_count = 7;</code>
|
|
*
|
|
* @param value The noteCount to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setNoteCount(int value) {
|
|
|
|
noteCount_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 note_count = 7;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearNoteCount() {
|
|
|
|
noteCount_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private long ugcGuid_;
|
|
/**
|
|
* <code>uint64 ugc_guid = 4;</code>
|
|
*
|
|
* @return The ugcGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getUgcGuid() {
|
|
return ugcGuid_;
|
|
}
|
|
/**
|
|
* <code>uint64 ugc_guid = 4;</code>
|
|
*
|
|
* @param value The ugcGuid to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setUgcGuid(long value) {
|
|
|
|
ugcGuid_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint64 ugc_guid = 4;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearUgcGuid() {
|
|
|
|
ugcGuid_ = 0L;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int selfMaxScore_;
|
|
/**
|
|
* <code>uint32 self_max_score = 6;</code>
|
|
*
|
|
* @return The selfMaxScore.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSelfMaxScore() {
|
|
return selfMaxScore_;
|
|
}
|
|
/**
|
|
* <code>uint32 self_max_score = 6;</code>
|
|
*
|
|
* @param value The selfMaxScore to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSelfMaxScore(int value) {
|
|
|
|
selfMaxScore_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 self_max_score = 6;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSelfMaxScore() {
|
|
|
|
selfMaxScore_ = 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:UgcMusicBriefInfo)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:UgcMusicBriefInfo)
|
|
private static final emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo
|
|
DEFAULT_INSTANCE;
|
|
|
|
static {
|
|
DEFAULT_INSTANCE =
|
|
new emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo
|
|
getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<UgcMusicBriefInfo> PARSER =
|
|
new com.google.protobuf.AbstractParser<UgcMusicBriefInfo>() {
|
|
@java.lang.Override
|
|
public UgcMusicBriefInfo parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new UgcMusicBriefInfo(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<UgcMusicBriefInfo> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<UgcMusicBriefInfo> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.UgcMusicBriefInfoOuterClass.UgcMusicBriefInfo
|
|
getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_UgcMusicBriefInfo_descriptor;
|
|
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_UgcMusicBriefInfo_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\027UgcMusicBriefInfo.proto\"\350\003\n\021UgcMusicBr"
|
|
+ "iefInfo\022\034\n\024import_from_ugc_guid\030\005 \001(\004\022\024\n"
|
|
+ "\014is_published\030\010 \001(\010\022\021\n\tis_played\030\001 \001(\010\022\020"
|
|
+ "\n\010music_id\030\002 \001(\r\022\027\n\016save_page_type\030\236\t \001("
|
|
+ "\r\022\020\n\010save_idx\030\014 \001(\r\022\030\n\020creator_nickname\030"
|
|
+ "\n \001(\t\022\017\n\007version\030\017 \001(\r\022\021\n\tsave_time\030\003 \001("
|
|
+ "\r\022\030\n\017after_note_list\030\352\007 \003(\r\022\031\n\020before_no"
|
|
+ "te_list\030\326\007 \003(\r\022\027\n\017is_psn_platform\030\t \001(\010\022"
|
|
+ "\034\n\023time_line_edit_time\030\236\016 \001(\r\022 \n\030is_chan"
|
|
+ "ged_after_publish\030\013 \001(\010\022\024\n\014publish_time\030"
|
|
+ "\r \001(\r\022\021\n\tmax_score\030\016 \001(\r\022\034\n\023real_time_ed"
|
|
+ "it_time\030\300\004 \001(\r\022\022\n\nnote_count\030\007 \001(\r\022\020\n\010ug"
|
|
+ "c_guid\030\004 \001(\004\022\026\n\016self_max_score\030\006 \001(\rB\033\n\031"
|
|
+ "emu.grasscutter.net.protob\006proto3"
|
|
};
|
|
descriptor =
|
|
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
|
|
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
|
|
internal_static_UgcMusicBriefInfo_descriptor = getDescriptor().getMessageTypes().get(0);
|
|
internal_static_UgcMusicBriefInfo_fieldAccessorTable =
|
|
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_UgcMusicBriefInfo_descriptor,
|
|
new java.lang.String[] {
|
|
"ImportFromUgcGuid",
|
|
"IsPublished",
|
|
"IsPlayed",
|
|
"MusicId",
|
|
"SavePageType",
|
|
"SaveIdx",
|
|
"CreatorNickname",
|
|
"Version",
|
|
"SaveTime",
|
|
"AfterNoteList",
|
|
"BeforeNoteList",
|
|
"IsPsnPlatform",
|
|
"TimeLineEditTime",
|
|
"IsChangedAfterPublish",
|
|
"PublishTime",
|
|
"MaxScore",
|
|
"RealTimeEditTime",
|
|
"NoteCount",
|
|
"UgcGuid",
|
|
"SelfMaxScore",
|
|
});
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|