// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PlayerLuaShellNotify.proto
package emu.grasscutter.net.proto;
public final class PlayerLuaShellNotifyOuterClass {
private PlayerLuaShellNotifyOuterClass() {}
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 PlayerLuaShellNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:PlayerLuaShellNotify)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 id = 10;
* @return The id.
*/
int getId();
/**
* bytes lua_shell = 14;
* @return The luaShell.
*/
com.google.protobuf.ByteString getLuaShell();
/**
* uint32 use_type = 13;
* @return The useType.
*/
int getUseType();
/**
* .LuaShellType shell_type = 9;
* @return The enum numeric value on the wire for shellType.
*/
int getShellTypeValue();
/**
* .LuaShellType shell_type = 9;
* @return The shellType.
*/
emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType getShellType();
}
/**
*
* CmdId: 29883 * Obf: BGBMONILFCK ** * Protobuf type {@code PlayerLuaShellNotify} */ public static final class PlayerLuaShellNotify extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:PlayerLuaShellNotify) PlayerLuaShellNotifyOrBuilder { private static final long serialVersionUID = 0L; // Use PlayerLuaShellNotify.newBuilder() to construct. private PlayerLuaShellNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private PlayerLuaShellNotify() { luaShell_ = com.google.protobuf.ByteString.EMPTY; shellType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PlayerLuaShellNotify(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PlayerLuaShellNotify( 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 72: { int rawValue = input.readEnum(); shellType_ = rawValue; break; } case 80: { id_ = input.readUInt32(); break; } case 104: { useType_ = input.readUInt32(); break; } case 114: { luaShell_ = input.readBytes(); 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.PlayerLuaShellNotifyOuterClass.internal_static_PlayerLuaShellNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.internal_static_PlayerLuaShellNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify.class, emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify.Builder.class); } public static final int ID_FIELD_NUMBER = 10; private int id_; /** *
uint32 id = 10;
* @return The id.
*/
@java.lang.Override
public int getId() {
return id_;
}
public static final int LUA_SHELL_FIELD_NUMBER = 14;
private com.google.protobuf.ByteString luaShell_;
/**
* bytes lua_shell = 14;
* @return The luaShell.
*/
@java.lang.Override
public com.google.protobuf.ByteString getLuaShell() {
return luaShell_;
}
public static final int USE_TYPE_FIELD_NUMBER = 13;
private int useType_;
/**
* uint32 use_type = 13;
* @return The useType.
*/
@java.lang.Override
public int getUseType() {
return useType_;
}
public static final int SHELL_TYPE_FIELD_NUMBER = 9;
private int shellType_;
/**
* .LuaShellType shell_type = 9;
* @return The enum numeric value on the wire for shellType.
*/
@java.lang.Override public int getShellTypeValue() {
return shellType_;
}
/**
* .LuaShellType shell_type = 9;
* @return The shellType.
*/
@java.lang.Override public emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType getShellType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType result = emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType.valueOf(shellType_);
return result == null ? emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType.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 (shellType_ != emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType.LUASHELL_NONE.getNumber()) {
output.writeEnum(9, shellType_);
}
if (id_ != 0) {
output.writeUInt32(10, id_);
}
if (useType_ != 0) {
output.writeUInt32(13, useType_);
}
if (!luaShell_.isEmpty()) {
output.writeBytes(14, luaShell_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (shellType_ != emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType.LUASHELL_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, shellType_);
}
if (id_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, id_);
}
if (useType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, useType_);
}
if (!luaShell_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(14, luaShell_);
}
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.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify other = (emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify) obj;
if (getId()
!= other.getId()) return false;
if (!getLuaShell()
.equals(other.getLuaShell())) return false;
if (getUseType()
!= other.getUseType()) return false;
if (shellType_ != other.shellType_) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId();
hash = (37 * hash) + LUA_SHELL_FIELD_NUMBER;
hash = (53 * hash) + getLuaShell().hashCode();
hash = (37 * hash) + USE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getUseType();
hash = (37 * hash) + SHELL_TYPE_FIELD_NUMBER;
hash = (53 * hash) + shellType_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify 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.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify 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.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify 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.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify 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.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify 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.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify 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: 29883 * Obf: BGBMONILFCK ** * Protobuf type {@code PlayerLuaShellNotify} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
uint32 id = 10;
* @return The id.
*/
@java.lang.Override
public int getId() {
return id_;
}
/**
* uint32 id = 10;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(int value) {
id_ = value;
onChanged();
return this;
}
/**
* uint32 id = 10;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString luaShell_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes lua_shell = 14;
* @return The luaShell.
*/
@java.lang.Override
public com.google.protobuf.ByteString getLuaShell() {
return luaShell_;
}
/**
* bytes lua_shell = 14;
* @param value The luaShell to set.
* @return This builder for chaining.
*/
public Builder setLuaShell(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
luaShell_ = value;
onChanged();
return this;
}
/**
* bytes lua_shell = 14;
* @return This builder for chaining.
*/
public Builder clearLuaShell() {
luaShell_ = getDefaultInstance().getLuaShell();
onChanged();
return this;
}
private int useType_ ;
/**
* uint32 use_type = 13;
* @return The useType.
*/
@java.lang.Override
public int getUseType() {
return useType_;
}
/**
* uint32 use_type = 13;
* @param value The useType to set.
* @return This builder for chaining.
*/
public Builder setUseType(int value) {
useType_ = value;
onChanged();
return this;
}
/**
* uint32 use_type = 13;
* @return This builder for chaining.
*/
public Builder clearUseType() {
useType_ = 0;
onChanged();
return this;
}
private int shellType_ = 0;
/**
* .LuaShellType shell_type = 9;
* @return The enum numeric value on the wire for shellType.
*/
@java.lang.Override public int getShellTypeValue() {
return shellType_;
}
/**
* .LuaShellType shell_type = 9;
* @param value The enum numeric value on the wire for shellType to set.
* @return This builder for chaining.
*/
public Builder setShellTypeValue(int value) {
shellType_ = value;
onChanged();
return this;
}
/**
* .LuaShellType shell_type = 9;
* @return The shellType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType getShellType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType result = emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType.valueOf(shellType_);
return result == null ? emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType.UNRECOGNIZED : result;
}
/**
* .LuaShellType shell_type = 9;
* @param value The shellType to set.
* @return This builder for chaining.
*/
public Builder setShellType(emu.grasscutter.net.proto.LuaShellTypeOuterClass.LuaShellType value) {
if (value == null) {
throw new NullPointerException();
}
shellType_ = value.getNumber();
onChanged();
return this;
}
/**
* .LuaShellType shell_type = 9;
* @return This builder for chaining.
*/
public Builder clearShellType() {
shellType_ = 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:PlayerLuaShellNotify)
}
// @@protoc_insertion_point(class_scope:PlayerLuaShellNotify)
private static final emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify();
}
public static emu.grasscutter.net.proto.PlayerLuaShellNotifyOuterClass.PlayerLuaShellNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser