coffeecov1

package
v0.0.0-...-1ad6b33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Coffee_Roast_name = map[int32]string{
		0: "ROAST_UNSPECIFIED",
		1: "ROAST_LIGHT",
		2: "ROAST_MEDIUM",
		3: "ROAST_DARK",
		4: "ROAST_EXTRA_DARK",
	}
	Coffee_Roast_value = map[string]int32{
		"ROAST_UNSPECIFIED": 0,
		"ROAST_LIGHT":       1,
		"ROAST_MEDIUM":      2,
		"ROAST_DARK":        3,
		"ROAST_EXTRA_DARK":  4,
	}
)

Enum value maps for Coffee_Roast.

View Source
var (
	Coffee_FlavorProfile_name = map[int32]string{
		0:    "FLAVOR_PROFILE_UNSPECIFIED",
		1:    "FLAVOR_PROFILE_NUTTY",
		1111: "FLAVOR_PROFILE_PEANUTS",
		1112: "FLAVOR_PROFILE_HAZELNUT",
		1113: "FLAVOR_PROFILE_ALMOND",
		2:    "FLAVOR_PROFILE_COCOA",
		2111: "FLAVOR_PROFILE_CHOCOLATE",
		2112: "FLAVOR_PROFILE_DARK_CHOCOLATE",
		3:    "FLAVOR_PROFILE_FLORAL",
		31:   "FLAVOR_PROFILE_BLACK_TEA",
		4:    "FLAVOR_PROFILE_FRUITY",
		41:   "FLAVOR_PROFILE_DRIED_FRUIT",
		410:  "FLAVOR_PROFILE_RAISIN",
		411:  "FLAVOR_PROFILE_PRUNE",
		42:   "FLAVOR_PROFILE_BERRY",
		420:  "FLAVOR_PROFILE_BLACKBERRY",
		421:  "FLAVOR_PROFILE_RASPBERRY",
		422:  "FLAVOR_PROFILE_BLUEBERRY",
		423:  "FLAVOR_PROFILE_STRAWBERRY",
		43:   "FLAVOR_PROFILE_OTHER_FRUIT",
		430:  "FLAVOR_PROFILE_COCONUT",
		431:  "FLAVOR_PROFILE_CHERRY",
		432:  "FLAVOR_PROFILE_POMEGRANATE",
		433:  "FLAVOR_PROFILE_PINEAPPLE",
		434:  "FLAVOR_PROFILE_GRAPE",
		435:  "FLAVOR_PROFILE_APPLE",
		436:  "FLAVOR_PROFILE_PEACH",
		437:  "FLAVOR_PROFILE_PEAR",
		44:   "FLAVOR_PROFILE_CITRUS_FRUIT",
		440:  "FLAVOR_PROFILE_GRAPEFRUIT",
		441:  "FLAVOR_PROFILE_ORANGE",
		442:  "FLAVOR_PROFILE_LEMON",
		443:  "FLAVOR_PROFILE_LIME",
		5:    "FLAVOR_PROFILE_SOUR",
		50:   "FLAVOR_PROFILE_SOUR_AROMATICS",
		51:   "FLAVOR_PROFILE_ACETIC_ACID",
		52:   "FLAVOR_PROFILE_BUTYRIC_ACID",
		53:   "FLAVOR_PROFILE_ISOVALERIC_ACID",
		54:   "FLAVOR_PROFILE_CITRIC_ACID",
		55:   "FLAVOR_PROFILE_MALIC_ACID",
		6:    "FLAVOR_PROFILE_FERMENTED",
		60:   "FLAVOR_PROFILE_WINEY",
		61:   "FLAVOR_PROFILE_WHISKEY",
		62:   "FLAVOR_PROFILE_OVERRIPE",
		7:    "FLAVOR_PROFILE_GREEN",
		70:   "FLAVOR_PROFILE_OLIVE_OIL",
		71:   "FLAVOR_PROFILE_RAW",
		8:    "FLAVOR_PROFILE_VEGETATIVE",
		80:   "FLAVOR_PROFILE_UNDER_RIPE",
		81:   "FLAVOR_PROFILE_PEAPOD",
		82:   "FLAVOR_PROFILE_FRESH",
		83:   "FLAVOR_PROFILE_DARK_GREEN",
		84:   "FLAVOR_PROFILE_HAY_LIKE",
		85:   "FLAVOR_PROFILE_HERB_LIKE",
		86:   "FLAVOR_PROFILE_BEANY",
		9:    "FLAVOR_PROFILE_ROASTED",
		90:   "FLAVOR_PROFILE_CEREAL",
		900:  "FLAVOR_PROFILE_MALT",
		901:  "FLAVOR_PROFILE_GRAIN",
		91:   "FLAVOR_PROFILE_BURNT",
		910:  "FLAVOR_PROFILE_BROWN_ROAST",
		911:  "FLAVOR_PROFILE_SMOKY",
		912:  "FLAVOR_PROFILE_ASHY",
		913:  "FLAVOR_PROFILE_ACRID",
		92:   "FLAVOR_PROFILE_TOBACCO",
		93:   "FLAVOR_PROFILE_PIPE_TOBACCO",
		10:   "FLAVOR_PROFILE_SPICES",
		100:  "FLAVOR_PROFILE_BROWN_SPICE",
		1000: "FLAVOR_PROFILE_CLOVE",
		1001: "FLAVOR_PROFILE_CINNAMON",
		1002: "FLAVOR_PROFILE_NUTMEG",
		1003: "FLAVOR_PROFILE_ANISE",
		101:  "FLAVOR_PROFILE_PEPPER",
		102:  "FLAVOR_PROFILE_PUNGENT",
		11:   "FLAVOR_PROFILE_OTHER",
		12:   "FLAVOR_PROFILE_SWEET",
		120:  "FLAVOR_PROFILE_BROWN_SUGAR",
		1200: "FLAVOR_PROFILE_MOLASSES",
		1201: "FLAVOR_PROFILE_MAPLE_SYRUP",
		1202: "FLAVOR_PROFILE_CARMELIZED",
		1203: "FLAVOR_PROFILE_HONEY",
		121:  "FLAVOR_PROFILE_VANILLA",
		122:  "FLAVOR_PROFILE_VANILLIN",
		123:  "FLAVOR_PROFILE_OVERALL_SWEET",
		124:  "FLAVOR_PROFILE_SWEET_AROMATICS",
	}
	Coffee_FlavorProfile_value = map[string]int32{
		"FLAVOR_PROFILE_UNSPECIFIED":     0,
		"FLAVOR_PROFILE_NUTTY":           1,
		"FLAVOR_PROFILE_PEANUTS":         1111,
		"FLAVOR_PROFILE_HAZELNUT":        1112,
		"FLAVOR_PROFILE_ALMOND":          1113,
		"FLAVOR_PROFILE_COCOA":           2,
		"FLAVOR_PROFILE_CHOCOLATE":       2111,
		"FLAVOR_PROFILE_DARK_CHOCOLATE":  2112,
		"FLAVOR_PROFILE_FLORAL":          3,
		"FLAVOR_PROFILE_BLACK_TEA":       31,
		"FLAVOR_PROFILE_FRUITY":          4,
		"FLAVOR_PROFILE_DRIED_FRUIT":     41,
		"FLAVOR_PROFILE_RAISIN":          410,
		"FLAVOR_PROFILE_PRUNE":           411,
		"FLAVOR_PROFILE_BERRY":           42,
		"FLAVOR_PROFILE_BLACKBERRY":      420,
		"FLAVOR_PROFILE_RASPBERRY":       421,
		"FLAVOR_PROFILE_BLUEBERRY":       422,
		"FLAVOR_PROFILE_STRAWBERRY":      423,
		"FLAVOR_PROFILE_OTHER_FRUIT":     43,
		"FLAVOR_PROFILE_COCONUT":         430,
		"FLAVOR_PROFILE_CHERRY":          431,
		"FLAVOR_PROFILE_POMEGRANATE":     432,
		"FLAVOR_PROFILE_PINEAPPLE":       433,
		"FLAVOR_PROFILE_GRAPE":           434,
		"FLAVOR_PROFILE_APPLE":           435,
		"FLAVOR_PROFILE_PEACH":           436,
		"FLAVOR_PROFILE_PEAR":            437,
		"FLAVOR_PROFILE_CITRUS_FRUIT":    44,
		"FLAVOR_PROFILE_GRAPEFRUIT":      440,
		"FLAVOR_PROFILE_ORANGE":          441,
		"FLAVOR_PROFILE_LEMON":           442,
		"FLAVOR_PROFILE_LIME":            443,
		"FLAVOR_PROFILE_SOUR":            5,
		"FLAVOR_PROFILE_SOUR_AROMATICS":  50,
		"FLAVOR_PROFILE_ACETIC_ACID":     51,
		"FLAVOR_PROFILE_BUTYRIC_ACID":    52,
		"FLAVOR_PROFILE_ISOVALERIC_ACID": 53,
		"FLAVOR_PROFILE_CITRIC_ACID":     54,
		"FLAVOR_PROFILE_MALIC_ACID":      55,
		"FLAVOR_PROFILE_FERMENTED":       6,
		"FLAVOR_PROFILE_WINEY":           60,
		"FLAVOR_PROFILE_WHISKEY":         61,
		"FLAVOR_PROFILE_OVERRIPE":        62,
		"FLAVOR_PROFILE_GREEN":           7,
		"FLAVOR_PROFILE_OLIVE_OIL":       70,
		"FLAVOR_PROFILE_RAW":             71,
		"FLAVOR_PROFILE_VEGETATIVE":      8,
		"FLAVOR_PROFILE_UNDER_RIPE":      80,
		"FLAVOR_PROFILE_PEAPOD":          81,
		"FLAVOR_PROFILE_FRESH":           82,
		"FLAVOR_PROFILE_DARK_GREEN":      83,
		"FLAVOR_PROFILE_HAY_LIKE":        84,
		"FLAVOR_PROFILE_HERB_LIKE":       85,
		"FLAVOR_PROFILE_BEANY":           86,
		"FLAVOR_PROFILE_ROASTED":         9,
		"FLAVOR_PROFILE_CEREAL":          90,
		"FLAVOR_PROFILE_MALT":            900,
		"FLAVOR_PROFILE_GRAIN":           901,
		"FLAVOR_PROFILE_BURNT":           91,
		"FLAVOR_PROFILE_BROWN_ROAST":     910,
		"FLAVOR_PROFILE_SMOKY":           911,
		"FLAVOR_PROFILE_ASHY":            912,
		"FLAVOR_PROFILE_ACRID":           913,
		"FLAVOR_PROFILE_TOBACCO":         92,
		"FLAVOR_PROFILE_PIPE_TOBACCO":    93,
		"FLAVOR_PROFILE_SPICES":          10,
		"FLAVOR_PROFILE_BROWN_SPICE":     100,
		"FLAVOR_PROFILE_CLOVE":           1000,
		"FLAVOR_PROFILE_CINNAMON":        1001,
		"FLAVOR_PROFILE_NUTMEG":          1002,
		"FLAVOR_PROFILE_ANISE":           1003,
		"FLAVOR_PROFILE_PEPPER":          101,
		"FLAVOR_PROFILE_PUNGENT":         102,
		"FLAVOR_PROFILE_OTHER":           11,
		"FLAVOR_PROFILE_SWEET":           12,
		"FLAVOR_PROFILE_BROWN_SUGAR":     120,
		"FLAVOR_PROFILE_MOLASSES":        1200,
		"FLAVOR_PROFILE_MAPLE_SYRUP":     1201,
		"FLAVOR_PROFILE_CARMELIZED":      1202,
		"FLAVOR_PROFILE_HONEY":           1203,
		"FLAVOR_PROFILE_VANILLA":         121,
		"FLAVOR_PROFILE_VANILLIN":        122,
		"FLAVOR_PROFILE_OVERALL_SWEET":   123,
		"FLAVOR_PROFILE_SWEET_AROMATICS": 124,
	}
)

Enum value maps for Coffee_FlavorProfile.

View Source
var (
	Coffee_CoffeeVendor_name = map[int32]string{
		0: "COFFEE_VENDOR_UNSPECIFIED",
		1: "COFFEE_VENDOR_VERVE",
		2: "COFFEE_VENDOR_RITUAL",
		3: "COFFEE_VENDOR_FOUR_BARREL",
	}
	Coffee_CoffeeVendor_value = map[string]int32{
		"COFFEE_VENDOR_UNSPECIFIED": 0,
		"COFFEE_VENDOR_VERVE":       1,
		"COFFEE_VENDOR_RITUAL":      2,
		"COFFEE_VENDOR_FOUR_BARREL": 3,
	}
)

Enum value maps for Coffee_CoffeeVendor.

View Source
var (
	Customer_CustomerType_name = map[int32]string{
		0: "CUSTOMER_TYPE_UNSPECIFIED",
		1: "CUSTOMER_TYPE_GUEST",
		2: "CUSTOMER_TYPE_MEMBER",
	}
	Customer_CustomerType_value = map[string]int32{
		"CUSTOMER_TYPE_UNSPECIFIED": 0,
		"CUSTOMER_TYPE_GUEST":       1,
		"CUSTOMER_TYPE_MEMBER":      2,
	}
)

