// Copyright 2025 Google LLC
//
// 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.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.2
// source: google/cloud/retail/v2alpha/branch.proto

package retailpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// A view that specifies different level of fields of a
// [Branch][google.cloud.retail.v2alpha.Branch] to show in responses.
type BranchView int32

const (
	// The value when it's unspecified. This defaults to the BASIC view.
	BranchView_BRANCH_VIEW_UNSPECIFIED BranchView = 0
	// Includes basic metadata about the branch, but not statistical fields.
	// See documentation of fields of [Branch][google.cloud.retail.v2alpha.Branch]
	// to find what fields are excluded from BASIC view.
	BranchView_BRANCH_VIEW_BASIC BranchView = 1
	// Includes all fields of a [Branch][google.cloud.retail.v2alpha.Branch].
	BranchView_BRANCH_VIEW_FULL BranchView = 2
)

// Enum value maps for BranchView.
var (
	BranchView_name = map[int32]string{
		0: "BRANCH_VIEW_UNSPECIFIED",
		1: "BRANCH_VIEW_BASIC",
		2: "BRANCH_VIEW_FULL",
	}
	BranchView_value = map[string]int32{
		"BRANCH_VIEW_UNSPECIFIED": 0,
		"BRANCH_VIEW_BASIC":       1,
		"BRANCH_VIEW_FULL":        2,
	}
)

func (x BranchView) Enum() *BranchView {
	p := new(BranchView)
	*p = x
	return p
}

func (x BranchView) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (BranchView) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_branch_proto_enumTypes[0].Descriptor()
}

func (BranchView) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_branch_proto_enumTypes[0]
}

func (x BranchView) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use BranchView.Descriptor instead.
func (BranchView) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_branch_proto_rawDescGZIP(), []int{0}
}

// Scope of what products are included for this count.
type Branch_ProductCountStatistic_ProductCountScope int32

const (
	// Default value for enum. This value is not used in the API response.
	Branch_ProductCountStatistic_PRODUCT_COUNT_SCOPE_UNSPECIFIED Branch_ProductCountStatistic_ProductCountScope = 0
	// Scope for all existing products in the branch. Useful for understanding
	// how many products there are in a branch.
	Branch_ProductCountStatistic_ALL_PRODUCTS Branch_ProductCountStatistic_ProductCountScope = 1
	// Scope for products created or updated in the last 24 hours.
	Branch_ProductCountStatistic_LAST_24_HOUR_UPDATE Branch_ProductCountStatistic_ProductCountScope = 2
)

// Enum value maps for Branch_ProductCountStatistic_ProductCountScope.
var (
	Branch_ProductCountStatistic_ProductCountScope_name = map[int32]string{
		0: "PRODUCT_COUNT_SCOPE_UNSPECIFIED",
		1: "ALL_PRODUCTS",
		2: "LAST_24_HOUR_UPDATE",
	}
	Branch_ProductCountStatistic_ProductCountScope_value = map[string]int32{
		"PRODUCT_COUNT_SCOPE_UNSPECIFIED": 0,
		"ALL_PRODUCTS":                    1,
		"LAST_24_HOUR_UPDATE":             2,
	}
)

func (x Branch_ProductCountStatistic_ProductCountScope) Enum() *Branch_ProductCountStatistic_ProductCountScope {
	p := new(Branch_ProductCountStatistic_ProductCountScope)
	*p = x
	return p
}

func (x Branch_ProductCountStatistic_ProductCountScope) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Branch_ProductCountStatistic_ProductCountScope) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_branch_proto_enumTypes[1].Descriptor()
}

func (Branch_ProductCountStatistic_ProductCountScope) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_branch_proto_enumTypes[1]
}

func (x Branch_ProductCountStatistic_ProductCountScope) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Branch_ProductCountStatistic_ProductCountScope.Descriptor instead.
func (Branch_ProductCountStatistic_ProductCountScope) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_branch_proto_rawDescGZIP(), []int{0, 0, 0}
}

// A data branch that stores all instances of
// [Product][google.cloud.retail.v2alpha.Product]s.
type Branch struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Immutable. Full resource name of the branch, such as
	// `projects/*/locations/global/catalogs/default_catalog/branches/branch_id`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Human readable name of the branch to display in the UI.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. Indicates whether this branch is set as the default branch of
	// its parent catalog.
	IsDefault bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// Output only. Timestamp of last import through
	// [ProductService.ImportProducts][google.cloud.retail.v2alpha.ProductService.ImportProducts].
	// Empty value means no import has been made to this branch.
	LastProductImportTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_product_import_time,json=lastProductImportTime,proto3" json:"last_product_import_time,omitempty"`
	// Output only. Statistics for number of products in the branch, provided for
	// different
	// [scopes][google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScope].
	//
	// This field is not populated in [BranchView.BASIC][] view.
	ProductCountStats []*Branch_ProductCountStatistic `protobuf:"bytes,7,rep,name=product_count_stats,json=productCountStats,proto3" json:"product_count_stats,omitempty"`
	// Output only. The quality metrics measured among products of this branch.
	//
	// See
	// [QualityMetric.requirement_key][google.cloud.retail.v2alpha.Branch.QualityMetric.requirement_key]
	// for supported metrics. Metrics could be missing if failed to retrieve.
	//
	// This field is not populated in [BranchView.BASIC][] view.
	QualityMetrics []*Branch_QualityMetric `protobuf:"bytes,6,rep,name=quality_metrics,json=qualityMetrics,proto3" json:"quality_metrics,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *Branch) Reset() {
	*x = Branch{}
	mi := &file_google_cloud_retail_v2alpha_branch_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Branch) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Branch) ProtoMessage() {}

func (x *Branch) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_branch_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Branch.ProtoReflect.Descriptor instead.
func (*Branch) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_branch_proto_rawDescGZIP(), []int{0}
}

func (x *Branch) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Branch) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

func (x *Branch) GetIsDefault() bool {
	if x != nil {
		return x.IsDefault
	}
	return false
}

func (x *Branch) GetLastProductImportTime() *timestamppb.Timestamp {
	if x != nil {
		return x.LastProductImportTime
	}
	return nil
}

func (x *Branch) GetProductCountStats() []*Branch_ProductCountStatistic {
	if x != nil {
		return x.ProductCountStats
	}
	return nil
}

func (x *Branch) GetQualityMetrics() []*Branch_QualityMetric {
	if x != nil {
		return x.QualityMetrics
	}
	return nil
}

// A statistic about the number of products in a branch.
type Branch_ProductCountStatistic struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// [ProductCountScope] of the [counts].
	Scope Branch_ProductCountStatistic_ProductCountScope `protobuf:"varint,1,opt,name=scope,proto3,enum=google.cloud.retail.v2alpha.Branch_ProductCountStatistic_ProductCountScope" json:"scope,omitempty"`
	// The number of products in
	// [scope][google.cloud.retail.v2alpha.Branch.ProductCountStatistic.scope]
	// broken down into different groups.
	//
	// The key is a group representing a set of products, and the value is the
	// number of products in that group.
	// Note: keys in this map may change over time.
	//
	// Possible keys:
	// * "primary-in-stock", products have
	// [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY]
	// type and
	// [Product.Availability.IN_STOCK][google.cloud.retail.v2alpha.Product.Availability.IN_STOCK]
	// availability.
	//
	// * "primary-out-of-stock", products have
	// [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY]
	// type and
	// [Product.Availability.OUT_OF_STOCK][google.cloud.retail.v2alpha.Product.Availability.OUT_OF_STOCK]
	// availability.
	//
	// * "primary-preorder", products have
	// [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY]
	// type and
	// [Product.Availability.PREORDER][google.cloud.retail.v2alpha.Product.Availability.PREORDER]
	// availability.
	//
	// * "primary-backorder", products have
	// [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY]
	// type and
	// [Product.Availability.BACKORDER][google.cloud.retail.v2alpha.Product.Availability.BACKORDER]
	// availability.
	//
	// * "variant-in-stock", products have
	// [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT]
	// type and
	// [Product.Availability.IN_STOCK][google.cloud.retail.v2alpha.Product.Availability.IN_STOCK]
	// availability.
	//
	// * "variant-out-of-stock", products have
	// [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT]
	// type and
	// [Product.Availability.OUT_OF_STOCK][google.cloud.retail.v2alpha.Product.Availability.OUT_OF_STOCK]
	// availability.
	//
	// * "variant-preorder", products have
	// [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT]
	// type and
	// [Product.Availability.PREORDER][google.cloud.retail.v2alpha.Product.Availability.PREORDER]
	// availability.
	//
	// * "variant-backorder", products have
	// [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT]
	// type and
	// [Product.Availability.BACKORDER][google.cloud.retail.v2alpha.Product.Availability.BACKORDER]
	// availability.
	//
	// * "price-discounted", products have [Product.price_info.price] <
	// [Product.price_info.original_price].
	Counts        map[string]int64 `protobuf:"bytes,2,rep,name=counts,proto3" json:"counts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Branch_ProductCountStatistic) Reset() {
	*x = Branch_ProductCountStatistic{}
	mi := &file_google_cloud_retail_v2alpha_branch_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Branch_ProductCountStatistic) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Branch_ProductCountStatistic) ProtoMessage() {}

