// Generated by the protocol buffer compiler. DO NOT EDIT! // source: LuaEnvironmentEffectNotify.proto package emu.grasscutter.net.proto; public final class LuaEnvironmentEffectNotifyOuterClass { private LuaEnvironmentEffectNotifyOuterClass() {} 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 LuaEnvironmentEffectNotifyOrBuilder extends // @@protoc_insertion_point(interface_extends:LuaEnvironmentEffectNotify) com.google.protobuf.MessageOrBuilder { /** * string effect_alias = 5; * @return The effectAlias. */ java.lang.String getEffectAlias(); /** * string effect_alias = 5; * @return The bytes for effectAlias. */ com.google.protobuf.ByteString getEffectAliasBytes(); /** * uint32 type = 10; * @return The type. */ int getType(); /** * repeated int32 int_param_list = 11; * @return A list containing the intParamList. */ java.util.List getIntParamListList(); /** * repeated int32 int_param_list = 11; * @return The count of intParamList. */ int getIntParamListCount(); /** * repeated int32 int_param_list = 11; * @param index The index of the element to return. * @return The intParamList at the given index. */ int getIntParamList(int index); /** * repeated float float_param_list = 3; * @return A list containing the floatParamList. */ java.util.List getFloatParamListList(); /** * repeated float float_param_list = 3; * @return The count of floatParamList. */ int getFloatParamListCount(); /** * repeated float float_param_list = 3; * @param index The index of the element to return. * @return The floatParamList at the given index. */ float getFloatParamList(int index); } /** *
   * CmdId: 3994
   * Obf: KEJHFACJGNI
   * 