Enum value maps for Customer_CustomerType.

View Source
var (
	Total_CurrencyCode_name = map[int32]string{
		0: "CURRENCY_CODE_UNSPECIFIED",
		1: "CURRENCY_CODE_USD",
	}
	Total_CurrencyCode_value = map[string]int32{
		"CURRENCY_CODE_UNSPECIFIED": 0,
		"CURRENCY_CODE_USD":         1,
	}
)

Enum value maps for Total_CurrencyCode.

View Source
var (
	CoffeeProduct_Size_name = map[int32]string{
		0: "SIZE_UNSPECIFIED",
		1: "SIZE_SMALL",
		2: "SIZE_MEDIUM",
		3: "SIZE_LARGE",
		4: "SIZE_XLARGE",
	}
	CoffeeProduct_Size_value = map[string]int32{
		"SIZE_UNSPECIFIED": 0,
		"SIZE_SMALL":       1,
		"SIZE_MEDIUM":      2,
		"SIZE_LARGE":       3,
		"SIZE_XLARGE":      4,
	}
)

Enum value maps for CoffeeProduct_Size.

View Source
var (
	CoffeeProduct_Style_name = map[int32]string{
		0:  "STYLE_UNSPECIFIED",
		1:  "STYLE_EXPRESSO",
		2:  "STYLE_DOPPIO",
		3:  "STYLE_LUNGO",
		4:  "STYLE_RISTRETTO",
		5:  "STYLE_MACCHIATO",
		6:  "STYLE_CORRETTO",
		7:  "STYLE_CON_PANNA",
		8:  "STYLE_ROMANO",
		9:  "STYLE_CAPPUCCINO",
		10: "STYLE_AMERICANO",
		11: "STYLE_CAFE_LATTE",
		12: "STYLE_FLAT_WHITE",
		13: "STYLE_MAROCCHINO",
		14: "STYLE_MOCHA",
		15: "STYLE_BICERIN",
		16: "STYLE_BREVE",
		17: "STYLE_RAF_COFFEE",
		18: "STYLE_MEAD_RAF",
		19: "STYLE_VIENNA_COFFEE",
		20: "STYLE_CHOCOLATE_MILK",
		21: "STYLE_COCOA",
		22: "STYLE_LATTE_MACCHIATO",
		23: "STYLE_GLACE",
		24: "STYLE_FREDDO",
		25: "STYLE_IRISH_COFFEE",
		26: "STYLE_FRAPPE",
		27: "STYLE_CAPPUCCINO_FREDDO",
		28: "STYLE_CARAMEL_FRAPPE",
		29: "STYLE_EXPRESSO_LACCINO",
		30: "STYLE_CAFFE_AFFOGATO",
		31: "STYLE_POUR_OVER",
		32: "STYLE_LATTE",
	}
	CoffeeProduct_Style_value = map[string]int32{
		"STYLE_UNSPECIFIED":       0,
		"STYLE_EXPRESSO":          1,
		"STYLE_DOPPIO":            2,
		"STYLE_LUNGO":             3,
		"STYLE_RISTRETTO":         4,
		"STYLE_MACCHIATO":         5,
		"STYLE_CORRETTO":          6,
		"STYLE_CON_PANNA":         7,
		"STYLE_ROMANO":            8,
		"STYLE_CAPPUCCINO":        9,
		"STYLE_AMERICANO":         10,
		"STYLE_CAFE_LATTE":        11,
		"STYLE_FLAT_WHITE":        12,
		"STYLE_MAROCCHINO":        13,
		"STYLE_MOCHA":             14,
		"STYLE_BICERIN":           15,
		"STYLE_BREVE":             16,
		"STYLE_RAF_COFFEE":        17,
		"STYLE_MEAD_RAF":          18,
		"STYLE_VIENNA_COFFEE":     19,
		"STYLE_CHOCOLATE_MILK":    20,
		"STYLE_COCOA":             21,
		"STYLE_LATTE_MACCHIATO":   22,
		"STYLE_GLACE":             23,
		"STYLE_FREDDO":            24,
		"STYLE_IRISH_COFFEE":      25,
		"STYLE_FRAPPE":            26,
		"STYLE_CAPPUCCINO_FREDDO": 27,
		"STYLE_CARAMEL_FRAPPE":    28,
		"STYLE_EXPRESSO_LACCINO":  29,
		"STYLE_CAFFE_AFFOGATO":    30,
		"STYLE_POUR_OVER":         31,
		"STYLE_LATTE":             32,
	}
)

Enum value maps for CoffeeProduct_Style.

View Source
var (
	Store_LocationStatus_name = map[int32]string{
		0: "LOCATION_STATUS_UNSPECIFIED",
		1: "LOCATION_STATUS_UNDER_CONSTRUCTION",
		2: "LOCATION_STATUS_OPEN_TO_PUBLIC",
		3: "LOCATION_STATUS_CLOSED_FOR_UPGRADES",
		4: "LOCATION_STATUS_CLOSED_PERMANENTLY",
	}
	Store_LocationStatus_value = map[string]int32{
		"LOCATION_STATUS_UNSPECIFIED":         0,
		"LOCATION_STATUS_UNDER_CONSTRUCTION":  1,
		"LOCATION_STATUS_OPEN_TO_PUBLIC":      2,
		"LOCATION_STATUS_CLOSED_FOR_UPGRADES": 3,
		"LOCATION_STATUS_CLOSED_PERMANENTLY":  4,
	}
)

Enum value maps for Store_LocationStatus.

View Source
var File_coffeeco_v1_coffee_proto protoreflect.FileDescriptor
View Source
var File_coffeeco_v1_customer_proto protoreflect.FileDescriptor
View Source
var File_coffeeco_v1_order_proto protoreflect.FileDescriptor
View Source
var File_coffeeco_v1_product_proto protoreflect.FileDescriptor
View Source
var File_coffeeco_v1_store_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Coffee

type Coffee struct {
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Vendor        Coffee_CoffeeVendor    `protobuf:"varint,4,opt,name=vendor,proto3,enum=coffeeco.v1.Coffee_CoffeeVendor" json:"vendor,omitempty"`
	Roast         Coffee_Roast           `protobuf:"varint,2,opt,name=roast,proto3,enum=coffeeco.v1.Coffee_Roast" json:"roast,omitempty"`
	FlavorProfile []Coffee_FlavorProfile `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Coffee) Descriptor deprecated

func (*Coffee) Descriptor() ([]byte, []int)

Deprecated: Use Coffee.ProtoReflect.Descriptor instead.

func (*Coffee) GetFlavorProfile

func (x *Coffee) GetFlavorProfile() []Coffee_FlavorProfile

func (*Coffee) GetName

func (x *Coffee) GetName() string

func (*Coffee) GetRoast

func (x *Coffee) GetRoast() Coffee_Roast

func (*Coffee) GetVendor

func (x *Coffee) GetVendor() Coffee_CoffeeVendor

func (*Coffee) ProtoMessage

func (*Coffee) ProtoMessage()

func (*Coffee) ProtoReflect

func (x *Coffee) ProtoReflect() protoreflect.Message

func (*Coffee) Reset

func (x *Coffee) Reset()

func (*Coffee) String

func (x *Coffee) String() string

type CoffeeProduct

type CoffeeProduct struct {

	// We need to track the "type" of Coffee being sold
	// This helps us to see which Vendor has the best product
	Coffee *Coffee `protobuf:"bytes,1,opt,name=coffee,proto3" json:"coffee,omitempty"`
	// In order to sell a product, we need to understand the size that is required
	// If most people order a specific type of coffee at a specific size, then
	// We can forecast our future demands and ensure our product doesn't sit on the
	// Shelf too long. Coffee has a shelf life (for best flavor, scent) of about 1 month
	Size CoffeeProduct_Size `protobuf:"varint,2,opt,name=size,proto3,enum=coffeeco.v1.CoffeeProduct_Size" json:"size,omitempty"`
	// Each Coffee can be produced with a specific Style
	// This is like the traditional SKU from retail
	Style CoffeeProduct_Style `protobuf:"varint,3,opt,name=style,proto3,enum=coffeeco.v1.CoffeeProduct_Style" json:"style,omitempty"` // typically each Product would have a Unit Cost. Let's suspend disbelief for the sake of the presentation
	// contains filtered or unexported fields
}

func (*CoffeeProduct) Descriptor deprecated

func (*CoffeeProduct) Descriptor() ([]byte, []int)

Deprecated: Use CoffeeProduct.ProtoReflect.Descriptor instead.

func (*CoffeeProduct) GetCoffee

func (x *CoffeeProduct) GetCoffee() *Coffee

func (*CoffeeProduct) GetSize

func (x *CoffeeProduct) GetSize() CoffeeProduct_Size

func (*CoffeeProduct) GetStyle

func (x *CoffeeProduct) GetStyle() CoffeeProduct_Style

func (*CoffeeProduct) ProtoMessage

func (*CoffeeProduct) ProtoMessage()

func (*CoffeeProduct) ProtoReflect

func (x *CoffeeProduct) ProtoReflect() protoreflect.Message

func (*CoffeeProduct) Reset

func (x *CoffeeProduct) Reset()

func (*CoffeeProduct) String

func (x *CoffeeProduct) String() string

type CoffeeProduct_Size

type CoffeeProduct_Size int32
const (
	CoffeeProduct_SIZE_UNSPECIFIED CoffeeProduct_Size = 0
	CoffeeProduct_SIZE_SMALL       CoffeeProduct_Size = 1
	CoffeeProduct_SIZE_MEDIUM      CoffeeProduct_Size = 2
	CoffeeProduct_SIZE_LARGE       CoffeeProduct_Size = 3
	CoffeeProduct_SIZE_XLARGE      CoffeeProduct_Size = 4
)

func (CoffeeProduct_Size) Descriptor

func (CoffeeProduct_Size) Enum

func (CoffeeProduct_Size) EnumDescriptor deprecated

func (CoffeeProduct_Size) EnumDescriptor() ([]byte, []int)

Deprecated: Use CoffeeProduct_Size.Descriptor instead.

func (CoffeeProduct_Size) Number

func (CoffeeProduct_Size) String

func (x CoffeeProduct_Size) String() string

func (CoffeeProduct_Size) Type

type CoffeeProduct_Style

type CoffeeProduct_Style int32
const (
	CoffeeProduct_STYLE_UNSPECIFIED       CoffeeProduct_Style = 0
	CoffeeProduct_STYLE_EXPRESSO          CoffeeProduct_Style = 1
	CoffeeProduct_STYLE_DOPPIO            CoffeeProduct_Style = 2
	CoffeeProduct_STYLE_LUNGO             CoffeeProduct_Style = 3
	CoffeeProduct_STYLE_RISTRETTO         CoffeeProduct_Style = 4
	CoffeeProduct_STYLE_MACCHIATO         CoffeeProduct_Style = 5
	CoffeeProduct_STYLE_CORRETTO          CoffeeProduct_Style = 6
	CoffeeProduct_STYLE_CON_PANNA         CoffeeProduct_Style = 7
	CoffeeProduct_STYLE_ROMANO            CoffeeProduct_Style = 8
	CoffeeProduct_STYLE_CAPPUCCINO        CoffeeProduct_Style = 9
	CoffeeProduct_STYLE_AMERICANO         CoffeeProduct_Style = 10
	CoffeeProduct_STYLE_CAFE_LATTE        CoffeeProduct_Style = 11
	CoffeeProduct_STYLE_FLAT_WHITE        CoffeeProduct_Style = 12
	CoffeeProduct_STYLE_MAROCCHINO        CoffeeProduct_Style = 13
	CoffeeProduct_STYLE_MOCHA             CoffeeProduct_Style = 14
	CoffeeProduct_STYLE_BICERIN           CoffeeProduct_Style = 15
	CoffeeProduct_STYLE_BREVE             CoffeeProduct_Style = 16
	CoffeeProduct_STYLE_RAF_COFFEE        CoffeeProduct_Style = 17
	CoffeeProduct_STYLE_MEAD_RAF          CoffeeProduct_Style = 18
	CoffeeProduct_STYLE_VIENNA_COFFEE     CoffeeProduct_Style = 19
	CoffeeProduct_STYLE_CHOCOLATE_MILK    CoffeeProduct_Style = 20
	CoffeeProduct_STYLE_COCOA             CoffeeProduct_Style = 21
	CoffeeProduct_STYLE_LATTE_MACCHIATO   CoffeeProduct_Style = 22
	CoffeeProduct_STYLE_GLACE             CoffeeProduct_Style = 23
	CoffeeProduct_STYLE_FREDDO            CoffeeProduct_Style = 24
	CoffeeProduct_STYLE_IRISH_COFFEE      CoffeeProduct_Style = 25
	CoffeeProduct_STYLE_FRAPPE            CoffeeProduct_Style = 26
	CoffeeProduct_STYLE_CAPPUCCINO_FREDDO CoffeeProduct_Style = 27
	CoffeeProduct_STYLE_CARAMEL_FRAPPE    CoffeeProduct_Style = 28
	CoffeeProduct_STYLE_EXPRESSO_LACCINO  CoffeeProduct_Style = 29
	CoffeeProduct_STYLE_CAFFE_AFFOGATO    CoffeeProduct_Style = 30
	CoffeeProduct_STYLE_POUR_OVER         CoffeeProduct_Style = 31
	CoffeeProduct_STYLE_LATTE             CoffeeProduct_Style = 32
)

func (CoffeeProduct_Style) Descriptor

func (CoffeeProduct_Style) Enum

func (CoffeeProduct_Style) EnumDescriptor deprecated

func (CoffeeProduct_Style) EnumDescriptor() ([]byte, []int)

Deprecated: Use CoffeeProduct_Style.Descriptor instead.

func (CoffeeProduct_Style) Number

func (CoffeeProduct_Style) String

func (x CoffeeProduct_Style) String() string

func (CoffeeProduct_Style) Type

type Coffee_CoffeeVendor

type Coffee_CoffeeVendor int32
const (
	Coffee_COFFEE_VENDOR_UNSPECIFIED Coffee_CoffeeVendor = 0
	Coffee_COFFEE_VENDOR_VERVE       Coffee_CoffeeVendor = 1
	Coffee_COFFEE_VENDOR_RITUAL      Coffee_CoffeeVendor = 2
	Coffee_COFFEE_VENDOR_FOUR_BARREL Coffee_CoffeeVendor = 3
)

func (Coffee_CoffeeVendor) Descriptor

func (Coffee_CoffeeVendor) Enum

func (Coffee_CoffeeVendor) EnumDescriptor deprecated

func (Coffee_CoffeeVendor) EnumDescriptor() ([]byte, []int)

Deprecated: Use Coffee_CoffeeVendor.Descriptor instead.

func (Coffee_CoffeeVendor) Number

func (Coffee_CoffeeVendor) String

func (x Coffee_CoffeeVendor) String() string

func (Coffee_CoffeeVendor) Type

type Coffee_FlavorProfile

type Coffee_FlavorProfile int32
const (
	Coffee_FLAVOR_PROFILE_UNSPECIFIED     Coffee_FlavorProfile = 0
	Coffee_FLAVOR_PROFILE_NUTTY           Coffee_FlavorProfile = 1
	Coffee_FLAVOR_PROFILE_PEANUTS         Coffee_FlavorProfile = 1111
	Coffee_FLAVOR_PROFILE_HAZELNUT        Coffee_FlavorProfile = 1112
	Coffee_FLAVOR_PROFILE_ALMOND          Coffee_FlavorProfile = 1113
	Coffee_FLAVOR_PROFILE_COCOA           Coffee_FlavorProfile = 2
	Coffee_FLAVOR_PROFILE_CHOCOLATE       Coffee_FlavorProfile = 2111
	Coffee_FLAVOR_PROFILE_DARK_CHOCOLATE  Coffee_FlavorProfile = 2112
	Coffee_FLAVOR_PROFILE_FLORAL          Coffee_FlavorProfile = 3
	Coffee_FLAVOR_PROFILE_BLACK_TEA       Coffee_FlavorProfile = 31
	Coffee_FLAVOR_PROFILE_FRUITY          Coffee_FlavorProfile = 4
	Coffee_FLAVOR_PROFILE_DRIED_FRUIT     Coffee_FlavorProfile = 41
	Coffee_FLAVOR_PROFILE_RAISIN          Coffee_FlavorProfile = 410
	Coffee_FLAVOR_PROFILE_PRUNE           Coffee_FlavorProfile = 411
	Coffee_FLAVOR_PROFILE_BERRY           Coffee_FlavorProfile = 42
	Coffee_FLAVOR_PROFILE_BLACKBERRY      Coffee_FlavorProfile = 420
	Coffee_FLAVOR_PROFILE_RASPBERRY       Coffee_FlavorProfile = 421
	Coffee_FLAVOR_PROFILE_BLUEBERRY       Coffee_FlavorProfile = 422
	Coffee_FLAVOR_PROFILE_STRAWBERRY      Coffee_FlavorProfile = 423
	Coffee_FLAVOR_PROFILE_OTHER_FRUIT     Coffee_FlavorProfile = 43
	Coffee_FLAVOR_PROFILE_COCONUT         Coffee_FlavorProfile = 430
	Coffee_FLAVOR_PROFILE_CHERRY          Coffee_FlavorProfile = 431
	Coffee_FLAVOR_PROFILE_POMEGRANATE     Coffee_FlavorProfile = 432
	Coffee_FLAVOR_PROFILE_PINEAPPLE       Coffee_FlavorProfile = 433
	Coffee_FLAVOR_PROFILE_GRAPE           Coffee_FlavorProfile = 434
	Coffee_FLAVOR_PROFILE_APPLE           Coffee_FlavorProfile = 435
	Coffee_FLAVOR_PROFILE_PEACH           Coffee_FlavorProfile = 436
	Coffee_FLAVOR_PROFILE_PEAR            Coffee_FlavorProfile = 437
	Coffee_FLAVOR_PROFILE_CITRUS_FRUIT    Coffee_FlavorProfile = 44
	Coffee_FLAVOR_PROFILE_GRAPEFRUIT      Coffee_FlavorProfile = 440
	Coffee_FLAVOR_PROFILE_ORANGE          Coffee_FlavorProfile = 441
	Coffee_FLAVOR_PROFILE_LEMON           Coffee_FlavorProfile = 442
	Coffee_FLAVOR_PROFILE_LIME            Coffee_FlavorProfile = 443
	Coffee_FLAVOR_PROFILE_SOUR            Coffee_FlavorProfile = 5
	Coffee_FLAVOR_PROFILE_SOUR_AROMATICS  Coffee_FlavorProfile = 50
	Coffee_FLAVOR_PROFILE_ACETIC_ACID     Coffee_FlavorProfile = 51
	Coffee_FLAVOR_PROFILE_BUTYRIC_ACID    Coffee_FlavorProfile = 52
	Coffee_FLAVOR_PROFILE_ISOVALERIC_ACID Coffee_FlavorProfile = 53
	Coffee_FLAVOR_PROFILE_CITRIC_ACID     Coffee_FlavorProfile = 54
	Coffee_FLAVOR_PROFILE_MALIC_ACID      Coffee_FlavorProfile = 55
	Coffee_FLAVOR_PROFILE_FERMENTED       Coffee_FlavorProfile = 6
	Coffee_FLAVOR_PROFILE_WINEY           Coffee_FlavorProfile = 60
	Coffee_FLAVOR_PROFILE_WHISKEY         Coffee_FlavorProfile = 61
	Coffee_FLAVOR_PROFILE_OVERRIPE        Coffee_FlavorProfile = 62
	Coffee_FLAVOR_PROFILE_GREEN           Coffee_FlavorProfile = 7
	Coffee_FLAVOR_PROFILE_OLIVE_OIL       Coffee_FlavorProfile = 70
	Coffee_FLAVOR_PROFILE_RAW             Coffee_FlavorProfile = 71
	Coffee_FLAVOR_PROFILE_VEGETATIVE      Coffee_FlavorProfile = 8
	Coffee_FLAVOR_PROFILE_UNDER_RIPE      Coffee_FlavorProfile = 80
	Coffee_FLAVOR_PROFILE_PEAPOD          Coffee_FlavorProfile = 81
	Coffee_FLAVOR_PROFILE_FRESH           Coffee_FlavorProfile = 82
	Coffee_FLAVOR_PROFILE_DARK_GREEN      Coffee_FlavorProfile = 83
	Coffee_FLAVOR_PROFILE_HAY_LIKE        Coffee_FlavorProfile = 84
	Coffee_FLAVOR_PROFILE_HERB_LIKE       Coffee_FlavorProfile = 85
	Coffee_FLAVOR_PROFILE_BEANY           Coffee_FlavorProfile = 86
	Coffee_FLAVOR_PROFILE_ROASTED         Coffee_FlavorProfile = 9
	Coffee_FLAVOR_PROFILE_CEREAL          Coffee_FlavorProfile = 90
	Coffee_FLAVOR_PROFILE_MALT            Coffee_FlavorProfile = 900
	Coffee_FLAVOR_PROFILE_GRAIN           Coffee_FlavorProfile = 901
	Coffee_FLAVOR_PROFILE_BURNT           Coffee_FlavorProfile = 91
	Coffee_FLAVOR_PROFILE_BROWN_ROAST     Coffee_FlavorProfile = 910
	Coffee_FLAVOR_PROFILE_SMOKY           Coffee_FlavorProfile = 911
	Coffee_FLAVOR_PROFILE_ASHY            Coffee_FlavorProfile = 912
	Coffee_FLAVOR_PROFILE_ACRID           Coffee_FlavorProfile = 913
	Coffee_FLAVOR_PROFILE_TOBACCO         Coffee_FlavorProfile = 92
	Coffee_FLAVOR_PROFILE_PIPE_TOBACCO    Coffee_FlavorProfile = 93
	Coffee_FLAVOR_PROFILE_SPICES          Coffee_FlavorProfile = 10
	Coffee_FLAVOR_PROFILE_BROWN_SPICE     Coffee_FlavorProfile = 100
	Coffee_FLAVOR_PROFILE_CLOVE           Coffee_FlavorProfile = 1000
	Coffee_FLAVOR_PROFILE_CINNAMON        Coffee_FlavorProfile = 1001
	Coffee_FLAVOR_PROFILE_NUTMEG          Coffee_FlavorProfile = 1002
	Coffee_FLAVOR_PROFILE_ANISE           Coffee_FlavorProfile = 1003
	Coffee_FLAVOR_PROFILE_PEPPER          Coffee_FlavorProfile = 101
	Coffee_FLAVOR_PROFILE_PUNGENT         Coffee_FlavorProfile = 102
	Coffee_FLAVOR_PROFILE_OTHER           Coffee_FlavorProfile = 11
	Coffee_FLAVOR_PROFILE_SWEET           Coffee_FlavorProfile = 12
	Coffee_FLAVOR_PROFILE_BROWN_SUGAR     Coffee_FlavorProfile = 120
	Coffee_FLAVOR_PROFILE_MOLASSES        Coffee_FlavorProfile = 1200
	Coffee_FLAVOR_PROFILE_MAPLE_SYRUP     Coffee_FlavorProfile = 1201
	Coffee_FLAVOR_PROFILE_CARMELIZED      Coffee_FlavorProfile = 1202
	Coffee_FLAVOR_PROFILE_HONEY           Coffee_FlavorProfile = 1203
	Coffee_FLAVOR_PROFILE_VANILLA         Coffee_FlavorProfile = 121
	Coffee_FLAVOR_PROFILE_VANILLIN        Coffee_FlavorProfile = 122
	Coffee_FLAVOR_PROFILE_OVERALL_SWEET   Coffee_FlavorProfile = 123
	Coffee_FLAVOR_PROFILE_SWEET_AROMATICS Coffee_FlavorProfile = 124
)

func (Coffee_FlavorProfile) Descriptor

func (Coffee_FlavorProfile) Enum

func (Coffee_FlavorProfile) EnumDescriptor deprecated

func (Coffee_FlavorProfile) EnumDescriptor() ([]byte, []int)

Deprecated: Use Coffee_FlavorProfile.Descriptor instead.

func (Coffee_FlavorProfile) Number

func (Coffee_FlavorProfile) String

func (x Coffee_FlavorProfile) String() string

func (Coffee_FlavorProfile) Type

type Coffee_Roast

type Coffee_Roast int32
const (
	Coffee_ROAST_UNSPECIFIED Coffee_Roast = 0
	Coffee_ROAST_LIGHT       Coffee_Roast = 1
	Coffee_ROAST_MEDIUM      Coffee_Roast = 2
	Coffee_ROAST_DARK        Coffee_Roast = 3
	Coffee_ROAST_EXTRA_DARK  Coffee_Roast = 4
)

func (Coffee_Roast) Descriptor

func (Coffee_Roast) Enum

func (x Coffee_Roast) Enum() *Coffee_Roast

func (Coffee_Roast) EnumDescriptor deprecated

func (Coffee_Roast) EnumDescriptor() ([]byte, []int)

Deprecated: Use Coffee_Roast.Descriptor instead.

func (Coffee_Roast) Number

func (Coffee_Roast) String

func (x Coffee_Roast) String() string

func (Coffee_Roast) Type

type Customer

type Customer struct {

	// Stores the name, could be a nickname, or real name
	// We don't assume to capture more data than necessary
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Stores the unique identifier for a given customer
	// Note: the `murmur3(name:uuid)` can be used to generate a strong hash if needed
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Stores the pointer to the 'first time' we've encountered a Customer
	FirstSeen *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=first_seen,json=firstSeen,proto3" json:"first_seen,omitempty"`
	// Stores the value of Guest or Member
	CustomerType Customer_CustomerType `` /* 137-byte string literal not displayed */
	// Stores the optional loyalty_member_id. This value can identify the
	// customer without the need to lookup any personally identifiable information
	// can only be associated with known Member - since collecting points requires some compute and dollar spend
	LoyaltyMemberId string `protobuf:"bytes,5,opt,name=loyalty_member_id,json=loyaltyMemberId,proto3" json:"loyalty_member_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Customer) Descriptor deprecated

func (*Customer) Descriptor() ([]byte, []int)

Deprecated: Use Customer.ProtoReflect.Descriptor instead.

func (*Customer) GetCustomerType

func (x *Customer) GetCustomerType() Customer_CustomerType

func (*Customer) GetFirstSeen

func (x *Customer) GetFirstSeen() *timestamppb.Timestamp

func (*Customer) GetLoyaltyMemberId

func (x *Customer) GetLoyaltyMemberId() string

func (*Customer) GetName

func (x *Customer) GetName() string

func (*Customer) GetUuid

func (x *Customer) GetUuid() string

func (*Customer) ProtoMessage

func (*Customer) ProtoMessage()

func (*Customer) ProtoReflect

func (x *Customer) ProtoReflect() protoreflect.Message

func (*Customer) Reset

func (x *Customer) Reset()

func (*Customer) String

func (x *Customer) String() string

type Customer_CustomerType

type Customer_CustomerType int32
const (
	Customer_CUSTOMER_TYPE_UNSPECIFIED Customer_CustomerType = 0
	Customer_CUSTOMER_TYPE_GUEST       Customer_CustomerType = 1
	Customer_CUSTOMER_TYPE_MEMBER      Customer_CustomerType = 2
)

func (Customer_CustomerType) Descriptor

func (Customer_CustomerType) Enum

func (Customer_CustomerType) EnumDescriptor deprecated

func (Customer_CustomerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Customer_CustomerType.Descriptor instead.

func (Customer_CustomerType) Number

func (Customer_CustomerType) String

func (x Customer_CustomerType) String() string

func (Customer_CustomerType) Type

type Order

type Order struct {

	// Each Order takes place at a point in Time
	OrderCreated *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=order_created,json=orderCreated,proto3" json:"order_created,omitempty"`
	// An Order can be purchased at a CoffeeCo Location, otherwise where is the coffee going to be made
	// It is true that the Store could be online, but that makes this reference more complicated than necessary
	PurchasedAt *Store `protobuf:"bytes,2,opt,name=purchased_at,json=purchasedAt,proto3" json:"purchased_at,omitempty"`
	// A Customer can Order from our Coffee Location
	Customer *Customer `protobuf:"bytes,3,opt,name=customer,proto3" json:"customer,omitempty"`
	// Each Order may have one or more items. We cannot have an Order without something to Purchase
	Items []*Product `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	// Each Order has a monetary value
	Total *Total `protobuf:"bytes,5,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*Order) Descriptor deprecated

func (*Order) Descriptor() ([]byte, []int)

Deprecated: Use Order.ProtoReflect.Descriptor instead.

func (*Order) GetCustomer

func (x *Order) GetCustomer() *Customer

func (*Order) GetItems

func (x *Order) GetItems() []*Product

func (*Order) GetOrderCreated

func (x *Order) GetOrderCreated() *timestamppb.Timestamp

func (*Order) GetPurchasedAt

func (x *Order) GetPurchasedAt() *Store

func (*Order) GetTotal

func (x *Order) GetTotal() *Total

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) ProtoReflect

func (x *Order) ProtoReflect() protoreflect.Message

func (*Order) Reset

func (x *Order) Reset()

func (*Order) String

func (x *Order) String() string

type Product

type Product struct {

	// Types that are assignable to ProductType:
	//
	//	*Product_Coffee
	ProductType isProduct_ProductType `protobuf_oneof:"product_type"`
	// contains filtered or unexported fields
}

func (*Product) Descriptor deprecated

func (*Product) Descriptor() ([]byte, []int)

Deprecated: Use Product.ProtoReflect.Descriptor instead.

func (*Product) GetCoffee

func (x *Product) GetCoffee() *CoffeeProduct

func (*Product) GetProductType

func (m *Product) GetProductType() isProduct_ProductType

func (*Product) ProtoMessage

func (*Product) ProtoMessage()

func (*Product) ProtoReflect

func (x *Product) ProtoReflect() protoreflect.Message

func (*Product) Reset

func (x *Product) Reset()

func (*Product) String

func (x *Product) String() string

type Product_Coffee

type Product_Coffee struct {
	// While we grow, there is only coffee. We swear it is worth the price...
	Coffee *CoffeeProduct `protobuf:"bytes,1,opt,name=coffee,proto3,oneof"`
}

type Store

type Store struct {

	// Each location has an identifier
	StoreId             string                 `protobuf:"bytes,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
	Created             *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	OpenedOn            *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=opened_on,json=openedOn,proto3" json:"opened_on,omitempty"`
	ClosedPermanentlyOn *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=closed_permanently_on,json=closedPermanentlyOn,proto3" json:"closed_permanently_on,omitempty"`
	// In order to understand the health of a Location, we need to understand
	// the state of a location. We could see trends dipping and wonder, but understanding
	// if a location is open to the public, under construction, or closed forever really help
	// to understand what worked or didn't work with a specific location
	Status Store_LocationStatus `protobuf:"varint,5,opt,name=status,proto3,enum=coffeeco.v1.Store_LocationStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Store) Descriptor deprecated

func (*Store) Descriptor() ([]byte, []int)

Deprecated: Use Store.ProtoReflect.Descriptor instead.

func (*Store) GetClosedPermanentlyOn

func (x *Store) GetClosedPermanentlyOn() *timestamppb.Timestamp

func (*Store) GetCreated

func (x *Store) GetCreated() *timestamppb.Timestamp

func (*Store) GetOpenedOn

func (x *Store) GetOpenedOn() *timestamppb.Timestamp

func (*Store) GetStatus

func (x *Store) GetStatus() Store_LocationStatus

func (*Store) GetStoreId

func (x *Store) GetStoreId() string

func (*Store) ProtoMessage

func (*Store) ProtoMessage()

func (*Store) ProtoReflect

func (x *Store) ProtoReflect() protoreflect.Message

func (*Store) Reset

func (x *Store) Reset()

func (*Store) String

func (x *Store) String() string

type Store_LocationStatus

type Store_LocationStatus int32
const (
	Store_LOCATION_STATUS_UNSPECIFIED         Store_LocationStatus = 0
	Store_LOCATION_STATUS_UNDER_CONSTRUCTION  Store_LocationStatus = 1
	Store_LOCATION_STATUS_OPEN_TO_PUBLIC      Store_LocationStatus = 2
	Store_LOCATION_STATUS_CLOSED_FOR_UPGRADES Store_LocationStatus = 3
	Store_LOCATION_STATUS_CLOSED_PERMANENTLY  Store_LocationStatus = 4
)

func (Store_LocationStatus) Descriptor

func (Store_LocationStatus) Enum

func (Store_LocationStatus) EnumDescriptor deprecated

func (Store_LocationStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use Store_LocationStatus.Descriptor instead.

func (Store_LocationStatus) Number

func (Store_LocationStatus) String

func (x Store_LocationStatus) String() string

func (Store_LocationStatus) Type

type Total

type Total struct {
	Currency Total_CurrencyCode `protobuf:"varint,1,opt,name=currency,proto3,enum=coffeeco.v1.Total_CurrencyCode" json:"currency,omitempty"`
	Units    uint64             `protobuf:"varint,2,opt,name=units,proto3" json:"units,omitempty"`
	Nanos    uint32             `protobuf:"varint,3,opt,name=nanos,proto3" json:"nanos,omitempty"`
	// contains filtered or unexported fields
}

func (*Total) Descriptor deprecated

func (*Total) Descriptor() ([]byte, []int)

Deprecated: Use Total.ProtoReflect.Descriptor instead.

func (*Total) GetCurrency

func (x *Total) GetCurrency() Total_CurrencyCode

func (*Total) GetNanos

func (x *Total) GetNanos() uint32

func (*Total) GetUnits

func (x *Total) GetUnits() uint64

func (*Total) ProtoMessage

func (*Total) ProtoMessage()

func (*Total) ProtoReflect

func (x *Total) ProtoReflect() protoreflect.Message

func (*Total) Reset

func (x *Total) Reset()

func (*Total) String

func (x *Total) String() string

type Total_CurrencyCode

type Total_CurrencyCode int32

Modified version of google/type/money.proto

const (
	Total_CURRENCY_CODE_UNSPECIFIED Total_CurrencyCode = 0
	Total_CURRENCY_CODE_USD         Total_CurrencyCode = 1
)

func (Total_CurrencyCode) Descriptor

func (Total_CurrencyCode) Enum

func (Total_CurrencyCode) EnumDescriptor deprecated

func (Total_CurrencyCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Total_CurrencyCode.Descriptor instead.

func (Total_CurrencyCode) Number

func (Total_CurrencyCode) String

func (x Total_CurrencyCode) String() string

func (Total_CurrencyCode) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL