All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opencannabis.schema.inventory.InventoryAmount Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas Co.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: inventory/InventoryProduct.proto

package io.opencannabis.schema.inventory;

/**
 * 
 * Specifies an amount of a particular product, which may take a certain state as part of an inventory item, or batch of
 * inventory for a given product.
 * 
* * Protobuf type {@code opencannabis.inventory.InventoryAmount} */ public final class InventoryAmount extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:opencannabis.inventory.InventoryAmount) InventoryAmountOrBuilder { private static final long serialVersionUID = 0L; // Use InventoryAmount.newBuilder() to construct. private InventoryAmount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InventoryAmount() { type_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InventoryAmount( 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 8: { int rawValue = input.readEnum(); type_ = rawValue; break; } case 16: { basisCase_ = 2; basis_ = input.readBool(); break; } case 24: { int rawValue = input.readEnum(); basisCase_ = 3; basis_ = rawValue; break; } case 32: { quantity_ = input.readUInt64(); 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 io.opencannabis.schema.inventory.InventoryProductOuterClass.internal_static_opencannabis_inventory_InventoryAmount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.opencannabis.schema.inventory.InventoryProductOuterClass.internal_static_opencannabis_inventory_InventoryAmount_fieldAccessorTable .ensureFieldAccessorsInitialized( io.opencannabis.schema.inventory.InventoryAmount.class, io.opencannabis.schema.inventory.InventoryAmount.Builder.class); } private int basisCase_ = 0; private java.lang.Object basis_; public enum BasisCase implements com.google.protobuf.Internal.EnumLite { UNIT(2), WEIGHT(3), BASIS_NOT_SET(0); private final int value; private BasisCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static BasisCase valueOf(int value) { return forNumber(value); } public static BasisCase forNumber(int value) { switch (value) { case 2: return UNIT; case 3: return WEIGHT; case 0: return BASIS_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public BasisCase getBasisCase() { return BasisCase.forNumber( basisCase_); } public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** *
   * Type of pricing/inventory to employ for this product. Can either be `UNIT` or `WEIGHTED` pricing.
   * 
* * .opencannabis.structs.pricing.PricingType type = 1; */ public int getTypeValue() { return type_; } /** *
   * Type of pricing/inventory to employ for this product. Can either be `UNIT` or `WEIGHTED` pricing.
   * 
* * .opencannabis.structs.pricing.PricingType type = 1; */ public io.opencannabis.schema.product.struct.PricingType getType() { @SuppressWarnings("deprecation") io.opencannabis.schema.product.struct.PricingType result = io.opencannabis.schema.product.struct.PricingType.valueOf(type_); return result == null ? io.opencannabis.schema.product.struct.PricingType.UNRECOGNIZED : result; } public static final int UNIT_FIELD_NUMBER = 2; /** *
   * The inventory item is unit-based, i.e., just individual items.
   * 
* * bool unit = 2; */ public boolean getUnit() { if (basisCase_ == 2) { return (java.lang.Boolean) basis_; } return false; } public static final int WEIGHT_FIELD_NUMBER = 3; /** *
   * The inventory item is weight-based, i.e., a certain amount of grams or pounds.
   * 
* * .opencannabis.structs.pricing.PricingWeightTier weight = 3; */ public int getWeightValue() { if (basisCase_ == 3) { return (java.lang.Integer) basis_; } return 0; } /** *
   * The inventory item is weight-based, i.e., a certain amount of grams or pounds.
   * 
* * .opencannabis.structs.pricing.PricingWeightTier weight = 3; */ public io.opencannabis.schema.product.struct.PricingWeightTier getWeight() { if (basisCase_ == 3) { @SuppressWarnings("deprecation") io.opencannabis.schema.product.struct.PricingWeightTier result = io.opencannabis.schema.product.struct.PricingWeightTier.valueOf( (java.lang.Integer) basis_); return result == null ? io.opencannabis.schema.product.struct.PricingWeightTier.UNRECOGNIZED : result; } return io.opencannabis.schema.product.struct.PricingWeightTier.NO_WEIGHT; } public static final int QUANTITY_FIELD_NUMBER = 4; private long quantity_; /** *
   * Actual amount specified for the given inventory.
   * 
* * uint64 quantity = 4; */ public long getQuantity() { return quantity_; } 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 (type_ != io.opencannabis.schema.product.struct.PricingType.UNIT.getNumber()) { output.writeEnum(1, type_); } if (basisCase_ == 2) { output.writeBool( 2, (boolean)((java.lang.Boolean) basis_)); } if (basisCase_ == 3) { output.writeEnum(3, ((java.lang.Integer) basis_)); } if (quantity_ != 0L) { output.writeUInt64(4, quantity_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (type_ != io.opencannabis.schema.product.struct.PricingType.UNIT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_); } if (basisCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 2, (boolean)((java.lang.Boolean) basis_)); } if (basisCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, ((java.lang.Integer) basis_)); } if (quantity_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, quantity_); } 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 io.opencannabis.schema.inventory.InventoryAmount)) { return super.equals(obj); } io.opencannabis.schema.inventory.InventoryAmount other = (io.opencannabis.schema.inventory.InventoryAmount) obj; if (type_ != other.type_) return false; if (getQuantity() != other.getQuantity()) return false; if (!getBasisCase().equals(other.getBasisCase())) return false; switch (basisCase_) { case 2: if (getUnit() != other.getUnit()) return false; break; case 3: if (getWeightValue() != other.getWeightValue()) return false; break; case 0: default: } 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) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + QUANTITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getQuantity()); switch (basisCase_) { case 2: hash = (37 * hash) + UNIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUnit()); break; case 3: hash = (37 * hash) + WEIGHT_FIELD_NUMBER; hash = (53 * hash) + getWeightValue(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.opencannabis.schema.inventory.InventoryAmount parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.opencannabis.schema.inventory.InventoryAmount parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.opencannabis.schema.inventory.InventoryAmount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.opencannabis.schema.inventory.InventoryAmount parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.opencannabis.schema.inventory.InventoryAmount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.opencannabis.schema.inventory.InventoryAmount parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.opencannabis.schema.inventory.InventoryAmount parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.opencannabis.schema.inventory.InventoryAmount 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 io.opencannabis.schema.inventory.InventoryAmount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.opencannabis.schema.inventory.InventoryAmount 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 io.opencannabis.schema.inventory.InventoryAmount parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.opencannabis.schema.inventory.InventoryAmount 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(io.opencannabis.schema.inventory.InventoryAmount 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; } /** *
   * Specifies an amount of a particular product, which may take a certain state as part of an inventory item, or batch of
   * inventory for a given product.
   * 
* * Protobuf type {@code opencannabis.inventory.InventoryAmount} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:opencannabis.inventory.InventoryAmount) io.opencannabis.schema.inventory.InventoryAmountOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.opencannabis.schema.inventory.InventoryProductOuterClass.internal_static_opencannabis_inventory_InventoryAmount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.opencannabis.schema.inventory.InventoryProductOuterClass.internal_static_opencannabis_inventory_InventoryAmount_fieldAccessorTable .ensureFieldAccessorsInitialized( io.opencannabis.schema.inventory.InventoryAmount.class, io.opencannabis.schema.inventory.InventoryAmount.Builder.class); } // Construct using io.opencannabis.schema.inventory.InventoryAmount.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(); type_ = 0; quantity_ = 0L; basisCase_ = 0; basis_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.opencannabis.schema.inventory.InventoryProductOuterClass.internal_static_opencannabis_inventory_InventoryAmount_descriptor; } @java.lang.Override public io.opencannabis.schema.inventory.InventoryAmount getDefaultInstanceForType() { return io.opencannabis.schema.inventory.InventoryAmount.getDefaultInstance(); } @java.lang.Override public io.opencannabis.schema.inventory.InventoryAmount build() { io.opencannabis.schema.inventory.InventoryAmount result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.opencannabis.schema.inventory.InventoryAmount buildPartial() { io.opencannabis.schema.inventory.InventoryAmount result = new io.opencannabis.schema.inventory.InventoryAmount(this); result.type_ = type_; if (basisCase_ == 2) { result.basis_ = basis_; } if (basisCase_ == 3) { result.basis_ = basis_; } result.quantity_ = quantity_; result.basisCase_ = basisCase_; 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 io.opencannabis.schema.inventory.InventoryAmount) { return mergeFrom((io.opencannabis.schema.inventory.InventoryAmount)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.opencannabis.schema.inventory.InventoryAmount other) { if (other == io.opencannabis.schema.inventory.InventoryAmount.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.getQuantity() != 0L) { setQuantity(other.getQuantity()); } switch (other.getBasisCase()) { case UNIT: { setUnit(other.getUnit()); break; } case WEIGHT: { setWeightValue(other.getWeightValue()); break; } case BASIS_NOT_SET: { break; } } 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 { io.opencannabis.schema.inventory.InventoryAmount parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.opencannabis.schema.inventory.InventoryAmount) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int basisCase_ = 0; private java.lang.Object basis_; public BasisCase getBasisCase() { return BasisCase.forNumber( basisCase_); } public Builder clearBasis() { basisCase_ = 0; basis_ = null; onChanged(); return this; } private int type_ = 0; /** *
     * Type of pricing/inventory to employ for this product. Can either be `UNIT` or `WEIGHTED` pricing.
     * 
* * .opencannabis.structs.pricing.PricingType type = 1; */ public int getTypeValue() { return type_; } /** *
     * Type of pricing/inventory to employ for this product. Can either be `UNIT` or `WEIGHTED` pricing.
     * 
* * .opencannabis.structs.pricing.PricingType type = 1; */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** *
     * Type of pricing/inventory to employ for this product. Can either be `UNIT` or `WEIGHTED` pricing.
     * 
* * .opencannabis.structs.pricing.PricingType type = 1; */ public io.opencannabis.schema.product.struct.PricingType getType() { @SuppressWarnings("deprecation") io.opencannabis.schema.product.struct.PricingType result = io.opencannabis.schema.product.struct.PricingType.valueOf(type_); return result == null ? io.opencannabis.schema.product.struct.PricingType.UNRECOGNIZED : result; } /** *
     * Type of pricing/inventory to employ for this product. Can either be `UNIT` or `WEIGHTED` pricing.
     * 
* * .opencannabis.structs.pricing.PricingType type = 1; */ public Builder setType(io.opencannabis.schema.product.struct.PricingType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** *
     * Type of pricing/inventory to employ for this product. Can either be `UNIT` or `WEIGHTED` pricing.
     * 
* * .opencannabis.structs.pricing.PricingType type = 1; */ public Builder clearType() { type_ = 0; onChanged(); return this; } /** *
     * The inventory item is unit-based, i.e., just individual items.
     * 
* * bool unit = 2; */ public boolean getUnit() { if (basisCase_ == 2) { return (java.lang.Boolean) basis_; } return false; } /** *
     * The inventory item is unit-based, i.e., just individual items.
     * 
* * bool unit = 2; */ public Builder setUnit(boolean value) { basisCase_ = 2; basis_ = value; onChanged(); return this; } /** *
     * The inventory item is unit-based, i.e., just individual items.
     * 
* * bool unit = 2; */ public Builder clearUnit() { if (basisCase_ == 2) { basisCase_ = 0; basis_ = null; onChanged(); } return this; } /** *
     * The inventory item is weight-based, i.e., a certain amount of grams or pounds.
     * 
* * .opencannabis.structs.pricing.PricingWeightTier weight = 3; */ public int getWeightValue() { if (basisCase_ == 3) { return ((java.lang.Integer) basis_).intValue(); } return 0; } /** *
     * The inventory item is weight-based, i.e., a certain amount of grams or pounds.
     * 
* * .opencannabis.structs.pricing.PricingWeightTier weight = 3; */ public Builder setWeightValue(int value) { basisCase_ = 3; basis_ = value; onChanged(); return this; } /** *
     * The inventory item is weight-based, i.e., a certain amount of grams or pounds.
     * 
* * .opencannabis.structs.pricing.PricingWeightTier weight = 3; */ public io.opencannabis.schema.product.struct.PricingWeightTier getWeight() { if (basisCase_ == 3) { @SuppressWarnings("deprecation") io.opencannabis.schema.product.struct.PricingWeightTier result = io.opencannabis.schema.product.struct.PricingWeightTier.valueOf( (java.lang.Integer) basis_); return result == null ? io.opencannabis.schema.product.struct.PricingWeightTier.UNRECOGNIZED : result; } return io.opencannabis.schema.product.struct.PricingWeightTier.NO_WEIGHT; } /** *
     * The inventory item is weight-based, i.e., a certain amount of grams or pounds.
     * 
* * .opencannabis.structs.pricing.PricingWeightTier weight = 3; */ public Builder setWeight(io.opencannabis.schema.product.struct.PricingWeightTier value) { if (value == null) { throw new NullPointerException(); } basisCase_ = 3; basis_ = value.getNumber(); onChanged(); return this; } /** *
     * The inventory item is weight-based, i.e., a certain amount of grams or pounds.
     * 
* * .opencannabis.structs.pricing.PricingWeightTier weight = 3; */ public Builder clearWeight() { if (basisCase_ == 3) { basisCase_ = 0; basis_ = null; onChanged(); } return this; } private long quantity_ ; /** *
     * Actual amount specified for the given inventory.
     * 
* * uint64 quantity = 4; */ public long getQuantity() { return quantity_; } /** *
     * Actual amount specified for the given inventory.
     * 
* * uint64 quantity = 4; */ public Builder setQuantity(long value) { quantity_ = value; onChanged(); return this; } /** *
     * Actual amount specified for the given inventory.
     * 
* * uint64 quantity = 4; */ public Builder clearQuantity() { quantity_ = 0L; 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:opencannabis.inventory.InventoryAmount) } // @@protoc_insertion_point(class_scope:opencannabis.inventory.InventoryAmount) private static final io.opencannabis.schema.inventory.InventoryAmount DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.opencannabis.schema.inventory.InventoryAmount(); } public static io.opencannabis.schema.inventory.InventoryAmount getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InventoryAmount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InventoryAmount(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 io.opencannabis.schema.inventory.InventoryAmount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy