// 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/merchant_center_account_link_service.proto

package retailpb

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

	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
)

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)
)

// Request for
// [MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks][google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks]
// method.
type ListMerchantCenterAccountLinksRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The parent Catalog of the resource.
	// It must match this format:
	// `projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}`
	Parent        string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListMerchantCenterAccountLinksRequest) ProtoMessage() {}

func (x *ListMerchantCenterAccountLinksRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_merchant_center_account_link_service_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 ListMerchantCenterAccountLinksRequest.ProtoReflect.Descriptor instead.
func (*ListMerchantCenterAccountLinksRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDescGZIP(), []int{0}
}

func (x *ListMerchantCenterAccountLinksRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

// Response for
// [MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks][google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks]
// method.
type ListMerchantCenterAccountLinksResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The links.
	MerchantCenterAccountLinks []*MerchantCenterAccountLink `protobuf:"bytes,1,rep,name=merchant_center_account_links,json=merchantCenterAccountLinks,proto3" json:"merchant_center_account_links,omitempty"`
	unknownFields              protoimpl.UnknownFields
	sizeCache                  protoimpl.SizeCache
}

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

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

func (*ListMerchantCenterAccountLinksResponse) ProtoMessage() {}

func (x *ListMerchantCenterAccountLinksResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_merchant_center_account_link_service_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 ListMerchantCenterAccountLinksResponse.ProtoReflect.Descriptor instead.
func (*ListMerchantCenterAccountLinksResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDescGZIP(), []int{1}
}

func (x *ListMerchantCenterAccountLinksResponse) GetMerchantCenterAccountLinks() []*MerchantCenterAccountLink {
	if x != nil {
		return x.MerchantCenterAccountLinks
	}
	return nil
}

// Request for
// [MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink]
// method.
type CreateMerchantCenterAccountLinkRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The branch resource where this MerchantCenterAccountLink will be
	// created. Format:
	// `projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The
	// [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
	// to create.
	//
	// If the caller does not have permission to create the
	// [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink],
	// regardless of whether or not it exists, a PERMISSION_DENIED error is
	// returned.
	MerchantCenterAccountLink *MerchantCenterAccountLink `protobuf:"bytes,2,opt,name=merchant_center_account_link,json=merchantCenterAccountLink,proto3" json:"merchant_center_account_link,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

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

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

func (*CreateMerchantCenterAccountLinkRequest) ProtoMessage() {}

func (x *CreateMerchantCenterAccountLinkRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_merchant_center_account_link_service_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 CreateMerchantCenterAccountLinkRequest.ProtoReflect.Descriptor instead.
func (*CreateMerchantCenterAccountLinkRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDescGZIP(), []int{2}
}

func (x *CreateMerchantCenterAccountLinkRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *CreateMerchantCenterAccountLinkRequest) GetMerchantCenterAccountLink() *MerchantCenterAccountLink {
	if x != nil {
		return x.MerchantCenterAccountLink
	}
	return nil
}

// Request for
// [MerchantCenterAccountLinkService.DeleteMerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.DeleteMerchantCenterAccountLink]
// method.
type DeleteMerchantCenterAccountLinkRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Full resource name. Format:
	// `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/merchantCenterAccountLinks/{merchant_center_account_link_id}`
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteMerchantCenterAccountLinkRequest) Reset() {
	*x = DeleteMerchantCenterAccountLinkRequest{}
	mi := &file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteMerchantCenterAccountLinkRequest) ProtoMessage() {}

func (x *DeleteMerchantCenterAccountLinkRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_msgTypes[3]
	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 DeleteMerchantCenterAccountLinkRequest.ProtoReflect.Descriptor instead.
func (*DeleteMerchantCenterAccountLinkRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDescGZIP(), []int{3}
}

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

var File_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto protoreflect.FileDescriptor

const file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDesc = "" +
	"\n" +
	"Fgoogle/cloud/retail/v2alpha/merchant_center_account_link_service.proto\x12\x1bgoogle.cloud.retail.v2alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/retail/v2alpha/merchant_center_account_link.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\"f\n" +
	"%ListMerchantCenterAccountLinksRequest\x12=\n" +
	"\x06parent\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dretail.googleapis.com/CatalogR\x06parent\"\xa3\x01\n" +
	"&ListMerchantCenterAccountLinksResponse\x12y\n" +
	"\x1dmerchant_center_account_links\x18\x01 \x03(\v26.google.cloud.retail.v2alpha.MerchantCenterAccountLinkR\x1amerchantCenterAccountLinks\"\xe5\x01\n" +
	"&CreateMerchantCenterAccountLinkRequest\x12=\n" +
	"\x06parent\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dretail.googleapis.com/CatalogR\x06parent\x12|\n" +
	"\x1cmerchant_center_account_link\x18\x02 \x01(\v26.google.cloud.retail.v2alpha.MerchantCenterAccountLinkB\x03\xe0A\x02R\x19merchantCenterAccountLink\"u\n" +
	"&DeleteMerchantCenterAccountLinkRequest\x12K\n" +
	"\x04name\x18\x01 \x01(\tB7\xe0A\x02\xfaA1\n" +
	"/retail.googleapis.com/MerchantCenterAccountLinkR\x04name2\xfe\a\n" +
	" MerchantCenterAccountLinkService\x12\x8a\x02\n" +
	"\x1eListMerchantCenterAccountLinks\x12B.google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksRequest\x1aC.google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksResponse\"_\xdaA\x06parent\x82\xd3\xe4\x93\x02P\x12N/v2alpha/{parent=projects/*/locations/*/catalogs/*}/merchantCenterAccountLinks\x12\xa1\x03\n" +
	"\x1fCreateMerchantCenterAccountLink\x12C.google.cloud.retail.v2alpha.CreateMerchantCenterAccountLinkRequest\x1a\x1d.google.longrunning.Operation\"\x99\x02\xcaA|\n" +
	"5google.cloud.retail.v2alpha.MerchantCenterAccountLink\x12Cgoogle.cloud.retail.v2alpha.CreateMerchantCenterAccountLinkMetadata\xdaA#parent,merchant_center_account_link\x82\xd3\xe4\x93\x02n:\x1cmerchant_center_account_link\"N/v2alpha/{parent=projects/*/locations/*/catalogs/*}/merchantCenterAccountLinks\x12\xdd\x01\n" +
	"\x1fDeleteMerchantCenterAccountLink\x12C.google.cloud.retail.v2alpha.DeleteMerchantCenterAccountLinkRequest\x1a\x16.google.protobuf.Empty\"]\xdaA\x04name\x82\xd3\xe4\x93\x02P*N/v2alpha/{name=projects/*/locations/*/catalogs/*/merchantCenterAccountLinks/*}\x1aI\xcaA\x15retail.googleapis.com\xd2A.https://www.googleapis.com/auth/cloud-platformB\xe9\x01\n" +
	"\x1fcom.google.cloud.retail.v2alphaB%MerchantCenterAccountLinkServiceProtoP\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_merchant_center_account_link_service_proto_rawDescOnce sync.Once
	file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDescData []byte
)

func file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDescGZIP() []byte {
	file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDescOnce.Do(func() {
		file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDesc), len(file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDesc)))
	})
	return file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDescData
}

var file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_goTypes = []any{
	(*ListMerchantCenterAccountLinksRequest)(nil),  // 0: google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksRequest
	(*ListMerchantCenterAccountLinksResponse)(nil), // 1: google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksResponse
	(*CreateMerchantCenterAccountLinkRequest)(nil), // 2: google.cloud.retail.v2alpha.CreateMerchantCenterAccountLinkRequest
	(*DeleteMerchantCenterAccountLinkRequest)(nil), // 3: google.cloud.retail.v2alpha.DeleteMerchantCenterAccountLinkRequest
	(*MerchantCenterAccountLink)(nil),              // 4: google.cloud.retail.v2alpha.MerchantCenterAccountLink
	(*longrunningpb.Operation)(nil),                // 5: google.longrunning.Operation
	(*emptypb.Empty)(nil),                          // 6: google.protobuf.Empty
}
var file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_depIdxs = []int32{
	4, // 0: google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksResponse.merchant_center_account_links:type_name -> google.cloud.retail.v2alpha.MerchantCenterAccountLink
	4, // 1: google.cloud.retail.v2alpha.CreateMerchantCenterAccountLinkRequest.merchant_center_account_link:type_name -> google.cloud.retail.v2alpha.MerchantCenterAccountLink
	0, // 2: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks:input_type -> google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksRequest
	2, // 3: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink:input_type -> google.cloud.retail.v2alpha.CreateMerchantCenterAccountLinkRequest
	3, // 4: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.DeleteMerchantCenterAccountLink:input_type -> google.cloud.retail.v2alpha.DeleteMerchantCenterAccountLinkRequest
	1, // 5: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks:output_type -> google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksResponse
	5, // 6: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink:output_type -> google.longrunning.Operation
	6, // 7: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.DeleteMerchantCenterAccountLink:output_type -> google.protobuf.Empty
	5, // [5:8] is the sub-list for method output_type
	2, // [2:5] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_init() }
func file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_init() {
	if File_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto != nil {
		return
	}
	file_google_cloud_retail_v2alpha_merchant_center_account_link_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_merchant_center_account_link_service_proto_rawDesc), len(file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_goTypes,
		DependencyIndexes: file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_depIdxs,
		MessageInfos:      file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_msgTypes,
	}.Build()
	File_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto = out.File
	file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_goTypes = nil
	file_google_cloud_retail_v2alpha_merchant_center_account_link_service_proto_depIdxs = nil
}
