Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AbilityInvokeEntry.proto
package emu.grasscutter.net.proto;
public final class AbilityInvokeEntryOuterClass {
private AbilityInvokeEntryOuterClass() {}
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 AbilityInvokeEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:AbilityInvokeEntry)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 forward_peer = 1;
* @return The forwardPeer.
*/
int getForwardPeer();
/**
* .AbilityInvokeEntryHead head = 13;
* @return Whether the head field is set.
*/
boolean hasHead();
/**
* .AbilityInvokeEntryHead head = 13;
* @return The head.
*/
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead getHead();
/**
* .AbilityInvokeEntryHead head = 13;
*/
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHeadOrBuilder getHeadOrBuilder();
/**
* .AbilityInvokeArgument argument_type = 12;
* @return The enum numeric value on the wire for argumentType.
*/
int getArgumentTypeValue();
/**
* .AbilityInvokeArgument argument_type = 12;
* @return The argumentType.
*/
emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument getArgumentType();
/**
* double total_tick_time = 10;
* @return The totalTickTime.
*/
double getTotalTickTime();
/**
* uint32 event_id = 2;
* @return The eventId.
*/
int getEventId();
/**
* .ForwardType forward_type = 14;
* @return The enum numeric value on the wire for forwardType.
*/
int getForwardTypeValue();
/**
* .ForwardType forward_type = 14;
* @return The forwardType.
*/
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType();
/**
* uint32 entity_id = 9;
* @return The entityId.
*/
int getEntityId();
/**
* bytes ability_data = 6;
* @return The abilityData.
*/
com.google.protobuf.ByteString getAbilityData();
/**
* bool is_ignore_auth = 4;
* @return The isIgnoreAuth.
*/
boolean getIsIgnoreAuth();
}
/**
*
* Name: KBNDDMHEAAB
*
*
* Protobuf type {@code AbilityInvokeEntry}
*/
public static final class AbilityInvokeEntry extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AbilityInvokeEntry)
AbilityInvokeEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use AbilityInvokeEntry.newBuilder() to construct.
private AbilityInvokeEntry(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AbilityInvokeEntry() {
argumentType_ = 0;
forwardType_ = 0;
abilityData_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AbilityInvokeEntry();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AbilityInvokeEntry(
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: {
forwardPeer_ = input.readUInt32();
break;
}
case 16: {
eventId_ = input.readUInt32();
break;
}
case 32: {
isIgnoreAuth_ = input.readBool();
break;
}
case 50: {
abilityData_ = input.readBytes();
break;
}
case 72: {
entityId_ = input.readUInt32();
break;
}
case 81: {
totalTickTime_ = input.readDouble();
break;
}
case 96: {
int rawValue = input.readEnum();
argumentType_ = rawValue;
break;
}
case 106: {
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.Builder subBuilder = null;
if (head_ != null) {
subBuilder = head_.toBuilder();
}
head_ = input.readMessage(emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(head_);
head_ = subBuilder.buildPartial();
}
break;
}
case 112: {
int rawValue = input.readEnum();
forwardType_ = rawValue;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.internal_static_AbilityInvokeEntry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.internal_static_AbilityInvokeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.class, emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.Builder.class);
}
public static final int FORWARD_PEER_FIELD_NUMBER = 1;
private int forwardPeer_;
/**
* uint32 forward_peer = 1;
* @return The forwardPeer.
*/
@java.lang.Override
public int getForwardPeer() {
return forwardPeer_;
}
public static final int HEAD_FIELD_NUMBER = 13;
private emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead head_;
/**
* .AbilityInvokeEntryHead head = 13;
* @return Whether the head field is set.
*/
@java.lang.Override
public boolean hasHead() {
return head_ != null;
}
/**
* .AbilityInvokeEntryHead head = 13;
* @return The head.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead getHead() {
return head_ == null ? emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.getDefaultInstance() : head_;
}
/**
* .AbilityInvokeEntryHead head = 13;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHeadOrBuilder getHeadOrBuilder() {
return getHead();
}
public static final int ARGUMENT_TYPE_FIELD_NUMBER = 12;
private int argumentType_;
/**
* .AbilityInvokeArgument argument_type = 12;
* @return The enum numeric value on the wire for argumentType.
*/
@java.lang.Override public int getArgumentTypeValue() {
return argumentType_;
}
/**
* .AbilityInvokeArgument argument_type = 12;
* @return The argumentType.
*/
@java.lang.Override public emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument getArgumentType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument result = emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument.valueOf(argumentType_);
return result == null ? emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument.UNRECOGNIZED : result;
}
public static final int TOTAL_TICK_TIME_FIELD_NUMBER = 10;
private double totalTickTime_;
/**
* double total_tick_time = 10;
* @return The totalTickTime.
*/
@java.lang.Override
public double getTotalTickTime() {
return totalTickTime_;
}
public static final int EVENT_ID_FIELD_NUMBER = 2;
private int eventId_;
/**
* uint32 event_id = 2;
* @return The eventId.
*/
@java.lang.Override
public int getEventId() {
return eventId_;
}
public static final int FORWARD_TYPE_FIELD_NUMBER = 14;
private int forwardType_;
/**
* .ForwardType forward_type = 14;
* @return The enum numeric value on the wire for forwardType.
*/
@java.lang.Override public int getForwardTypeValue() {
return forwardType_;
}
/**
* .ForwardType forward_type = 14;
* @return The forwardType.
*/
@java.lang.Override public emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType result = emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.valueOf(forwardType_);
return result == null ? emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.UNRECOGNIZED : result;
}
public static final int ENTITY_ID_FIELD_NUMBER = 9;
private int entityId_;
/**
* uint32 entity_id = 9;
* @return The entityId.
*/
@java.lang.Override
public int getEntityId() {
return entityId_;
}
public static final int ABILITY_DATA_FIELD_NUMBER = 6;
private com.google.protobuf.ByteString abilityData_;
/**
* bytes ability_data = 6;
* @return The abilityData.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAbilityData() {
return abilityData_;
}
public static final int IS_IGNORE_AUTH_FIELD_NUMBER = 4;
private boolean isIgnoreAuth_;
/**
* bool is_ignore_auth = 4;
* @return The isIgnoreAuth.
*/
@java.lang.Override
public boolean getIsIgnoreAuth() {
return isIgnoreAuth_;
}
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 (forwardPeer_ != 0) {
output.writeUInt32(1, forwardPeer_);
}
if (eventId_ != 0) {
output.writeUInt32(2, eventId_);
}
if (isIgnoreAuth_ != false) {
output.writeBool(4, isIgnoreAuth_);
}
if (!abilityData_.isEmpty()) {
output.writeBytes(6, abilityData_);
}
if (entityId_ != 0) {
output.writeUInt32(9, entityId_);
}
if (totalTickTime_ != 0D) {
output.writeDouble(10, totalTickTime_);
}
if (argumentType_ != emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument.ABILITY_INVOKE_ARGUMENT_NONE.getNumber()) {
output.writeEnum(12, argumentType_);
}
if (head_ != null) {
output.writeMessage(13, getHead());
}
if (forwardType_ != emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.FORWARD_TYPE_LOCAL.getNumber()) {
output.writeEnum(14, forwardType_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (forwardPeer_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, forwardPeer_);
}
if (eventId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, eventId_);
}
if (isIgnoreAuth_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, isIgnoreAuth_);
}
if (!abilityData_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, abilityData_);
}
if (entityId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, entityId_);
}
if (totalTickTime_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(10, totalTickTime_);
}
if (argumentType_ != emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument.ABILITY_INVOKE_ARGUMENT_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(12, argumentType_);
}
if (head_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getHead());
}
if (forwardType_ != emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.FORWARD_TYPE_LOCAL.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(14, forwardType_);
}
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.AbilityInvokeEntryOuterClass.AbilityInvokeEntry)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry other = (emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry) obj;
if (getForwardPeer()
!= other.getForwardPeer()) return false;
if (hasHead() != other.hasHead()) return false;
if (hasHead()) {
if (!getHead()
.equals(other.getHead())) return false;
}
if (argumentType_ != other.argumentType_) return false;
if (java.lang.Double.doubleToLongBits(getTotalTickTime())
!= java.lang.Double.doubleToLongBits(
other.getTotalTickTime())) return false;
if (getEventId()
!= other.getEventId()) return false;
if (forwardType_ != other.forwardType_) return false;
if (getEntityId()
!= other.getEntityId()) return false;
if (!getAbilityData()
.equals(other.getAbilityData())) return false;
if (getIsIgnoreAuth()
!= other.getIsIgnoreAuth()) 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) + FORWARD_PEER_FIELD_NUMBER;
hash = (53 * hash) + getForwardPeer();
if (hasHead()) {
hash = (37 * hash) + HEAD_FIELD_NUMBER;
hash = (53 * hash) + getHead().hashCode();
}
hash = (37 * hash) + ARGUMENT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + argumentType_;
hash = (37 * hash) + TOTAL_TICK_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getTotalTickTime()));
hash = (37 * hash) + EVENT_ID_FIELD_NUMBER;
hash = (53 * hash) + getEventId();
hash = (37 * hash) + FORWARD_TYPE_FIELD_NUMBER;
hash = (53 * hash) + forwardType_;
hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getEntityId();
hash = (37 * hash) + ABILITY_DATA_FIELD_NUMBER;
hash = (53 * hash) + getAbilityData().hashCode();
hash = (37 * hash) + IS_IGNORE_AUTH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsIgnoreAuth());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry 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.AbilityInvokeEntryOuterClass.AbilityInvokeEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry 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.AbilityInvokeEntryOuterClass.AbilityInvokeEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry 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.AbilityInvokeEntryOuterClass.AbilityInvokeEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry 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.AbilityInvokeEntryOuterClass.AbilityInvokeEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry 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.AbilityInvokeEntryOuterClass.AbilityInvokeEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Name: KBNDDMHEAAB
*
*
* Protobuf type {@code AbilityInvokeEntry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AbilityInvokeEntry)
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.internal_static_AbilityInvokeEntry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.internal_static_AbilityInvokeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.class, emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.Builder.class);
}
// Construct using emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.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();
forwardPeer_ = 0;
if (headBuilder_ == null) {
head_ = null;
} else {
head_ = null;
headBuilder_ = null;
}
argumentType_ = 0;
totalTickTime_ = 0D;
eventId_ = 0;
forwardType_ = 0;
entityId_ = 0;
abilityData_ = com.google.protobuf.ByteString.EMPTY;
isIgnoreAuth_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.internal_static_AbilityInvokeEntry_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry build() {
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry buildPartial() {
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry result = new emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry(this);
result.forwardPeer_ = forwardPeer_;
if (headBuilder_ == null) {
result.head_ = head_;
} else {
result.head_ = headBuilder_.build();
}
result.argumentType_ = argumentType_;
result.totalTickTime_ = totalTickTime_;
result.eventId_ = eventId_;
result.forwardType_ = forwardType_;
result.entityId_ = entityId_;
result.abilityData_ = abilityData_;
result.isIgnoreAuth_ = isIgnoreAuth_;
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.AbilityInvokeEntryOuterClass.AbilityInvokeEntry) {
return mergeFrom((emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry other) {
if (other == emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.getDefaultInstance()) return this;
if (other.getForwardPeer() != 0) {
setForwardPeer(other.getForwardPeer());
}
if (other.hasHead()) {
mergeHead(other.getHead());
}
if (other.argumentType_ != 0) {
setArgumentTypeValue(other.getArgumentTypeValue());
}
if (other.getTotalTickTime() != 0D) {
setTotalTickTime(other.getTotalTickTime());
}
if (other.getEventId() != 0) {
setEventId(other.getEventId());
}
if (other.forwardType_ != 0) {
setForwardTypeValue(other.getForwardTypeValue());
}
if (other.getEntityId() != 0) {
setEntityId(other.getEntityId());
}
if (other.getAbilityData() != com.google.protobuf.ByteString.EMPTY) {
setAbilityData(other.getAbilityData());
}
if (other.getIsIgnoreAuth() != false) {
setIsIgnoreAuth(other.getIsIgnoreAuth());
}
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.AbilityInvokeEntryOuterClass.AbilityInvokeEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int forwardPeer_ ;
/**
* uint32 forward_peer = 1;
* @return The forwardPeer.
*/
@java.lang.Override
public int getForwardPeer() {
return forwardPeer_;
}
/**
* uint32 forward_peer = 1;
* @param value The forwardPeer to set.
* @return This builder for chaining.
*/
public Builder setForwardPeer(int value) {
forwardPeer_ = value;
onChanged();
return this;
}
/**
* uint32 forward_peer = 1;
* @return This builder for chaining.
*/
public Builder clearForwardPeer() {
forwardPeer_ = 0;
onChanged();
return this;
}
private emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead head_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead, emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.Builder, emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHeadOrBuilder> headBuilder_;
/**
* .AbilityInvokeEntryHead head = 13;
* @return Whether the head field is set.
*/
public boolean hasHead() {
return headBuilder_ != null || head_ != null;
}
/**
* .AbilityInvokeEntryHead head = 13;
* @return The head.
*/
public emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead getHead() {
if (headBuilder_ == null) {
return head_ == null ? emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.getDefaultInstance() : head_;
} else {
return headBuilder_.getMessage();
}
}
/**
* .AbilityInvokeEntryHead head = 13;
*/
public Builder setHead(emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead value) {
if (headBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
head_ = value;
onChanged();
} else {
headBuilder_.setMessage(value);
}
return this;
}
/**
* .AbilityInvokeEntryHead head = 13;
*/
public Builder setHead(
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.Builder builderForValue) {
if (headBuilder_ == null) {
head_ = builderForValue.build();
onChanged();
} else {
headBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .AbilityInvokeEntryHead head = 13;
*/
public Builder mergeHead(emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead value) {
if (headBuilder_ == null) {
if (head_ != null) {
head_ =
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.newBuilder(head_).mergeFrom(value).buildPartial();
} else {
head_ = value;
}
onChanged();
} else {
headBuilder_.mergeFrom(value);
}
return this;
}
/**
* .AbilityInvokeEntryHead head = 13;
*/
public Builder clearHead() {
if (headBuilder_ == null) {
head_ = null;
onChanged();
} else {
head_ = null;
headBuilder_ = null;
}
return this;
}
/**
* .AbilityInvokeEntryHead head = 13;
*/
public emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.Builder getHeadBuilder() {
onChanged();
return getHeadFieldBuilder().getBuilder();
}
/**
* .AbilityInvokeEntryHead head = 13;
*/
public emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHeadOrBuilder getHeadOrBuilder() {
if (headBuilder_ != null) {
return headBuilder_.getMessageOrBuilder();
} else {
return head_ == null ?
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.getDefaultInstance() : head_;
}
}
/**
* .AbilityInvokeEntryHead head = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead, emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.Builder, emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHeadOrBuilder>
getHeadFieldBuilder() {
if (headBuilder_ == null) {
headBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead, emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHead.Builder, emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.AbilityInvokeEntryHeadOrBuilder>(
getHead(),
getParentForChildren(),
isClean());
head_ = null;
}
return headBuilder_;
}
private int argumentType_ = 0;
/**
* .AbilityInvokeArgument argument_type = 12;
* @return The enum numeric value on the wire for argumentType.
*/
@java.lang.Override public int getArgumentTypeValue() {
return argumentType_;
}
/**
* .AbilityInvokeArgument argument_type = 12;
* @param value The enum numeric value on the wire for argumentType to set.
* @return This builder for chaining.
*/
public Builder setArgumentTypeValue(int value) {
argumentType_ = value;
onChanged();
return this;
}
/**
* .AbilityInvokeArgument argument_type = 12;
* @return The argumentType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument getArgumentType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument result = emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument.valueOf(argumentType_);
return result == null ? emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument.UNRECOGNIZED : result;
}
/**
* .AbilityInvokeArgument argument_type = 12;
* @param value The argumentType to set.
* @return This builder for chaining.
*/
public Builder setArgumentType(emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.AbilityInvokeArgument value) {
if (value == null) {
throw new NullPointerException();
}
argumentType_ = value.getNumber();
onChanged();
return this;
}
/**
* .AbilityInvokeArgument argument_type = 12;
* @return This builder for chaining.
*/
public Builder clearArgumentType() {
argumentType_ = 0;
onChanged();
return this;
}
private double totalTickTime_ ;
/**
* double total_tick_time = 10;
* @return The totalTickTime.
*/
@java.lang.Override
public double getTotalTickTime() {
return totalTickTime_;
}
/**
* double total_tick_time = 10;
* @param value The totalTickTime to set.
* @return This builder for chaining.
*/
public Builder setTotalTickTime(double value) {
totalTickTime_ = value;
onChanged();
return this;
}
/**
* double total_tick_time = 10;
* @return This builder for chaining.
*/
public Builder clearTotalTickTime() {
totalTickTime_ = 0D;
onChanged();
return this;
}
private int eventId_ ;
/**
* uint32 event_id = 2;
* @return The eventId.
*/
@java.lang.Override
public int getEventId() {
return eventId_;
}
/**
* uint32 event_id = 2;
* @param value The eventId to set.
* @return This builder for chaining.
*/
public Builder setEventId(int value) {
eventId_ = value;
onChanged();
return this;
}
/**
* uint32 event_id = 2;
* @return This builder for chaining.
*/
public Builder clearEventId() {
eventId_ = 0;
onChanged();
return this;
}
private int forwardType_ = 0;
/**
* .ForwardType forward_type = 14;
* @return The enum numeric value on the wire for forwardType.
*/
@java.lang.Override public int getForwardTypeValue() {
return forwardType_;
}
/**
* .ForwardType forward_type = 14;
* @param value The enum numeric value on the wire for forwardType to set.
* @return This builder for chaining.
*/
public Builder setForwardTypeValue(int value) {
forwardType_ = value;
onChanged();
return this;
}
/**
* .ForwardType forward_type = 14;
* @return The forwardType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType getForwardType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType result = emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.valueOf(forwardType_);
return result == null ? emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType.UNRECOGNIZED : result;
}
/**
* .ForwardType forward_type = 14;
* @param value The forwardType to set.
* @return This builder for chaining.
*/
public Builder setForwardType(emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType value) {
if (value == null) {
throw new NullPointerException();
}
forwardType_ = value.getNumber();
onChanged();
return this;
}
/**
* .ForwardType forward_type = 14;
* @return This builder for chaining.
*/
public Builder clearForwardType() {
forwardType_ = 0;
onChanged();
return this;
}
private int entityId_ ;
/**
* uint32 entity_id = 9;
* @return The entityId.
*/
@java.lang.Override
public int getEntityId() {
return entityId_;
}
/**
* uint32 entity_id = 9;
* @param value The entityId to set.
* @return This builder for chaining.
*/
public Builder setEntityId(int value) {
entityId_ = value;
onChanged();
return this;
}
/**
* uint32 entity_id = 9;
* @return This builder for chaining.
*/
public Builder clearEntityId() {
entityId_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString abilityData_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes ability_data = 6;
* @return The abilityData.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAbilityData() {
return abilityData_;
}
/**
* bytes ability_data = 6;
* @param value The abilityData to set.
* @return This builder for chaining.
*/
public Builder setAbilityData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
abilityData_ = value;
onChanged();
return this;
}
/**
* bytes ability_data = 6;
* @return This builder for chaining.
*/
public Builder clearAbilityData() {
abilityData_ = getDefaultInstance().getAbilityData();
onChanged();
return this;
}
private boolean isIgnoreAuth_ ;
/**
* bool is_ignore_auth = 4;
* @return The isIgnoreAuth.
*/
@java.lang.Override
public boolean getIsIgnoreAuth() {
return isIgnoreAuth_;
}
/**
* bool is_ignore_auth = 4;
* @param value The isIgnoreAuth to set.
* @return This builder for chaining.
*/
public Builder setIsIgnoreAuth(boolean value) {
isIgnoreAuth_ = value;
onChanged();
return this;
}
/**
* bool is_ignore_auth = 4;
* @return This builder for chaining.
*/
public Builder clearIsIgnoreAuth() {
isIgnoreAuth_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AbilityInvokeEntry)
}
// @@protoc_insertion_point(class_scope:AbilityInvokeEntry)
private static final emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry();
}
public static emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AbilityInvokeEntry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AbilityInvokeEntry(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AbilityInvokeEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AbilityInvokeEntry_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\030AbilityInvokeEntry.proto\032\033AbilityInvok" +
"eArgument.proto\032\034AbilityInvokeEntryHead." +
"proto\032\021ForwardType.proto\"\220\002\n\022AbilityInvo" +
"keEntry\022\024\n\014forward_peer\030\001 \001(\r\022%\n\004head\030\r " +
"\001(\0132\027.AbilityInvokeEntryHead\022-\n\rargument" +
"_type\030\014 \001(\0162\026.AbilityInvokeArgument\022\027\n\017t" +
"otal_tick_time\030\n \001(\001\022\020\n\010event_id\030\002 \001(\r\022\"" +
"\n\014forward_type\030\016 \001(\0162\014.ForwardType\022\021\n\ten" +
"tity_id\030\t \001(\r\022\024\n\014ability_data\030\006 \001(\014\022\026\n\016i" +
"s_ignore_auth\030\004 \001(\010B\033\n\031emu.grasscutter.n" +
"et.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.getDescriptor(),
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.getDescriptor(),
emu.grasscutter.net.proto.ForwardTypeOuterClass.getDescriptor(),
});
internal_static_AbilityInvokeEntry_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_AbilityInvokeEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AbilityInvokeEntry_descriptor,
new java.lang.String[] { "ForwardPeer", "Head", "ArgumentType", "TotalTickTime", "EventId", "ForwardType", "EntityId", "AbilityData", "IsIgnoreAuth", });
emu.grasscutter.net.proto.AbilityInvokeArgumentOuterClass.getDescriptor();
emu.grasscutter.net.proto.AbilityInvokeEntryHeadOuterClass.getDescriptor();
emu.grasscutter.net.proto.ForwardTypeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}