// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AbilityAppliedModifier.proto
package emu.grasscutter.net.proto;
public final class AbilityAppliedModifierOuterClass {
private AbilityAppliedModifierOuterClass() {}
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 AbilityAppliedModifierOrBuilder
extends
// @@protoc_insertion_point(interface_extends:AbilityAppliedModifier)
com.google.protobuf.MessageOrBuilder {
/**
* int32 modifier_local_id = 1;
*
* @return The modifierLocalId.
*/
int getModifierLocalId();
/**
* uint32 parent_ability_entity_id = 2;
*
* @return The parentAbilityEntityId.
*/
int getParentAbilityEntityId();
/**
* .AbilityString parent_ability_name = 3;
*
* @return Whether the parentAbilityName field is set.
*/
boolean hasParentAbilityName();
/**
* .AbilityString parent_ability_name = 3;
*
* @return The parentAbilityName.
*/
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getParentAbilityName();
/** .AbilityString parent_ability_name = 3;
*/
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder
getParentAbilityNameOrBuilder();
/**
* .AbilityString parent_ability_override = 4;
*
* @return Whether the parentAbilityOverride field is set.
*/
boolean hasParentAbilityOverride();
/**
* .AbilityString parent_ability_override = 4;
*
* @return The parentAbilityOverride.
*/
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getParentAbilityOverride();
/** .AbilityString parent_ability_override = 4;
*/
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder
getParentAbilityOverrideOrBuilder();
/**
* uint32 instanced_ability_id = 5;
*
* @return The instancedAbilityId.
*/
int getInstancedAbilityId();
/**
* uint32 instanced_modifier_id = 6;
*
* @return The instancedModifierId.
*/
int getInstancedModifierId();
/**
* float exist_duration = 7;
*
* @return The existDuration.
*/
float getExistDuration();
/**
* .AbilityAttachedModifier attached_instanced_modifier = 8;
*
* @return Whether the attachedInstancedModifier field is set.
*/
boolean hasAttachedInstancedModifier();
/**
* .AbilityAttachedModifier attached_instanced_modifier = 8;
*
* @return The attachedInstancedModifier.
*/
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
getAttachedInstancedModifier();
/** .AbilityAttachedModifier attached_instanced_modifier = 8;
*/
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifierOrBuilder
getAttachedInstancedModifierOrBuilder();
/**
* uint32 apply_entity_id = 9;
*
* @return The applyEntityId.
*/
int getApplyEntityId();
/**
* bool is_attached_parent_ability = 10;
*
* @return The isAttachedParentAbility.
*/
boolean getIsAttachedParentAbility();
/**
* .ModifierDurability modifier_durability = 11;
*
* @return Whether the modifierDurability field is set.
*/
boolean hasModifierDurability();
/**
* .ModifierDurability modifier_durability = 11;
*
* @return The modifierDurability.
*/
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability
getModifierDurability();
/** .ModifierDurability modifier_durability = 11;
*/
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurabilityOrBuilder
getModifierDurabilityOrBuilder();
/**
* uint32 sbuff_uid = 12;
*
* @return The sbuffUid.
*/
int getSbuffUid();
/**
* bool is_serverbuff_modifier = 13;
*
* @return The isServerbuffModifier.
*/
boolean getIsServerbuffModifier();
}
/**
*
*
*
* Name: PAECICKHAKH ** * Protobuf type {@code AbilityAppliedModifier} */ public static final class AbilityAppliedModifier extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:AbilityAppliedModifier) AbilityAppliedModifierOrBuilder { private static final long serialVersionUID = 0L; // Use AbilityAppliedModifier.newBuilder() to construct. private AbilityAppliedModifier(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private AbilityAppliedModifier() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AbilityAppliedModifier(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AbilityAppliedModifier( 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: { modifierLocalId_ = input.readInt32(); break; } case 16: { parentAbilityEntityId_ = input.readUInt32(); break; } case 26: { emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder subBuilder = null; if (parentAbilityName_ != null) { subBuilder = parentAbilityName_.toBuilder(); } parentAbilityName_ = input.readMessage( emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parentAbilityName_); parentAbilityName_ = subBuilder.buildPartial(); } break; } case 34: { emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder subBuilder = null; if (parentAbilityOverride_ != null) { subBuilder = parentAbilityOverride_.toBuilder(); } parentAbilityOverride_ = input.readMessage( emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parentAbilityOverride_); parentAbilityOverride_ = subBuilder.buildPartial(); } break; } case 40: { instancedAbilityId_ = input.readUInt32(); break; } case 48: { instancedModifierId_ = input.readUInt32(); break; } case 61: { existDuration_ = input.readFloat(); break; } case 66: { emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier .Builder subBuilder = null; if (attachedInstancedModifier_ != null) { subBuilder = attachedInstancedModifier_.toBuilder(); } attachedInstancedModifier_ = input.readMessage( emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass .AbilityAttachedModifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(attachedInstancedModifier_); attachedInstancedModifier_ = subBuilder.buildPartial(); } break; } case 72: { applyEntityId_ = input.readUInt32(); break; } case 80: { isAttachedParentAbility_ = input.readBool(); break; } case 90: { emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability.Builder subBuilder = null; if (modifierDurability_ != null) { subBuilder = modifierDurability_.toBuilder(); } modifierDurability_ = input.readMessage( emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability .parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(modifierDurability_); modifierDurability_ = subBuilder.buildPartial(); } break; } case 96: { sbuffUid_ = input.readUInt32(); break; } case 104: { isServerbuffModifier_ = 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.AbilityAppliedModifierOuterClass .internal_static_AbilityAppliedModifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass .internal_static_AbilityAppliedModifier_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier .class, emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier .Builder.class); } public static final int MODIFIER_LOCAL_ID_FIELD_NUMBER = 1; private int modifierLocalId_; /** *
int32 modifier_local_id = 1;
*
* @return The modifierLocalId.
*/
@java.lang.Override
public int getModifierLocalId() {
return modifierLocalId_;
}
public static final int PARENT_ABILITY_ENTITY_ID_FIELD_NUMBER = 2;
private int parentAbilityEntityId_;
/**
* uint32 parent_ability_entity_id = 2;
*
* @return The parentAbilityEntityId.
*/
@java.lang.Override
public int getParentAbilityEntityId() {
return parentAbilityEntityId_;
}
public static final int PARENT_ABILITY_NAME_FIELD_NUMBER = 3;
private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString parentAbilityName_;
/**
* .AbilityString parent_ability_name = 3;
*
* @return Whether the parentAbilityName field is set.
*/
@java.lang.Override
public boolean hasParentAbilityName() {
return parentAbilityName_ != null;
}
/**
* .AbilityString parent_ability_name = 3;
*
* @return The parentAbilityName.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getParentAbilityName() {
return parentAbilityName_ == null
? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance()
: parentAbilityName_;
}
/** .AbilityString parent_ability_name = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder
getParentAbilityNameOrBuilder() {
return getParentAbilityName();
}
public static final int PARENT_ABILITY_OVERRIDE_FIELD_NUMBER = 4;
private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString parentAbilityOverride_;
/**
* .AbilityString parent_ability_override = 4;
*
* @return Whether the parentAbilityOverride field is set.
*/
@java.lang.Override
public boolean hasParentAbilityOverride() {
return parentAbilityOverride_ != null;
}
/**
* .AbilityString parent_ability_override = 4;
*
* @return The parentAbilityOverride.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString
getParentAbilityOverride() {
return parentAbilityOverride_ == null
? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance()
: parentAbilityOverride_;
}
/** .AbilityString parent_ability_override = 4;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder
getParentAbilityOverrideOrBuilder() {
return getParentAbilityOverride();
}
public static final int INSTANCED_ABILITY_ID_FIELD_NUMBER = 5;
private int instancedAbilityId_;
/**
* uint32 instanced_ability_id = 5;
*
* @return The instancedAbilityId.
*/
@java.lang.Override
public int getInstancedAbilityId() {
return instancedAbilityId_;
}
public static final int INSTANCED_MODIFIER_ID_FIELD_NUMBER = 6;
private int instancedModifierId_;
/**
* uint32 instanced_modifier_id = 6;
*
* @return The instancedModifierId.
*/
@java.lang.Override
public int getInstancedModifierId() {
return instancedModifierId_;
}
public static final int EXIST_DURATION_FIELD_NUMBER = 7;
private float existDuration_;
/**
* float exist_duration = 7;
*
* @return The existDuration.
*/
@java.lang.Override
public float getExistDuration() {
return existDuration_;
}
public static final int ATTACHED_INSTANCED_MODIFIER_FIELD_NUMBER = 8;
private emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
attachedInstancedModifier_;
/**
* .AbilityAttachedModifier attached_instanced_modifier = 8;
*
* @return Whether the attachedInstancedModifier field is set.
*/
@java.lang.Override
public boolean hasAttachedInstancedModifier() {
return attachedInstancedModifier_ != null;
}
/**
* .AbilityAttachedModifier attached_instanced_modifier = 8;
*
* @return The attachedInstancedModifier.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
getAttachedInstancedModifier() {
return attachedInstancedModifier_ == null
? emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
.getDefaultInstance()
: attachedInstancedModifier_;
}
/** .AbilityAttachedModifier attached_instanced_modifier = 8;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass
.AbilityAttachedModifierOrBuilder
getAttachedInstancedModifierOrBuilder() {
return getAttachedInstancedModifier();
}
public static final int APPLY_ENTITY_ID_FIELD_NUMBER = 9;
private int applyEntityId_;
/**
* uint32 apply_entity_id = 9;
*
* @return The applyEntityId.
*/
@java.lang.Override
public int getApplyEntityId() {
return applyEntityId_;
}
public static final int IS_ATTACHED_PARENT_ABILITY_FIELD_NUMBER = 10;
private boolean isAttachedParentAbility_;
/**
* bool is_attached_parent_ability = 10;
*
* @return The isAttachedParentAbility.
*/
@java.lang.Override
public boolean getIsAttachedParentAbility() {
return isAttachedParentAbility_;
}
public static final int MODIFIER_DURABILITY_FIELD_NUMBER = 11;
private emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability
modifierDurability_;
/**
* .ModifierDurability modifier_durability = 11;
*
* @return Whether the modifierDurability field is set.
*/
@java.lang.Override
public boolean hasModifierDurability() {
return modifierDurability_ != null;
}
/**
* .ModifierDurability modifier_durability = 11;
*
* @return The modifierDurability.
*/
@java.lang.Override
public emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability
getModifierDurability() {
return modifierDurability_ == null
? emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability
.getDefaultInstance()
: modifierDurability_;
}
/** .ModifierDurability modifier_durability = 11;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurabilityOrBuilder
getModifierDurabilityOrBuilder() {
return getModifierDurability();
}
public static final int SBUFF_UID_FIELD_NUMBER = 12;
private int sbuffUid_;
/**
* uint32 sbuff_uid = 12;
*
* @return The sbuffUid.
*/
@java.lang.Override
public int getSbuffUid() {
return sbuffUid_;
}
public static final int IS_SERVERBUFF_MODIFIER_FIELD_NUMBER = 13;
private boolean isServerbuffModifier_;
/**
* bool is_serverbuff_modifier = 13;
*
* @return The isServerbuffModifier.
*/
@java.lang.Override
public boolean getIsServerbuffModifier() {
return isServerbuffModifier_;
}
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 (modifierLocalId_ != 0) {
output.writeInt32(1, modifierLocalId_);
}
if (parentAbilityEntityId_ != 0) {
output.writeUInt32(2, parentAbilityEntityId_);
}
if (parentAbilityName_ != null) {
output.writeMessage(3, getParentAbilityName());
}
if (parentAbilityOverride_ != null) {
output.writeMessage(4, getParentAbilityOverride());
}
if (instancedAbilityId_ != 0) {
output.writeUInt32(5, instancedAbilityId_);
}
if (instancedModifierId_ != 0) {
output.writeUInt32(6, instancedModifierId_);
}
if (existDuration_ != 0F) {
output.writeFloat(7, existDuration_);
}
if (attachedInstancedModifier_ != null) {
output.writeMessage(8, getAttachedInstancedModifier());
}
if (applyEntityId_ != 0) {
output.writeUInt32(9, applyEntityId_);
}
if (isAttachedParentAbility_ != false) {
output.writeBool(10, isAttachedParentAbility_);
}
if (modifierDurability_ != null) {
output.writeMessage(11, getModifierDurability());
}
if (sbuffUid_ != 0) {
output.writeUInt32(12, sbuffUid_);
}
if (isServerbuffModifier_ != false) {
output.writeBool(13, isServerbuffModifier_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (modifierLocalId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, modifierLocalId_);
}
if (parentAbilityEntityId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(2, parentAbilityEntityId_);
}
if (parentAbilityName_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getParentAbilityName());
}
if (parentAbilityOverride_ != null) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(4, getParentAbilityOverride());
}
if (instancedAbilityId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, instancedAbilityId_);
}
if (instancedModifierId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, instancedModifierId_);
}
if (existDuration_ != 0F) {
size += com.google.protobuf.CodedOutputStream.computeFloatSize(7, existDuration_);
}
if (attachedInstancedModifier_ != null) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
8, getAttachedInstancedModifier());
}
if (applyEntityId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(9, applyEntityId_);
}
if (isAttachedParentAbility_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, isAttachedParentAbility_);
}
if (modifierDurability_ != null) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(11, getModifierDurability());
}
if (sbuffUid_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(12, sbuffUid_);
}
if (isServerbuffModifier_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, isServerbuffModifier_);
}
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.AbilityAppliedModifierOuterClass.AbilityAppliedModifier)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier other =
(emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier) obj;
if (getModifierLocalId() != other.getModifierLocalId()) return false;
if (getParentAbilityEntityId() != other.getParentAbilityEntityId()) return false;
if (hasParentAbilityName() != other.hasParentAbilityName()) return false;
if (hasParentAbilityName()) {
if (!getParentAbilityName().equals(other.getParentAbilityName())) return false;
}
if (hasParentAbilityOverride() != other.hasParentAbilityOverride()) return false;
if (hasParentAbilityOverride()) {
if (!getParentAbilityOverride().equals(other.getParentAbilityOverride())) return false;
}
if (getInstancedAbilityId() != other.getInstancedAbilityId()) return false;
if (getInstancedModifierId() != other.getInstancedModifierId()) return false;
if (java.lang.Float.floatToIntBits(getExistDuration())
!= java.lang.Float.floatToIntBits(other.getExistDuration())) return false;
if (hasAttachedInstancedModifier() != other.hasAttachedInstancedModifier()) return false;
if (hasAttachedInstancedModifier()) {
if (!getAttachedInstancedModifier().equals(other.getAttachedInstancedModifier()))
return false;
}
if (getApplyEntityId() != other.getApplyEntityId()) return false;
if (getIsAttachedParentAbility() != other.getIsAttachedParentAbility()) return false;
if (hasModifierDurability() != other.hasModifierDurability()) return false;
if (hasModifierDurability()) {
if (!getModifierDurability().equals(other.getModifierDurability())) return false;
}
if (getSbuffUid() != other.getSbuffUid()) return false;
if (getIsServerbuffModifier() != other.getIsServerbuffModifier()) 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) + MODIFIER_LOCAL_ID_FIELD_NUMBER;
hash = (53 * hash) + getModifierLocalId();
hash = (37 * hash) + PARENT_ABILITY_ENTITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getParentAbilityEntityId();
if (hasParentAbilityName()) {
hash = (37 * hash) + PARENT_ABILITY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getParentAbilityName().hashCode();
}
if (hasParentAbilityOverride()) {
hash = (37 * hash) + PARENT_ABILITY_OVERRIDE_FIELD_NUMBER;
hash = (53 * hash) + getParentAbilityOverride().hashCode();
}
hash = (37 * hash) + INSTANCED_ABILITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstancedAbilityId();
hash = (37 * hash) + INSTANCED_MODIFIER_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstancedModifierId();
hash = (37 * hash) + EXIST_DURATION_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(getExistDuration());
if (hasAttachedInstancedModifier()) {
hash = (37 * hash) + ATTACHED_INSTANCED_MODIFIER_FIELD_NUMBER;
hash = (53 * hash) + getAttachedInstancedModifier().hashCode();
}
hash = (37 * hash) + APPLY_ENTITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getApplyEntityId();
hash = (37 * hash) + IS_ATTACHED_PARENT_ABILITY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsAttachedParentAbility());
if (hasModifierDurability()) {
hash = (37 * hash) + MODIFIER_DURABILITY_FIELD_NUMBER;
hash = (53 * hash) + getModifierDurability().hashCode();
}
hash = (37 * hash) + SBUFF_UID_FIELD_NUMBER;
hash = (53 * hash) + getSbuffUid();
hash = (37 * hash) + IS_SERVERBUFF_MODIFIER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsServerbuffModifier());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
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.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
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.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
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.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
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.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
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.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
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: PAECICKHAKH ** * Protobuf type {@code AbilityAppliedModifier} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
int32 modifier_local_id = 1;
*
* @return The modifierLocalId.
*/
@java.lang.Override
public int getModifierLocalId() {
return modifierLocalId_;
}
/**
* int32 modifier_local_id = 1;
*
* @param value The modifierLocalId to set.
* @return This builder for chaining.
*/
public Builder setModifierLocalId(int value) {
modifierLocalId_ = value;
onChanged();
return this;
}
/**
* int32 modifier_local_id = 1;
*
* @return This builder for chaining.
*/
public Builder clearModifierLocalId() {
modifierLocalId_ = 0;
onChanged();
return this;
}
private int parentAbilityEntityId_;
/**
* uint32 parent_ability_entity_id = 2;
*
* @return The parentAbilityEntityId.
*/
@java.lang.Override
public int getParentAbilityEntityId() {
return parentAbilityEntityId_;
}
/**
* uint32 parent_ability_entity_id = 2;
*
* @param value The parentAbilityEntityId to set.
* @return This builder for chaining.
*/
public Builder setParentAbilityEntityId(int value) {
parentAbilityEntityId_ = value;
onChanged();
return this;
}
/**
* uint32 parent_ability_entity_id = 2;
*
* @return This builder for chaining.
*/
public Builder clearParentAbilityEntityId() {
parentAbilityEntityId_ = 0;
onChanged();
return this;
}
private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString parentAbilityName_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>
parentAbilityNameBuilder_;
/**
* .AbilityString parent_ability_name = 3;
*
* @return Whether the parentAbilityName field is set.
*/
public boolean hasParentAbilityName() {
return parentAbilityNameBuilder_ != null || parentAbilityName_ != null;
}
/**
* .AbilityString parent_ability_name = 3;
*
* @return The parentAbilityName.
*/
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString
getParentAbilityName() {
if (parentAbilityNameBuilder_ == null) {
return parentAbilityName_ == null
? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance()
: parentAbilityName_;
} else {
return parentAbilityNameBuilder_.getMessage();
}
}
/** .AbilityString parent_ability_name = 3;
*/
public Builder setParentAbilityName(
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
if (parentAbilityNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parentAbilityName_ = value;
onChanged();
} else {
parentAbilityNameBuilder_.setMessage(value);
}
return this;
}
/** .AbilityString parent_ability_name = 3;
*/
public Builder setParentAbilityName(
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder builderForValue) {
if (parentAbilityNameBuilder_ == null) {
parentAbilityName_ = builderForValue.build();
onChanged();
} else {
parentAbilityNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/** .AbilityString parent_ability_name = 3;
*/
public Builder mergeParentAbilityName(
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
if (parentAbilityNameBuilder_ == null) {
if (parentAbilityName_ != null) {
parentAbilityName_ =
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.newBuilder(
parentAbilityName_)
.mergeFrom(value)
.buildPartial();
} else {
parentAbilityName_ = value;
}
onChanged();
} else {
parentAbilityNameBuilder_.mergeFrom(value);
}
return this;
}
/** .AbilityString parent_ability_name = 3;
*/
public Builder clearParentAbilityName() {
if (parentAbilityNameBuilder_ == null) {
parentAbilityName_ = null;
onChanged();
} else {
parentAbilityName_ = null;
parentAbilityNameBuilder_ = null;
}
return this;
}
/** .AbilityString parent_ability_name = 3;
*/
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder
getParentAbilityNameBuilder() {
onChanged();
return getParentAbilityNameFieldBuilder().getBuilder();
}
/** .AbilityString parent_ability_name = 3;
*/
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder
getParentAbilityNameOrBuilder() {
if (parentAbilityNameBuilder_ != null) {
return parentAbilityNameBuilder_.getMessageOrBuilder();
} else {
return parentAbilityName_ == null
? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance()
: parentAbilityName_;
}
}
/** .AbilityString parent_ability_name = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>
getParentAbilityNameFieldBuilder() {
if (parentAbilityNameBuilder_ == null) {
parentAbilityNameBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>(
getParentAbilityName(), getParentForChildren(), isClean());
parentAbilityName_ = null;
}
return parentAbilityNameBuilder_;
}
private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString
parentAbilityOverride_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>
parentAbilityOverrideBuilder_;
/**
* .AbilityString parent_ability_override = 4;
*
* @return Whether the parentAbilityOverride field is set.
*/
public boolean hasParentAbilityOverride() {
return parentAbilityOverrideBuilder_ != null || parentAbilityOverride_ != null;
}
/**
* .AbilityString parent_ability_override = 4;
*
* @return The parentAbilityOverride.
*/
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString
getParentAbilityOverride() {
if (parentAbilityOverrideBuilder_ == null) {
return parentAbilityOverride_ == null
? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance()
: parentAbilityOverride_;
} else {
return parentAbilityOverrideBuilder_.getMessage();
}
}
/** .AbilityString parent_ability_override = 4;
*/
public Builder setParentAbilityOverride(
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
if (parentAbilityOverrideBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parentAbilityOverride_ = value;
onChanged();
} else {
parentAbilityOverrideBuilder_.setMessage(value);
}
return this;
}
/** .AbilityString parent_ability_override = 4;
*/
public Builder setParentAbilityOverride(
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder builderForValue) {
if (parentAbilityOverrideBuilder_ == null) {
parentAbilityOverride_ = builderForValue.build();
onChanged();
} else {
parentAbilityOverrideBuilder_.setMessage(builderForValue.build());
}
return this;
}
/** .AbilityString parent_ability_override = 4;
*/
public Builder mergeParentAbilityOverride(
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
if (parentAbilityOverrideBuilder_ == null) {
if (parentAbilityOverride_ != null) {
parentAbilityOverride_ =
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.newBuilder(
parentAbilityOverride_)
.mergeFrom(value)
.buildPartial();
} else {
parentAbilityOverride_ = value;
}
onChanged();
} else {
parentAbilityOverrideBuilder_.mergeFrom(value);
}
return this;
}
/** .AbilityString parent_ability_override = 4;
*/
public Builder clearParentAbilityOverride() {
if (parentAbilityOverrideBuilder_ == null) {
parentAbilityOverride_ = null;
onChanged();
} else {
parentAbilityOverride_ = null;
parentAbilityOverrideBuilder_ = null;
}
return this;
}
/** .AbilityString parent_ability_override = 4;
*/
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder
getParentAbilityOverrideBuilder() {
onChanged();
return getParentAbilityOverrideFieldBuilder().getBuilder();
}
/** .AbilityString parent_ability_override = 4;
*/
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder
getParentAbilityOverrideOrBuilder() {
if (parentAbilityOverrideBuilder_ != null) {
return parentAbilityOverrideBuilder_.getMessageOrBuilder();
} else {
return parentAbilityOverride_ == null
? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance()
: parentAbilityOverride_;
}
}
/** .AbilityString parent_ability_override = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>
getParentAbilityOverrideFieldBuilder() {
if (parentAbilityOverrideBuilder_ == null) {
parentAbilityOverrideBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder,
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>(
getParentAbilityOverride(), getParentForChildren(), isClean());
parentAbilityOverride_ = null;
}
return parentAbilityOverrideBuilder_;
}
private int instancedAbilityId_;
/**
* uint32 instanced_ability_id = 5;
*
* @return The instancedAbilityId.
*/
@java.lang.Override
public int getInstancedAbilityId() {
return instancedAbilityId_;
}
/**
* uint32 instanced_ability_id = 5;
*
* @param value The instancedAbilityId to set.
* @return This builder for chaining.
*/
public Builder setInstancedAbilityId(int value) {
instancedAbilityId_ = value;
onChanged();
return this;
}
/**
* uint32 instanced_ability_id = 5;
*
* @return This builder for chaining.
*/
public Builder clearInstancedAbilityId() {
instancedAbilityId_ = 0;
onChanged();
return this;
}
private int instancedModifierId_;
/**
* uint32 instanced_modifier_id = 6;
*
* @return The instancedModifierId.
*/
@java.lang.Override
public int getInstancedModifierId() {
return instancedModifierId_;
}
/**
* uint32 instanced_modifier_id = 6;
*
* @param value The instancedModifierId to set.
* @return This builder for chaining.
*/
public Builder setInstancedModifierId(int value) {
instancedModifierId_ = value;
onChanged();
return this;
}
/**
* uint32 instanced_modifier_id = 6;
*
* @return This builder for chaining.
*/
public Builder clearInstancedModifierId() {
instancedModifierId_ = 0;
onChanged();
return this;
}
private float existDuration_;
/**
* float exist_duration = 7;
*
* @return The existDuration.
*/
@java.lang.Override
public float getExistDuration() {
return existDuration_;
}
/**
* float exist_duration = 7;
*
* @param value The existDuration to set.
* @return This builder for chaining.
*/
public Builder setExistDuration(float value) {
existDuration_ = value;
onChanged();
return this;
}
/**
* float exist_duration = 7;
*
* @return This builder for chaining.
*/
public Builder clearExistDuration() {
existDuration_ = 0F;
onChanged();
return this;
}
private emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
attachedInstancedModifier_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier,
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
.Builder,
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass
.AbilityAttachedModifierOrBuilder>
attachedInstancedModifierBuilder_;
/**
* .AbilityAttachedModifier attached_instanced_modifier = 8;
*
* @return Whether the attachedInstancedModifier field is set.
*/
public boolean hasAttachedInstancedModifier() {
return attachedInstancedModifierBuilder_ != null || attachedInstancedModifier_ != null;
}
/**
* .AbilityAttachedModifier attached_instanced_modifier = 8;
*
* @return The attachedInstancedModifier.
*/
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
getAttachedInstancedModifier() {
if (attachedInstancedModifierBuilder_ == null) {
return attachedInstancedModifier_ == null
? emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
.getDefaultInstance()
: attachedInstancedModifier_;
} else {
return attachedInstancedModifierBuilder_.getMessage();
}
}
/** .AbilityAttachedModifier attached_instanced_modifier = 8;
*/
public Builder setAttachedInstancedModifier(
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
value) {
if (attachedInstancedModifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attachedInstancedModifier_ = value;
onChanged();
} else {
attachedInstancedModifierBuilder_.setMessage(value);
}
return this;
}
/** .AbilityAttachedModifier attached_instanced_modifier = 8;
*/
public Builder setAttachedInstancedModifier(
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
.Builder
builderForValue) {
if (attachedInstancedModifierBuilder_ == null) {
attachedInstancedModifier_ = builderForValue.build();
onChanged();
} else {
attachedInstancedModifierBuilder_.setMessage(builderForValue.build());
}
return this;
}
/** .AbilityAttachedModifier attached_instanced_modifier = 8;
*/
public Builder mergeAttachedInstancedModifier(
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
value) {
if (attachedInstancedModifierBuilder_ == null) {
if (attachedInstancedModifier_ != null) {
attachedInstancedModifier_ =
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
.newBuilder(attachedInstancedModifier_)
.mergeFrom(value)
.buildPartial();
} else {
attachedInstancedModifier_ = value;
}
onChanged();
} else {
attachedInstancedModifierBuilder_.mergeFrom(value);
}
return this;
}
/** .AbilityAttachedModifier attached_instanced_modifier = 8;
*/
public Builder clearAttachedInstancedModifier() {
if (attachedInstancedModifierBuilder_ == null) {
attachedInstancedModifier_ = null;
onChanged();
} else {
attachedInstancedModifier_ = null;
attachedInstancedModifierBuilder_ = null;
}
return this;
}
/** .AbilityAttachedModifier attached_instanced_modifier = 8;
*/
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
.Builder
getAttachedInstancedModifierBuilder() {
onChanged();
return getAttachedInstancedModifierFieldBuilder().getBuilder();
}
/** .AbilityAttachedModifier attached_instanced_modifier = 8;
*/
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass
.AbilityAttachedModifierOrBuilder
getAttachedInstancedModifierOrBuilder() {
if (attachedInstancedModifierBuilder_ != null) {
return attachedInstancedModifierBuilder_.getMessageOrBuilder();
} else {
return attachedInstancedModifier_ == null
? emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
.getDefaultInstance()
: attachedInstancedModifier_;
}
}
/** .AbilityAttachedModifier attached_instanced_modifier = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier,
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier
.Builder,
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass
.AbilityAttachedModifierOrBuilder>
getAttachedInstancedModifierFieldBuilder() {
if (attachedInstancedModifierBuilder_ == null) {
attachedInstancedModifierBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass
.AbilityAttachedModifier,
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass
.AbilityAttachedModifier.Builder,
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass
.AbilityAttachedModifierOrBuilder>(
getAttachedInstancedModifier(), getParentForChildren(), isClean());
attachedInstancedModifier_ = null;
}
return attachedInstancedModifierBuilder_;
}
private int applyEntityId_;
/**
* uint32 apply_entity_id = 9;
*
* @return The applyEntityId.
*/
@java.lang.Override
public int getApplyEntityId() {
return applyEntityId_;
}
/**
* uint32 apply_entity_id = 9;
*
* @param value The applyEntityId to set.
* @return This builder for chaining.
*/
public Builder setApplyEntityId(int value) {
applyEntityId_ = value;
onChanged();
return this;
}
/**
* uint32 apply_entity_id = 9;
*
* @return This builder for chaining.
*/
public Builder clearApplyEntityId() {
applyEntityId_ = 0;
onChanged();
return this;
}
private boolean isAttachedParentAbility_;
/**
* bool is_attached_parent_ability = 10;
*
* @return The isAttachedParentAbility.
*/
@java.lang.Override
public boolean getIsAttachedParentAbility() {
return isAttachedParentAbility_;
}
/**
* bool is_attached_parent_ability = 10;
*
* @param value The isAttachedParentAbility to set.
* @return This builder for chaining.
*/
public Builder setIsAttachedParentAbility(boolean value) {
isAttachedParentAbility_ = value;
onChanged();
return this;
}
/**
* bool is_attached_parent_ability = 10;
*
* @return This builder for chaining.
*/
public Builder clearIsAttachedParentAbility() {
isAttachedParentAbility_ = false;
onChanged();
return this;
}
private emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability
modifierDurability_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability,
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability.Builder,
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurabilityOrBuilder>
modifierDurabilityBuilder_;
/**
* .ModifierDurability modifier_durability = 11;
*
* @return Whether the modifierDurability field is set.
*/
public boolean hasModifierDurability() {
return modifierDurabilityBuilder_ != null || modifierDurability_ != null;
}
/**
* .ModifierDurability modifier_durability = 11;
*
* @return The modifierDurability.
*/
public emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability
getModifierDurability() {
if (modifierDurabilityBuilder_ == null) {
return modifierDurability_ == null
? emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability
.getDefaultInstance()
: modifierDurability_;
} else {
return modifierDurabilityBuilder_.getMessage();
}
}
/** .ModifierDurability modifier_durability = 11;
*/
public Builder setModifierDurability(
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability value) {
if (modifierDurabilityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifierDurability_ = value;
onChanged();
} else {
modifierDurabilityBuilder_.setMessage(value);
}
return this;
}
/** .ModifierDurability modifier_durability = 11;
*/
public Builder setModifierDurability(
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability.Builder
builderForValue) {
if (modifierDurabilityBuilder_ == null) {
modifierDurability_ = builderForValue.build();
onChanged();
} else {
modifierDurabilityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/** .ModifierDurability modifier_durability = 11;
*/
public Builder mergeModifierDurability(
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability value) {
if (modifierDurabilityBuilder_ == null) {
if (modifierDurability_ != null) {
modifierDurability_ =
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability
.newBuilder(modifierDurability_)
.mergeFrom(value)
.buildPartial();
} else {
modifierDurability_ = value;
}
onChanged();
} else {
modifierDurabilityBuilder_.mergeFrom(value);
}
return this;
}
/** .ModifierDurability modifier_durability = 11;
*/
public Builder clearModifierDurability() {
if (modifierDurabilityBuilder_ == null) {
modifierDurability_ = null;
onChanged();
} else {
modifierDurability_ = null;
modifierDurabilityBuilder_ = null;
}
return this;
}
/** .ModifierDurability modifier_durability = 11;
*/
public emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability.Builder
getModifierDurabilityBuilder() {
onChanged();
return getModifierDurabilityFieldBuilder().getBuilder();
}
/** .ModifierDurability modifier_durability = 11;
*/
public emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurabilityOrBuilder
getModifierDurabilityOrBuilder() {
if (modifierDurabilityBuilder_ != null) {
return modifierDurabilityBuilder_.getMessageOrBuilder();
} else {
return modifierDurability_ == null
? emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability
.getDefaultInstance()
: modifierDurability_;
}
}
/** .ModifierDurability modifier_durability = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability,
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability.Builder,
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurabilityOrBuilder>
getModifierDurabilityFieldBuilder() {
if (modifierDurabilityBuilder_ == null) {
modifierDurabilityBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability,
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.ModifierDurability.Builder,
emu.grasscutter.net.proto.ModifierDurabilityOuterClass
.ModifierDurabilityOrBuilder>(
getModifierDurability(), getParentForChildren(), isClean());
modifierDurability_ = null;
}
return modifierDurabilityBuilder_;
}
private int sbuffUid_;
/**
* uint32 sbuff_uid = 12;
*
* @return The sbuffUid.
*/
@java.lang.Override
public int getSbuffUid() {
return sbuffUid_;
}
/**
* uint32 sbuff_uid = 12;
*
* @param value The sbuffUid to set.
* @return This builder for chaining.
*/
public Builder setSbuffUid(int value) {
sbuffUid_ = value;
onChanged();
return this;
}
/**
* uint32 sbuff_uid = 12;
*
* @return This builder for chaining.
*/
public Builder clearSbuffUid() {
sbuffUid_ = 0;
onChanged();
return this;
}
private boolean isServerbuffModifier_;
/**
* bool is_serverbuff_modifier = 13;
*
* @return The isServerbuffModifier.
*/
@java.lang.Override
public boolean getIsServerbuffModifier() {
return isServerbuffModifier_;
}
/**
* bool is_serverbuff_modifier = 13;
*
* @param value The isServerbuffModifier to set.
* @return This builder for chaining.
*/
public Builder setIsServerbuffModifier(boolean value) {
isServerbuffModifier_ = value;
onChanged();
return this;
}
/**
* bool is_serverbuff_modifier = 13;
*
* @return This builder for chaining.
*/
public Builder clearIsServerbuffModifier() {
isServerbuffModifier_ = 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:AbilityAppliedModifier)
}
// @@protoc_insertion_point(class_scope:AbilityAppliedModifier)
private static final emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass
.AbilityAppliedModifier
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier();
}
public static emu.grasscutter.net.proto.AbilityAppliedModifierOuterClass.AbilityAppliedModifier
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser