Commit c517b8a2 authored by github-actions's avatar github-actions
Browse files

Fix whitespace [skip actions]

parent a746d11b
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AnchorPointDataNotify.proto
package emu.grasscutter.net.proto;
public final class AnchorPointDataNotifyOuterClass {
private AnchorPointDataNotifyOuterClass() {}
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 AnchorPointDataNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:AnchorPointDataNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
java.util.List<emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData>
getAnchorPointListList();
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData getAnchorPointList(int index);
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
int getAnchorPointListCount();
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder>
getAnchorPointListOrBuilderList();
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder getAnchorPointListOrBuilder(
int index);
/**
* <code>uint32 next_usable_time = 14;</code>
* @return The nextUsableTime.
*/
int getNextUsableTime();
}
/**
* <pre>
* CmdId: 4276
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code AnchorPointDataNotify}
*/
public static final class AnchorPointDataNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AnchorPointDataNotify)
AnchorPointDataNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use AnchorPointDataNotify.newBuilder() to construct.
private AnchorPointDataNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AnchorPointDataNotify() {
anchorPointList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AnchorPointDataNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AnchorPointDataNotify(
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 82: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
anchorPointList_ = new java.util.ArrayList<emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData>();
mutable_bitField0_ |= 0x00000001;
}
anchorPointList_.add(
input.readMessage(emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.parser(), extensionRegistry));
break;
}
case 112: {
nextUsableTime_ = 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_ & 0x00000001) != 0)) {
anchorPointList_ = java.util.Collections.unmodifiableList(anchorPointList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.internal_static_AnchorPointDataNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.internal_static_AnchorPointDataNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify.class, emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify.Builder.class);
}
public static final int ANCHOR_POINT_LIST_FIELD_NUMBER = 10;
private java.util.List<emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData> anchorPointList_;
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData> getAnchorPointListList() {
return anchorPointList_;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder>
getAnchorPointListOrBuilderList() {
return anchorPointList_;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
@java.lang.Override
public int getAnchorPointListCount() {
return anchorPointList_.size();
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData getAnchorPointList(int index) {
return anchorPointList_.get(index);
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder getAnchorPointListOrBuilder(
int index) {
return anchorPointList_.get(index);
}
public static final int NEXT_USABLE_TIME_FIELD_NUMBER = 14;
private int nextUsableTime_;
/**
* <code>uint32 next_usable_time = 14;</code>
* @return The nextUsableTime.
*/
@java.lang.Override
public int getNextUsableTime() {
return nextUsableTime_;
}
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 {
for (int i = 0; i < anchorPointList_.size(); i++) {
output.writeMessage(10, anchorPointList_.get(i));
}
if (nextUsableTime_ != 0) {
output.writeUInt32(14, nextUsableTime_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < anchorPointList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, anchorPointList_.get(i));
}
if (nextUsableTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, nextUsableTime_);
}
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.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify other = (emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify) obj;
if (!getAnchorPointListList()
.equals(other.getAnchorPointListList())) return false;
if (getNextUsableTime()
!= other.getNextUsableTime()) 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();
if (getAnchorPointListCount() > 0) {
hash = (37 * hash) + ANCHOR_POINT_LIST_FIELD_NUMBER;
hash = (53 * hash) + getAnchorPointListList().hashCode();
}
hash = (37 * hash) + NEXT_USABLE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getNextUsableTime();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify 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.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify 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.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify 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.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify 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.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify 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.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify 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>
* CmdId: 4276
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code AnchorPointDataNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AnchorPointDataNotify)
emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.internal_static_AnchorPointDataNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.internal_static_AnchorPointDataNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify.class, emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAnchorPointListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (anchorPointListBuilder_ == null) {
anchorPointList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
anchorPointListBuilder_.clear();
}
nextUsableTime_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.internal_static_AnchorPointDataNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify build() {
emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify buildPartial() {
emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify result = new emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify(this);
int from_bitField0_ = bitField0_;
if (anchorPointListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
anchorPointList_ = java.util.Collections.unmodifiableList(anchorPointList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.anchorPointList_ = anchorPointList_;
} else {
result.anchorPointList_ = anchorPointListBuilder_.build();
}
result.nextUsableTime_ = nextUsableTime_;
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.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify) {
return mergeFrom((emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify other) {
if (other == emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify.getDefaultInstance()) return this;
if (anchorPointListBuilder_ == null) {
if (!other.anchorPointList_.isEmpty()) {
if (anchorPointList_.isEmpty()) {
anchorPointList_ = other.anchorPointList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAnchorPointListIsMutable();
anchorPointList_.addAll(other.anchorPointList_);
}
onChanged();
}
} else {
if (!other.anchorPointList_.isEmpty()) {
if (anchorPointListBuilder_.isEmpty()) {
anchorPointListBuilder_.dispose();
anchorPointListBuilder_ = null;
anchorPointList_ = other.anchorPointList_;
bitField0_ = (bitField0_ & ~0x00000001);
anchorPointListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAnchorPointListFieldBuilder() : null;
} else {
anchorPointListBuilder_.addAllMessages(other.anchorPointList_);
}
}
}
if (other.getNextUsableTime() != 0) {
setNextUsableTime(other.getNextUsableTime());
}
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.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData> anchorPointList_ =
java.util.Collections.emptyList();
private void ensureAnchorPointListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
anchorPointList_ = new java.util.ArrayList<emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData>(anchorPointList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder> anchorPointListBuilder_;
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public java.util.List<emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData> getAnchorPointListList() {
if (anchorPointListBuilder_ == null) {
return java.util.Collections.unmodifiableList(anchorPointList_);
} else {
return anchorPointListBuilder_.getMessageList();
}
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public int getAnchorPointListCount() {
if (anchorPointListBuilder_ == null) {
return anchorPointList_.size();
} else {
return anchorPointListBuilder_.getCount();
}
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData getAnchorPointList(int index) {
if (anchorPointListBuilder_ == null) {
return anchorPointList_.get(index);
} else {
return anchorPointListBuilder_.getMessage(index);
}
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public Builder setAnchorPointList(
int index, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData value) {
if (anchorPointListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAnchorPointListIsMutable();
anchorPointList_.set(index, value);
onChanged();
} else {
anchorPointListBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public Builder setAnchorPointList(
int index, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder builderForValue) {
if (anchorPointListBuilder_ == null) {
ensureAnchorPointListIsMutable();
anchorPointList_.set(index, builderForValue.build());
onChanged();
} else {
anchorPointListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public Builder addAnchorPointList(emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData value) {
if (anchorPointListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAnchorPointListIsMutable();
anchorPointList_.add(value);
onChanged();
} else {
anchorPointListBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public Builder addAnchorPointList(
int index, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData value) {
if (anchorPointListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAnchorPointListIsMutable();
anchorPointList_.add(index, value);
onChanged();
} else {
anchorPointListBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public Builder addAnchorPointList(
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder builderForValue) {
if (anchorPointListBuilder_ == null) {
ensureAnchorPointListIsMutable();
anchorPointList_.add(builderForValue.build());
onChanged();
} else {
anchorPointListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public Builder addAnchorPointList(
int index, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder builderForValue) {
if (anchorPointListBuilder_ == null) {
ensureAnchorPointListIsMutable();
anchorPointList_.add(index, builderForValue.build());
onChanged();
} else {
anchorPointListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public Builder addAllAnchorPointList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData> values) {
if (anchorPointListBuilder_ == null) {
ensureAnchorPointListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, anchorPointList_);
onChanged();
} else {
anchorPointListBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public Builder clearAnchorPointList() {
if (anchorPointListBuilder_ == null) {
anchorPointList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
anchorPointListBuilder_.clear();
}
return this;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public Builder removeAnchorPointList(int index) {
if (anchorPointListBuilder_ == null) {
ensureAnchorPointListIsMutable();
anchorPointList_.remove(index);
onChanged();
} else {
anchorPointListBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder getAnchorPointListBuilder(
int index) {
return getAnchorPointListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder getAnchorPointListOrBuilder(
int index) {
if (anchorPointListBuilder_ == null) {
return anchorPointList_.get(index); } else {
return anchorPointListBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder>
getAnchorPointListOrBuilderList() {
if (anchorPointListBuilder_ != null) {
return anchorPointListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(anchorPointList_);
}
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder addAnchorPointListBuilder() {
return getAnchorPointListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.getDefaultInstance());
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder addAnchorPointListBuilder(
int index) {
return getAnchorPointListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.getDefaultInstance());
}
/**
* <code>repeated .AnchorPointData anchor_point_list = 10;</code>
*/
public java.util.List<emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder>
getAnchorPointListBuilderList() {
return getAnchorPointListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder>
getAnchorPointListFieldBuilder() {
if (anchorPointListBuilder_ == null) {
anchorPointListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder>(
anchorPointList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
anchorPointList_ = null;
}
return anchorPointListBuilder_;
}
private int nextUsableTime_ ;
/**
* <code>uint32 next_usable_time = 14;</code>
* @return The nextUsableTime.
*/
@java.lang.Override
public int getNextUsableTime() {
return nextUsableTime_;
}
/**
* <code>uint32 next_usable_time = 14;</code>
* @param value The nextUsableTime to set.
* @return This builder for chaining.
*/
public Builder setNextUsableTime(int value) {
nextUsableTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 next_usable_time = 14;</code>
* @return This builder for chaining.
*/
public Builder clearNextUsableTime() {
nextUsableTime_ = 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:AnchorPointDataNotify)
}
// @@protoc_insertion_point(class_scope:AnchorPointDataNotify)
private static final emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify();
}
public static emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AnchorPointDataNotify>
PARSER = new com.google.protobuf.AbstractParser<AnchorPointDataNotify>() {
@java.lang.Override
public AnchorPointDataNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AnchorPointDataNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<AnchorPointDataNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AnchorPointDataNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataNotifyOuterClass.AnchorPointDataNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AnchorPointDataNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AnchorPointDataNotify_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\033AnchorPointDataNotify.proto\032\025AnchorPoi" +
"ntData.proto\"^\n\025AnchorPointDataNotify\022+\n" +
"\021anchor_point_list\030\n \003(\0132\020.AnchorPointDa" +
"ta\022\030\n\020next_usable_time\030\016 \001(\rB\033\n\031emu.gras" +
"scutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.AnchorPointDataOuterClass.getDescriptor(),
});
internal_static_AnchorPointDataNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_AnchorPointDataNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AnchorPointDataNotify_descriptor,
new java.lang.String[] { "AnchorPointList", "NextUsableTime", });
emu.grasscutter.net.proto.AnchorPointDataOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AnchorPointData.proto
package emu.grasscutter.net.proto;
public final class AnchorPointDataOuterClass {
private AnchorPointDataOuterClass() {}
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 AnchorPointDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:AnchorPointData)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 scene_id = 5;</code>
* @return The sceneId.
*/
int getSceneId();
/**
* <code>uint32 anchor_point_id = 9;</code>
* @return The anchorPointId.
*/
int getAnchorPointId();
/**
* <code>uint32 end_time = 8;</code>
* @return The endTime.
*/
int getEndTime();
/**
* <code>.Vector pos = 15;</code>
* @return Whether the pos field is set.
*/
boolean hasPos();
/**
* <code>.Vector pos = 15;</code>
* @return The pos.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getPos();
/**
* <code>.Vector pos = 15;</code>
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder();
/**
* <code>.Vector rot = 2;</code>
* @return Whether the rot field is set.
*/
boolean hasRot();
/**
* <code>.Vector rot = 2;</code>
* @return The rot.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getRot();
/**
* <code>.Vector rot = 2;</code>
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRotOrBuilder();
}
/**
* Protobuf type {@code AnchorPointData}
*/
public static final class AnchorPointData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AnchorPointData)
AnchorPointDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use AnchorPointData.newBuilder() to construct.
private AnchorPointData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AnchorPointData() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AnchorPointData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AnchorPointData(
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 18: {
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
if (rot_ != null) {
subBuilder = rot_.toBuilder();
}
rot_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(rot_);
rot_ = subBuilder.buildPartial();
}
break;
}
case 40: {
sceneId_ = input.readUInt32();
break;
}
case 64: {
endTime_ = input.readUInt32();
break;
}
case 72: {
anchorPointId_ = input.readUInt32();
break;
}
case 122: {
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
if (pos_ != null) {
subBuilder = pos_.toBuilder();
}
pos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pos_);
pos_ = 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.AnchorPointDataOuterClass.internal_static_AnchorPointData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnchorPointDataOuterClass.internal_static_AnchorPointData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.class, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder.class);
}
public static final int SCENE_ID_FIELD_NUMBER = 5;
private int sceneId_;
/**
* <code>uint32 scene_id = 5;</code>
* @return The sceneId.
*/
@java.lang.Override
public int getSceneId() {
return sceneId_;
}
public static final int ANCHOR_POINT_ID_FIELD_NUMBER = 9;
private int anchorPointId_;
/**
* <code>uint32 anchor_point_id = 9;</code>
* @return The anchorPointId.
*/
@java.lang.Override
public int getAnchorPointId() {
return anchorPointId_;
}
public static final int END_TIME_FIELD_NUMBER = 8;
private int endTime_;
/**
* <code>uint32 end_time = 8;</code>
* @return The endTime.
*/
@java.lang.Override
public int getEndTime() {
return endTime_;
}
public static final int POS_FIELD_NUMBER = 15;
private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_;
/**
* <code>.Vector pos = 15;</code>
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return pos_ != null;
}
/**
* <code>.Vector pos = 15;</code>
* @return The pos.
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() {
return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
}
/**
* <code>.Vector pos = 15;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() {
return getPos();
}
public static final int ROT_FIELD_NUMBER = 2;
private emu.grasscutter.net.proto.VectorOuterClass.Vector rot_;
/**
* <code>.Vector rot = 2;</code>
* @return Whether the rot field is set.
*/
@java.lang.Override
public boolean hasRot() {
return rot_ != null;
}
/**
* <code>.Vector rot = 2;</code>
* @return The rot.
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.Vector getRot() {
return rot_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : rot_;
}
/**
* <code>.Vector rot = 2;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRotOrBuilder() {
return getRot();
}
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 (rot_ != null) {
output.writeMessage(2, getRot());
}
if (sceneId_ != 0) {
output.writeUInt32(5, sceneId_);
}
if (endTime_ != 0) {
output.writeUInt32(8, endTime_);
}
if (anchorPointId_ != 0) {
output.writeUInt32(9, anchorPointId_);
}
if (pos_ != null) {
output.writeMessage(15, getPos());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (rot_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRot());
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, sceneId_);
}
if (endTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, endTime_);
}
if (anchorPointId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, anchorPointId_);
}
if (pos_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getPos());
}
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.AnchorPointDataOuterClass.AnchorPointData)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData other = (emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData) obj;
if (getSceneId()
!= other.getSceneId()) return false;
if (getAnchorPointId()
!= other.getAnchorPointId()) return false;
if (getEndTime()
!= other.getEndTime()) return false;
if (hasPos() != other.hasPos()) return false;
if (hasPos()) {
if (!getPos()
.equals(other.getPos())) return false;
}
if (hasRot() != other.hasRot()) return false;
if (hasRot()) {
if (!getRot()
.equals(other.getRot())) 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) + SCENE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId();
hash = (37 * hash) + ANCHOR_POINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAnchorPointId();
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime();
if (hasPos()) {
hash = (37 * hash) + POS_FIELD_NUMBER;
hash = (53 * hash) + getPos().hashCode();
}
if (hasRot()) {
hash = (37 * hash) + ROT_FIELD_NUMBER;
hash = (53 * hash) + getRot().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData 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.AnchorPointDataOuterClass.AnchorPointData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData 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.AnchorPointDataOuterClass.AnchorPointData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData 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.AnchorPointDataOuterClass.AnchorPointData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData 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.AnchorPointDataOuterClass.AnchorPointData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData 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.AnchorPointDataOuterClass.AnchorPointData 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;
}
/**
* Protobuf type {@code AnchorPointData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AnchorPointData)
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AnchorPointDataOuterClass.internal_static_AnchorPointData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnchorPointDataOuterClass.internal_static_AnchorPointData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.class, emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.Builder.class);
}
// Construct using emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.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();
sceneId_ = 0;
anchorPointId_ = 0;
endTime_ = 0;
if (posBuilder_ == null) {
pos_ = null;
} else {
pos_ = null;
posBuilder_ = null;
}
if (rotBuilder_ == null) {
rot_ = null;
} else {
rot_ = null;
rotBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.AnchorPointDataOuterClass.internal_static_AnchorPointData_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData build() {
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData buildPartial() {
emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData result = new emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData(this);
result.sceneId_ = sceneId_;
result.anchorPointId_ = anchorPointId_;
result.endTime_ = endTime_;
if (posBuilder_ == null) {
result.pos_ = pos_;
} else {
result.pos_ = posBuilder_.build();
}
if (rotBuilder_ == null) {
result.rot_ = rot_;
} else {
result.rot_ = rotBuilder_.build();
}
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.AnchorPointDataOuterClass.AnchorPointData) {
return mergeFrom((emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData other) {
if (other == emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData.getDefaultInstance()) return this;
if (other.getSceneId() != 0) {
setSceneId(other.getSceneId());
}
if (other.getAnchorPointId() != 0) {
setAnchorPointId(other.getAnchorPointId());
}
if (other.getEndTime() != 0) {
setEndTime(other.getEndTime());
}
if (other.hasPos()) {
mergePos(other.getPos());
}
if (other.hasRot()) {
mergeRot(other.getRot());
}
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.AnchorPointDataOuterClass.AnchorPointData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int sceneId_ ;
/**
* <code>uint32 scene_id = 5;</code>
* @return The sceneId.
*/
@java.lang.Override
public int getSceneId() {
return sceneId_;
}
/**
* <code>uint32 scene_id = 5;</code>
* @param value The sceneId to set.
* @return This builder for chaining.
*/
public Builder setSceneId(int value) {
sceneId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 scene_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearSceneId() {
sceneId_ = 0;
onChanged();
return this;
}
private int anchorPointId_ ;
/**
* <code>uint32 anchor_point_id = 9;</code>
* @return The anchorPointId.
*/
@java.lang.Override
public int getAnchorPointId() {
return anchorPointId_;
}
/**
* <code>uint32 anchor_point_id = 9;</code>
* @param value The anchorPointId to set.
* @return This builder for chaining.
*/
public Builder setAnchorPointId(int value) {
anchorPointId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 anchor_point_id = 9;</code>
* @return This builder for chaining.
*/
public Builder clearAnchorPointId() {
anchorPointId_ = 0;
onChanged();
return this;
}
private int endTime_ ;
/**
* <code>uint32 end_time = 8;</code>
* @return The endTime.
*/
@java.lang.Override
public int getEndTime() {
return endTime_;
}
/**
* <code>uint32 end_time = 8;</code>
* @param value The endTime to set.
* @return This builder for chaining.
*/
public Builder setEndTime(int value) {
endTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 end_time = 8;</code>
* @return This builder for chaining.
*/
public Builder clearEndTime() {
endTime_ = 0;
onChanged();
return this;
}
private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> posBuilder_;
/**
* <code>.Vector pos = 15;</code>
* @return Whether the pos field is set.
*/
public boolean hasPos() {
return posBuilder_ != null || pos_ != null;
}
/**
* <code>.Vector pos = 15;</code>
* @return The pos.
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() {
if (posBuilder_ == null) {
return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
} else {
return posBuilder_.getMessage();
}
}
/**
* <code>.Vector pos = 15;</code>
*/
public Builder setPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (posBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pos_ = value;
onChanged();
} else {
posBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.Vector pos = 15;</code>
*/
public Builder setPos(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (posBuilder_ == null) {
pos_ = builderForValue.build();
onChanged();
} else {
posBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.Vector pos = 15;</code>
*/
public Builder mergePos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (posBuilder_ == null) {
if (pos_ != null) {
pos_ =
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(pos_).mergeFrom(value).buildPartial();
} else {
pos_ = value;
}
onChanged();
} else {
posBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.Vector pos = 15;</code>
*/
public Builder clearPos() {
if (posBuilder_ == null) {
pos_ = null;
onChanged();
} else {
pos_ = null;
posBuilder_ = null;
}
return this;
}
/**
* <code>.Vector pos = 15;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPosBuilder() {
onChanged();
return getPosFieldBuilder().getBuilder();
}
/**
* <code>.Vector pos = 15;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() {
if (posBuilder_ != null) {
return posBuilder_.getMessageOrBuilder();
} else {
return pos_ == null ?
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
}
}
/**
* <code>.Vector pos = 15;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getPosFieldBuilder() {
if (posBuilder_ == null) {
posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
getPos(),
getParentForChildren(),
isClean());
pos_ = null;
}
return posBuilder_;
}
private emu.grasscutter.net.proto.VectorOuterClass.Vector rot_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> rotBuilder_;
/**
* <code>.Vector rot = 2;</code>
* @return Whether the rot field is set.
*/
public boolean hasRot() {
return rotBuilder_ != null || rot_ != null;
}
/**
* <code>.Vector rot = 2;</code>
* @return The rot.
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector getRot() {
if (rotBuilder_ == null) {
return rot_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : rot_;
} else {
return rotBuilder_.getMessage();
}
}
/**
* <code>.Vector rot = 2;</code>
*/
public Builder setRot(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (rotBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
rot_ = value;
onChanged();
} else {
rotBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.Vector rot = 2;</code>
*/
public Builder setRot(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (rotBuilder_ == null) {
rot_ = builderForValue.build();
onChanged();
} else {
rotBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.Vector rot = 2;</code>
*/
public Builder mergeRot(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (rotBuilder_ == null) {
if (rot_ != null) {
rot_ =
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(rot_).mergeFrom(value).buildPartial();
} else {
rot_ = value;
}
onChanged();
} else {
rotBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.Vector rot = 2;</code>
*/
public Builder clearRot() {
if (rotBuilder_ == null) {
rot_ = null;
onChanged();
} else {
rot_ = null;
rotBuilder_ = null;
}
return this;
}
/**
* <code>.Vector rot = 2;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getRotBuilder() {
onChanged();
return getRotFieldBuilder().getBuilder();
}
/**
* <code>.Vector rot = 2;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRotOrBuilder() {
if (rotBuilder_ != null) {
return rotBuilder_.getMessageOrBuilder();
} else {
return rot_ == null ?
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : rot_;
}
}
/**
* <code>.Vector rot = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getRotFieldBuilder() {
if (rotBuilder_ == null) {
rotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
getRot(),
getParentForChildren(),
isClean());
rot_ = null;
}
return rotBuilder_;
}
@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:AnchorPointData)
}
// @@protoc_insertion_point(class_scope:AnchorPointData)
private static final emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData();
}
public static emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AnchorPointData>
PARSER = new com.google.protobuf.AbstractParser<AnchorPointData>() {
@java.lang.Override
public AnchorPointData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AnchorPointData(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<AnchorPointData> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AnchorPointData> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointDataOuterClass.AnchorPointData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AnchorPointData_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AnchorPointData_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\025AnchorPointData.proto\032\014Vector.proto\"z\n" +
"\017AnchorPointData\022\020\n\010scene_id\030\005 \001(\r\022\027\n\017an" +
"chor_point_id\030\t \001(\r\022\020\n\010end_time\030\010 \001(\r\022\024\n" +
"\003pos\030\017 \001(\0132\007.Vector\022\024\n\003rot\030\002 \001(\0132\007.Vecto" +
"rB\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_AnchorPointData_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_AnchorPointData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AnchorPointData_descriptor,
new java.lang.String[] { "SceneId", "AnchorPointId", "EndTime", "Pos", "Rot", });
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AnchorPointOpReq.proto
package emu.grasscutter.net.proto;
public final class AnchorPointOpReqOuterClass {
private AnchorPointOpReqOuterClass() {}
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 AnchorPointOpReqOrBuilder extends
// @@protoc_insertion_point(interface_extends:AnchorPointOpReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 anchor_point_id = 9;</code>
* @return The anchorPointId.
*/
int getAnchorPointId();
/**
* <code>uint32 anchor_point_op_type = 12;</code>
* @return The anchorPointOpType.
*/
int getAnchorPointOpType();
}
/**
* <pre>
* CmdId: 4257
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AnchorPointOpReq}
*/
public static final class AnchorPointOpReq extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AnchorPointOpReq)
AnchorPointOpReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use AnchorPointOpReq.newBuilder() to construct.
private AnchorPointOpReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AnchorPointOpReq() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AnchorPointOpReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AnchorPointOpReq(
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: {
anchorPointId_ = input.readUInt32();
break;
}
case 96: {
anchorPointOpType_ = 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.AnchorPointOpReqOuterClass.internal_static_AnchorPointOpReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.internal_static_AnchorPointOpReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq.class, emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq.Builder.class);
}
/**
* Protobuf enum {@code AnchorPointOpReq.AnchorPointOpType}
*/
public enum AnchorPointOpType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>ANCHOR_POINT_OP_TYPE_NONE = 0;</code>
*/
ANCHOR_POINT_OP_TYPE_NONE(0),
/**
* <code>ANCHOR_POINT_OP_TYPE_TELEPORT = 1;</code>
*/
ANCHOR_POINT_OP_TYPE_TELEPORT(1),
/**
* <code>ANCHOR_POINT_OP_TYPE_REMOVE = 2;</code>
*/
ANCHOR_POINT_OP_TYPE_REMOVE(2),
UNRECOGNIZED(-1),
;
/**
* <code>ANCHOR_POINT_OP_TYPE_NONE = 0;</code>
*/
public static final int ANCHOR_POINT_OP_TYPE_NONE_VALUE = 0;
/**
* <code>ANCHOR_POINT_OP_TYPE_TELEPORT = 1;</code>
*/
public static final int ANCHOR_POINT_OP_TYPE_TELEPORT_VALUE = 1;
/**
* <code>ANCHOR_POINT_OP_TYPE_REMOVE = 2;</code>
*/
public static final int ANCHOR_POINT_OP_TYPE_REMOVE_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 AnchorPointOpType 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 AnchorPointOpType forNumber(int value) {
switch (value) {
case 0: return ANCHOR_POINT_OP_TYPE_NONE;
case 1: return ANCHOR_POINT_OP_TYPE_TELEPORT;
case 2: return ANCHOR_POINT_OP_TYPE_REMOVE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AnchorPointOpType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AnchorPointOpType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AnchorPointOpType>() {
public AnchorPointOpType findValueByNumber(int number) {
return AnchorPointOpType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq.getDescriptor().getEnumTypes().get(0);
}
private static final AnchorPointOpType[] VALUES = values();
public static AnchorPointOpType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AnchorPointOpType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AnchorPointOpReq.AnchorPointOpType)
}
public static final int ANCHOR_POINT_ID_FIELD_NUMBER = 9;
private int anchorPointId_;
/**
* <code>uint32 anchor_point_id = 9;</code>
* @return The anchorPointId.
*/
@java.lang.Override
public int getAnchorPointId() {
return anchorPointId_;
}
public static final int ANCHOR_POINT_OP_TYPE_FIELD_NUMBER = 12;
private int anchorPointOpType_;
/**
* <code>uint32 anchor_point_op_type = 12;</code>
* @return The anchorPointOpType.
*/
@java.lang.Override
public int getAnchorPointOpType() {
return anchorPointOpType_;
}
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 (anchorPointId_ != 0) {
output.writeUInt32(9, anchorPointId_);
}
if (anchorPointOpType_ != 0) {
output.writeUInt32(12, anchorPointOpType_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (anchorPointId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, anchorPointId_);
}
if (anchorPointOpType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, anchorPointOpType_);
}
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.AnchorPointOpReqOuterClass.AnchorPointOpReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq other = (emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq) obj;
if (getAnchorPointId()
!= other.getAnchorPointId()) return false;
if (getAnchorPointOpType()
!= other.getAnchorPointOpType()) 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) + ANCHOR_POINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAnchorPointId();
hash = (37 * hash) + ANCHOR_POINT_OP_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getAnchorPointOpType();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq 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.AnchorPointOpReqOuterClass.AnchorPointOpReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq 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.AnchorPointOpReqOuterClass.AnchorPointOpReq parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq 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.AnchorPointOpReqOuterClass.AnchorPointOpReq parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq 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.AnchorPointOpReqOuterClass.AnchorPointOpReq parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq 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.AnchorPointOpReqOuterClass.AnchorPointOpReq 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>
* CmdId: 4257
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AnchorPointOpReq}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AnchorPointOpReq)
emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.internal_static_AnchorPointOpReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.internal_static_AnchorPointOpReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq.class, emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq.Builder.class);
}
// Construct using emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq.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();
anchorPointId_ = 0;
anchorPointOpType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.internal_static_AnchorPointOpReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq build() {
emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq buildPartial() {
emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq result = new emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq(this);
result.anchorPointId_ = anchorPointId_;
result.anchorPointOpType_ = anchorPointOpType_;
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.AnchorPointOpReqOuterClass.AnchorPointOpReq) {
return mergeFrom((emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq other) {
if (other == emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq.getDefaultInstance()) return this;
if (other.getAnchorPointId() != 0) {
setAnchorPointId(other.getAnchorPointId());
}
if (other.getAnchorPointOpType() != 0) {
setAnchorPointOpType(other.getAnchorPointOpType());
}
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.AnchorPointOpReqOuterClass.AnchorPointOpReq parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int anchorPointId_ ;
/**
* <code>uint32 anchor_point_id = 9;</code>
* @return The anchorPointId.
*/
@java.lang.Override
public int getAnchorPointId() {
return anchorPointId_;
}
/**
* <code>uint32 anchor_point_id = 9;</code>
* @param value The anchorPointId to set.
* @return This builder for chaining.
*/
public Builder setAnchorPointId(int value) {
anchorPointId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 anchor_point_id = 9;</code>
* @return This builder for chaining.
*/
public Builder clearAnchorPointId() {
anchorPointId_ = 0;
onChanged();
return this;
}
private int anchorPointOpType_ ;
/**
* <code>uint32 anchor_point_op_type = 12;</code>
* @return The anchorPointOpType.
*/
@java.lang.Override
public int getAnchorPointOpType() {
return anchorPointOpType_;
}
/**
* <code>uint32 anchor_point_op_type = 12;</code>
* @param value The anchorPointOpType to set.
* @return This builder for chaining.
*/
public Builder setAnchorPointOpType(int value) {
anchorPointOpType_ = value;
onChanged();
return this;
}
/**
* <code>uint32 anchor_point_op_type = 12;</code>
* @return This builder for chaining.
*/
public Builder clearAnchorPointOpType() {
anchorPointOpType_ = 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:AnchorPointOpReq)
}
// @@protoc_insertion_point(class_scope:AnchorPointOpReq)
private static final emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq();
}
public static emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AnchorPointOpReq>
PARSER = new com.google.protobuf.AbstractParser<AnchorPointOpReq>() {
@java.lang.Override
public AnchorPointOpReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AnchorPointOpReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<AnchorPointOpReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AnchorPointOpReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointOpReqOuterClass.AnchorPointOpReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AnchorPointOpReq_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AnchorPointOpReq_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\026AnchorPointOpReq.proto\"\301\001\n\020AnchorPoint" +
"OpReq\022\027\n\017anchor_point_id\030\t \001(\r\022\034\n\024anchor" +
"_point_op_type\030\014 \001(\r\"v\n\021AnchorPointOpTyp" +
"e\022\035\n\031ANCHOR_POINT_OP_TYPE_NONE\020\000\022!\n\035ANCH" +
"OR_POINT_OP_TYPE_TELEPORT\020\001\022\037\n\033ANCHOR_PO" +
"INT_OP_TYPE_REMOVE\020\002B\033\n\031emu.grasscutter." +
"net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_AnchorPointOpReq_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_AnchorPointOpReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AnchorPointOpReq_descriptor,
new java.lang.String[] { "AnchorPointId", "AnchorPointOpType", });
}
// @@protoc_insertion_point(outer_class_scope)
}
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AnchorPointOpRsp.proto
package emu.grasscutter.net.proto;
public final class AnchorPointOpRspOuterClass {
private AnchorPointOpRspOuterClass() {}
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 AnchorPointOpRspOrBuilder extends
// @@protoc_insertion_point(interface_extends:AnchorPointOpRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 5;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 anchor_point_id = 12;</code>
* @return The anchorPointId.
*/
int getAnchorPointId();
/**
* <code>uint32 anchor_point_op_type = 4;</code>
* @return The anchorPointOpType.
*/
int getAnchorPointOpType();
}
/**
* <pre>
* CmdId: 4252
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code AnchorPointOpRsp}
*/
public static final class AnchorPointOpRsp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AnchorPointOpRsp)
AnchorPointOpRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use AnchorPointOpRsp.newBuilder() to construct.
private AnchorPointOpRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AnchorPointOpRsp() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AnchorPointOpRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AnchorPointOpRsp(
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 32: {
anchorPointOpType_ = input.readUInt32();
break;
}
case 40: {
retcode_ = input.readInt32();
break;
}
case 96: {
anchorPointId_ = 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.AnchorPointOpRspOuterClass.internal_static_AnchorPointOpRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.internal_static_AnchorPointOpRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp.class, emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp.Builder.class);
}
public static final int RETCODE_FIELD_NUMBER = 5;
private int retcode_;
/**
* <code>int32 retcode = 5;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int ANCHOR_POINT_ID_FIELD_NUMBER = 12;
private int anchorPointId_;
/**
* <code>uint32 anchor_point_id = 12;</code>
* @return The anchorPointId.
*/
@java.lang.Override
public int getAnchorPointId() {
return anchorPointId_;
}
public static final int ANCHOR_POINT_OP_TYPE_FIELD_NUMBER = 4;
private int anchorPointOpType_;
/**
* <code>uint32 anchor_point_op_type = 4;</code>
* @return The anchorPointOpType.
*/
@java.lang.Override
public int getAnchorPointOpType() {
return anchorPointOpType_;
}
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 (anchorPointOpType_ != 0) {
output.writeUInt32(4, anchorPointOpType_);
}
if (retcode_ != 0) {
output.writeInt32(5, retcode_);
}
if (anchorPointId_ != 0) {
output.writeUInt32(12, anchorPointId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (anchorPointOpType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, anchorPointOpType_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, retcode_);
}
if (anchorPointId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, anchorPointId_);
}
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.AnchorPointOpRspOuterClass.AnchorPointOpRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp other = (emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp) obj;
if (getRetcode()
!= other.getRetcode()) return false;
if (getAnchorPointId()
!= other.getAnchorPointId()) return false;
if (getAnchorPointOpType()
!= other.getAnchorPointOpType()) 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) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + ANCHOR_POINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAnchorPointId();
hash = (37 * hash) + ANCHOR_POINT_OP_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getAnchorPointOpType();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp 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.AnchorPointOpRspOuterClass.AnchorPointOpRsp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp 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.AnchorPointOpRspOuterClass.AnchorPointOpRsp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp 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.AnchorPointOpRspOuterClass.AnchorPointOpRsp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp 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.AnchorPointOpRspOuterClass.AnchorPointOpRsp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp 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.AnchorPointOpRspOuterClass.AnchorPointOpRsp 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>
* CmdId: 4252
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code AnchorPointOpRsp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AnchorPointOpRsp)
emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.internal_static_AnchorPointOpRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.internal_static_AnchorPointOpRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp.class, emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp.Builder.class);
}
// Construct using emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp.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();
retcode_ = 0;
anchorPointId_ = 0;
anchorPointOpType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.internal_static_AnchorPointOpRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp build() {
emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp buildPartial() {
emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp result = new emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp(this);
result.retcode_ = retcode_;
result.anchorPointId_ = anchorPointId_;
result.anchorPointOpType_ = anchorPointOpType_;
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.AnchorPointOpRspOuterClass.AnchorPointOpRsp) {
return mergeFrom((emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp other) {
if (other == emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getAnchorPointId() != 0) {
setAnchorPointId(other.getAnchorPointId());
}
if (other.getAnchorPointOpType() != 0) {
setAnchorPointOpType(other.getAnchorPointOpType());
}
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.AnchorPointOpRspOuterClass.AnchorPointOpRsp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 5;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 5;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 5;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private int anchorPointId_ ;
/**
* <code>uint32 anchor_point_id = 12;</code>
* @return The anchorPointId.
*/
@java.lang.Override
public int getAnchorPointId() {
return anchorPointId_;
}
/**
* <code>uint32 anchor_point_id = 12;</code>
* @param value The anchorPointId to set.
* @return This builder for chaining.
*/
public Builder setAnchorPointId(int value) {
anchorPointId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 anchor_point_id = 12;</code>
* @return This builder for chaining.
*/
public Builder clearAnchorPointId() {
anchorPointId_ = 0;
onChanged();
return this;
}
private int anchorPointOpType_ ;
/**
* <code>uint32 anchor_point_op_type = 4;</code>
* @return The anchorPointOpType.
*/
@java.lang.Override
public int getAnchorPointOpType() {
return anchorPointOpType_;
}
/**
* <code>uint32 anchor_point_op_type = 4;</code>
* @param value The anchorPointOpType to set.
* @return This builder for chaining.
*/
public Builder setAnchorPointOpType(int value) {
anchorPointOpType_ = value;
onChanged();
return this;
}
/**
* <code>uint32 anchor_point_op_type = 4;</code>
* @return This builder for chaining.
*/
public Builder clearAnchorPointOpType() {
anchorPointOpType_ = 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:AnchorPointOpRsp)
}
// @@protoc_insertion_point(class_scope:AnchorPointOpRsp)
private static final emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp();
}
public static emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AnchorPointOpRsp>
PARSER = new com.google.protobuf.AbstractParser<AnchorPointOpRsp>() {
@java.lang.Override
public AnchorPointOpRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AnchorPointOpRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<AnchorPointOpRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AnchorPointOpRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnchorPointOpRspOuterClass.AnchorPointOpRsp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AnchorPointOpRsp_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AnchorPointOpRsp_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\026AnchorPointOpRsp.proto\"Z\n\020AnchorPointO" +
"pRsp\022\017\n\007retcode\030\005 \001(\005\022\027\n\017anchor_point_id" +
"\030\014 \001(\r\022\034\n\024anchor_point_op_type\030\004 \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_AnchorPointOpRsp_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_AnchorPointOpRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AnchorPointOpRsp_descriptor,
new java.lang.String[] { "Retcode", "AnchorPointId", "AnchorPointOpType", });
}
// @@protoc_insertion_point(outer_class_scope)
}
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AnimatorParameterValueInfo.proto
package emu.grasscutter.net.proto;
public final class AnimatorParameterValueInfoOuterClass {
private AnimatorParameterValueInfoOuterClass() {}
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 AnimatorParameterValueInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:AnimatorParameterValueInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 para_type = 1;</code>
* @return The paraType.
*/
int getParaType();
/**
* <code>int32 int_val = 2;</code>
* @return Whether the intVal field is set.
*/
boolean hasIntVal();
/**
* <code>int32 int_val = 2;</code>
* @return The intVal.
*/
int getIntVal();
/**
* <code>float float_val = 3;</code>
* @return Whether the floatVal field is set.
*/
boolean hasFloatVal();
/**
* <code>float float_val = 3;</code>
* @return The floatVal.
*/
float getFloatVal();
/**
* <code>bool bool_val = 4;</code>
* @return Whether the boolVal field is set.
*/
boolean hasBoolVal();
/**
* <code>bool bool_val = 4;</code>
* @return The boolVal.
*/
boolean getBoolVal();
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.ParaValCase getParaValCase();
}
/**
* Protobuf type {@code AnimatorParameterValueInfo}
*/
public static final class AnimatorParameterValueInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AnimatorParameterValueInfo)
AnimatorParameterValueInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use AnimatorParameterValueInfo.newBuilder() to construct.
private AnimatorParameterValueInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AnimatorParameterValueInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AnimatorParameterValueInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AnimatorParameterValueInfo(
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 8: {
paraType_ = input.readUInt32();
break;
}
case 16: {
paraValCase_ = 2;
paraVal_ = input.readInt32();
break;
}
case 29: {
paraValCase_ = 3;
paraVal_ = input.readFloat();
break;
}
case 32: {
paraValCase_ = 4;
paraVal_ = input.readBool();
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.AnimatorParameterValueInfoOuterClass.internal_static_AnimatorParameterValueInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.internal_static_AnimatorParameterValueInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.class, emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.Builder.class);
}
private int paraValCase_ = 0;
private java.lang.Object paraVal_;
public enum ParaValCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INT_VAL(2),
FLOAT_VAL(3),
BOOL_VAL(4),
PARAVAL_NOT_SET(0);
private final int value;
private ParaValCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ParaValCase valueOf(int value) {
return forNumber(value);
}
public static ParaValCase forNumber(int value) {
switch (value) {
case 2: return INT_VAL;
case 3: return FLOAT_VAL;
case 4: return BOOL_VAL;
case 0: return PARAVAL_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ParaValCase
getParaValCase() {
return ParaValCase.forNumber(
paraValCase_);
}
public static final int PARA_TYPE_FIELD_NUMBER = 1;
private int paraType_;
/**
* <code>uint32 para_type = 1;</code>
* @return The paraType.
*/
@java.lang.Override
public int getParaType() {
return paraType_;
}
public static final int INT_VAL_FIELD_NUMBER = 2;
/**
* <code>int32 int_val = 2;</code>
* @return Whether the intVal field is set.
*/
@java.lang.Override
public boolean hasIntVal() {
return paraValCase_ == 2;
}
/**
* <code>int32 int_val = 2;</code>
* @return The intVal.
*/
@java.lang.Override
public int getIntVal() {
if (paraValCase_ == 2) {
return (java.lang.Integer) paraVal_;
}
return 0;
}
public static final int FLOAT_VAL_FIELD_NUMBER = 3;
/**
* <code>float float_val = 3;</code>
* @return Whether the floatVal field is set.
*/
@java.lang.Override
public boolean hasFloatVal() {
return paraValCase_ == 3;
}
/**
* <code>float float_val = 3;</code>
* @return The floatVal.
*/
@java.lang.Override
public float getFloatVal() {
if (paraValCase_ == 3) {
return (java.lang.Float) paraVal_;
}
return 0F;
}
public static final int BOOL_VAL_FIELD_NUMBER = 4;
/**
* <code>bool bool_val = 4;</code>
* @return Whether the boolVal field is set.
*/
@java.lang.Override
public boolean hasBoolVal() {
return paraValCase_ == 4;
}
/**
* <code>bool bool_val = 4;</code>
* @return The boolVal.
*/
@java.lang.Override
public boolean getBoolVal() {
if (paraValCase_ == 4) {
return (java.lang.Boolean) paraVal_;
}
return false;
}
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 (paraType_ != 0) {
output.writeUInt32(1, paraType_);
}
if (paraValCase_ == 2) {
output.writeInt32(
2, (int)((java.lang.Integer) paraVal_));
}
if (paraValCase_ == 3) {
output.writeFloat(
3, (float)((java.lang.Float) paraVal_));
}
if (paraValCase_ == 4) {
output.writeBool(
4, (boolean)((java.lang.Boolean) paraVal_));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (paraType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, paraType_);
}
if (paraValCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(
2, (int)((java.lang.Integer) paraVal_));
}
if (paraValCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(
3, (float)((java.lang.Float) paraVal_));
}
if (paraValCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
4, (boolean)((java.lang.Boolean) paraVal_));
}
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.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo other = (emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo) obj;
if (getParaType()
!= other.getParaType()) return false;
if (!getParaValCase().equals(other.getParaValCase())) return false;
switch (paraValCase_) {
case 2:
if (getIntVal()
!= other.getIntVal()) return false;
break;
case 3:
if (java.lang.Float.floatToIntBits(getFloatVal())
!= java.lang.Float.floatToIntBits(
other.getFloatVal())) return false;
break;
case 4:
if (getBoolVal()
!= other.getBoolVal()) return false;
break;
case 0:
default:
}
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) + PARA_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getParaType();
switch (paraValCase_) {
case 2:
hash = (37 * hash) + INT_VAL_FIELD_NUMBER;
hash = (53 * hash) + getIntVal();
break;
case 3:
hash = (37 * hash) + FLOAT_VAL_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getFloatVal());
break;
case 4:
hash = (37 * hash) + BOOL_VAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBoolVal());
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo 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.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo 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.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo 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.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo 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.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo 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.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo 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;
}
/**
* Protobuf type {@code AnimatorParameterValueInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AnimatorParameterValueInfo)
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.internal_static_AnimatorParameterValueInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.internal_static_AnimatorParameterValueInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.class, emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.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();
paraType_ = 0;
paraValCase_ = 0;
paraVal_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.internal_static_AnimatorParameterValueInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo build() {
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo buildPartial() {
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo result = new emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo(this);
result.paraType_ = paraType_;
if (paraValCase_ == 2) {
result.paraVal_ = paraVal_;
}
if (paraValCase_ == 3) {
result.paraVal_ = paraVal_;
}
if (paraValCase_ == 4) {
result.paraVal_ = paraVal_;
}
result.paraValCase_ = paraValCase_;
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.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo) {
return mergeFrom((emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo other) {
if (other == emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.getDefaultInstance()) return this;
if (other.getParaType() != 0) {
setParaType(other.getParaType());
}
switch (other.getParaValCase()) {
case INT_VAL: {
setIntVal(other.getIntVal());
break;
}
case FLOAT_VAL: {
setFloatVal(other.getFloatVal());
break;
}
case BOOL_VAL: {
setBoolVal(other.getBoolVal());
break;
}
case PARAVAL_NOT_SET: {
break;
}
}
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.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int paraValCase_ = 0;
private java.lang.Object paraVal_;
public ParaValCase
getParaValCase() {
return ParaValCase.forNumber(
paraValCase_);
}
public Builder clearParaVal() {
paraValCase_ = 0;
paraVal_ = null;
onChanged();
return this;
}
private int paraType_ ;
/**
* <code>uint32 para_type = 1;</code>
* @return The paraType.
*/
@java.lang.Override
public int getParaType() {
return paraType_;
}
/**
* <code>uint32 para_type = 1;</code>
* @param value The paraType to set.
* @return This builder for chaining.
*/
public Builder setParaType(int value) {
paraType_ = value;
onChanged();
return this;
}
/**
* <code>uint32 para_type = 1;</code>
* @return This builder for chaining.
*/
public Builder clearParaType() {
paraType_ = 0;
onChanged();
return this;
}
/**
* <code>int32 int_val = 2;</code>
* @return Whether the intVal field is set.
*/
public boolean hasIntVal() {
return paraValCase_ == 2;
}
/**
* <code>int32 int_val = 2;</code>
* @return The intVal.
*/
public int getIntVal() {
if (paraValCase_ == 2) {
return (java.lang.Integer) paraVal_;
}
return 0;
}
/**
* <code>int32 int_val = 2;</code>
* @param value The intVal to set.
* @return This builder for chaining.
*/
public Builder setIntVal(int value) {
paraValCase_ = 2;
paraVal_ = value;
onChanged();
return this;
}
/**
* <code>int32 int_val = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIntVal() {
if (paraValCase_ == 2) {
paraValCase_ = 0;
paraVal_ = null;
onChanged();
}
return this;
}
/**
* <code>float float_val = 3;</code>
* @return Whether the floatVal field is set.
*/
public boolean hasFloatVal() {
return paraValCase_ == 3;
}
/**
* <code>float float_val = 3;</code>
* @return The floatVal.
*/
public float getFloatVal() {
if (paraValCase_ == 3) {
return (java.lang.Float) paraVal_;
}
return 0F;
}
/**
* <code>float float_val = 3;</code>
* @param value The floatVal to set.
* @return This builder for chaining.
*/
public Builder setFloatVal(float value) {
paraValCase_ = 3;
paraVal_ = value;
onChanged();
return this;
}
/**
* <code>float float_val = 3;</code>
* @return This builder for chaining.
*/
public Builder clearFloatVal() {
if (paraValCase_ == 3) {
paraValCase_ = 0;
paraVal_ = null;
onChanged();
}
return this;
}
/**
* <code>bool bool_val = 4;</code>
* @return Whether the boolVal field is set.
*/
public boolean hasBoolVal() {
return paraValCase_ == 4;
}
/**
* <code>bool bool_val = 4;</code>
* @return The boolVal.
*/
public boolean getBoolVal() {
if (paraValCase_ == 4) {
return (java.lang.Boolean) paraVal_;
}
return false;
}
/**
* <code>bool bool_val = 4;</code>
* @param value The boolVal to set.
* @return This builder for chaining.
*/
public Builder setBoolVal(boolean value) {
paraValCase_ = 4;
paraVal_ = value;
onChanged();
return this;
}
/**
* <code>bool bool_val = 4;</code>
* @return This builder for chaining.
*/
public Builder clearBoolVal() {
if (paraValCase_ == 4) {
paraValCase_ = 0;
paraVal_ = null;
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:AnimatorParameterValueInfo)
}
// @@protoc_insertion_point(class_scope:AnimatorParameterValueInfo)
private static final emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo();
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AnimatorParameterValueInfo>
PARSER = new com.google.protobuf.AbstractParser<AnimatorParameterValueInfo>() {
@java.lang.Override
public AnimatorParameterValueInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AnimatorParameterValueInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<AnimatorParameterValueInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AnimatorParameterValueInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AnimatorParameterValueInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AnimatorParameterValueInfo_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 AnimatorParameterValueInfo.proto\"w\n\032An" +
"imatorParameterValueInfo\022\021\n\tpara_type\030\001 " +
"\001(\r\022\021\n\007int_val\030\002 \001(\005H\000\022\023\n\tfloat_val\030\003 \001(" +
"\002H\000\022\022\n\010bool_val\030\004 \001(\010H\000B\n\n\010para_valB\033\n\031e" +
"mu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_AnimatorParameterValueInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_AnimatorParameterValueInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AnimatorParameterValueInfo_descriptor,
new java.lang.String[] { "ParaType", "IntVal", "FloatVal", "BoolVal", "ParaVal", });
}
// @@protoc_insertion_point(outer_class_scope)
}
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AnimatorParameterValueInfoPair.proto
package emu.grasscutter.net.proto;
public final class AnimatorParameterValueInfoPairOuterClass {
private AnimatorParameterValueInfoPairOuterClass() {}
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 AnimatorParameterValueInfoPairOrBuilder extends
// @@protoc_insertion_point(interface_extends:AnimatorParameterValueInfoPair)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 name_id = 1;</code>
* @return The nameId.
*/
int getNameId();
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
* @return Whether the animatorPara field is set.
*/
boolean hasAnimatorPara();
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
* @return The animatorPara.
*/
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo getAnimatorPara();
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
*/
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfoOrBuilder getAnimatorParaOrBuilder();
}
/**
* Protobuf type {@code AnimatorParameterValueInfoPair}
*/
public static final class AnimatorParameterValueInfoPair extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AnimatorParameterValueInfoPair)
AnimatorParameterValueInfoPairOrBuilder {
private static final long serialVersionUID = 0L;
// Use AnimatorParameterValueInfoPair.newBuilder() to construct.
private AnimatorParameterValueInfoPair(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AnimatorParameterValueInfoPair() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AnimatorParameterValueInfoPair();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AnimatorParameterValueInfoPair(
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 8: {
nameId_ = input.readInt32();
break;
}
case 18: {
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.Builder subBuilder = null;
if (animatorPara_ != null) {
subBuilder = animatorPara_.toBuilder();
}
animatorPara_ = input.readMessage(emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(animatorPara_);
animatorPara_ = 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.AnimatorParameterValueInfoPairOuterClass.internal_static_AnimatorParameterValueInfoPair_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.internal_static_AnimatorParameterValueInfoPair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair.class, emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair.Builder.class);
}
public static final int NAME_ID_FIELD_NUMBER = 1;
private int nameId_;
/**
* <code>int32 name_id = 1;</code>
* @return The nameId.
*/
@java.lang.Override
public int getNameId() {
return nameId_;
}
public static final int ANIMATOR_PARA_FIELD_NUMBER = 2;
private emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo animatorPara_;
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
* @return Whether the animatorPara field is set.
*/
@java.lang.Override
public boolean hasAnimatorPara() {
return animatorPara_ != null;
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
* @return The animatorPara.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo getAnimatorPara() {
return animatorPara_ == null ? emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.getDefaultInstance() : animatorPara_;
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfoOrBuilder getAnimatorParaOrBuilder() {
return getAnimatorPara();
}
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 (nameId_ != 0) {
output.writeInt32(1, nameId_);
}
if (animatorPara_ != null) {
output.writeMessage(2, getAnimatorPara());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (nameId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, nameId_);
}
if (animatorPara_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getAnimatorPara());
}
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.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair other = (emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair) obj;
if (getNameId()
!= other.getNameId()) return false;
if (hasAnimatorPara() != other.hasAnimatorPara()) return false;
if (hasAnimatorPara()) {
if (!getAnimatorPara()
.equals(other.getAnimatorPara())) 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) + NAME_ID_FIELD_NUMBER;
hash = (53 * hash) + getNameId();
if (hasAnimatorPara()) {
hash = (37 * hash) + ANIMATOR_PARA_FIELD_NUMBER;
hash = (53 * hash) + getAnimatorPara().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair 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.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair 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.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair 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.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair 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.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair 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.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair 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;
}
/**
* Protobuf type {@code AnimatorParameterValueInfoPair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AnimatorParameterValueInfoPair)
emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPairOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.internal_static_AnimatorParameterValueInfoPair_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.internal_static_AnimatorParameterValueInfoPair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair.class, emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair.Builder.class);
}
// Construct using emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair.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();
nameId_ = 0;
if (animatorParaBuilder_ == null) {
animatorPara_ = null;
} else {
animatorPara_ = null;
animatorParaBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.internal_static_AnimatorParameterValueInfoPair_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair build() {
emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair buildPartial() {
emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair result = new emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair(this);
result.nameId_ = nameId_;
if (animatorParaBuilder_ == null) {
result.animatorPara_ = animatorPara_;
} else {
result.animatorPara_ = animatorParaBuilder_.build();
}
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.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair) {
return mergeFrom((emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair other) {
if (other == emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair.getDefaultInstance()) return this;
if (other.getNameId() != 0) {
setNameId(other.getNameId());
}
if (other.hasAnimatorPara()) {
mergeAnimatorPara(other.getAnimatorPara());
}
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.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int nameId_ ;
/**
* <code>int32 name_id = 1;</code>
* @return The nameId.
*/
@java.lang.Override
public int getNameId() {
return nameId_;
}
/**
* <code>int32 name_id = 1;</code>
* @param value The nameId to set.
* @return This builder for chaining.
*/
public Builder setNameId(int value) {
nameId_ = value;
onChanged();
return this;
}
/**
* <code>int32 name_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearNameId() {
nameId_ = 0;
onChanged();
return this;
}
private emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo animatorPara_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo, emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.Builder, emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfoOrBuilder> animatorParaBuilder_;
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
* @return Whether the animatorPara field is set.
*/
public boolean hasAnimatorPara() {
return animatorParaBuilder_ != null || animatorPara_ != null;
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
* @return The animatorPara.
*/
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo getAnimatorPara() {
if (animatorParaBuilder_ == null) {
return animatorPara_ == null ? emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.getDefaultInstance() : animatorPara_;
} else {
return animatorParaBuilder_.getMessage();
}
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
*/
public Builder setAnimatorPara(emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo value) {
if (animatorParaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
animatorPara_ = value;
onChanged();
} else {
animatorParaBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
*/
public Builder setAnimatorPara(
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.Builder builderForValue) {
if (animatorParaBuilder_ == null) {
animatorPara_ = builderForValue.build();
onChanged();
} else {
animatorParaBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
*/
public Builder mergeAnimatorPara(emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo value) {
if (animatorParaBuilder_ == null) {
if (animatorPara_ != null) {
animatorPara_ =
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.newBuilder(animatorPara_).mergeFrom(value).buildPartial();
} else {
animatorPara_ = value;
}
onChanged();
} else {
animatorParaBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
*/
public Builder clearAnimatorPara() {
if (animatorParaBuilder_ == null) {
animatorPara_ = null;
onChanged();
} else {
animatorPara_ = null;
animatorParaBuilder_ = null;
}
return this;
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
*/
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.Builder getAnimatorParaBuilder() {
onChanged();
return getAnimatorParaFieldBuilder().getBuilder();
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
*/
public emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfoOrBuilder getAnimatorParaOrBuilder() {
if (animatorParaBuilder_ != null) {
return animatorParaBuilder_.getMessageOrBuilder();
} else {
return animatorPara_ == null ?
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.getDefaultInstance() : animatorPara_;
}
}
/**
* <code>.AnimatorParameterValueInfo animator_para = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo, emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.Builder, emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfoOrBuilder>
getAnimatorParaFieldBuilder() {
if (animatorParaBuilder_ == null) {
animatorParaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo, emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfo.Builder, emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.AnimatorParameterValueInfoOrBuilder>(
getAnimatorPara(),
getParentForChildren(),
isClean());
animatorPara_ = null;
}
return animatorParaBuilder_;
}
@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:AnimatorParameterValueInfoPair)
}
// @@protoc_insertion_point(class_scope:AnimatorParameterValueInfoPair)
private static final emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair();
}
public static emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AnimatorParameterValueInfoPair>
PARSER = new com.google.protobuf.AbstractParser<AnimatorParameterValueInfoPair>() {
@java.lang.Override
public AnimatorParameterValueInfoPair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AnimatorParameterValueInfoPair(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<AnimatorParameterValueInfoPair> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AnimatorParameterValueInfoPair> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.AnimatorParameterValueInfoPairOuterClass.AnimatorParameterValueInfoPair getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AnimatorParameterValueInfoPair_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AnimatorParameterValueInfoPair_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$AnimatorParameterValueInfoPair.proto\032 " +
"AnimatorParameterValueInfo.proto\"e\n\036Anim" +
"atorParameterValueInfoPair\022\017\n\007name_id\030\001 " +
"\001(\005\0222\n\ranimator_para\030\002 \001(\0132\033.AnimatorPar" +
"ameterValueInfoB\033\n\031emu.grasscutter.net.p" +
"rotob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.getDescriptor(),
});
internal_static_AnimatorParameterValueInfoPair_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_AnimatorParameterValueInfoPair_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AnimatorParameterValueInfoPair_descriptor,
new java.lang.String[] { "NameId", "AnimatorPara", });
emu.grasscutter.net.proto.AnimatorParameterValueInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment