// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/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/v1/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.v1.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_a979e4cfb7098343, []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.v1.services.GetHotelPerformanceViewRequest")
}

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

var fileDescriptor_a979e4cfb7098343 = []byte{
	// 442 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0x3f, 0x8b, 0xd4, 0x40,
	0x1c, 0x65, 0x23, 0x08, 0x06, 0x6d, 0xd2, 0xdc, 0x99, 0x13, 0x0d, 0xc7, 0x15, 0x22, 0x38, 0x43,
	0xfc, 0x0b, 0x23, 0x8a, 0xb3, 0x20, 0x7b, 0x85, 0xc8, 0xa2, 0x90, 0xe2, 0x08, 0x84, 0xb9, 0xe4,
	0x77, 0xb9, 0x81, 0x64, 0x26, 0xce, 0xcc, 0xe6, 0x0a, 0xb5, 0xb1, 0xf1, 0x03, 0xf8, 0x01, 0x04,
	0x4b, 0x3f, 0xca, 0xb5, 0x76, 0x56, 0x22, 0x56, 0x7e, 0x04, 0x2b, 0xc9, 0x4d, 0x26, 0xbb, 0x27,
	0x9b, 0xdb, 0xee, 0xb1, 0xef, 0xfd, 0xde, 0xef, 0x37, 0xef, 0x6d, 0xfc, 0x17, 0xa5, 0x94, 0x65,
	0x05, 0x98, 0x15, 0x1a, 0x5b, 0x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8, 0x78, 0xd4, 0x61,
	0xe8, 0x0b, 0xad, 0x9b, 0xdf, 0x7d, 0xf9, 0x83, 0x9e, 0xcf, 0xe4, 0xe3, 0xf7, 0xdf, 0x9f, 0xbd,
	0x47, 0xc1, 0x83, 0xae, 0xeb, 0x77, 0xe7, 0x98, 0xa7, 0xf9, 0x42, 0x1b, 0x59, 0x83, 0xd2, 0xf8,
	0x8e, 0x2d, 0xff, 0x3f, 0xb3, 0x0f, 0xe1, 0xce, 0x29, 0xdd, 0x1e, 0x0b, 0x71, 0xfa, 0xc9, 0xf3,
	0xf7, 0x72, 0x59, 0x6f, 0x7c, 0xeb, 0x34, 0xba, 0x20, 0xc7, 0x79, 0x57, 0xf5, 0x7c, 0x72, 0xb0,
	0xdf, 0xbb, 0x94, 0xb2, 0x62, 0xa2, 0x44, 0x52, 0x95, 0xb8, 0x04, 0x71, 0xf6, 0x47, 0xc0, 0xcb,
	0xbd, 0xe3, 0xdf, 0xc9, 0x13, 0x07, 0xbe, 0x7a, 0x97, 0x66, 0x94, 0x7e, 0xf3, 0xa2, 0x99, 0x35,
	0xa4, 0x85, 0x46, 0x16, 0x76, 0x28, 0x89, 0x51, 0xbf, 0x58, 0x9f, 0x3a, 0x49, 0x4a, 0x0b, 0x9d,
	0x0e, 0x92, 0x34, 0x89, 0x53, 0x27, 0xf9, 0xe3, 0xed, 0xd9, 0xdf, 0x09, 0xa1, 0x85, 0x26, 0x64,
	0x10, 0x11, 0x92, 0xc4, 0x84, 0x38, 0xd9, 0xe1, 0xe5, 0xb3, 0x3b, 0xef, 0xff, 0x0b, 0x00, 0x00,
	0xff, 0xff, 0x83, 0x65, 0xd7, 0xef, 0xce, 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.v1.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.v1.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.v1.services.HotelPerformanceViewService",
	HandlerType: (*HotelPerformanceViewServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetHotelPerformanceView",
			Handler:    _HotelPerformanceViewService_GetHotelPerformanceView_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/ads/googleads/v1/services/hotel_performance_view_service.proto",
}
