mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-21 05:19:50 +08:00
Initial commit
This commit is contained in:
@@ -0,0 +1,929 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: StoreWeightLimitNotify.proto
|
||||
|
||||
package emu.grasscutter.net.proto;
|
||||
|
||||
public final class StoreWeightLimitNotifyOuterClass {
|
||||
private StoreWeightLimitNotifyOuterClass() {}
|
||||
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 StoreWeightLimitNotifyOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:StoreWeightLimitNotify)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>.StoreType storeType = 1;</code>
|
||||
* @return The enum numeric value on the wire for storeType.
|
||||
*/
|
||||
int getStoreTypeValue();
|
||||
/**
|
||||
* <code>.StoreType storeType = 1;</code>
|
||||
* @return The storeType.
|
||||
*/
|
||||
emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType getStoreType();
|
||||
|
||||
/**
|
||||
* <code>uint32 weightLimit = 3;</code>
|
||||
* @return The weightLimit.
|
||||
*/
|
||||
int getWeightLimit();
|
||||
|
||||
/**
|
||||
* <code>uint32 materialCountLimit = 4;</code>
|
||||
* @return The materialCountLimit.
|
||||
*/
|
||||
int getMaterialCountLimit();
|
||||
|
||||
/**
|
||||
* <code>uint32 weaponCountLimit = 5;</code>
|
||||
* @return The weaponCountLimit.
|
||||
*/
|
||||
int getWeaponCountLimit();
|
||||
|
||||
/**
|
||||
* <code>uint32 reliquaryCountLimit = 6;</code>
|
||||
* @return The reliquaryCountLimit.
|
||||
*/
|
||||
int getReliquaryCountLimit();
|
||||
|
||||
/**
|
||||
* <code>uint32 furnitureCountLimit = 7;</code>
|
||||
* @return The furnitureCountLimit.
|
||||
*/
|
||||
int getFurnitureCountLimit();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code StoreWeightLimitNotify}
|
||||
*/
|
||||
public static final class StoreWeightLimitNotify extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:StoreWeightLimitNotify)
|
||||
StoreWeightLimitNotifyOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use StoreWeightLimitNotify.newBuilder() to construct.
|
||||
private StoreWeightLimitNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private StoreWeightLimitNotify() {
|
||||
storeType_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new StoreWeightLimitNotify();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private StoreWeightLimitNotify(
|
||||
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: {
|
||||
int rawValue = input.readEnum();
|
||||
|
||||
storeType_ = rawValue;
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
|
||||
weightLimit_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
|
||||
materialCountLimit_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
|
||||
weaponCountLimit_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
|
||||
reliquaryCountLimit_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
|
||||
furnitureCountLimit_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.internal_static_StoreWeightLimitNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.internal_static_StoreWeightLimitNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify.class, emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int STORETYPE_FIELD_NUMBER = 1;
|
||||
private int storeType_;
|
||||
/**
|
||||
* <code>.StoreType storeType = 1;</code>
|
||||
* @return The enum numeric value on the wire for storeType.
|
||||
*/
|
||||
@java.lang.Override public int getStoreTypeValue() {
|
||||
return storeType_;
|
||||
}
|
||||
/**
|
||||
* <code>.StoreType storeType = 1;</code>
|
||||
* @return The storeType.
|
||||
*/
|
||||
@java.lang.Override public emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType getStoreType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType result = emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType.valueOf(storeType_);
|
||||
return result == null ? emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int WEIGHTLIMIT_FIELD_NUMBER = 3;
|
||||
private int weightLimit_;
|
||||
/**
|
||||
* <code>uint32 weightLimit = 3;</code>
|
||||
* @return The weightLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWeightLimit() {
|
||||
return weightLimit_;
|
||||
}
|
||||
|
||||
public static final int MATERIALCOUNTLIMIT_FIELD_NUMBER = 4;
|
||||
private int materialCountLimit_;
|
||||
/**
|
||||
* <code>uint32 materialCountLimit = 4;</code>
|
||||
* @return The materialCountLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMaterialCountLimit() {
|
||||
return materialCountLimit_;
|
||||
}
|
||||
|
||||
public static final int WEAPONCOUNTLIMIT_FIELD_NUMBER = 5;
|
||||
private int weaponCountLimit_;
|
||||
/**
|
||||
* <code>uint32 weaponCountLimit = 5;</code>
|
||||
* @return The weaponCountLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWeaponCountLimit() {
|
||||
return weaponCountLimit_;
|
||||
}
|
||||
|
||||
public static final int RELIQUARYCOUNTLIMIT_FIELD_NUMBER = 6;
|
||||
private int reliquaryCountLimit_;
|
||||
/**
|
||||
* <code>uint32 reliquaryCountLimit = 6;</code>
|
||||
* @return The reliquaryCountLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getReliquaryCountLimit() {
|
||||
return reliquaryCountLimit_;
|
||||
}
|
||||
|
||||
public static final int FURNITURECOUNTLIMIT_FIELD_NUMBER = 7;
|
||||
private int furnitureCountLimit_;
|
||||
/**
|
||||
* <code>uint32 furnitureCountLimit = 7;</code>
|
||||
* @return The furnitureCountLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFurnitureCountLimit() {
|
||||
return furnitureCountLimit_;
|
||||
}
|
||||
|
||||
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 (storeType_ != emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType.StoreNone.getNumber()) {
|
||||
output.writeEnum(1, storeType_);
|
||||
}
|
||||
if (weightLimit_ != 0) {
|
||||
output.writeUInt32(3, weightLimit_);
|
||||
}
|
||||
if (materialCountLimit_ != 0) {
|
||||
output.writeUInt32(4, materialCountLimit_);
|
||||
}
|
||||
if (weaponCountLimit_ != 0) {
|
||||
output.writeUInt32(5, weaponCountLimit_);
|
||||
}
|
||||
if (reliquaryCountLimit_ != 0) {
|
||||
output.writeUInt32(6, reliquaryCountLimit_);
|
||||
}
|
||||
if (furnitureCountLimit_ != 0) {
|
||||
output.writeUInt32(7, furnitureCountLimit_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (storeType_ != emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType.StoreNone.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(1, storeType_);
|
||||
}
|
||||
if (weightLimit_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(3, weightLimit_);
|
||||
}
|
||||
if (materialCountLimit_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(4, materialCountLimit_);
|
||||
}
|
||||
if (weaponCountLimit_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(5, weaponCountLimit_);
|
||||
}
|
||||
if (reliquaryCountLimit_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(6, reliquaryCountLimit_);
|
||||
}
|
||||
if (furnitureCountLimit_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(7, furnitureCountLimit_);
|
||||
}
|
||||
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.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify other = (emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify) obj;
|
||||
|
||||
if (storeType_ != other.storeType_) return false;
|
||||
if (getWeightLimit()
|
||||
!= other.getWeightLimit()) return false;
|
||||
if (getMaterialCountLimit()
|
||||
!= other.getMaterialCountLimit()) return false;
|
||||
if (getWeaponCountLimit()
|
||||
!= other.getWeaponCountLimit()) return false;
|
||||
if (getReliquaryCountLimit()
|
||||
!= other.getReliquaryCountLimit()) return false;
|
||||
if (getFurnitureCountLimit()
|
||||
!= other.getFurnitureCountLimit()) 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) + STORETYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + storeType_;
|
||||
hash = (37 * hash) + WEIGHTLIMIT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWeightLimit();
|
||||
hash = (37 * hash) + MATERIALCOUNTLIMIT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMaterialCountLimit();
|
||||
hash = (37 * hash) + WEAPONCOUNTLIMIT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWeaponCountLimit();
|
||||
hash = (37 * hash) + RELIQUARYCOUNTLIMIT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getReliquaryCountLimit();
|
||||
hash = (37 * hash) + FURNITURECOUNTLIMIT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getFurnitureCountLimit();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify 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.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify 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.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify 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.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify 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.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify 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.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify 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 StoreWeightLimitNotify}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:StoreWeightLimitNotify)
|
||||
emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotifyOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.internal_static_StoreWeightLimitNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.internal_static_StoreWeightLimitNotify_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify.class, emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify.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();
|
||||
storeType_ = 0;
|
||||
|
||||
weightLimit_ = 0;
|
||||
|
||||
materialCountLimit_ = 0;
|
||||
|
||||
weaponCountLimit_ = 0;
|
||||
|
||||
reliquaryCountLimit_ = 0;
|
||||
|
||||
furnitureCountLimit_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.internal_static_StoreWeightLimitNotify_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify getDefaultInstanceForType() {
|
||||
return emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify build() {
|
||||
emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify result = new emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify(this);
|
||||
result.storeType_ = storeType_;
|
||||
result.weightLimit_ = weightLimit_;
|
||||
result.materialCountLimit_ = materialCountLimit_;
|
||||
result.weaponCountLimit_ = weaponCountLimit_;
|
||||
result.reliquaryCountLimit_ = reliquaryCountLimit_;
|
||||
result.furnitureCountLimit_ = furnitureCountLimit_;
|
||||
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.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify) {
|
||||
return mergeFrom((emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify.getDefaultInstance()) return this;
|
||||
if (other.storeType_ != 0) {
|
||||
setStoreTypeValue(other.getStoreTypeValue());
|
||||
}
|
||||
if (other.getWeightLimit() != 0) {
|
||||
setWeightLimit(other.getWeightLimit());
|
||||
}
|
||||
if (other.getMaterialCountLimit() != 0) {
|
||||
setMaterialCountLimit(other.getMaterialCountLimit());
|
||||
}
|
||||
if (other.getWeaponCountLimit() != 0) {
|
||||
setWeaponCountLimit(other.getWeaponCountLimit());
|
||||
}
|
||||
if (other.getReliquaryCountLimit() != 0) {
|
||||
setReliquaryCountLimit(other.getReliquaryCountLimit());
|
||||
}
|
||||
if (other.getFurnitureCountLimit() != 0) {
|
||||
setFurnitureCountLimit(other.getFurnitureCountLimit());
|
||||
}
|
||||
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.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private int storeType_ = 0;
|
||||
/**
|
||||
* <code>.StoreType storeType = 1;</code>
|
||||
* @return The enum numeric value on the wire for storeType.
|
||||
*/
|
||||
@java.lang.Override public int getStoreTypeValue() {
|
||||
return storeType_;
|
||||
}
|
||||
/**
|
||||
* <code>.StoreType storeType = 1;</code>
|
||||
* @param value The enum numeric value on the wire for storeType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setStoreTypeValue(int value) {
|
||||
|
||||
storeType_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.StoreType storeType = 1;</code>
|
||||
* @return The storeType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType getStoreType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType result = emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType.valueOf(storeType_);
|
||||
return result == null ? emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.StoreType storeType = 1;</code>
|
||||
* @param value The storeType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setStoreType(emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
storeType_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.StoreType storeType = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearStoreType() {
|
||||
|
||||
storeType_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int weightLimit_ ;
|
||||
/**
|
||||
* <code>uint32 weightLimit = 3;</code>
|
||||
* @return The weightLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWeightLimit() {
|
||||
return weightLimit_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 weightLimit = 3;</code>
|
||||
* @param value The weightLimit to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWeightLimit(int value) {
|
||||
|
||||
weightLimit_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 weightLimit = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWeightLimit() {
|
||||
|
||||
weightLimit_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int materialCountLimit_ ;
|
||||
/**
|
||||
* <code>uint32 materialCountLimit = 4;</code>
|
||||
* @return The materialCountLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMaterialCountLimit() {
|
||||
return materialCountLimit_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 materialCountLimit = 4;</code>
|
||||
* @param value The materialCountLimit to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMaterialCountLimit(int value) {
|
||||
|
||||
materialCountLimit_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 materialCountLimit = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMaterialCountLimit() {
|
||||
|
||||
materialCountLimit_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int weaponCountLimit_ ;
|
||||
/**
|
||||
* <code>uint32 weaponCountLimit = 5;</code>
|
||||
* @return The weaponCountLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWeaponCountLimit() {
|
||||
return weaponCountLimit_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 weaponCountLimit = 5;</code>
|
||||
* @param value The weaponCountLimit to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWeaponCountLimit(int value) {
|
||||
|
||||
weaponCountLimit_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 weaponCountLimit = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWeaponCountLimit() {
|
||||
|
||||
weaponCountLimit_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int reliquaryCountLimit_ ;
|
||||
/**
|
||||
* <code>uint32 reliquaryCountLimit = 6;</code>
|
||||
* @return The reliquaryCountLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getReliquaryCountLimit() {
|
||||
return reliquaryCountLimit_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 reliquaryCountLimit = 6;</code>
|
||||
* @param value The reliquaryCountLimit to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setReliquaryCountLimit(int value) {
|
||||
|
||||
reliquaryCountLimit_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 reliquaryCountLimit = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearReliquaryCountLimit() {
|
||||
|
||||
reliquaryCountLimit_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int furnitureCountLimit_ ;
|
||||
/**
|
||||
* <code>uint32 furnitureCountLimit = 7;</code>
|
||||
* @return The furnitureCountLimit.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getFurnitureCountLimit() {
|
||||
return furnitureCountLimit_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 furnitureCountLimit = 7;</code>
|
||||
* @param value The furnitureCountLimit to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setFurnitureCountLimit(int value) {
|
||||
|
||||
furnitureCountLimit_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 furnitureCountLimit = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFurnitureCountLimit() {
|
||||
|
||||
furnitureCountLimit_ = 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:StoreWeightLimitNotify)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:StoreWeightLimitNotify)
|
||||
private static final emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify();
|
||||
}
|
||||
|
||||
public static emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<StoreWeightLimitNotify>
|
||||
PARSER = new com.google.protobuf.AbstractParser<StoreWeightLimitNotify>() {
|
||||
@java.lang.Override
|
||||
public StoreWeightLimitNotify parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new StoreWeightLimitNotify(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<StoreWeightLimitNotify> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<StoreWeightLimitNotify> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.StoreWeightLimitNotifyOuterClass.StoreWeightLimitNotify getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_StoreWeightLimitNotify_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_StoreWeightLimitNotify_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\034StoreWeightLimitNotify.proto\032\017StoreTyp" +
|
||||
"e.proto\"\274\001\n\026StoreWeightLimitNotify\022\035\n\tst" +
|
||||
"oreType\030\001 \001(\0162\n.StoreType\022\023\n\013weightLimit" +
|
||||
"\030\003 \001(\r\022\032\n\022materialCountLimit\030\004 \001(\r\022\030\n\020we" +
|
||||
"aponCountLimit\030\005 \001(\r\022\033\n\023reliquaryCountLi" +
|
||||
"mit\030\006 \001(\r\022\033\n\023furnitureCountLimit\030\007 \001(\rB\033" +
|
||||
"\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
emu.grasscutter.net.proto.StoreTypeOuterClass.getDescriptor(),
|
||||
});
|
||||
internal_static_StoreWeightLimitNotify_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_StoreWeightLimitNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_StoreWeightLimitNotify_descriptor,
|
||||
new java.lang.String[] { "StoreType", "WeightLimit", "MaterialCountLimit", "WeaponCountLimit", "ReliquaryCountLimit", "FurnitureCountLimit", });
|
||||
emu.grasscutter.net.proto.StoreTypeOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
}
|
||||
Reference in New Issue
Block a user