func (x *Branch_ProductCountStatistic) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_branch_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Branch_ProductCountStatistic.ProtoReflect.Descriptor instead.
func (*Branch_ProductCountStatistic) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_branch_proto_rawDescGZIP(), []int{0, 0}
}

func (x *Branch_ProductCountStatistic) GetScope() Branch_ProductCountStatistic_ProductCountScope {
	if x != nil {
		return x.Scope
	}
	return Branch_ProductCountStatistic_PRODUCT_COUNT_SCOPE_UNSPECIFIED
}

func (x *Branch_ProductCountStatistic) GetCounts() map[string]int64 {
	if x != nil {
		return x.Counts
	}
	return nil
}

// Metric measured on a group of
// [Product][google.cloud.retail.v2alpha.Product]s against a certain quality
// requirement. Contains the number of products that pass the check and the
// number of products that don't.
type Branch_QualityMetric struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The key that represents a quality requirement rule.
	//
	// Supported keys:
	// * "has-valid-uri": product has a valid and accessible
	// [uri][google.cloud.retail.v2alpha.Product.uri].
	//
	// * "available-expire-time-conformance":
	// [Product.available_time][google.cloud.retail.v2alpha.Product.available_time]
	// is early than "now", and
	// [Product.expire_time][google.cloud.retail.v2alpha.Product.expire_time] is
	// greater than "now".
	//
	// * "has-searchable-attributes": product has at least one
	// [attribute][google.cloud.retail.v2alpha.Product.attributes] set to
	// searchable.
	//
	// * "has-description": product has non-empty
	// [description][google.cloud.retail.v2alpha.Product.description].
	//
	// * "has-at-least-bigram-title": Product
	// [title][google.cloud.retail.v2alpha.Product.title] has at least two
	// words. A comprehensive title helps to improve search quality.
	//
	// * "variant-has-image": the
	// [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has
	// at least one [image][google.cloud.retail.v2alpha.Product.images]. You may
	// ignore this metric if all your products are at
	// [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level.
	//
	// * "variant-has-price-info": the
	// [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has
	// [price_info][google.cloud.retail.v2alpha.Product.price_info] set. You may
	// ignore this metric if all your products are at
	// [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level.
	//
	// * "has-publish-time": product has non-empty
	// [publish_time][google.cloud.retail.v2alpha.Product.publish_time].
	RequirementKey string `protobuf:"bytes,1,opt,name=requirement_key,json=requirementKey,proto3" json:"requirement_key,omitempty"`
	// Number of products passing the quality requirement check. We only check
	// searchable products.
	QualifiedProductCount int32 `protobuf:"varint,2,opt,name=qualified_product_count,json=qualifiedProductCount,proto3" json:"qualified_product_count,omitempty"`
	// Number of products failing the quality requirement check. We only check
	// searchable products.
	UnqualifiedProductCount int32 `protobuf:"varint,3,opt,name=unqualified_product_count,json=unqualifiedProductCount,proto3" json:"unqualified_product_count,omitempty"`
	// Value from 0 to 100 representing the suggested percentage of products
	// that meet the quality requirements to get good search and recommendation
	// performance. 100 * (qualified_product_count) /
	// (qualified_product_count + unqualified_product_count) should be greater
	// or equal to this suggestion.
	SuggestedQualityPercentThreshold float64 `protobuf:"fixed64,4,opt,name=suggested_quality_percent_threshold,json=suggestedQualityPercentThreshold,proto3" json:"suggested_quality_percent_threshold,omitempty"`
	// A list of a maximum of 100 sample products that do not qualify for
	// this requirement.
	//
	// This field is only populated in the response to
	// [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch]
	// API, and is always empty for
	// [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches].
	//
	// Only the following fields are set in the
	// [Product][google.cloud.retail.v2alpha.Product].
	//
	// * [Product.name][google.cloud.retail.v2alpha.Product.name]
	// * [Product.id][google.cloud.retail.v2alpha.Product.id]
	// * [Product.title][google.cloud.retail.v2alpha.Product.title]
	UnqualifiedSampleProducts []*Product `protobuf:"bytes,5,rep,name=unqualified_sample_products,json=unqualifiedSampleProducts,proto3" json:"unqualified_sample_products,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

func (x *Branch_QualityMetric) Reset() {
	*x = Branch_QualityMetric{}
	mi := &file_google_cloud_retail_v2alpha_branch_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Branch_QualityMetric) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Branch_QualityMetric) ProtoMessage() {}

func (x *Branch_QualityMetric) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_branch_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Branch_QualityMetric.ProtoReflect.Descriptor instead.
func (*Branch_QualityMetric) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_branch_proto_rawDescGZIP(), []int{0, 1}
}

func (x *Branch_QualityMetric) GetRequirementKey() string {
	if x != nil {
		return x.RequirementKey
	}
	return ""
}

func (x *Branch_QualityMetric) GetQualifiedProductCount() int32 {
	if x != nil {
		return x.QualifiedProductCount
	}
	return 0
}

func (x *Branch_QualityMetric) GetUnqualifiedProductCount() int32 {
	if x != nil {
		return x.UnqualifiedProductCount
	}
	return 0
}

func (x *Branch_QualityMetric) GetSuggestedQualityPercentThreshold() float64 {
	if x != nil {
		return x.SuggestedQualityPercentThreshold
	}
	return 0
}

func (x *Branch_QualityMetric) GetUnqualifiedSampleProducts() []*Product {
	if x != nil {
		return x.UnqualifiedSampleProducts
	}
	return nil
}

var File_google_cloud_retail_v2alpha_branch_proto protoreflect.FileDescriptor

const file_google_cloud_retail_v2alpha_branch_proto_rawDesc = "" +
	"\n" +
	"(google/cloud/retail/v2alpha/branch.proto\x12\x1bgoogle.cloud.retail.v2alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/retail/v2alpha/product.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe9\t\n" +
	"\x06Branch\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x05R\x04name\x12&\n" +
	"\fdisplay_name\x18\x02 \x01(\tB\x03\xe0A\x03R\vdisplayName\x12\"\n" +
	"\n" +
	"is_default\x18\x03 \x01(\bB\x03\xe0A\x03R\tisDefault\x12X\n" +
	"\x18last_product_import_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\x15lastProductImportTime\x12n\n" +
	"\x13product_count_stats\x18\a \x03(\v29.google.cloud.retail.v2alpha.Branch.ProductCountStatisticB\x03\xe0A\x03R\x11productCountStats\x12_\n" +
	"\x0fquality_metrics\x18\x06 \x03(\v21.google.cloud.retail.v2alpha.Branch.QualityMetricB\x03\xe0A\x03R\x0equalityMetrics\x1a\xf9\x02\n" +
	"\x15ProductCountStatistic\x12a\n" +
	"\x05scope\x18\x01 \x01(\x0e2K.google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScopeR\x05scope\x12]\n" +
	"\x06counts\x18\x02 \x03(\v2E.google.cloud.retail.v2alpha.Branch.ProductCountStatistic.CountsEntryR\x06counts\x1a9\n" +
	"\vCountsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"c\n" +
	"\x11ProductCountScope\x12#\n" +
	"\x1fPRODUCT_COUNT_SCOPE_UNSPECIFIED\x10\x00\x12\x10\n" +
	"\fALL_PRODUCTS\x10\x01\x12\x17\n" +
	"\x13LAST_24_HOUR_UPDATE\x10\x02\x1a\xe1\x02\n" +
	"\rQualityMetric\x12'\n" +
	"\x0frequirement_key\x18\x01 \x01(\tR\x0erequirementKey\x126\n" +
	"\x17qualified_product_count\x18\x02 \x01(\x05R\x15qualifiedProductCount\x12:\n" +
	"\x19unqualified_product_count\x18\x03 \x01(\x05R\x17unqualifiedProductCount\x12M\n" +
	"#suggested_quality_percent_threshold\x18\x04 \x01(\x01R suggestedQualityPercentThreshold\x12d\n" +
	"\x1bunqualified_sample_products\x18\x05 \x03(\v2$.google.cloud.retail.v2alpha.ProductR\x19unqualifiedSampleProducts:o\xeaAl\n" +
	"\x1cretail.googleapis.com/Branch\x12Lprojects/{project}/locations/{location}/catalogs/{catalog}/branches/{branch}*V\n" +
	"\n" +
	"BranchView\x12\x1b\n" +
	"\x17BRANCH_VIEW_UNSPECIFIED\x10\x00\x12\x15\n" +
	"\x11BRANCH_VIEW_BASIC\x10\x01\x12\x14\n" +
	"\x10BRANCH_VIEW_FULL\x10\x02B\xcf\x01\n" +
	"\x1fcom.google.cloud.retail.v2alphaB\vBranchProtoP\x01Z7cloud.google.com/go/retail/apiv2alpha/retailpb;retailpb\xa2\x02\x06RETAIL\xaa\x02\x1bGoogle.Cloud.Retail.V2Alpha\xca\x02\x1bGoogle\\Cloud\\Retail\\V2alpha\xea\x02\x1eGoogle::Cloud::Retail::V2alphab\x06proto3"

var (
	file_google_cloud_retail_v2alpha_branch_proto_rawDescOnce sync.Once
	file_google_cloud_retail_v2alpha_branch_proto_rawDescData []byte
)

func file_google_cloud_retail_v2alpha_branch_proto_rawDescGZIP() []byte {
	file_google_cloud_retail_v2alpha_branch_proto_rawDescOnce.Do(func() {
		file_google_cloud_retail_v2alpha_branch_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_retail_v2alpha_branch_proto_rawDesc), len(file_google_cloud_retail_v2alpha_branch_proto_rawDesc)))
	})
	return file_google_cloud_retail_v2alpha_branch_proto_rawDescData
}

var file_google_cloud_retail_v2alpha_branch_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_google_cloud_retail_v2alpha_branch_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_google_cloud_retail_v2alpha_branch_proto_goTypes = []any{
	(BranchView)(0), // 0: google.cloud.retail.v2alpha.BranchView
	(Branch_ProductCountStatistic_ProductCountScope)(0), // 1: google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScope
	(*Branch)(nil),                       // 2: google.cloud.retail.v2alpha.Branch
	(*Branch_ProductCountStatistic)(nil), // 3: google.cloud.retail.v2alpha.Branch.ProductCountStatistic
	(*Branch_QualityMetric)(nil),         // 4: google.cloud.retail.v2alpha.Branch.QualityMetric
	nil,                                  // 5: google.cloud.retail.v2alpha.Branch.ProductCountStatistic.CountsEntry
	(*timestamppb.Timestamp)(nil),        // 6: google.protobuf.Timestamp
	(*Product)(nil),                      // 7: google.cloud.retail.v2alpha.Product
}
var file_google_cloud_retail_v2alpha_branch_proto_depIdxs = []int32{
	6, // 0: google.cloud.retail.v2alpha.Branch.last_product_import_time:type_name -> google.protobuf.Timestamp
	3, // 1: google.cloud.retail.v2alpha.Branch.product_count_stats:type_name -> google.cloud.retail.v2alpha.Branch.ProductCountStatistic
	4, // 2: google.cloud.retail.v2alpha.Branch.quality_metrics:type_name -> google.cloud.retail.v2alpha.Branch.QualityMetric
	1, // 3: google.cloud.retail.v2alpha.Branch.ProductCountStatistic.scope:type_name -> google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScope
	5, // 4: google.cloud.retail.v2alpha.Branch.ProductCountStatistic.counts:type_name -> google.cloud.retail.v2alpha.Branch.ProductCountStatistic.CountsEntry
	7, // 5: google.cloud.retail.v2alpha.Branch.QualityMetric.unqualified_sample_products:type_name -> google.cloud.retail.v2alpha.Product
	6, // [6:6] is the sub-list for method output_type
	6, // [6:6] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_google_cloud_retail_v2alpha_branch_proto_init() }
func file_google_cloud_retail_v2alpha_branch_proto_init() {
	if File_google_cloud_retail_v2alpha_branch_proto != nil {
		return
	}
	file_google_cloud_retail_v2alpha_product_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_retail_v2alpha_branch_proto_rawDesc), len(file_google_cloud_retail_v2alpha_branch_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_retail_v2alpha_branch_proto_goTypes,
		DependencyIndexes: file_google_cloud_retail_v2alpha_branch_proto_depIdxs,
		EnumInfos:         file_google_cloud_retail_v2alpha_branch_proto_enumTypes,
		MessageInfos:      file_google_cloud_retail_v2alpha_branch_proto_msgTypes,
	}.Build()
	File_google_cloud_retail_v2alpha_branch_proto = out.File
	file_google_cloud_retail_v2alpha_branch_proto_goTypes = nil
	file_google_cloud_retail_v2alpha_branch_proto_depIdxs = nil
}
