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	codes "google.golang.org/grpc/codes"
16	status "google.golang.org/grpc/status"
17)
18
19// Reference imports to suppress errors if they are not otherwise used.
20var _ = proto.Marshal
21var _ = fmt.Errorf
22var _ = math.Inf
23
24// This is a compile-time assertion to ensure that this generated file
25// is compatible with the proto package it is being compiled against.
26// A compilation error at this line likely means your copy of the
27// proto package needs to be updated.
28const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
29
30// Request message for [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v1.services.HotelPerformanceViewService.GetHotelPerformanceView].
31type GetHotelPerformanceViewRequest struct {
32	// Required. Resource name of the Hotel Performance View to fetch.
33	ResourceName         string   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
34	XXX_NoUnkeyedLiteral struct{} `json:"-"`
35	XXX_unrecognized     []byte   `json:"-"`
36	XXX_sizecache        int32    `json:"-"`
37}
38
39func (m *GetHotelPerformanceViewRequest) Reset()         { *m = GetHotelPerformanceViewRequest{} }
40func (m *GetHotelPerformanceViewRequest) String() string { return proto.CompactTextString(m) }
41func (*GetHotelPerformanceViewRequest) ProtoMessage()    {}
42func (*GetHotelPerformanceViewRequest) Descriptor() ([]byte, []int) {
43	return fileDescriptor_a979e4cfb7098343, []int{0}
44}
45
46func (m *GetHotelPerformanceViewRequest) XXX_Unmarshal(b []byte) error {
47	return xxx_messageInfo_GetHotelPerformanceViewRequest.Unmarshal(m, b)
48}
49func (m *GetHotelPerformanceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
50	return xxx_messageInfo_GetHotelPerformanceViewRequest.Marshal(b, m, deterministic)
51}
52func (m *GetHotelPerformanceViewRequest) XXX_Merge(src proto.Message) {
53	xxx_messageInfo_GetHotelPerformanceViewRequest.Merge(m, src)
54}
55func (m *GetHotelPerformanceViewRequest) XXX_Size() int {
56	return xxx_messageInfo_GetHotelPerformanceViewRequest.Size(m)
57}
58func (m *GetHotelPerformanceViewRequest) XXX_DiscardUnknown() {
59	xxx_messageInfo_GetHotelPerformanceViewRequest.DiscardUnknown(m)
60}
61
62var xxx_messageInfo_GetHotelPerformanceViewRequest proto.InternalMessageInfo
63
64func (m *GetHotelPerformanceViewRequest) GetResourceName() string {
65	if m != nil {
66		return m.ResourceName
67	}
68	return ""
69}
70
71func init() {
72	proto.RegisterType((*GetHotelPerformanceViewRequest)(nil), "google.ads.googleads.v1.services.GetHotelPerformanceViewRequest")
73}
74
75func init() {
76	proto.RegisterFile("google/ads/googleads/v1/services/hotel_performance_view_service.proto", fileDescriptor_a979e4cfb7098343)
77}
78
79var fileDescriptor_a979e4cfb7098343 = []byte{
80	// 442 bytes of a gzipped FileDescriptorProto
81	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0x3f, 0x8b, 0xd4, 0x40,
82	0x1c, 0x65, 0x23, 0x08, 0x06, 0x6d, 0xd2, 0xdc, 0x99, 0x13, 0x0d, 0xc7, 0x15, 0x22, 0x38, 0x43,
83	0xfc, 0x0b, 0x23, 0x8a, 0xb3, 0x20, 0x7b, 0x85, 0xc8, 0xa2, 0x90, 0xe2, 0x08, 0x84, 0xb9, 0xe4,
84	0x77, 0xb9, 0x81, 0x64, 0x26, 0xce, 0xcc, 0xe6, 0x0a, 0xb5, 0xb1, 0xf1, 0x03, 0xf8, 0x01, 0x04,
85	0x4b, 0x3f, 0xca, 0xb5, 0x76, 0x56, 0x22, 0x56, 0x7e, 0x04, 0x2b, 0xc9, 0x4d, 0x26, 0xbb, 0x27,
86	0x9b, 0xdb, 0xee, 0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xb2, 0x37, 0x36, 0xd1, 0xe0, 0xd7, 0xc4,
98	0xdf, 0x1a, 0x39, 0x2f, 0x78, 0x8e, 0x36, 0xf5, 0x81, 0x2e, 0x7e, 0x59, 0xf8, 0x78, 0xd4, 0x61,
99	0xe8, 0x0b, 0xad, 0x9b, 0xdf, 0x7d, 0xf9, 0x83, 0x9e, 0xcf, 0xe4, 0xe3, 0xf7, 0xdf, 0x9f, 0xbd,
100	0x47, 0xc1, 0x83, 0xae, 0xeb, 0x77, 0xe7, 0x98, 0xa7, 0xf9, 0x42, 0x1b, 0x59, 0x83, 0xd2, 0xf8,
101	0x8e, 0x2d, 0xff, 0x3f, 0xb3, 0x0f, 0xe1, 0xce, 0x29, 0xdd, 0x1e, 0x0b, 0x71, 0xfa, 0xc9, 0xf3,
102	0xf7, 0x72, 0x59, 0x6f, 0x7c, 0xeb, 0x34, 0xba, 0x20, 0xc7, 0x79, 0x57, 0xf5, 0x7c, 0x72, 0xb0,
103	0xdf, 0xbb, 0x94, 0xb2, 0x62, 0xa2, 0x44, 0x52, 0x95, 0xb8, 0x04, 0x71, 0xf6, 0x47, 0xc0, 0xcb,
104	0xbd, 0xe3, 0xdf, 0xc9, 0x13, 0x07, 0xbe, 0x7a, 0x97, 0x66, 0x94, 0x7e, 0xf3, 0xa2, 0x99, 0x35,
105	0xa4, 0x85, 0x46, 0x16, 0x76, 0x28, 0x89, 0x51, 0xbf, 0x58, 0x9f, 0x3a, 0x49, 0x4a, 0x0b, 0x9d,
106	0x0e, 0x92, 0x34, 0x89, 0x53, 0x27, 0xf9, 0xe3, 0xed, 0xd9, 0xdf, 0x09, 0xa1, 0x85, 0x26, 0x64,
107	0x10, 0x11, 0x92, 0xc4, 0x84, 0x38, 0xd9, 0xe1, 0xe5, 0xb3, 0x3b, 0xef, 0xff, 0x0b, 0x00, 0x00,
108	0xff, 0xff, 0x83, 0x65, 0xd7, 0xef, 0xce, 0x03, 0x00, 0x00,
109}
110
111// Reference imports to suppress errors if they are not otherwise used.
112var _ context.Context
113var _ grpc.ClientConnInterface
114
115// This is a compile-time assertion to ensure that this generated file
116// is compatible with the grpc package it is being compiled against.
117const _ = grpc.SupportPackageIsVersion6
118
119// HotelPerformanceViewServiceClient is the client API for HotelPerformanceViewService service.
120//
121// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
122type HotelPerformanceViewServiceClient interface {
123	// Returns the requested Hotel Performance View in full detail.
124	GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error)
125}
126
127type hotelPerformanceViewServiceClient struct {
128	cc grpc.ClientConnInterface
129}
130
131func NewHotelPerformanceViewServiceClient(cc grpc.ClientConnInterface) HotelPerformanceViewServiceClient {
132	return &hotelPerformanceViewServiceClient{cc}
133}
134
135func (c *hotelPerformanceViewServiceClient) GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error) {
136	out := new(resources.HotelPerformanceView)
137	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.HotelPerformanceViewService/GetHotelPerformanceView", in, out, opts...)
138	if err != nil {
139		return nil, err
140	}
141	return out, nil
142}
143
144// HotelPerformanceViewServiceServer is the server API for HotelPerformanceViewService service.
145type HotelPerformanceViewServiceServer interface {
146	// Returns the requested Hotel Performance View in full detail.
147	GetHotelPerformanceView(context.Context, *GetHotelPerformanceViewRequest) (*resources.HotelPerformanceView, error)
148}
149
150// UnimplementedHotelPerformanceViewServiceServer can be embedded to have forward compatible implementations.
151type UnimplementedHotelPerformanceViewServiceServer struct {
152}
153
154func (*UnimplementedHotelPerformanceViewServiceServer) GetHotelPerformanceView(ctx context.Context, req *GetHotelPerformanceViewRequest) (*resources.HotelPerformanceView, error) {
155	return nil, status.Errorf(codes.Unimplemented, "method GetHotelPerformanceView not implemented")
156}
157
158func RegisterHotelPerformanceViewServiceServer(s *grpc.Server, srv HotelPerformanceViewServiceServer) {
159	s.RegisterService(&_HotelPerformanceViewService_serviceDesc, srv)
160}
161
162func _HotelPerformanceViewService_GetHotelPerformanceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
163	in := new(GetHotelPerformanceViewRequest)
164	if err := dec(in); err != nil {
165		return nil, err
166	}
167	if interceptor == nil {
168		return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, in)
169	}
170	info := &grpc.UnaryServerInfo{
171		Server:     srv,
172		FullMethod: "/google.ads.googleads.v1.services.HotelPerformanceViewService/GetHotelPerformanceView",
173	}
174	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
175		return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, req.(*GetHotelPerformanceViewRequest))
176	}
177	return interceptor(ctx, in, info, handler)
178}
179
180var _HotelPerformanceViewService_serviceDesc = grpc.ServiceDesc{
181	ServiceName: "google.ads.googleads.v1.services.HotelPerformanceViewService",
182	HandlerType: (*HotelPerformanceViewServiceServer)(nil),
183	Methods: []grpc.MethodDesc{
184		{
185			MethodName: "GetHotelPerformanceView",
186			Handler:    _HotelPerformanceViewService_GetHotelPerformanceView_Handler,
187		},
188	},
189	Streams:  []grpc.StreamDesc{},
190	Metadata: "google/ads/googleads/v1/services/hotel_performance_view_service.proto",
191}
192