// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ScenePlayerSoundNotify.proto
package emu.grasscutter.net.proto;
public final class ScenePlayerSoundNotifyOuterClass {
private ScenePlayerSoundNotifyOuterClass() {}
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 ScenePlayerSoundNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:ScenePlayerSoundNotify)
com.google.protobuf.MessageOrBuilder {
/**
* string sound_name = 11;
* @return The soundName.
*/
java.lang.String getSoundName();
/**
* string sound_name = 11;
* @return The bytes for soundName.
*/
com.google.protobuf.ByteString
getSoundNameBytes();
/**
* .Vector play_pos = 7;
* @return Whether the playPos field is set.
*/
boolean hasPlayPos();
/**
* .Vector play_pos = 7;
* @return The playPos.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getPlayPos();
/**
* .Vector play_pos = 7;
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPlayPosOrBuilder();
/**
* .ScenePlayerSoundNotify.PlaySoundType play_type = 15;
* @return The enum numeric value on the wire for playType.
*/
int getPlayTypeValue();
/**
* .ScenePlayerSoundNotify.PlaySoundType play_type = 15;
* @return The playType.
*/
emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType getPlayType();
}
/**
*
* CmdId: 227 * Name: DCPCGJCCOJL ** * Protobuf type {@code ScenePlayerSoundNotify} */ public static final class ScenePlayerSoundNotify extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ScenePlayerSoundNotify) ScenePlayerSoundNotifyOrBuilder { private static final long serialVersionUID = 0L; // Use ScenePlayerSoundNotify.newBuilder() to construct. private ScenePlayerSoundNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private ScenePlayerSoundNotify() { soundName_ = ""; playType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ScenePlayerSoundNotify(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ScenePlayerSoundNotify( 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 58: { emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; if (playPos_ != null) { subBuilder = playPos_.toBuilder(); } playPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(playPos_); playPos_ = subBuilder.buildPartial(); } break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); soundName_ = s; break; } case 120: { int rawValue = input.readEnum(); playType_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.internal_static_ScenePlayerSoundNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.internal_static_ScenePlayerSoundNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.class, emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.Builder.class); } /** *
* Name: GONLGHGGMDM
*
*
* Protobuf enum {@code ScenePlayerSoundNotify.PlaySoundType}
*/
public enum PlaySoundType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* PLAY_SOUND_NONE = 0;
*/
PLAY_SOUND_NONE(0),
/**
* PLAY_SOUND_START = 1;
*/
PLAY_SOUND_START(1),
/**
* PLAY_SOUND_STOP = 2;
*/
PLAY_SOUND_STOP(2),
UNRECOGNIZED(-1),
;
/**
* PLAY_SOUND_NONE = 0;
*/
public static final int PLAY_SOUND_NONE_VALUE = 0;
/**
* PLAY_SOUND_START = 1;
*/
public static final int PLAY_SOUND_START_VALUE = 1;
/**
* PLAY_SOUND_STOP = 2;
*/
public static final int PLAY_SOUND_STOP_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PlaySoundType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static PlaySoundType forNumber(int value) {
switch (value) {
case 0: return PLAY_SOUND_NONE;
case 1: return PLAY_SOUND_START;
case 2: return PLAY_SOUND_STOP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMapstring sound_name = 11;
* @return The soundName.
*/
@java.lang.Override
public java.lang.String getSoundName() {
java.lang.Object ref = soundName_;
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();
soundName_ = s;
return s;
}
}
/**
* string sound_name = 11;
* @return The bytes for soundName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSoundNameBytes() {
java.lang.Object ref = soundName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
soundName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PLAY_POS_FIELD_NUMBER = 7;
private emu.grasscutter.net.proto.VectorOuterClass.Vector playPos_;
/**
* .Vector play_pos = 7;
* @return Whether the playPos field is set.
*/
@java.lang.Override
public boolean hasPlayPos() {
return playPos_ != null;
}
/**
* .Vector play_pos = 7;
* @return The playPos.
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPlayPos() {
return playPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : playPos_;
}
/**
* .Vector play_pos = 7;
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPlayPosOrBuilder() {
return getPlayPos();
}
public static final int PLAY_TYPE_FIELD_NUMBER = 15;
private int playType_;
/**
* .ScenePlayerSoundNotify.PlaySoundType play_type = 15;
* @return The enum numeric value on the wire for playType.
*/
@java.lang.Override public int getPlayTypeValue() {
return playType_;
}
/**
* .ScenePlayerSoundNotify.PlaySoundType play_type = 15;
* @return The playType.
*/
@java.lang.Override public emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType getPlayType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType result = emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType.valueOf(playType_);
return result == null ? emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (playPos_ != null) {
output.writeMessage(7, getPlayPos());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(soundName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, soundName_);
}
if (playType_ != emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType.PLAY_SOUND_NONE.getNumber()) {
output.writeEnum(15, playType_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (playPos_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getPlayPos());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(soundName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, soundName_);
}
if (playType_ != emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType.PLAY_SOUND_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(15, playType_);
}
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.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify other = (emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify) obj;
if (!getSoundName()
.equals(other.getSoundName())) return false;
if (hasPlayPos() != other.hasPlayPos()) return false;
if (hasPlayPos()) {
if (!getPlayPos()
.equals(other.getPlayPos())) return false;
}
if (playType_ != other.playType_) 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) + SOUND_NAME_FIELD_NUMBER;
hash = (53 * hash) + getSoundName().hashCode();
if (hasPlayPos()) {
hash = (37 * hash) + PLAY_POS_FIELD_NUMBER;
hash = (53 * hash) + getPlayPos().hashCode();
}
hash = (37 * hash) + PLAY_TYPE_FIELD_NUMBER;
hash = (53 * hash) + playType_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify 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.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify 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.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify 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.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify 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.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify 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.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* CmdId: 227
* Name: DCPCGJCCOJL
*
*
* Protobuf type {@code ScenePlayerSoundNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builderstring sound_name = 11;
* @return The soundName.
*/
public java.lang.String getSoundName() {
java.lang.Object ref = soundName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
soundName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string sound_name = 11;
* @return The bytes for soundName.
*/
public com.google.protobuf.ByteString
getSoundNameBytes() {
java.lang.Object ref = soundName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
soundName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string sound_name = 11;
* @param value The soundName to set.
* @return This builder for chaining.
*/
public Builder setSoundName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
soundName_ = value;
onChanged();
return this;
}
/**
* string sound_name = 11;
* @return This builder for chaining.
*/
public Builder clearSoundName() {
soundName_ = getDefaultInstance().getSoundName();
onChanged();
return this;
}
/**
* string sound_name = 11;
* @param value The bytes for soundName to set.
* @return This builder for chaining.
*/
public Builder setSoundNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
soundName_ = value;
onChanged();
return this;
}
private emu.grasscutter.net.proto.VectorOuterClass.Vector playPos_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> playPosBuilder_;
/**
* .Vector play_pos = 7;
* @return Whether the playPos field is set.
*/
public boolean hasPlayPos() {
return playPosBuilder_ != null || playPos_ != null;
}
/**
* .Vector play_pos = 7;
* @return The playPos.
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPlayPos() {
if (playPosBuilder_ == null) {
return playPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : playPos_;
} else {
return playPosBuilder_.getMessage();
}
}
/**
* .Vector play_pos = 7;
*/
public Builder setPlayPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (playPosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
playPos_ = value;
onChanged();
} else {
playPosBuilder_.setMessage(value);
}
return this;
}
/**
* .Vector play_pos = 7;
*/
public Builder setPlayPos(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (playPosBuilder_ == null) {
playPos_ = builderForValue.build();
onChanged();
} else {
playPosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Vector play_pos = 7;
*/
public Builder mergePlayPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (playPosBuilder_ == null) {
if (playPos_ != null) {
playPos_ =
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(playPos_).mergeFrom(value).buildPartial();
} else {
playPos_ = value;
}
onChanged();
} else {
playPosBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Vector play_pos = 7;
*/
public Builder clearPlayPos() {
if (playPosBuilder_ == null) {
playPos_ = null;
onChanged();
} else {
playPos_ = null;
playPosBuilder_ = null;
}
return this;
}
/**
* .Vector play_pos = 7;
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPlayPosBuilder() {
onChanged();
return getPlayPosFieldBuilder().getBuilder();
}
/**
* .Vector play_pos = 7;
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPlayPosOrBuilder() {
if (playPosBuilder_ != null) {
return playPosBuilder_.getMessageOrBuilder();
} else {
return playPos_ == null ?
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : playPos_;
}
}
/**
* .Vector play_pos = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getPlayPosFieldBuilder() {
if (playPosBuilder_ == null) {
playPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
getPlayPos(),
getParentForChildren(),
isClean());
playPos_ = null;
}
return playPosBuilder_;
}
private int playType_ = 0;
/**
* .ScenePlayerSoundNotify.PlaySoundType play_type = 15;
* @return The enum numeric value on the wire for playType.
*/
@java.lang.Override public int getPlayTypeValue() {
return playType_;
}
/**
* .ScenePlayerSoundNotify.PlaySoundType play_type = 15;
* @param value The enum numeric value on the wire for playType to set.
* @return This builder for chaining.
*/
public Builder setPlayTypeValue(int value) {
playType_ = value;
onChanged();
return this;
}
/**
* .ScenePlayerSoundNotify.PlaySoundType play_type = 15;
* @return The playType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType getPlayType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType result = emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType.valueOf(playType_);
return result == null ? emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType.UNRECOGNIZED : result;
}
/**
* .ScenePlayerSoundNotify.PlaySoundType play_type = 15;
* @param value The playType to set.
* @return This builder for chaining.
*/
public Builder setPlayType(emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify.PlaySoundType value) {
if (value == null) {
throw new NullPointerException();
}
playType_ = value.getNumber();
onChanged();
return this;
}
/**
* .ScenePlayerSoundNotify.PlaySoundType play_type = 15;
* @return This builder for chaining.
*/
public Builder clearPlayType() {
playType_ = 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:ScenePlayerSoundNotify)
}
// @@protoc_insertion_point(class_scope:ScenePlayerSoundNotify)
private static final emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify();
}
public static emu.grasscutter.net.proto.ScenePlayerSoundNotifyOuterClass.ScenePlayerSoundNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser