# Path: google/cloud/recommendationengine_v1beta1/types/catalog.py
# class CatalogItem(proto.Message):
#     class CategoryHierarchy(proto.Message):
# class ProductCatalogItem(proto.Message):
#     class StockState(proto.Enum):
#     class ExactPrice(proto.Message):
#     class PriceRange(proto.Message):
# class Image(proto.Message):
#         STOCK_STATE_UNSPECIFIED = 0
#         IN_STOCK = 0
#         OUT_OF_STOCK = 1
#         PREORDER = 2
#         BACKORDER = 3


import proto  # type: ignore
from google.cloud.recommendationengine_v1beta1.types import catalog
from google.protobuf import field_mask_pb2  # type: ignore
# limitations under the License.
#



__protobuf__ = proto.module(
    package="google.cloud.recommendationengine.v1beta1",
    manifest={
        "CreateCatalogItemRequest",
        "GetCatalogItemRequest",
        "ListCatalogItemsRequest",
        "ListCatalogItemsResponse",
        "UpdateCatalogItemRequest",
        "DeleteCatalogItemRequest",
    },
)


class CreateCatalogItemRequest(proto.Message):
    r"""Request message for CreateCatalogItem method.

    Attributes:
        parent (str):
            Required. The parent catalog resource name, such as
            ``projects/*/locations/global/catalogs/default_catalog``.
        catalog_item (google.cloud.recommendationengine_v1beta1.types.CatalogItem):
            Required. The catalog item to create.
    """

    parent = proto.Field(proto.STRING, number=1,)

# Path: google/cloud/recommendationengine_v1beta1/types/catalog.py
# class CatalogItem(proto.Message):
#     class CategoryHierarchy(proto.Message):
# class ProductCatalogItem(proto.Message):
#     class StockState(proto.Enum):
#     class ExactPrice(proto.Message):
#     class PriceRange(proto.Message):
# class Image(proto.Message):
#         STOCK_STATE_UNSPECIFIED = 0
#         IN_STOCK = 0
#         OUT_OF_STOCK = 1
#         PREORDER = 2
#         BACKORDER = 3


# Path: google/cloud/recommendationengine_v1beta1/types/catalog_service.py
import proto  # type: ignore
from google.cloud.recommendationengine_v1beta1.types import catalog
from google.protobuf import field_mask_pb2  # type: ignore

# limitations under the License.
#



__protobuf__ = proto.module(
    package="google.cloud.recommendationengine.v1beta1",
    manifest={
        "CreateCatalogItemRequest",
        "GetCatalogItemRequest",
        "ListCatalogItemsRequest",
        "ListCatalogItemsResponse",
        "UpdateCatalogItemRequest",
        "DeleteCatalogItemRequest",
    },
)


class CreateCatalogItemRequest(proto.Message):
    r"""Request message for CreateCatalogItem method.

    Attributes:
        parent (str):
            Required. The parent catalog resource name, such as
            ``projects/*/locations/global/catalogs/default_catalog``.
        catalog_item (google.cloud.recommendationengine_v1beta1.types.CatalogItem):
            Required. The catalog item to create.
    """

    parent = proto.Field(proto.STRING, number=1,)

    catalog_item = proto.Field(proto.MESSAGE, number=2, message=catalog.CatalogItem,)