1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/services/hotel_performance_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// [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v1.services.HotelPerformanceViewService.GetHotelPerformanceView].
30type GetHotelPerformanceViewRequest struct {
31	// Resource name of the Hotel Performance 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 *GetHotelPerformanceViewRequest) Reset()         { *m = GetHotelPerformanceViewRequest{} }
39func (m *GetHotelPerformanceViewRequest) String() string { return proto.CompactTextString(m) }
40func (*GetHotelPerformanceViewRequest) ProtoMessage()    {}
41func (*GetHotelPerformanceViewRequest) Descriptor() ([]byte, []int) {
42	return fileDescriptor_a979e4cfb7098343, []int{0}
43}
44
45func (m *GetHotelPerformanceViewRequest) XXX_Unmarshal(b []byte) error {
46	return xxx_messageInfo_GetHotelPerformanceViewRequest.Unmarshal(m, b)
47}
48func (m *GetHotelPerformanceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
49	return xxx_messageInfo_GetHotelPerformanceViewRequest.Marshal(b, m, deterministic)
50}
51func (m *GetHotelPerformanceViewRequest) XXX_Merge(src proto.Message) {
52	xxx_messageInfo_GetHotelPerformanceViewRequest.Merge(m, src)
53}
54func (m *GetHotelPerformanceViewRequest) XXX_Size() int {
55	return xxx_messageInfo_GetHotelPerformanceViewRequest.Size(m)
56}
57func (m *GetHotelPerformanceViewRequest) XXX_DiscardUnknown() {
58	xxx_messageInfo_GetHotelPerformanceViewRequest.DiscardUnknown(m)
59}
60
61var xxx_messageInfo_GetHotelPerformanceViewRequest proto.InternalMessageInfo
62
63func (m *GetHotelPerformanceViewRequest) GetResourceName() string {
64	if m != nil {
65		return m.ResourceName
66	}
67	return ""
68}
69
70func init() {
71	proto.RegisterType((*GetHotelPerformanceViewRequest)(nil), "google.ads.googleads.v1.services.GetHotelPerformanceViewRequest")
72}
73
74func init() {
75	proto.RegisterFile("google/ads/googleads/v1/services/hotel_performance_view_service.proto", fileDescriptor_a979e4cfb7098343)
76}
77
78var fileDescriptor_a979e4cfb7098343 = []byte{
79	// 374 bytes of a gzipped FileDescriptorProto
80	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0x4a, 0xf3, 0x40,
81	0x14, 0x25, 0xf9, 0xe0, 0x03, 0x83, 0x6e, 0xb2, 0x51, 0xaa, 0x48, 0xa8, 0x5d, 0x88, 0x8b, 0x09,
82	0x51, 0x51, 0x18, 0x7f, 0x30, 0x85, 0xd2, 0xae, 0xa4, 0x54, 0xc8, 0x42, 0x02, 0x61, 0x4c, 0xae,
83	0x31, 0xd0, 0x64, 0xe2, 0xcc, 0x34, 0x5d, 0x88, 0x1b, 0x37, 0x3e, 0x80, 0x6f, 0xe0, 0xd2, 0x47,
84	0x71, 0xa9, 0xaf, 0xe0, 0xca, 0xa5, 0x4f, 0x20, 0xe9, 0x74, 0x22, 0x4a, 0xd3, 0xee, 0x0e, 0x33,
85	0xe7, 0xe7, 0xce, 0xb9, 0x63, 0x74, 0x62, 0x4a, 0xe3, 0x21, 0x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c2,
97	0xf1, 0xdb, 0xd6, 0x9c, 0x6a, 0xfa, 0xe5, 0x1a, 0xfa, 0xda, 0x65, 0x6f, 0xea, 0x12, 0xd3, 0x21,
98	0xc9, 0x62, 0x44, 0x59, 0x6c, 0xc7, 0x90, 0x4d, 0x96, 0xa4, 0xd6, 0x9e, 0x27, 0xbc, 0xfe, 0xbb,
99	0x1d, 0x29, 0xf0, 0xac, 0xff, 0xeb, 0xba, 0xee, 0x8b, 0x6e, 0x75, 0xa5, 0xa1, 0x1b, 0x71, 0x24,
100	0x61, 0x89, 0x3c, 0x07, 0x4d, 0x83, 0xf9, 0xab, 0xa2, 0xf8, 0x6e, 0xc4, 0xfd, 0x8a, 0xe2, 0x7b,
101	0x8e, 0xaf, 0x28, 0x9f, 0x7a, 0x4b, 0x9e, 0x63, 0xec, 0x46, 0x1c, 0xe3, 0x8a, 0x84, 0xb1, 0xe7,
102	0x60, 0xac, 0x68, 0x57, 0xff, 0x27, 0x73, 0xee, 0x7d, 0x07, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x4e,
103	0xc0, 0xba, 0x15, 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// HotelPerformanceViewServiceClient is the client API for HotelPerformanceViewService 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 HotelPerformanceViewServiceClient interface {
118	// Returns the requested Hotel Performance View in full detail.
119	GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error)
120}
121
122type hotelPerformanceViewServiceClient struct {
123	cc *grpc.ClientConn
124}
125
126func NewHotelPerformanceViewServiceClient(cc *grpc.ClientConn) HotelPerformanceViewServiceClient {
127	return &hotelPerformanceViewServiceClient{cc}
128}
129
130func (c *hotelPerformanceViewServiceClient) GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error) {
131	out := new(resources.HotelPerformanceView)
132	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.HotelPerformanceViewService/GetHotelPerformanceView", in, out, opts...)
133	if err != nil {
134		return nil, err
135	}
136	return out, nil
137}
138
139// HotelPerformanceViewServiceServer is the server API for HotelPerformanceViewService service.
140type HotelPerformanceViewServiceServer interface {
141	// Returns the requested Hotel Performance View in full detail.
142	GetHotelPerformanceView(context.Context, *GetHotelPerformanceViewRequest) (*resources.HotelPerformanceView, error)
143}
144
145func RegisterHotelPerformanceViewServiceServer(s *grpc.Server, srv HotelPerformanceViewServiceServer) {
146	s.RegisterService(&_HotelPerformanceViewService_serviceDesc, srv)
147}
148
149func _HotelPerformanceViewService_GetHotelPerformanceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
150	in := new(GetHotelPerformanceViewRequest)
151	if err := dec(in); err != nil {
152		return nil, err
153	}
154	if interceptor == nil {
155		return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, in)
156	}
157	info := &grpc.UnaryServerInfo{
158		Server:     srv,
159		FullMethod: "/google.ads.googleads.v1.services.HotelPerformanceViewService/GetHotelPerformanceView",
160	}
161	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
162		return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, req.(*GetHotelPerformanceViewRequest))
163	}
164	return interceptor(ctx, in, info, handler)
165}
166
167var _HotelPerformanceViewService_serviceDesc = grpc.ServiceDesc{
168	ServiceName: "google.ads.googleads.v1.services.HotelPerformanceViewService",
169	HandlerType: (*HotelPerformanceViewServiceServer)(nil),
170	Methods: []grpc.MethodDesc{
171		{
172			MethodName: "GetHotelPerformanceView",
173			Handler:    _HotelPerformanceViewService_GetHotelPerformanceView_Handler,
174		},
175	},
176	Streams:  []grpc.StreamDesc{},
177	Metadata: "google/ads/googleads/v1/services/hotel_performance_view_service.proto",
178}
179