// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EvtAvatarLockChairReq.proto
package emu.grasscutter.net.proto;
public final class EvtAvatarLockChairReqOuterClass {
private EvtAvatarLockChairReqOuterClass() {}
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 EvtAvatarLockChairReqOrBuilder
extends
// @@protoc_insertion_point(interface_extends:EvtAvatarLockChairReq)
com.google.protobuf.MessageOrBuilder {
/**
* uint64 chair_id = 7;
*
* @return The chairId.
*/
long getChairId();
/**
* .Vector position = 15;
*
* @return Whether the position field is set.
*/
boolean hasPosition();
/**
* .Vector position = 15;
*
* @return The position.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition();
/** .Vector position = 15;
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder();
}
/**
*
*
*
* Name: PIBJPDAAJLK * CmdId: 379 ** * Protobuf type {@code EvtAvatarLockChairReq} */ public static final class EvtAvatarLockChairReq extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:EvtAvatarLockChairReq) EvtAvatarLockChairReqOrBuilder { private static final long serialVersionUID = 0L; // Use EvtAvatarLockChairReq.newBuilder() to construct. private EvtAvatarLockChairReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private EvtAvatarLockChairReq() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EvtAvatarLockChairReq(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EvtAvatarLockChairReq( 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 56: { chairId_ = input.readUInt64(); break; } case 122: { emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; if (position_ != null) { subBuilder = position_.toBuilder(); } position_ = input.readMessage( emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(position_); position_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass .internal_static_EvtAvatarLockChairReq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass .internal_static_EvtAvatarLockChairReq_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq.class, emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq .Builder.class); } public static final int CHAIR_ID_FIELD_NUMBER = 7; private long chairId_; /** *
uint64 chair_id = 7;
*
* @return The chairId.
*/
@java.lang.Override
public long getChairId() {
return chairId_;
}
public static final int POSITION_FIELD_NUMBER = 15;
private emu.grasscutter.net.proto.VectorOuterClass.Vector position_;
/**
* .Vector position = 15;
*
* @return Whether the position field is set.
*/
@java.lang.Override
public boolean hasPosition() {
return position_ != null;
}
/**
* .Vector position = 15;
*
* @return The position.
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition() {
return position_ == null
? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance()
: position_;
}
/** .Vector position = 15;
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder() {
return getPosition();
}
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 (chairId_ != 0L) {
output.writeUInt64(7, chairId_);
}
if (position_ != null) {
output.writeMessage(15, getPosition());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (chairId_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(7, chairId_);
}
if (position_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getPosition());
}
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.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq other =
(emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq) obj;
if (getChairId() != other.getChairId()) return false;
if (hasPosition() != other.hasPosition()) return false;
if (hasPosition()) {
if (!getPosition().equals(other.getPosition())) 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) + CHAIR_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getChairId());
if (hasPosition()) {
hash = (37 * hash) + POSITION_FIELD_NUMBER;
hash = (53 * hash) + getPosition().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
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.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
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.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
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.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
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.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
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.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq 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;
}
/**
*
*
* * Name: PIBJPDAAJLK * CmdId: 379 ** * Protobuf type {@code EvtAvatarLockChairReq} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
uint64 chair_id = 7;
*
* @return The chairId.
*/
@java.lang.Override
public long getChairId() {
return chairId_;
}
/**
* uint64 chair_id = 7;
*
* @param value The chairId to set.
* @return This builder for chaining.
*/
public Builder setChairId(long value) {
chairId_ = value;
onChanged();
return this;
}
/**
* uint64 chair_id = 7;
*
* @return This builder for chaining.
*/
public Builder clearChairId() {
chairId_ = 0L;
onChanged();
return this;
}
private emu.grasscutter.net.proto.VectorOuterClass.Vector position_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector,
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder,
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
positionBuilder_;
/**
* .Vector position = 15;
*
* @return Whether the position field is set.
*/
public boolean hasPosition() {
return positionBuilder_ != null || position_ != null;
}
/**
* .Vector position = 15;
*
* @return The position.
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition() {
if (positionBuilder_ == null) {
return position_ == null
? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance()
: position_;
} else {
return positionBuilder_.getMessage();
}
}
/** .Vector position = 15;
*/
public Builder setPosition(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (positionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
position_ = value;
onChanged();
} else {
positionBuilder_.setMessage(value);
}
return this;
}
/** .Vector position = 15;
*/
public Builder setPosition(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (positionBuilder_ == null) {
position_ = builderForValue.build();
onChanged();
} else {
positionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/** .Vector position = 15;
*/
public Builder mergePosition(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (positionBuilder_ == null) {
if (position_ != null) {
position_ =
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(position_)
.mergeFrom(value)
.buildPartial();
} else {
position_ = value;
}
onChanged();
} else {
positionBuilder_.mergeFrom(value);
}
return this;
}
/** .Vector position = 15;
*/
public Builder clearPosition() {
if (positionBuilder_ == null) {
position_ = null;
onChanged();
} else {
position_ = null;
positionBuilder_ = null;
}
return this;
}
/** .Vector position = 15;
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPositionBuilder() {
onChanged();
return getPositionFieldBuilder().getBuilder();
}
/** .Vector position = 15;
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder() {
if (positionBuilder_ != null) {
return positionBuilder_.getMessageOrBuilder();
} else {
return position_ == null
? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance()
: position_;
}
}
/** .Vector position = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector,
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder,
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getPositionFieldBuilder() {
if (positionBuilder_ == null) {
positionBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector,
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder,
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
getPosition(), getParentForChildren(), isClean());
position_ = null;
}
return positionBuilder_;
}
@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:EvtAvatarLockChairReq)
}
// @@protoc_insertion_point(class_scope:EvtAvatarLockChairReq)
private static final emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass
.EvtAvatarLockChairReq
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq();
}
public static emu.grasscutter.net.proto.EvtAvatarLockChairReqOuterClass.EvtAvatarLockChairReq
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser