![JAR search and dependency download from the Maven repository](/logo.png)
emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ActivityScheduleInfoNotify.proto
package emu.grasscutter.net.proto;
public final class ActivityScheduleInfoNotifyOuterClass {
private ActivityScheduleInfoNotifyOuterClass() {}
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 ActivityScheduleInfoNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:ActivityScheduleInfoNotify)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
java.util.List
getActivityScheduleListList();
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo getActivityScheduleList(int index);
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
int getActivityScheduleListCount();
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
java.util.List extends emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfoOrBuilder>
getActivityScheduleListOrBuilderList();
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfoOrBuilder getActivityScheduleListOrBuilder(
int index);
/**
* uint32 remainFlySeaLampNum = 11;
* @return The remainFlySeaLampNum.
*/
int getRemainFlySeaLampNum();
}
/**
* Protobuf type {@code ActivityScheduleInfoNotify}
*/
public static final class ActivityScheduleInfoNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ActivityScheduleInfoNotify)
ActivityScheduleInfoNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use ActivityScheduleInfoNotify.newBuilder() to construct.
private ActivityScheduleInfoNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ActivityScheduleInfoNotify() {
activityScheduleList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ActivityScheduleInfoNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ActivityScheduleInfoNotify(
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 42: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
activityScheduleList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
activityScheduleList_.add(
input.readMessage(emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.parser(), extensionRegistry));
break;
}
case 88: {
remainFlySeaLampNum_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
activityScheduleList_ = java.util.Collections.unmodifiableList(activityScheduleList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.internal_static_ActivityScheduleInfoNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.internal_static_ActivityScheduleInfoNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify.class, emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify.Builder.class);
}
/**
* Protobuf enum {@code ActivityScheduleInfoNotify.GMLKEAPFFKO}
*/
public enum GMLKEAPFFKO
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NONE = 0;
*/
NONE(0, 0),
/**
* PEPPOHPHJOJ = 2047;
*/
PEPPOHPHJOJ(1, 2047),
/**
* NNBKOLMPOEA = 1;
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* DCDNILFDFLB = 0;
*/
public static final GMLKEAPFFKO DCDNILFDFLB = NONE;
/**
* EAJIABGAOCI = 1;
*/
public static final GMLKEAPFFKO EAJIABGAOCI = NNBKOLMPOEA;
/**
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
* PEPPOHPHJOJ = 2047;
*/
public static final int PEPPOHPHJOJ_VALUE = 2047;
/**
* DCDNILFDFLB = 0;
*/
public static final int DCDNILFDFLB_VALUE = 0;
/**
* NNBKOLMPOEA = 1;
*/
public static final int NNBKOLMPOEA_VALUE = 1;
/**
* EAJIABGAOCI = 1;
*/
public static final int EAJIABGAOCI_VALUE = 1;
public final int getNumber() {
if (index == -1) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static GMLKEAPFFKO valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static GMLKEAPFFKO forNumber(int value) {
switch (value) {
case 0: return NONE;
case 2047: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
GMLKEAPFFKO> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public GMLKEAPFFKO findValueByNumber(int number) {
return GMLKEAPFFKO.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (index == -1) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify.getDescriptor().getEnumTypes().get(0);
}
private static final GMLKEAPFFKO[] VALUES = getStaticValuesArray();
private static GMLKEAPFFKO[] getStaticValuesArray() {
return new GMLKEAPFFKO[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI,
};
}
public static GMLKEAPFFKO valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private GMLKEAPFFKO(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ActivityScheduleInfoNotify.GMLKEAPFFKO)
}
public static final int ACTIVITYSCHEDULELIST_FIELD_NUMBER = 5;
private java.util.List activityScheduleList_;
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
@java.lang.Override
public java.util.List getActivityScheduleListList() {
return activityScheduleList_;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfoOrBuilder>
getActivityScheduleListOrBuilderList() {
return activityScheduleList_;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
@java.lang.Override
public int getActivityScheduleListCount() {
return activityScheduleList_.size();
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo getActivityScheduleList(int index) {
return activityScheduleList_.get(index);
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfoOrBuilder getActivityScheduleListOrBuilder(
int index) {
return activityScheduleList_.get(index);
}
public static final int REMAINFLYSEALAMPNUM_FIELD_NUMBER = 11;
private int remainFlySeaLampNum_;
/**
* uint32 remainFlySeaLampNum = 11;
* @return The remainFlySeaLampNum.
*/
@java.lang.Override
public int getRemainFlySeaLampNum() {
return remainFlySeaLampNum_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < activityScheduleList_.size(); i++) {
output.writeMessage(5, activityScheduleList_.get(i));
}
if (remainFlySeaLampNum_ != 0) {
output.writeUInt32(11, remainFlySeaLampNum_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < activityScheduleList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, activityScheduleList_.get(i));
}
if (remainFlySeaLampNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, remainFlySeaLampNum_);
}
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.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify other = (emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify) obj;
if (!getActivityScheduleListList()
.equals(other.getActivityScheduleListList())) return false;
if (getRemainFlySeaLampNum()
!= other.getRemainFlySeaLampNum()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getActivityScheduleListCount() > 0) {
hash = (37 * hash) + ACTIVITYSCHEDULELIST_FIELD_NUMBER;
hash = (53 * hash) + getActivityScheduleListList().hashCode();
}
hash = (37 * hash) + REMAINFLYSEALAMPNUM_FIELD_NUMBER;
hash = (53 * hash) + getRemainFlySeaLampNum();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify 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.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify 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.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify 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.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify 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.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify 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.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ActivityScheduleInfoNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ActivityScheduleInfoNotify)
emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.internal_static_ActivityScheduleInfoNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.internal_static_ActivityScheduleInfoNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify.class, emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getActivityScheduleListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (activityScheduleListBuilder_ == null) {
activityScheduleList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
activityScheduleListBuilder_.clear();
}
remainFlySeaLampNum_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.internal_static_ActivityScheduleInfoNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify build() {
emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify buildPartial() {
emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify result = new emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify(this);
int from_bitField0_ = bitField0_;
if (activityScheduleListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
activityScheduleList_ = java.util.Collections.unmodifiableList(activityScheduleList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.activityScheduleList_ = activityScheduleList_;
} else {
result.activityScheduleList_ = activityScheduleListBuilder_.build();
}
result.remainFlySeaLampNum_ = remainFlySeaLampNum_;
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.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify) {
return mergeFrom((emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify other) {
if (other == emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify.getDefaultInstance()) return this;
if (activityScheduleListBuilder_ == null) {
if (!other.activityScheduleList_.isEmpty()) {
if (activityScheduleList_.isEmpty()) {
activityScheduleList_ = other.activityScheduleList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureActivityScheduleListIsMutable();
activityScheduleList_.addAll(other.activityScheduleList_);
}
onChanged();
}
} else {
if (!other.activityScheduleList_.isEmpty()) {
if (activityScheduleListBuilder_.isEmpty()) {
activityScheduleListBuilder_.dispose();
activityScheduleListBuilder_ = null;
activityScheduleList_ = other.activityScheduleList_;
bitField0_ = (bitField0_ & ~0x00000001);
activityScheduleListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getActivityScheduleListFieldBuilder() : null;
} else {
activityScheduleListBuilder_.addAllMessages(other.activityScheduleList_);
}
}
}
if (other.getRemainFlySeaLampNum() != 0) {
setRemainFlySeaLampNum(other.getRemainFlySeaLampNum());
}
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.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List activityScheduleList_ =
java.util.Collections.emptyList();
private void ensureActivityScheduleListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
activityScheduleList_ = new java.util.ArrayList(activityScheduleList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.Builder, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfoOrBuilder> activityScheduleListBuilder_;
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public java.util.List getActivityScheduleListList() {
if (activityScheduleListBuilder_ == null) {
return java.util.Collections.unmodifiableList(activityScheduleList_);
} else {
return activityScheduleListBuilder_.getMessageList();
}
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public int getActivityScheduleListCount() {
if (activityScheduleListBuilder_ == null) {
return activityScheduleList_.size();
} else {
return activityScheduleListBuilder_.getCount();
}
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo getActivityScheduleList(int index) {
if (activityScheduleListBuilder_ == null) {
return activityScheduleList_.get(index);
} else {
return activityScheduleListBuilder_.getMessage(index);
}
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public Builder setActivityScheduleList(
int index, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo value) {
if (activityScheduleListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActivityScheduleListIsMutable();
activityScheduleList_.set(index, value);
onChanged();
} else {
activityScheduleListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public Builder setActivityScheduleList(
int index, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.Builder builderForValue) {
if (activityScheduleListBuilder_ == null) {
ensureActivityScheduleListIsMutable();
activityScheduleList_.set(index, builderForValue.build());
onChanged();
} else {
activityScheduleListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public Builder addActivityScheduleList(emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo value) {
if (activityScheduleListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActivityScheduleListIsMutable();
activityScheduleList_.add(value);
onChanged();
} else {
activityScheduleListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public Builder addActivityScheduleList(
int index, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo value) {
if (activityScheduleListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActivityScheduleListIsMutable();
activityScheduleList_.add(index, value);
onChanged();
} else {
activityScheduleListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public Builder addActivityScheduleList(
emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.Builder builderForValue) {
if (activityScheduleListBuilder_ == null) {
ensureActivityScheduleListIsMutable();
activityScheduleList_.add(builderForValue.build());
onChanged();
} else {
activityScheduleListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public Builder addActivityScheduleList(
int index, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.Builder builderForValue) {
if (activityScheduleListBuilder_ == null) {
ensureActivityScheduleListIsMutable();
activityScheduleList_.add(index, builderForValue.build());
onChanged();
} else {
activityScheduleListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public Builder addAllActivityScheduleList(
java.lang.Iterable extends emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo> values) {
if (activityScheduleListBuilder_ == null) {
ensureActivityScheduleListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, activityScheduleList_);
onChanged();
} else {
activityScheduleListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public Builder clearActivityScheduleList() {
if (activityScheduleListBuilder_ == null) {
activityScheduleList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
activityScheduleListBuilder_.clear();
}
return this;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public Builder removeActivityScheduleList(int index) {
if (activityScheduleListBuilder_ == null) {
ensureActivityScheduleListIsMutable();
activityScheduleList_.remove(index);
onChanged();
} else {
activityScheduleListBuilder_.remove(index);
}
return this;
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.Builder getActivityScheduleListBuilder(
int index) {
return getActivityScheduleListFieldBuilder().getBuilder(index);
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfoOrBuilder getActivityScheduleListOrBuilder(
int index) {
if (activityScheduleListBuilder_ == null) {
return activityScheduleList_.get(index); } else {
return activityScheduleListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public java.util.List extends emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfoOrBuilder>
getActivityScheduleListOrBuilderList() {
if (activityScheduleListBuilder_ != null) {
return activityScheduleListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(activityScheduleList_);
}
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.Builder addActivityScheduleListBuilder() {
return getActivityScheduleListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.getDefaultInstance());
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.Builder addActivityScheduleListBuilder(
int index) {
return getActivityScheduleListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.getDefaultInstance());
}
/**
* repeated .ActivityScheduleInfo activityScheduleList = 5;
*/
public java.util.List
getActivityScheduleListBuilderList() {
return getActivityScheduleListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.Builder, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfoOrBuilder>
getActivityScheduleListFieldBuilder() {
if (activityScheduleListBuilder_ == null) {
activityScheduleListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfo.Builder, emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.ActivityScheduleInfoOrBuilder>(
activityScheduleList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
activityScheduleList_ = null;
}
return activityScheduleListBuilder_;
}
private int remainFlySeaLampNum_ ;
/**
* uint32 remainFlySeaLampNum = 11;
* @return The remainFlySeaLampNum.
*/
@java.lang.Override
public int getRemainFlySeaLampNum() {
return remainFlySeaLampNum_;
}
/**
* uint32 remainFlySeaLampNum = 11;
* @param value The remainFlySeaLampNum to set.
* @return This builder for chaining.
*/
public Builder setRemainFlySeaLampNum(int value) {
remainFlySeaLampNum_ = value;
onChanged();
return this;
}
/**
* uint32 remainFlySeaLampNum = 11;
* @return This builder for chaining.
*/
public Builder clearRemainFlySeaLampNum() {
remainFlySeaLampNum_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ActivityScheduleInfoNotify)
}
// @@protoc_insertion_point(class_scope:ActivityScheduleInfoNotify)
private static final emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify();
}
public static emu.grasscutter.net.proto.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ActivityScheduleInfoNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ActivityScheduleInfoNotify(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.ActivityScheduleInfoNotifyOuterClass.ActivityScheduleInfoNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ActivityScheduleInfoNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ActivityScheduleInfoNotify_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 ActivityScheduleInfoNotify.proto\032\032Acti" +
"vityScheduleInfo.proto\"\320\001\n\032ActivitySched" +
"uleInfoNotify\0223\n\024activityScheduleList\030\005 " +
"\003(\0132\025.ActivityScheduleInfo\022\033\n\023remainFlyS" +
"eaLampNum\030\013 \001(\r\"`\n\013GMLKEAPFFKO\022\010\n\004NONE\020\000" +
"\022\020\n\013PEPPOHPHJOJ\020\377\017\022\017\n\013DCDNILFDFLB\020\000\022\017\n\013N" +
"NBKOLMPOEA\020\001\022\017\n\013EAJIABGAOCI\020\001\032\002\020\001B\033\n\031emu" +
".grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.getDescriptor(),
});
internal_static_ActivityScheduleInfoNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ActivityScheduleInfoNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ActivityScheduleInfoNotify_descriptor,
new java.lang.String[] { "ActivityScheduleList", "RemainFlySeaLampNum", });
emu.grasscutter.net.proto.ActivityScheduleInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy