
io.opencannabis.schema.menu.StaticMenuOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2018, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishing of derivative works, for commercial
* purposes or any other purpose, from a duly authorized officer of Momentum
* Ideas Co.
*
* 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: products/menu/Menu.proto
package io.opencannabis.schema.menu;
public interface StaticMenuOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencannabis.products.menu.StaticMenu)
com.google.protobuf.MessageOrBuilder {
/**
*
* Specifies APOTHECARY products attached to this menu.
*
*
* map<string, .opencannabis.products.Apothecary> apothecary = 1;
*/
int getApothecaryCount();
/**
*
* Specifies APOTHECARY products attached to this menu.
*
*
* map<string, .opencannabis.products.Apothecary> apothecary = 1;
*/
boolean containsApothecary(
java.lang.String key);
/**
* Use {@link #getApothecaryMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getApothecary();
/**
*
* Specifies APOTHECARY products attached to this menu.
*
*
* map<string, .opencannabis.products.Apothecary> apothecary = 1;
*/
java.util.Map
getApothecaryMap();
/**
*
* Specifies APOTHECARY products attached to this menu.
*
*
* map<string, .opencannabis.products.Apothecary> apothecary = 1;
*/
io.opencannabis.schema.product.ApothecaryProduct.Apothecary getApothecaryOrDefault(
java.lang.String key,
io.opencannabis.schema.product.ApothecaryProduct.Apothecary defaultValue);
/**
*
* Specifies APOTHECARY products attached to this menu.
*
*
* map<string, .opencannabis.products.Apothecary> apothecary = 1;
*/
io.opencannabis.schema.product.ApothecaryProduct.Apothecary getApothecaryOrThrow(
java.lang.String key);
/**
*
* Specifies CARTRIDGE products attached to this menu.
*
*
* map<string, .opencannabis.products.Cartridge> cartridges = 2;
*/
int getCartridgesCount();
/**
*
* Specifies CARTRIDGE products attached to this menu.
*
*
* map<string, .opencannabis.products.Cartridge> cartridges = 2;
*/
boolean containsCartridges(
java.lang.String key);
/**
* Use {@link #getCartridgesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getCartridges();
/**
*
* Specifies CARTRIDGE products attached to this menu.
*
*
* map<string, .opencannabis.products.Cartridge> cartridges = 2;
*/
java.util.Map
getCartridgesMap();
/**
*
* Specifies CARTRIDGE products attached to this menu.
*
*
* map<string, .opencannabis.products.Cartridge> cartridges = 2;
*/
io.opencannabis.schema.product.CartridgeProduct.Cartridge getCartridgesOrDefault(
java.lang.String key,
io.opencannabis.schema.product.CartridgeProduct.Cartridge defaultValue);
/**
*
* Specifies CARTRIDGE products attached to this menu.
*
*
* map<string, .opencannabis.products.Cartridge> cartridges = 2;
*/
io.opencannabis.schema.product.CartridgeProduct.Cartridge getCartridgesOrThrow(
java.lang.String key);
/**
*
* Specifies EDIBLE products attached to this menu.
*
*
* map<string, .opencannabis.products.Edible> edibles = 3;
*/
int getEdiblesCount();
/**
*
* Specifies EDIBLE products attached to this menu.
*
*
* map<string, .opencannabis.products.Edible> edibles = 3;
*/
boolean containsEdibles(
java.lang.String key);
/**
* Use {@link #getEdiblesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getEdibles();
/**
*
* Specifies EDIBLE products attached to this menu.
*
*
* map<string, .opencannabis.products.Edible> edibles = 3;
*/
java.util.Map
getEdiblesMap();
/**
*
* Specifies EDIBLE products attached to this menu.
*
*
* map<string, .opencannabis.products.Edible> edibles = 3;
*/
io.opencannabis.schema.product.EdibleProduct.Edible getEdiblesOrDefault(
java.lang.String key,
io.opencannabis.schema.product.EdibleProduct.Edible defaultValue);
/**
*
* Specifies EDIBLE products attached to this menu.
*
*
* map<string, .opencannabis.products.Edible> edibles = 3;
*/
io.opencannabis.schema.product.EdibleProduct.Edible getEdiblesOrThrow(
java.lang.String key);
/**
*
* Specifies EXTRACT products attached to this menu.
*
*
* map<string, .opencannabis.products.Extract> extracts = 4;
*/
int getExtractsCount();
/**
*
* Specifies EXTRACT products attached to this menu.
*
*
* map<string, .opencannabis.products.Extract> extracts = 4;
*/
boolean containsExtracts(
java.lang.String key);
/**
* Use {@link #getExtractsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getExtracts();
/**
*
* Specifies EXTRACT products attached to this menu.
*
*
* map<string, .opencannabis.products.Extract> extracts = 4;
*/
java.util.Map
getExtractsMap();
/**
*
* Specifies EXTRACT products attached to this menu.
*
*
* map<string, .opencannabis.products.Extract> extracts = 4;
*/
io.opencannabis.schema.product.ExtractProduct.Extract getExtractsOrDefault(
java.lang.String key,
io.opencannabis.schema.product.ExtractProduct.Extract defaultValue);
/**
*
* Specifies EXTRACT products attached to this menu.
*
*
* map<string, .opencannabis.products.Extract> extracts = 4;
*/
io.opencannabis.schema.product.ExtractProduct.Extract getExtractsOrThrow(
java.lang.String key);
/**
*
* Specifies FLOWER products attached to this menu.
*
*
* map<string, .opencannabis.products.Flower> flowers = 5;
*/
int getFlowersCount();
/**
*
* Specifies FLOWER products attached to this menu.
*
*
* map<string, .opencannabis.products.Flower> flowers = 5;
*/
boolean containsFlowers(
java.lang.String key);
/**
* Use {@link #getFlowersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getFlowers();
/**
*
* Specifies FLOWER products attached to this menu.
*
*
* map<string, .opencannabis.products.Flower> flowers = 5;
*/
java.util.Map
getFlowersMap();
/**
*
* Specifies FLOWER products attached to this menu.
*
*
* map<string, .opencannabis.products.Flower> flowers = 5;
*/
io.opencannabis.schema.product.FlowerProduct.Flower getFlowersOrDefault(
java.lang.String key,
io.opencannabis.schema.product.FlowerProduct.Flower defaultValue);
/**
*
* Specifies FLOWER products attached to this menu.
*
*
* map<string, .opencannabis.products.Flower> flowers = 5;
*/
io.opencannabis.schema.product.FlowerProduct.Flower getFlowersOrThrow(
java.lang.String key);
/**
*
* Specifies MERCHANDISE products attached to this menu.
*
*
* map<string, .opencannabis.products.Merchandise> merchandise = 6;
*/
int getMerchandiseCount();
/**
*
* Specifies MERCHANDISE products attached to this menu.
*
*
* map<string, .opencannabis.products.Merchandise> merchandise = 6;
*/
boolean containsMerchandise(
java.lang.String key);
/**
* Use {@link #getMerchandiseMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getMerchandise();
/**
*
* Specifies MERCHANDISE products attached to this menu.
*
*
* map<string, .opencannabis.products.Merchandise> merchandise = 6;
*/
java.util.Map
getMerchandiseMap();
/**
*
* Specifies MERCHANDISE products attached to this menu.
*
*
* map<string, .opencannabis.products.Merchandise> merchandise = 6;
*/
io.opencannabis.schema.product.MerchandiseProduct.Merchandise getMerchandiseOrDefault(
java.lang.String key,
io.opencannabis.schema.product.MerchandiseProduct.Merchandise defaultValue);
/**
*
* Specifies MERCHANDISE products attached to this menu.
*
*
* map<string, .opencannabis.products.Merchandise> merchandise = 6;
*/
io.opencannabis.schema.product.MerchandiseProduct.Merchandise getMerchandiseOrThrow(
java.lang.String key);
/**
*
* Specifies PLANT products attached to this menu.
*
*
* map<string, .opencannabis.products.Plant> plants = 7;
*/
int getPlantsCount();
/**
*
* Specifies PLANT products attached to this menu.
*
*
* map<string, .opencannabis.products.Plant> plants = 7;
*/
boolean containsPlants(
java.lang.String key);
/**
* Use {@link #getPlantsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getPlants();
/**
*
* Specifies PLANT products attached to this menu.
*
*
* map<string, .opencannabis.products.Plant> plants = 7;
*/
java.util.Map
getPlantsMap();
/**
*
* Specifies PLANT products attached to this menu.
*
*
* map<string, .opencannabis.products.Plant> plants = 7;
*/
io.opencannabis.schema.product.PlantProduct.Plant getPlantsOrDefault(
java.lang.String key,
io.opencannabis.schema.product.PlantProduct.Plant defaultValue);
/**
*
* Specifies PLANT products attached to this menu.
*
*
* map<string, .opencannabis.products.Plant> plants = 7;
*/
io.opencannabis.schema.product.PlantProduct.Plant getPlantsOrThrow(
java.lang.String key);
/**
*
* Specifies PREROLL products attached to this menu.
*
*
* map<string, .opencannabis.products.Preroll> prerolls = 8;
*/
int getPrerollsCount();
/**
*
* Specifies PREROLL products attached to this menu.
*
*
* map<string, .opencannabis.products.Preroll> prerolls = 8;
*/
boolean containsPrerolls(
java.lang.String key);
/**
* Use {@link #getPrerollsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getPrerolls();
/**
*
* Specifies PREROLL products attached to this menu.
*
*
* map<string, .opencannabis.products.Preroll> prerolls = 8;
*/
java.util.Map
getPrerollsMap();
/**
*
* Specifies PREROLL products attached to this menu.
*
*
* map<string, .opencannabis.products.Preroll> prerolls = 8;
*/
io.opencannabis.schema.product.PrerollProduct.Preroll getPrerollsOrDefault(
java.lang.String key,
io.opencannabis.schema.product.PrerollProduct.Preroll defaultValue);
/**
*
* Specifies PREROLL products attached to this menu.
*
*
* map<string, .opencannabis.products.Preroll> prerolls = 8;
*/
io.opencannabis.schema.product.PrerollProduct.Preroll getPrerollsOrThrow(
java.lang.String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy