// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/services/hotel_performance_view_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/v3/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 [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v3.services.HotelPerformanceViewService.GetHotelPerformanceView].
type GetHotelPerformanceViewRequest struct {
	// Required. Resource name of the Hotel Performance View 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 *GetHotelPerformanceViewRequest) Reset()         { *m = GetHotelPerformanceViewRequest{} }
func (m *GetHotelPerformanceViewRequest) String() string { return proto.CompactTextString(m) }
func (*GetHotelPerformanceViewRequest) ProtoMessage()    {}
func (*GetHotelPerformanceViewRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_c592119b3f671921, []int{0}
}

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

var xxx_messageInfo_GetHotelPerformanceViewRequest proto.InternalMessageInfo

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

func init() {
	proto.RegisterType((*GetHotelPerformanceViewRequest)(nil), "google.ads.googleads.v3.services.GetHotelPerformanceViewRequest")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/services/hotel_performance_view_service.proto", fileDescriptor_c592119b3f671921)
}

var fileDescriptor_c592119b3f671921 = []byte{
	// 423 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xc1, 0x6a, 0xd5, 0x40,
	0x14, 0x25, 0x29, 0x08, 0x06, 0xdd, 0x64, 0xd3, 0x92, 0x8a, 0x86, 0xd2, 0x45, 0x71, 0x31, 0x03,
	0x46, 0x14, 0x46, 0x14, 0xe7, 0x81, 0xbc, 0x22, 0x22, 0x8f, 0x0a, 0x59, 0x48, 0x20, 0x4c, 0x93,
	0xdb, 0x74, 0x20, 0x99, 0x89, 0x33, 0xf3, 0xd2, 0x85, 0xb8, 0x71, 0xe3, 0x07, 0xf8, 0x01, 0x82,
	0x4b, 0x3f, 0xa5, 0x5b, 0x77, 0xae, 0x44, 0x5c, 0xf9, 0x15, 0x92, 0x4e, 0x26, 0xaf, 0x2d, 0xcd,
	0x7b, 0xbb, 0x43, 0xce, 0xb9, 0xe7, 0xdc, 0xb9, 0x27, 0xc1, 0xab, 0x4a, 0xca, 0xaa, 0x06, 0xcc,
	0x4a, 0x8d, 0x2d, 0xec, 0x51, 0x97, 0x60, 0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 0x3e, 0x5e, 0x61,
	0x9e, 0x17, 0x4b, 0x6d, 0x64, 0x03, 0x4a, 0xe3, 0x87, 0xb6, 0xaf, 0x6b, 0x66, 0x9f, 0xa2, 0xdd,
	0x73, 0xba, 0xb3, 0x4a, 0x1f, 0x50, 0xcb, 0x35, 0x2a, 0x64, 0x33, 0xfb, 0xe2, 0x07, 0xfb, 0x85,
	0x6c, 0x36, 0xbe, 0x75, 0x16, 0xaf, 0xb9, 0xe3, 0xa2, 0x2f, 0x6e, 0xe1, 0xbd, 0x3f, 0x1c, 0x5c,
	0x2a, 0x59, 0x33, 0x51, 0x21, 0xa9, 0x2a, 0x5c, 0x81, 0xb8, 0xa8, 0x15, 0xaf, 0x72, 0xa7, 0x7f,
	0xed, 0x67, 0x0e, 0x7c, 0xf7, 0xb7, 0xe6, 0x94, 0xfe, 0xf0, 0xe3, 0xb9, 0x35, 0xa4, 0xa5, 0x46,
	0x16, 0xf6, 0x28, 0x4d, 0xd0, 0x10, 0xac, 0xcf, 0x9d, 0x24, 0xa3, 0xa5, 0xce, 0x46, 0x49, 0x96,
	0x26, 0x99, 0x93, 0xfc, 0xf3, 0xf7, 0xed, 0x77, 0x42, 0x68, 0xa9, 0x09, 0x19, 0x45, 0x84, 0xa4,
	0x09, 0x21, 0x4e, 0x76, 0x7c, 0xeb, 0x62, 0xcf, 0xe4, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x60,
	0x24, 0x6c, 0x45, 0x81, 0x03, 0x00, 0x00,
}

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

// 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.SupportPackageIsVersion6

// HotelPerformanceViewServiceClient is the client API for HotelPerformanceViewService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type HotelPerformanceViewServiceClient interface {
	// Returns the requested Hotel Performance View in full detail.
	GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error)
}

type hotelPerformanceViewServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewHotelPerformanceViewServiceClient(cc grpc.ClientConnInterface) HotelPerformanceViewServiceClient {
	return &hotelPerformanceViewServiceClient{cc}
}

func (c *hotelPerformanceViewServiceClient) GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error) {
	out := new(resources.HotelPerformanceView)
	err := c.cc.Invoke(ctx, "/google.ads.googleads.v3.services.HotelPerformanceViewService/GetHotelPerformanceView", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// HotelPerformanceViewServiceServer is the server API for HotelPerformanceViewService service.
type HotelPerformanceViewServiceServer interface {
	// Returns the requested Hotel Performance View in full detail.
	GetHotelPerformanceView(context.Context, *GetHotelPerformanceViewRequest) (*resources.HotelPerformanceView, error)
}

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

func (*UnimplementedHotelPerformanceViewServiceServer) GetHotelPerformanceView(ctx context.Context, req *GetHotelPerformanceViewRequest) (*resources.HotelPerformanceView, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetHotelPerformanceView not implemented")
}

func RegisterHotelPerformanceViewServiceServer(s *grpc.Server, srv HotelPerformanceViewServiceServer) {
	s.RegisterService(&_HotelPerformanceViewService_serviceDesc, srv)
}

func _HotelPerformanceViewService_GetHotelPerformanceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetHotelPerformanceViewRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/google.ads.googleads.v3.services.HotelPerformanceViewService/GetHotelPerformanceView",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, req.(*GetHotelPerformanceViewRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _HotelPerformanceViewService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "google.ads.googleads.v3.services.HotelPerformanceViewService",
	HandlerType: (*HotelPerformanceViewServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetHotelPerformanceView",
			Handler:    _HotelPerformanceViewService_GetHotelPerformanceView_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/ads/googleads/v3/services/hotel_performance_view_service.proto",
}
