// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/services/feed_item_target_service.proto

package services

import (
	context "context"
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// Request message for [FeedItemTargetService.GetFeedItemTarget][google.ads.googleads.v2.services.FeedItemTargetService.GetFeedItemTarget].
type GetFeedItemTargetRequest struct {
	// The resource name of the feed item targets to fetch.
	ResourceName         string   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetFeedItemTargetRequest) Reset()         { *m = GetFeedItemTargetRequest{} }
func (m *GetFeedItemTargetRequest) String() string { return proto.CompactTextString(m) }
func (*GetFeedItemTargetRequest) ProtoMessage()    {}
func (*GetFeedItemTargetRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_dd1e9e40c90fdaae, []int{0}
}

func (m *GetFeedItemTargetRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetFeedItemTargetRequest.Unmarshal(m, b)
}
func (m *GetFeedItemTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetFeedItemTargetRequest.Marshal(b, m, deterministic)
}
func (m *GetFeedItemTargetRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetFeedItemTargetRequest.Merge(m, src)
}
func (m *GetFeedItemTargetRequest) XXX_Size() int {
	return xxx_messageInfo_GetFeedItemTargetRequest.Size(m)
}
func (m *GetFeedItemTargetRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetFeedItemTargetRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetFeedItemTargetRequest proto.InternalMessageInfo

func (m *GetFeedItemTargetRequest) GetResourceName() string {
	if m != nil {
		return m.ResourceName
	}
	return ""
}

// Request message for [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v2.services.FeedItemTargetService.MutateFeedItemTargets].
type MutateFeedItemTargetsRequest struct {
	// The ID of the customer whose feed item targets are being modified.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// The list of operations to perform on individual feed item targets.
	Operations           []*FeedItemTargetOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (m *MutateFeedItemTargetsRequest) Reset()         { *m = MutateFeedItemTargetsRequest{} }
func (m *MutateFeedItemTargetsRequest) String() string { return proto.CompactTextString(m) }
func (*MutateFeedItemTargetsRequest) ProtoMessage()    {}
func (*MutateFeedItemTargetsRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_dd1e9e40c90fdaae, []int{1}
}

func (m *MutateFeedItemTargetsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MutateFeedItemTargetsRequest.Unmarshal(m, b)
}
func (m *MutateFeedItemTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MutateFeedItemTargetsRequest.Marshal(b, m, deterministic)
}
func (m *MutateFeedItemTargetsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MutateFeedItemTargetsRequest.Merge(m, src)
}
func (m *MutateFeedItemTargetsRequest) XXX_Size() int {
	return xxx_messageInfo_MutateFeedItemTargetsRequest.Size(m)
}
func (m *MutateFeedItemTargetsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_MutateFeedItemTargetsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_MutateFeedItemTargetsRequest proto.InternalMessageInfo

func (m *MutateFeedItemTargetsRequest) GetCustomerId() string {
	if m != nil {
		return m.CustomerId
	}
	return ""
}

func (m *MutateFeedItemTargetsRequest) GetOperations() []*FeedItemTargetOperation {
	if m != nil {
		return m.Operations
	}
	return nil
}

// A single operation (create, remove) on an feed item target.
type FeedItemTargetOperation struct {
	// The mutate operation.
	//
	// Types that are valid to be assigned to Operation:
	//	*FeedItemTargetOperation_Create
	//	*FeedItemTargetOperation_Remove
	Operation            isFeedItemTargetOperation_Operation `protobuf_oneof:"operation"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (m *FeedItemTargetOperation) Reset()         { *m = FeedItemTargetOperation{} }
func (m *FeedItemTargetOperation) String() string { return proto.CompactTextString(m) }
func (*FeedItemTargetOperation) ProtoMessage()    {}
func (*FeedItemTargetOperation) Descriptor() ([]byte, []int) {
	return fileDescriptor_dd1e9e40c90fdaae, []int{2}
}

func (m *FeedItemTargetOperation) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FeedItemTargetOperation.Unmarshal(m, b)
}
func (m *FeedItemTargetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FeedItemTargetOperation.Marshal(b, m, deterministic)
}
func (m *FeedItemTargetOperation) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FeedItemTargetOperation.Merge(m, src)
}
func (m *FeedItemTargetOperation) XXX_Size() int {
	return xxx_messageInfo_FeedItemTargetOperation.Size(m)
}
func (m *FeedItemTargetOperation) XXX_DiscardUnknown() {
	xxx_messageInfo_FeedItemTargetOperation.DiscardUnknown(m)
}

var xxx_messageInfo_FeedItemTargetOperation proto.InternalMessageInfo

type isFeedItemTargetOperation_Operation interface {
	isFeedItemTargetOperation_Operation()
}

type FeedItemTargetOperation_Create struct {
	Create *resources.FeedItemTarget `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}

type FeedItemTargetOperation_Remove struct {
	Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"`
}

func (*FeedItemTargetOperation_Create) isFeedItemTargetOperation_Operation() {}

func (*FeedItemTargetOperation_Remove) isFeedItemTargetOperation_Operation() {}

func (m *FeedItemTargetOperation) GetOperation() isFeedItemTargetOperation_Operation {
	if m != nil {
		return m.Operation
	}
	return nil
}

func (m *FeedItemTargetOperation) GetCreate() *resources.FeedItemTarget {
	if x, ok := m.GetOperation().(*FeedItemTargetOperation_Create); ok {
		return x.Create
	}
	return nil
}

func (m *FeedItemTargetOperation) GetRemove() string {
	if x, ok := m.GetOperation().(*FeedItemTargetOperation_Remove); ok {
		return x.Remove
	}
	return ""
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*FeedItemTargetOperation) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*FeedItemTargetOperation_Create)(nil),
		(*FeedItemTargetOperation_Remove)(nil),
	}
}

// Response message for an feed item target mutate.
type MutateFeedItemTargetsResponse struct {
	// All results for the mutate.
	Results              []*MutateFeedItemTargetResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (m *MutateFeedItemTargetsResponse) Reset()         { *m = MutateFeedItemTargetsResponse{} }
func (m *MutateFeedItemTargetsResponse) String() string { return proto.CompactTextString(m) }
func (*MutateFeedItemTargetsResponse) ProtoMessage()    {}
func (*MutateFeedItemTargetsResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_dd1e9e40c90fdaae, []int{3}
}

func (m *MutateFeedItemTargetsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MutateFeedItemTargetsResponse.Unmarshal(m, b)
}
func (m *MutateFeedItemTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MutateFeedItemTargetsResponse.Marshal(b, m, deterministic)
}
func (m *MutateFeedItemTargetsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MutateFeedItemTargetsResponse.Merge(m, src)
}
func (m *MutateFeedItemTargetsResponse) XXX_Size() int {
	return xxx_messageInfo_MutateFeedItemTargetsResponse.Size(m)
}
func (m *MutateFeedItemTargetsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_MutateFeedItemTargetsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_MutateFeedItemTargetsResponse proto.InternalMessageInfo

func (m *MutateFeedItemTargetsResponse) GetResults() []*MutateFeedItemTargetResult {
	if m != nil {
		return m.Results
	}
	return nil
}

// The result for the feed item target mutate.
type MutateFeedItemTargetResult struct {
	// Returned for successful operations.
	ResourceName         string   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *MutateFeedItemTargetResult) Reset()         { *m = MutateFeedItemTargetResult{} }
func (m *MutateFeedItemTargetResult) String() string { return proto.CompactTextString(m) }
func (*MutateFeedItemTargetResult) ProtoMessage()    {}
func (*MutateFeedItemTargetResult) Descriptor() ([]byte, []int) {
	return fileDescriptor_dd1e9e40c90fdaae, []int{4}
}

func (m *MutateFeedItemTargetResult) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MutateFeedItemTargetResult.Unmarshal(m, b)
}
func (m *MutateFeedItemTargetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MutateFeedItemTargetResult.Marshal(b, m, deterministic)
}
func (m *MutateFeedItemTargetResult) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MutateFeedItemTargetResult.Merge(m, src)
}
func (m *MutateFeedItemTargetResult) XXX_Size() int {
	return xxx_messageInfo_MutateFeedItemTargetResult.Size(m)
}
func (m *MutateFeedItemTargetResult) XXX_DiscardUnknown() {
	xxx_messageInfo_MutateFeedItemTargetResult.DiscardUnknown(m)
}

var xxx_messageInfo_MutateFeedItemTargetResult proto.InternalMessageInfo

func (m *MutateFeedItemTargetResult) GetResourceName() string {
	if m != nil {
		return m.ResourceName
	}
	return ""
}

func init() {
	proto.RegisterType((*GetFeedItemTargetRequest)(nil), "google.ads.googleads.v2.services.GetFeedItemTargetRequest")
	proto.RegisterType((*MutateFeedItemTargetsRequest)(nil), "google.ads.googleads.v2.services.MutateFeedItemTargetsRequest")
	proto.RegisterType((*FeedItemTargetOperation)(nil), "google.ads.googleads.v2.services.FeedItemTargetOperation")
	proto.RegisterType((*MutateFeedItemTargetsResponse)(nil), "google.ads.googleads.v2.services.MutateFeedItemTargetsResponse")
	proto.RegisterType((*MutateFeedItemTargetResult)(nil), "google.ads.googleads.v2.services.MutateFeedItemTargetResult")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v2/services/feed_item_target_service.proto", fileDescriptor_dd1e9e40c90fdaae)
}

var fileDescriptor_dd1e9e40c90fdaae = []byte{
	// 581 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xbf, 0x6f, 0xd3, 0x40,
	0x14, 0xc7, 0xb1, 0x2b, 0x15, 0xf5, 0x02, 0x03, 0x27, 0x55, 0xb5, 0x4c, 0x11, 0x91, 0xe9, 0x50,
	0x65, 0x38, 0xab, 0x2e, 0x03, 0x3d, 0x28, 0x91, 0x33, 0x90, 0x56, 0x08, 0xa8, 0x0c, 0x8a, 0x04,
	0x8a, 0x14, 0x19, 0xfb, 0x61, 0x59, 0x8a, 0x7d, 0xe1, 0xee, 0x12, 0x86, 0xaa, 0x03, 0xec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97, 0x8e, 0x57, 0xfb, 0xe0,
	0xb4, 0xcb, 0xaa, 0x0e, 0x9c, 0xbb, 0x45, 0x55, 0xb3, 0x32, 0x4e, 0xe7, 0x6e, 0xd4, 0x61, 0xeb,
	0xec, 0x62, 0x51, 0x34, 0x2b, 0xa1, 0xd4, 0x68, 0xd9, 0x37, 0xcf, 0x7d, 0x6b, 0x26, 0x5c, 0x59,
	0xa3, 0x54, 0x90, 0x88, 0x65, 0x9d, 0xf7, 0x26, 0xda, 0x89, 0x58, 0xb6, 0x32, 0xc9, 0x8e, 0xbd,
	0x74, 0xf0, 0x27, 0xc5, 0x0b, 0x72, 0x62, 0xbc, 0x3a, 0xaa, 0xe2, 0x13, 0x36, 0x0c, 0xf3, 0x84,
	0x30, 0x9e, 0xb8, 0x09, 0xe4, 0xe5, 0xfb, 0xe2, 0xce, 0x14, 0xeb, 0x9f, 0xcd, 0xfb, 0xda, 0xf8,
	0x62, 0xae, 0x75, 0x7d, 0xff, 0xab, 0xd9, 0xec, 0x2a, 0xa0, 0x1f, 0x0b, 0xa2, 0xcc, 0xc2, 0xea,
	0x79, 0xa4, 0x12, 0x16, 0xe7, 0xda, 0xa5, 0xef, 0xc7, 0xa2, 0x3f, 0x75, 0xe9, 0xf7, 0xbc, 0xbe,
	0x76, 0xf9, 0x6d, 0xee, 0xa8, 0xff, 0x94, 0xfa, 0xb1, 0xa0, 0x74, 0xea, 0x44, 0x69, 0xcf, 0xa3,
	0x54, 0xbb, 0xbd, 0x5e, 0x2f, 0xf3, 0xdc, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x35, 0xcc,
	0xa8, 0xdd, 0x05, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// FeedItemTargetServiceClient is the client API for FeedItemTargetService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type FeedItemTargetServiceClient interface {
	// Returns the requested feed item targets in full detail.
	GetFeedItemTarget(ctx context.Context, in *GetFeedItemTargetRequest, opts ...grpc.CallOption) (*resources.FeedItemTarget, error)
	// Creates or removes feed item targets. Operation statuses are returned.
	MutateFeedItemTargets(ctx context.Context, in *MutateFeedItemTargetsRequest, opts ...grpc.CallOption) (*MutateFeedItemTargetsResponse, error)
}

type feedItemTargetServiceClient struct {
	cc *grpc.ClientConn
}

func NewFeedItemTargetServiceClient(cc *grpc.ClientConn) FeedItemTargetServiceClient {
	return &feedItemTargetServiceClient{cc}
}

func (c *feedItemTargetServiceClient) GetFeedItemTarget(ctx context.Context, in *GetFeedItemTargetRequest, opts ...grpc.CallOption) (*resources.FeedItemTarget, error) {
	out := new(resources.FeedItemTarget)
	err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.FeedItemTargetService/GetFeedItemTarget", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *feedItemTargetServiceClient) MutateFeedItemTargets(ctx context.Context, in *MutateFeedItemTargetsRequest, opts ...grpc.CallOption) (*MutateFeedItemTargetsResponse, error) {
	out := new(MutateFeedItemTargetsResponse)
	err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.FeedItemTargetService/MutateFeedItemTargets", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// FeedItemTargetServiceServer is the server API for FeedItemTargetService service.
type FeedItemTargetServiceServer interface {
	// Returns the requested feed item targets in full detail.
	GetFeedItemTarget(context.Context, *GetFeedItemTargetRequest) (*resources.FeedItemTarget, error)
	// Creates or removes feed item targets. Operation statuses are returned.
	MutateFeedItemTargets(context.Context, *MutateFeedItemTargetsRequest) (*MutateFeedItemTargetsResponse, error)
}

// UnimplementedFeedItemTargetServiceServer can be embedded to have forward compatible implementations.
type UnimplementedFeedItemTargetServiceServer struct {
}

func (*UnimplementedFeedItemTargetServiceServer) GetFeedItemTarget(ctx context.Context, req *GetFeedItemTargetRequest) (*resources.FeedItemTarget, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetFeedItemTarget not implemented")
}
func (*UnimplementedFeedItemTargetServiceServer) MutateFeedItemTargets(ctx context.Context, req *MutateFeedItemTargetsRequest) (*MutateFeedItemTargetsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method MutateFeedItemTargets not implemented")
}

func RegisterFeedItemTargetServiceServer(s *grpc.Server, srv FeedItemTargetServiceServer) {
	s.RegisterService(&_FeedItemTargetService_serviceDesc, srv)
}

func _FeedItemTargetService_GetFeedItemTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetFeedItemTargetRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(FeedItemTargetServiceServer).GetFeedItemTarget(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/google.ads.googleads.v2.services.FeedItemTargetService/GetFeedItemTarget",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(FeedItemTargetServiceServer).GetFeedItemTarget(ctx, req.(*GetFeedItemTargetRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _FeedItemTargetService_MutateFeedItemTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(MutateFeedItemTargetsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(FeedItemTargetServiceServer).MutateFeedItemTargets(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/google.ads.googleads.v2.services.FeedItemTargetService/MutateFeedItemTargets",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(FeedItemTargetServiceServer).MutateFeedItemTargets(ctx, req.(*MutateFeedItemTargetsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _FeedItemTargetService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "google.ads.googleads.v2.services.FeedItemTargetService",
	HandlerType: (*FeedItemTargetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetFeedItemTarget",
			Handler:    _FeedItemTargetService_GetFeedItemTarget_Handler,
		},
		{
			MethodName: "MutateFeedItemTargets",
			Handler:    _FeedItemTargetService_MutateFeedItemTargets_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/ads/googleads/v2/services/feed_item_target_service.proto",
}