* * Protobuf type {@code LuaEnvironmentEffectNotify} */ public static final class LuaEnvironmentEffectNotify extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:LuaEnvironmentEffectNotify) LuaEnvironmentEffectNotifyOrBuilder { private static final long serialVersionUID = 0L; // Use LuaEnvironmentEffectNotify.newBuilder() to construct. private LuaEnvironmentEffectNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LuaEnvironmentEffectNotify() { effectAlias_ = ""; intParamList_ = emptyIntList(); floatParamList_ = emptyFloatList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LuaEnvironmentEffectNotify(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LuaEnvironmentEffectNotify( 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 29: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { floatParamList_ = newFloatList(); mutable_bitField0_ |= 0x00000002; } floatParamList_.addFloat(input.readFloat()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { floatParamList_ = newFloatList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { floatParamList_.addFloat(input.readFloat()); } input.popLimit(limit); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); effectAlias_ = s; break; } case 80: { type_ = input.readUInt32(); break; } case 88: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { intParamList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } intParamList_.addInt(input.readInt32()); break; } case 90: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { intParamList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { intParamList_.addInt(input.readInt32()); } input.popLimit(limit); 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_ & 0x00000002) != 0)) { floatParamList_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000001) != 0)) { intParamList_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.internal_static_LuaEnvironmentEffectNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.internal_static_LuaEnvironmentEffectNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify.class, emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify.Builder.class); } public static final int EFFECT_ALIAS_FIELD_NUMBER = 5; private volatile java.lang.Object effectAlias_; /** * string effect_alias = 5; * @return The effectAlias. */ @java.lang.Override public java.lang.String getEffectAlias() { java.lang.Object ref = effectAlias_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); effectAlias_ = s; return s; } } /** * string effect_alias = 5; * @return The bytes for effectAlias. */ @java.lang.Override public com.google.protobuf.ByteString getEffectAliasBytes() { java.lang.Object ref = effectAlias_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effectAlias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 10; private int type_; /** * uint32 type = 10; * @return The type. */ @java.lang.Override public int getType() { return type_; } public static final int INT_PARAM_LIST_FIELD_NUMBER = 11; private com.google.protobuf.Internal.IntList intParamList_; /** * repeated int32 int_param_list = 11; * @return A list containing the intParamList. */ @java.lang.Override public java.util.List getIntParamListList() { return intParamList_; } /** * repeated int32 int_param_list = 11; * @return The count of intParamList. */ public int getIntParamListCount() { return intParamList_.size(); } /** * repeated int32 int_param_list = 11; * @param index The index of the element to return. * @return The intParamList at the given index. */ public int getIntParamList(int index) { return intParamList_.getInt(index); } private int intParamListMemoizedSerializedSize = -1; public static final int FLOAT_PARAM_LIST_FIELD_NUMBER = 3; private com.google.protobuf.Internal.FloatList floatParamList_; /** * repeated float float_param_list = 3; * @return A list containing the floatParamList. */ @java.lang.Override public java.util.List getFloatParamListList() { return floatParamList_; } /** * repeated float float_param_list = 3; * @return The count of floatParamList. */ public int getFloatParamListCount() { return floatParamList_.size(); } /** * repeated float float_param_list = 3; * @param index The index of the element to return. * @return The floatParamList at the given index. */ public float getFloatParamList(int index) { return floatParamList_.getFloat(index); } private int floatParamListMemoizedSerializedSize = -1; 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 { getSerializedSize(); if (getFloatParamListList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(floatParamListMemoizedSerializedSize); } for (int i = 0; i < floatParamList_.size(); i++) { output.writeFloatNoTag(floatParamList_.getFloat(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectAlias_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, effectAlias_); } if (type_ != 0) { output.writeUInt32(10, type_); } if (getIntParamListList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(intParamListMemoizedSerializedSize); } for (int i = 0; i < intParamList_.size(); i++) { output.writeInt32NoTag(intParamList_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; dataSize = 4 * getFloatParamListList().size(); size += dataSize; if (!getFloatParamListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } floatParamListMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectAlias_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, effectAlias_); } if (type_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, type_); } { int dataSize = 0; for (int i = 0; i < intParamList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(intParamList_.getInt(i)); } size += dataSize; if (!getIntParamListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } intParamListMemoizedSerializedSize = dataSize; } 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.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify)) { return super.equals(obj); } emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify other = (emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify) obj; if (!getEffectAlias() .equals(other.getEffectAlias())) return false; if (getType() != other.getType()) return false; if (!getIntParamListList() .equals(other.getIntParamListList())) return false; if (!getFloatParamListList() .equals(other.getFloatParamListList())) 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) + EFFECT_ALIAS_FIELD_NUMBER; hash = (53 * hash) + getEffectAlias().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); if (getIntParamListCount() > 0) { hash = (37 * hash) + INT_PARAM_LIST_FIELD_NUMBER; hash = (53 * hash) + getIntParamListList().hashCode(); } if (getFloatParamListCount() > 0) { hash = (37 * hash) + FLOAT_PARAM_LIST_FIELD_NUMBER; hash = (53 * hash) + getFloatParamListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify 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.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify 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.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify 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.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify 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.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify 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.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * CmdId: 3994
     * Obf: KEJHFACJGNI
     * 
* * Protobuf type {@code LuaEnvironmentEffectNotify} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:LuaEnvironmentEffectNotify) emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotifyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.internal_static_LuaEnvironmentEffectNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.internal_static_LuaEnvironmentEffectNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify.class, emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify.Builder.class); } // Construct using emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify.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(); effectAlias_ = ""; type_ = 0; intParamList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); floatParamList_ = emptyFloatList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.internal_static_LuaEnvironmentEffectNotify_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify getDefaultInstanceForType() { return emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify build() { emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify buildPartial() { emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify result = new emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify(this); int from_bitField0_ = bitField0_; result.effectAlias_ = effectAlias_; result.type_ = type_; if (((bitField0_ & 0x00000001) != 0)) { intParamList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.intParamList_ = intParamList_; if (((bitField0_ & 0x00000002) != 0)) { floatParamList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.floatParamList_ = floatParamList_; 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.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify) { return mergeFrom((emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify other) { if (other == emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify.getDefaultInstance()) return this; if (!other.getEffectAlias().isEmpty()) { effectAlias_ = other.effectAlias_; onChanged(); } if (other.getType() != 0) { setType(other.getType()); } if (!other.intParamList_.isEmpty()) { if (intParamList_.isEmpty()) { intParamList_ = other.intParamList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureIntParamListIsMutable(); intParamList_.addAll(other.intParamList_); } onChanged(); } if (!other.floatParamList_.isEmpty()) { if (floatParamList_.isEmpty()) { floatParamList_ = other.floatParamList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureFloatParamListIsMutable(); floatParamList_.addAll(other.floatParamList_); } onChanged(); } 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.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object effectAlias_ = ""; /** * string effect_alias = 5; * @return The effectAlias. */ public java.lang.String getEffectAlias() { java.lang.Object ref = effectAlias_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); effectAlias_ = s; return s; } else { return (java.lang.String) ref; } } /** * string effect_alias = 5; * @return The bytes for effectAlias. */ public com.google.protobuf.ByteString getEffectAliasBytes() { java.lang.Object ref = effectAlias_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effectAlias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string effect_alias = 5; * @param value The effectAlias to set. * @return This builder for chaining. */ public Builder setEffectAlias( java.lang.String value) { if (value == null) { throw new NullPointerException(); } effectAlias_ = value; onChanged(); return this; } /** * string effect_alias = 5; * @return This builder for chaining. */ public Builder clearEffectAlias() { effectAlias_ = getDefaultInstance().getEffectAlias(); onChanged(); return this; } /** * string effect_alias = 5; * @param value The bytes for effectAlias to set. * @return This builder for chaining. */ public Builder setEffectAliasBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); effectAlias_ = value; onChanged(); return this; } private int type_ ; /** * uint32 type = 10; * @return The type. */ @java.lang.Override public int getType() { return type_; } /** * uint32 type = 10; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(int value) { type_ = value; onChanged(); return this; } /** * uint32 type = 10; * @return This builder for chaining. */ public Builder clearType() { type_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList intParamList_ = emptyIntList(); private void ensureIntParamListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { intParamList_ = mutableCopy(intParamList_); bitField0_ |= 0x00000001; } } /** * repeated int32 int_param_list = 11; * @return A list containing the intParamList. */ public java.util.List getIntParamListList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(intParamList_) : intParamList_; } /** * repeated int32 int_param_list = 11; * @return The count of intParamList. */ public int getIntParamListCount() { return intParamList_.size(); } /** * repeated int32 int_param_list = 11; * @param index The index of the element to return. * @return The intParamList at the given index. */ public int getIntParamList(int index) { return intParamList_.getInt(index); } /** * repeated int32 int_param_list = 11; * @param index The index to set the value at. * @param value The intParamList to set. * @return This builder for chaining. */ public Builder setIntParamList( int index, int value) { ensureIntParamListIsMutable(); intParamList_.setInt(index, value); onChanged(); return this; } /** * repeated int32 int_param_list = 11; * @param value The intParamList to add. * @return This builder for chaining. */ public Builder addIntParamList(int value) { ensureIntParamListIsMutable(); intParamList_.addInt(value); onChanged(); return this; } /** * repeated int32 int_param_list = 11; * @param values The intParamList to add. * @return This builder for chaining. */ public Builder addAllIntParamList( java.lang.Iterable values) { ensureIntParamListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, intParamList_); onChanged(); return this; } /** * repeated int32 int_param_list = 11; * @return This builder for chaining. */ public Builder clearIntParamList() { intParamList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private com.google.protobuf.Internal.FloatList floatParamList_ = emptyFloatList(); private void ensureFloatParamListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { floatParamList_ = mutableCopy(floatParamList_); bitField0_ |= 0x00000002; } } /** * repeated float float_param_list = 3; * @return A list containing the floatParamList. */ public java.util.List getFloatParamListList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(floatParamList_) : floatParamList_; } /** * repeated float float_param_list = 3; * @return The count of floatParamList. */ public int getFloatParamListCount() { return floatParamList_.size(); } /** * repeated float float_param_list = 3; * @param index The index of the element to return. * @return The floatParamList at the given index. */ public float getFloatParamList(int index) { return floatParamList_.getFloat(index); } /** * repeated float float_param_list = 3; * @param index The index to set the value at. * @param value The floatParamList to set. * @return This builder for chaining. */ public Builder setFloatParamList( int index, float value) { ensureFloatParamListIsMutable(); floatParamList_.setFloat(index, value); onChanged(); return this; } /** * repeated float float_param_list = 3; * @param value The floatParamList to add. * @return This builder for chaining. */ public Builder addFloatParamList(float value) { ensureFloatParamListIsMutable(); floatParamList_.addFloat(value); onChanged(); return this; } /** * repeated float float_param_list = 3; * @param values The floatParamList to add. * @return This builder for chaining. */ public Builder addAllFloatParamList( java.lang.Iterable values) { ensureFloatParamListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, floatParamList_); onChanged(); return this; } /** * repeated float float_param_list = 3; * @return This builder for chaining. */ public Builder clearFloatParamList() { floatParamList_ = emptyFloatList(); bitField0_ = (bitField0_ & ~0x00000002); 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:LuaEnvironmentEffectNotify) } // @@protoc_insertion_point(class_scope:LuaEnvironmentEffectNotify) private static final emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify(); } public static emu.grasscutter.net.proto.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LuaEnvironmentEffectNotify parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LuaEnvironmentEffectNotify(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.LuaEnvironmentEffectNotifyOuterClass.LuaEnvironmentEffectNotify getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_LuaEnvironmentEffectNotify_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LuaEnvironmentEffectNotify_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 LuaEnvironmentEffectNotify.proto\"r\n\032Lu" + "aEnvironmentEffectNotify\022\024\n\014effect_alias" + "\030\005 \001(\t\022\014\n\004type\030\n \001(\r\022\026\n\016int_param_list\030\013" + " \003(\005\022\030\n\020float_param_list\030\003 \003(\002B\033\n\031emu.gr" + "asscutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_LuaEnvironmentEffectNotify_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_LuaEnvironmentEffectNotify_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LuaEnvironmentEffectNotify_descriptor, new java.lang.String[] { "EffectAlias", "Type", "IntParamList", "FloatParamList", }); } // @@protoc_insertion_point(outer_class_scope) }