1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/services/detail_placement_view_service.proto
3
4package services
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	grpc "google.golang.org/grpc"
15)
16
17// Reference imports to suppress errors if they are not otherwise used.
18var _ = proto.Marshal
19var _ = fmt.Errorf
20var _ = math.Inf
21
22// This is a compile-time assertion to ensure that this generated file
23// is compatible with the proto package it is being compiled against.
24// A compilation error at this line likely means your copy of the
25// proto package needs to be updated.
26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
27
28// Request message for
29// [DetailPlacementViewService.GetDetailPlacementView][google.ads.googleads.v1.services.DetailPlacementViewService.GetDetailPlacementView].
30type GetDetailPlacementViewRequest struct {
31	// The resource name of the Detail Placement view to fetch.
32	ResourceName         string   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
33	XXX_NoUnkeyedLiteral struct{} `json:"-"`
34	XXX_unrecognized     []byte   `json:"-"`
35	XXX_sizecache        int32    `json:"-"`
36}
37
38func (m *GetDetailPlacementViewRequest) Reset()         { *m = GetDetailPlacementViewRequest{} }
39func (m *GetDetailPlacementViewRequest) String() string { return proto.CompactTextString(m) }
40func (*GetDetailPlacementViewRequest) ProtoMessage()    {}
41func (*GetDetailPlacementViewRequest) Descriptor() ([]byte, []int) {
42	return fileDescriptor_9f5548d46c4dece9, []int{0}
43}
44
45func (m *GetDetailPlacementViewRequest) XXX_Unmarshal(b []byte) error {
46	return xxx_messageInfo_GetDetailPlacementViewRequest.Unmarshal(m, b)
47}
48func (m *GetDetailPlacementViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
49	return xxx_messageInfo_GetDetailPlacementViewRequest.Marshal(b, m, deterministic)
50}
51func (m *GetDetailPlacementViewRequest) XXX_Merge(src proto.Message) {
52	xxx_messageInfo_GetDetailPlacementViewRequest.Merge(m, src)
53}
54func (m *GetDetailPlacementViewRequest) XXX_Size() int {
55	return xxx_messageInfo_GetDetailPlacementViewRequest.Size(m)
56}
57func (m *GetDetailPlacementViewRequest) XXX_DiscardUnknown() {
58	xxx_messageInfo_GetDetailPlacementViewRequest.DiscardUnknown(m)
59}
60
61var xxx_messageInfo_GetDetailPlacementViewRequest proto.InternalMessageInfo
62
63func (m *GetDetailPlacementViewRequest) GetResourceName() string {
64	if m != nil {
65		return m.ResourceName
66	}
67	return ""
68}
69
70func init() {
71	proto.RegisterType((*GetDetailPlacementViewRequest)(nil), "google.ads.googleads.v1.services.GetDetailPlacementViewRequest")
72}
73
74func init() {
75	proto.RegisterFile("google/ads/googleads/v1/services/detail_placement_view_service.proto", fileDescriptor_9f5548d46c4dece9)
76}
77
78var fileDescriptor_9f5548d46c4dece9 = []byte{
79	// 373 bytes of a gzipped FileDescriptorProto
80	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbf, 0x4a, 0xfb, 0x40,
81	0x1c, 0x27, 0xf9, 0xc1, 0x0f, 0x0c, 0xba, 0x64, 0x10, 0x09, 0x8a, 0xa5, 0x76, 0x90, 0x0e, 0x77,
82	0x44, 0xa1, 0xc8, 0x49, 0x95, 0x94, 0x42, 0x9d, 0xa4, 0x54, 0xc8, 0x20, 0x81, 0x70, 0x26, 0x5f,
83	0x42, 0x20, 0xc9, 0xc5, 0xdc, 0x35, 0x1d, 0xc4, 0xc5, 0xc1, 0x17, 0xf0, 0x0d, 0x1c, 0x7d, 0x14,
84	0x37, 0xf1, 0x15, 0x9c, 0x9c, 0x7c, 0x04, 0x49, 0x2f, 0x17, 0x28, 0x34, 0x76, 0xfb, 0x70, 0xdf,
85	0xcf, 0x9f, 0xef, 0x9f, 0x33, 0xc6, 0x11, 0x63, 0x51, 0x02, 0x98, 0x86, 0x1c, 0x4b, 0x58,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e, 0xdb, 0x17, 0x33, 0xad, 0x4e, 0x30, 0xd5, 0x6e, 0xaf, 0x6a, 0x93, 0x88, 0x25, 0x34,
98	0x8b, 0x10, 0x2b, 0x22, 0x1c, 0x41, 0xb6, 0x3c, 0x90, 0xba, 0x78, 0x1e, 0xf3, 0xf6, 0x8f, 0x76,
99	0xae, 0xc0, 0xab, 0xfe, 0x6f, 0xe2, 0x38, 0x6f, 0x7a, 0x67, 0x22, 0x0d, 0x9d, 0x90, 0x23, 0x09,
100	0x2b, 0xe4, 0xda, 0xa8, 0x0e, 0xe6, 0xef, 0x8a, 0xe2, 0x39, 0x21, 0xf7, 0x1a, 0x8a, 0xe7, 0xda,
101	0x9e, 0xa2, 0x7c, 0xeb, 0x3d, 0xf9, 0x4e, 0x88, 0x13, 0x72, 0x42, 0x1a, 0x12, 0x21, 0xae, 0x4d,
102	0x88, 0xa2, 0xdd, 0xfd, 0x5f, 0xf6, 0x79, 0xfa, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x02, 0x09,
103	0x37, 0x0f, 0x03, 0x00, 0x00,
104}
105
106// Reference imports to suppress errors if they are not otherwise used.
107var _ context.Context
108var _ grpc.ClientConn
109
110// This is a compile-time assertion to ensure that this generated file
111// is compatible with the grpc package it is being compiled against.
112const _ = grpc.SupportPackageIsVersion4
113
114// DetailPlacementViewServiceClient is the client API for DetailPlacementViewService service.
115//
116// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
117type DetailPlacementViewServiceClient interface {
118	// Returns the requested Detail Placement view in full detail.
119	GetDetailPlacementView(ctx context.Context, in *GetDetailPlacementViewRequest, opts ...grpc.CallOption) (*resources.DetailPlacementView, error)
120}
121
122type detailPlacementViewServiceClient struct {
123	cc *grpc.ClientConn
124}
125
126func NewDetailPlacementViewServiceClient(cc *grpc.ClientConn) DetailPlacementViewServiceClient {
127	return &detailPlacementViewServiceClient{cc}
128}
129
130func (c *detailPlacementViewServiceClient) GetDetailPlacementView(ctx context.Context, in *GetDetailPlacementViewRequest, opts ...grpc.CallOption) (*resources.DetailPlacementView, error) {
131	out := new(resources.DetailPlacementView)
132	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.DetailPlacementViewService/GetDetailPlacementView", in, out, opts...)
133	if err != nil {
134		return nil, err
135	}
136	return out, nil
137}
138
139// DetailPlacementViewServiceServer is the server API for DetailPlacementViewService service.
140type DetailPlacementViewServiceServer interface {
141	// Returns the requested Detail Placement view in full detail.
142	GetDetailPlacementView(context.Context, *GetDetailPlacementViewRequest) (*resources.DetailPlacementView, error)
143}
144
145func RegisterDetailPlacementViewServiceServer(s *grpc.Server, srv DetailPlacementViewServiceServer) {
146	s.RegisterService(&_DetailPlacementViewService_serviceDesc, srv)
147}
148
149func _DetailPlacementViewService_GetDetailPlacementView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
150	in := new(GetDetailPlacementViewRequest)
151	if err := dec(in); err != nil {
152		return nil, err
153	}
154	if interceptor == nil {
155		return srv.(DetailPlacementViewServiceServer).GetDetailPlacementView(ctx, in)
156	}
157	info := &grpc.UnaryServerInfo{
158		Server:     srv,
159		FullMethod: "/google.ads.googleads.v1.services.DetailPlacementViewService/GetDetailPlacementView",
160	}
161	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
162		return srv.(DetailPlacementViewServiceServer).GetDetailPlacementView(ctx, req.(*GetDetailPlacementViewRequest))
163	}
164	return interceptor(ctx, in, info, handler)
165}
166
167var _DetailPlacementViewService_serviceDesc = grpc.ServiceDesc{
168	ServiceName: "google.ads.googleads.v1.services.DetailPlacementViewService",
169	HandlerType: (*DetailPlacementViewServiceServer)(nil),
170	Methods: []grpc.MethodDesc{
171		{
172			MethodName: "GetDetailPlacementView",
173			Handler:    _DetailPlacementViewService_GetDetailPlacementView_Handler,
174		},
175	},
176	Streams:  []grpc.StreamDesc{},
177	Metadata: "google/ads/googleads/v1/services/detail_placement_view_service.proto",
178}
179