emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SummerTimeFloatSignalPositionNotify.proto
package emu.grasscutter.net.proto;
public final class SummerTimeFloatSignalPositionNotifyOuterClass {
private SummerTimeFloatSignalPositionNotifyOuterClass() {}
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 SummerTimeFloatSignalPositionNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:SummerTimeFloatSignalPositionNotify)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 float_signal_id = 13;
* @return The floatSignalId.
*/
int getFloatSignalId();
/**
* .Vector position = 1;
* @return Whether the position field is set.
*/
boolean hasPosition();
/**
* .Vector position = 1;
* @return The position.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition();
/**
* .Vector position = 1;
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder();
/**
* bool is_transfer_anchor = 8;
* @return The isTransferAnchor.
*/
boolean getIsTransferAnchor();
}
/**
*
* CmdId: 9015
* Obf: IFLOEECFIMP
*
*
* Protobuf type {@code SummerTimeFloatSignalPositionNotify}
*/
public static final class SummerTimeFloatSignalPositionNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SummerTimeFloatSignalPositionNotify)
SummerTimeFloatSignalPositionNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use SummerTimeFloatSignalPositionNotify.newBuilder() to construct.
private SummerTimeFloatSignalPositionNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SummerTimeFloatSignalPositionNotify() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SummerTimeFloatSignalPositionNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SummerTimeFloatSignalPositionNotify(
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 10: {
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;
}
case 64: {
isTransferAnchor_ = input.readBool();
break;
}
case 104: {
floatSignalId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.internal_static_SummerTimeFloatSignalPositionNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.internal_static_SummerTimeFloatSignalPositionNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify.class, emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify.Builder.class);
}
public static final int FLOAT_SIGNAL_ID_FIELD_NUMBER = 13;
private int floatSignalId_;
/**
* uint32 float_signal_id = 13;
* @return The floatSignalId.
*/
@java.lang.Override
public int getFloatSignalId() {
return floatSignalId_;
}
public static final int POSITION_FIELD_NUMBER = 1;
private emu.grasscutter.net.proto.VectorOuterClass.Vector position_;
/**
* .Vector position = 1;
* @return Whether the position field is set.
*/
@java.lang.Override
public boolean hasPosition() {
return position_ != null;
}
/**
* .Vector position = 1;
* @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 = 1;
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder() {
return getPosition();
}
public static final int IS_TRANSFER_ANCHOR_FIELD_NUMBER = 8;
private boolean isTransferAnchor_;
/**
* bool is_transfer_anchor = 8;
* @return The isTransferAnchor.
*/
@java.lang.Override
public boolean getIsTransferAnchor() {
return isTransferAnchor_;
}
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 (position_ != null) {
output.writeMessage(1, getPosition());
}
if (isTransferAnchor_ != false) {
output.writeBool(8, isTransferAnchor_);
}
if (floatSignalId_ != 0) {
output.writeUInt32(13, floatSignalId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (position_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPosition());
}
if (isTransferAnchor_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, isTransferAnchor_);
}
if (floatSignalId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, floatSignalId_);
}
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.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify other = (emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify) obj;
if (getFloatSignalId()
!= other.getFloatSignalId()) return false;
if (hasPosition() != other.hasPosition()) return false;
if (hasPosition()) {
if (!getPosition()
.equals(other.getPosition())) return false;
}
if (getIsTransferAnchor()
!= other.getIsTransferAnchor()) 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) + FLOAT_SIGNAL_ID_FIELD_NUMBER;
hash = (53 * hash) + getFloatSignalId();
if (hasPosition()) {
hash = (37 * hash) + POSITION_FIELD_NUMBER;
hash = (53 * hash) + getPosition().hashCode();
}
hash = (37 * hash) + IS_TRANSFER_ANCHOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsTransferAnchor());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify 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.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify 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.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify 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.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify 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.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify 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.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify 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: 9015
* Obf: IFLOEECFIMP
*
*
* Protobuf type {@code SummerTimeFloatSignalPositionNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:SummerTimeFloatSignalPositionNotify)
emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.internal_static_SummerTimeFloatSignalPositionNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.internal_static_SummerTimeFloatSignalPositionNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify.class, emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify.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();
floatSignalId_ = 0;
if (positionBuilder_ == null) {
position_ = null;
} else {
position_ = null;
positionBuilder_ = null;
}
isTransferAnchor_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.internal_static_SummerTimeFloatSignalPositionNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify build() {
emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify buildPartial() {
emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify result = new emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify(this);
result.floatSignalId_ = floatSignalId_;
if (positionBuilder_ == null) {
result.position_ = position_;
} else {
result.position_ = positionBuilder_.build();
}
result.isTransferAnchor_ = isTransferAnchor_;
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.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify) {
return mergeFrom((emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify other) {
if (other == emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify.getDefaultInstance()) return this;
if (other.getFloatSignalId() != 0) {
setFloatSignalId(other.getFloatSignalId());
}
if (other.hasPosition()) {
mergePosition(other.getPosition());
}
if (other.getIsTransferAnchor() != false) {
setIsTransferAnchor(other.getIsTransferAnchor());
}
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.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int floatSignalId_ ;
/**
* uint32 float_signal_id = 13;
* @return The floatSignalId.
*/
@java.lang.Override
public int getFloatSignalId() {
return floatSignalId_;
}
/**
* uint32 float_signal_id = 13;
* @param value The floatSignalId to set.
* @return This builder for chaining.
*/
public Builder setFloatSignalId(int value) {
floatSignalId_ = value;
onChanged();
return this;
}
/**
* uint32 float_signal_id = 13;
* @return This builder for chaining.
*/
public Builder clearFloatSignalId() {
floatSignalId_ = 0;
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 = 1;
* @return Whether the position field is set.
*/
public boolean hasPosition() {
return positionBuilder_ != null || position_ != null;
}
/**
* .Vector position = 1;
* @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 = 1;
*/
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 = 1;
*/
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 = 1;
*/
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 = 1;
*/
public Builder clearPosition() {
if (positionBuilder_ == null) {
position_ = null;
onChanged();
} else {
position_ = null;
positionBuilder_ = null;
}
return this;
}
/**
* .Vector position = 1;
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPositionBuilder() {
onChanged();
return getPositionFieldBuilder().getBuilder();
}
/**
* .Vector position = 1;
*/
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 = 1;
*/
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_;
}
private boolean isTransferAnchor_ ;
/**
* bool is_transfer_anchor = 8;
* @return The isTransferAnchor.
*/
@java.lang.Override
public boolean getIsTransferAnchor() {
return isTransferAnchor_;
}
/**
* bool is_transfer_anchor = 8;
* @param value The isTransferAnchor to set.
* @return This builder for chaining.
*/
public Builder setIsTransferAnchor(boolean value) {
isTransferAnchor_ = value;
onChanged();
return this;
}
/**
* bool is_transfer_anchor = 8;
* @return This builder for chaining.
*/
public Builder clearIsTransferAnchor() {
isTransferAnchor_ = false;
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:SummerTimeFloatSignalPositionNotify)
}
// @@protoc_insertion_point(class_scope:SummerTimeFloatSignalPositionNotify)
private static final emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify();
}
public static emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SummerTimeFloatSignalPositionNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SummerTimeFloatSignalPositionNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.SummerTimeFloatSignalPositionNotifyOuterClass.SummerTimeFloatSignalPositionNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_SummerTimeFloatSignalPositionNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_SummerTimeFloatSignalPositionNotify_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)SummerTimeFloatSignalPositionNotify.pr" +
"oto\032\014Vector.proto\"u\n#SummerTimeFloatSign" +
"alPositionNotify\022\027\n\017float_signal_id\030\r \001(" +
"\r\022\031\n\010position\030\001 \001(\0132\007.Vector\022\032\n\022is_trans" +
"fer_anchor\030\010 \001(\010B\033\n\031emu.grasscutter.net." +
"protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
});
internal_static_SummerTimeFloatSignalPositionNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_SummerTimeFloatSignalPositionNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SummerTimeFloatSignalPositionNotify_descriptor,
new java.lang.String[] { "FloatSignalId", "Position", "IsTransferAnchor", });
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}