You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

178 lines
8.6 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/services/hotel_performance_view_service.proto
  3. package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. import (
  10. context "golang.org/x/net/context"
  11. grpc "google.golang.org/grpc"
  12. )
  13. // Reference imports to suppress errors if they are not otherwise used.
  14. var _ = proto.Marshal
  15. var _ = fmt.Errorf
  16. var _ = math.Inf
  17. // This is a compile-time assertion to ensure that this generated file
  18. // is compatible with the proto package it is being compiled against.
  19. // A compilation error at this line likely means your copy of the
  20. // proto package needs to be updated.
  21. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  22. // Request message for
  23. // [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v0.services.HotelPerformanceViewService.GetHotelPerformanceView].
  24. type GetHotelPerformanceViewRequest struct {
  25. // Resource name of the Hotel Performance View to fetch.
  26. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  27. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  28. XXX_unrecognized []byte `json:"-"`
  29. XXX_sizecache int32 `json:"-"`
  30. }
  31. func (m *GetHotelPerformanceViewRequest) Reset() { *m = GetHotelPerformanceViewRequest{} }
  32. func (m *GetHotelPerformanceViewRequest) String() string { return proto.CompactTextString(m) }
  33. func (*GetHotelPerformanceViewRequest) ProtoMessage() {}
  34. func (*GetHotelPerformanceViewRequest) Descriptor() ([]byte, []int) {
  35. return fileDescriptor_hotel_performance_view_service_e288f76fe9987a5f, []int{0}
  36. }
  37. func (m *GetHotelPerformanceViewRequest) XXX_Unmarshal(b []byte) error {
  38. return xxx_messageInfo_GetHotelPerformanceViewRequest.Unmarshal(m, b)
  39. }
  40. func (m *GetHotelPerformanceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  41. return xxx_messageInfo_GetHotelPerformanceViewRequest.Marshal(b, m, deterministic)
  42. }
  43. func (dst *GetHotelPerformanceViewRequest) XXX_Merge(src proto.Message) {
  44. xxx_messageInfo_GetHotelPerformanceViewRequest.Merge(dst, src)
  45. }
  46. func (m *GetHotelPerformanceViewRequest) XXX_Size() int {
  47. return xxx_messageInfo_GetHotelPerformanceViewRequest.Size(m)
  48. }
  49. func (m *GetHotelPerformanceViewRequest) XXX_DiscardUnknown() {
  50. xxx_messageInfo_GetHotelPerformanceViewRequest.DiscardUnknown(m)
  51. }
  52. var xxx_messageInfo_GetHotelPerformanceViewRequest proto.InternalMessageInfo
  53. func (m *GetHotelPerformanceViewRequest) GetResourceName() string {
  54. if m != nil {
  55. return m.ResourceName
  56. }
  57. return ""
  58. }
  59. func init() {
  60. proto.RegisterType((*GetHotelPerformanceViewRequest)(nil), "google.ads.googleads.v0.services.GetHotelPerformanceViewRequest")
  61. }
  62. // Reference imports to suppress errors if they are not otherwise used.
  63. var _ context.Context
  64. var _ grpc.ClientConn
  65. // This is a compile-time assertion to ensure that this generated file
  66. // is compatible with the grpc package it is being compiled against.
  67. const _ = grpc.SupportPackageIsVersion4
  68. // HotelPerformanceViewServiceClient is the client API for HotelPerformanceViewService service.
  69. //
  70. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  71. type HotelPerformanceViewServiceClient interface {
  72. // Returns the requested Hotel Performance View in full detail.
  73. GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error)
  74. }
  75. type hotelPerformanceViewServiceClient struct {
  76. cc *grpc.ClientConn
  77. }
  78. func NewHotelPerformanceViewServiceClient(cc *grpc.ClientConn) HotelPerformanceViewServiceClient {
  79. return &hotelPerformanceViewServiceClient{cc}
  80. }
  81. func (c *hotelPerformanceViewServiceClient) GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error) {
  82. out := new(resources.HotelPerformanceView)
  83. err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.HotelPerformanceViewService/GetHotelPerformanceView", in, out, opts...)
  84. if err != nil {
  85. return nil, err
  86. }
  87. return out, nil
  88. }
  89. // HotelPerformanceViewServiceServer is the server API for HotelPerformanceViewService service.
  90. type HotelPerformanceViewServiceServer interface {
  91. // Returns the requested Hotel Performance View in full detail.
  92. GetHotelPerformanceView(context.Context, *GetHotelPerformanceViewRequest) (*resources.HotelPerformanceView, error)
  93. }
  94. func RegisterHotelPerformanceViewServiceServer(s *grpc.Server, srv HotelPerformanceViewServiceServer) {
  95. s.RegisterService(&_HotelPerformanceViewService_serviceDesc, srv)
  96. }
  97. func _HotelPerformanceViewService_GetHotelPerformanceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  98. in := new(GetHotelPerformanceViewRequest)
  99. if err := dec(in); err != nil {
  100. return nil, err
  101. }
  102. if interceptor == nil {
  103. return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, in)
  104. }
  105. info := &grpc.UnaryServerInfo{
  106. Server: srv,
  107. FullMethod: "/google.ads.googleads.v0.services.HotelPerformanceViewService/GetHotelPerformanceView",
  108. }
  109. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  110. return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, req.(*GetHotelPerformanceViewRequest))
  111. }
  112. return interceptor(ctx, in, info, handler)
  113. }
  114. var _HotelPerformanceViewService_serviceDesc = grpc.ServiceDesc{
  115. ServiceName: "google.ads.googleads.v0.services.HotelPerformanceViewService",
  116. HandlerType: (*HotelPerformanceViewServiceServer)(nil),
  117. Methods: []grpc.MethodDesc{
  118. {
  119. MethodName: "GetHotelPerformanceView",
  120. Handler: _HotelPerformanceViewService_GetHotelPerformanceView_Handler,
  121. },
  122. },
  123. Streams: []grpc.StreamDesc{},
  124. Metadata: "google/ads/googleads/v0/services/hotel_performance_view_service.proto",
  125. }
  126. func init() {
  127. proto.RegisterFile("google/ads/googleads/v0/services/hotel_performance_view_service.proto", fileDescriptor_hotel_performance_view_service_e288f76fe9987a5f)
  128. }
  129. var fileDescriptor_hotel_performance_view_service_e288f76fe9987a5f = []byte{
  130. // 374 bytes of a gzipped FileDescriptorProto
  131. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0x4a, 0xf3, 0x40,
  132. 0x14, 0x25, 0xf9, 0xe0, 0x03, 0x83, 0x6e, 0xb2, 0x51, 0xaa, 0x48, 0xa8, 0x5d, 0x88, 0x8b, 0x49,
  133. 0x50, 0x51, 0x18, 0x7f, 0x30, 0x85, 0xd2, 0xae, 0xa4, 0x54, 0xc8, 0x42, 0x02, 0x61, 0x4c, 0xae,
  134. 0x31, 0xd0, 0x64, 0xe2, 0xcc, 0x34, 0x5d, 0x88, 0x1b, 0x37, 0x3e, 0x80, 0x6f, 0xe0, 0xd2, 0x47,
  135. 0x71, 0xa9, 0xaf, 0xe0, 0xca, 0xa5, 0x4f, 0x20, 0xe9, 0x74, 0x22, 0x4a, 0xd3, 0xee, 0x0e, 0x33,
  136. 0xe7, 0xe7, 0xce, 0xb9, 0x63, 0x74, 0x62, 0x4a, 0xe3, 0x21, 0xd8, 0x24, 0xe2, 0xb6, 0x84, 0x25,
  137. 0x2a, 0x1c, 0x9b, 0x03, 0x2b, 0x92, 0x10, 0xb8, 0x7d, 0x43, 0x05, 0x0c, 0x83, 0x1c, 0xd8, 0x35,
  138. 0x65, 0x29, 0xc9, 0x42, 0x08, 0x8a, 0x04, 0xc6, 0xc1, 0xf4, 0x1e, 0xe5, 0x8c, 0x0a, 0x6a, 0x5a,
  139. 0x52, 0x8b, 0x48, 0xc4, 0x51, 0x65, 0x83, 0x0a, 0x07, 0x29, 0x9b, 0xc6, 0x69, 0x5d, 0x10, 0x03,
  140. 0x4e, 0x47, 0xac, 0x3e, 0x49, 0x26, 0x34, 0x36, 0x94, 0x3e, 0x4f, 0x6c, 0x92, 0x65, 0x54, 0x10,
  141. 0x91, 0xd0, 0x8c, 0xcb, 0xdb, 0x66, 0xc7, 0xd8, 0xec, 0x82, 0xe8, 0x95, 0x06, 0xfd, 0x1f, 0xbd,
  142. 0x97, 0xc0, 0x78, 0x00, 0xb7, 0x23, 0xe0, 0xc2, 0xdc, 0x32, 0x56, 0x54, 0x52, 0x90, 0x91, 0x14,
  143. 0xd6, 0x34, 0x4b, 0xdb, 0x5e, 0x1a, 0x2c, 0xab, 0xc3, 0x73, 0x92, 0xc2, 0xee, 0x97, 0x66, 0xac,
  144. 0xcf, 0x32, 0xb9, 0x90, 0xaf, 0x30, 0xdf, 0x34, 0x63, 0xb5, 0x26, 0xc7, 0x3c, 0x43, 0x8b, 0x3a,
  145. 0x40, 0xf3, 0x47, 0x6c, 0x1c, 0xd6, 0x3a, 0x54, 0x1d, 0xa1, 0x59, 0xfa, 0xe6, 0xf1, 0xc3, 0xfb,
  146. 0xc7, 0x93, 0x7e, 0x60, 0xee, 0x97, 0x7d, 0xde, 0xfd, 0x7a, 0xe6, 0x49, 0x38, 0xe2, 0x82, 0xa6,
  147. 0xc0, 0xb8, 0xbd, 0x23, 0x0b, 0xfe, 0x23, 0xbe, 0x6f, 0x3f, 0xea, 0x46, 0x2b, 0xa4, 0xe9, 0xc2,
  148. 0xf1, 0xdb, 0xd6, 0x9c, 0x6a, 0xfa, 0xe5, 0x1a, 0xfa, 0xda, 0x65, 0x6f, 0xea, 0x12, 0xd3, 0x21,
  149. 0xc9, 0x62, 0x44, 0x59, 0x6c, 0xc7, 0x90, 0x4d, 0x96, 0xa4, 0xd6, 0x9e, 0x27, 0xbc, 0xfe, 0xbb,
  150. 0x1d, 0x29, 0xf0, 0xac, 0xff, 0xeb, 0xba, 0xee, 0x8b, 0x6e, 0x75, 0xa5, 0xa1, 0x1b, 0x71, 0x24,
  151. 0x61, 0x89, 0x3c, 0x07, 0x4d, 0x83, 0xf9, 0xab, 0xa2, 0xf8, 0x6e, 0xc4, 0xfd, 0x8a, 0xe2, 0x7b,
  152. 0x8e, 0xaf, 0x28, 0x9f, 0x7a, 0x4b, 0x9e, 0x63, 0xec, 0x46, 0x1c, 0xe3, 0x8a, 0x84, 0xb1, 0xe7,
  153. 0x60, 0xac, 0x68, 0x57, 0xff, 0x27, 0x73, 0xee, 0x7d, 0x07, 0x00, 0x00, 0xff, 0xff, 0x59, 0x25,
  154. 0xb5, 0xba, 0x15, 0x03, 0x00, 0x00,
  155. }