Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

177 righe
8.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/services/ad_group_audience_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 [AdGroupAudienceViewService.GetAdGoupAudienceView][].
  23. type GetAdGroupAudienceViewRequest struct {
  24. // The resource name of the ad group audience view to fetch.
  25. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  26. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  27. XXX_unrecognized []byte `json:"-"`
  28. XXX_sizecache int32 `json:"-"`
  29. }
  30. func (m *GetAdGroupAudienceViewRequest) Reset() { *m = GetAdGroupAudienceViewRequest{} }
  31. func (m *GetAdGroupAudienceViewRequest) String() string { return proto.CompactTextString(m) }
  32. func (*GetAdGroupAudienceViewRequest) ProtoMessage() {}
  33. func (*GetAdGroupAudienceViewRequest) Descriptor() ([]byte, []int) {
  34. return fileDescriptor_ad_group_audience_view_service_63c90b1e31981bbe, []int{0}
  35. }
  36. func (m *GetAdGroupAudienceViewRequest) XXX_Unmarshal(b []byte) error {
  37. return xxx_messageInfo_GetAdGroupAudienceViewRequest.Unmarshal(m, b)
  38. }
  39. func (m *GetAdGroupAudienceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  40. return xxx_messageInfo_GetAdGroupAudienceViewRequest.Marshal(b, m, deterministic)
  41. }
  42. func (dst *GetAdGroupAudienceViewRequest) XXX_Merge(src proto.Message) {
  43. xxx_messageInfo_GetAdGroupAudienceViewRequest.Merge(dst, src)
  44. }
  45. func (m *GetAdGroupAudienceViewRequest) XXX_Size() int {
  46. return xxx_messageInfo_GetAdGroupAudienceViewRequest.Size(m)
  47. }
  48. func (m *GetAdGroupAudienceViewRequest) XXX_DiscardUnknown() {
  49. xxx_messageInfo_GetAdGroupAudienceViewRequest.DiscardUnknown(m)
  50. }
  51. var xxx_messageInfo_GetAdGroupAudienceViewRequest proto.InternalMessageInfo
  52. func (m *GetAdGroupAudienceViewRequest) GetResourceName() string {
  53. if m != nil {
  54. return m.ResourceName
  55. }
  56. return ""
  57. }
  58. func init() {
  59. proto.RegisterType((*GetAdGroupAudienceViewRequest)(nil), "google.ads.googleads.v0.services.GetAdGroupAudienceViewRequest")
  60. }
  61. // Reference imports to suppress errors if they are not otherwise used.
  62. var _ context.Context
  63. var _ grpc.ClientConn
  64. // This is a compile-time assertion to ensure that this generated file
  65. // is compatible with the grpc package it is being compiled against.
  66. const _ = grpc.SupportPackageIsVersion4
  67. // AdGroupAudienceViewServiceClient is the client API for AdGroupAudienceViewService service.
  68. //
  69. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  70. type AdGroupAudienceViewServiceClient interface {
  71. // Returns the requested ad group audience view in full detail.
  72. GetAdGroupAudienceView(ctx context.Context, in *GetAdGroupAudienceViewRequest, opts ...grpc.CallOption) (*resources.AdGroupAudienceView, error)
  73. }
  74. type adGroupAudienceViewServiceClient struct {
  75. cc *grpc.ClientConn
  76. }
  77. func NewAdGroupAudienceViewServiceClient(cc *grpc.ClientConn) AdGroupAudienceViewServiceClient {
  78. return &adGroupAudienceViewServiceClient{cc}
  79. }
  80. func (c *adGroupAudienceViewServiceClient) GetAdGroupAudienceView(ctx context.Context, in *GetAdGroupAudienceViewRequest, opts ...grpc.CallOption) (*resources.AdGroupAudienceView, error) {
  81. out := new(resources.AdGroupAudienceView)
  82. err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupAudienceViewService/GetAdGroupAudienceView", in, out, opts...)
  83. if err != nil {
  84. return nil, err
  85. }
  86. return out, nil
  87. }
  88. // AdGroupAudienceViewServiceServer is the server API for AdGroupAudienceViewService service.
  89. type AdGroupAudienceViewServiceServer interface {
  90. // Returns the requested ad group audience view in full detail.
  91. GetAdGroupAudienceView(context.Context, *GetAdGroupAudienceViewRequest) (*resources.AdGroupAudienceView, error)
  92. }
  93. func RegisterAdGroupAudienceViewServiceServer(s *grpc.Server, srv AdGroupAudienceViewServiceServer) {
  94. s.RegisterService(&_AdGroupAudienceViewService_serviceDesc, srv)
  95. }
  96. func _AdGroupAudienceViewService_GetAdGroupAudienceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  97. in := new(GetAdGroupAudienceViewRequest)
  98. if err := dec(in); err != nil {
  99. return nil, err
  100. }
  101. if interceptor == nil {
  102. return srv.(AdGroupAudienceViewServiceServer).GetAdGroupAudienceView(ctx, in)
  103. }
  104. info := &grpc.UnaryServerInfo{
  105. Server: srv,
  106. FullMethod: "/google.ads.googleads.v0.services.AdGroupAudienceViewService/GetAdGroupAudienceView",
  107. }
  108. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  109. return srv.(AdGroupAudienceViewServiceServer).GetAdGroupAudienceView(ctx, req.(*GetAdGroupAudienceViewRequest))
  110. }
  111. return interceptor(ctx, in, info, handler)
  112. }
  113. var _AdGroupAudienceViewService_serviceDesc = grpc.ServiceDesc{
  114. ServiceName: "google.ads.googleads.v0.services.AdGroupAudienceViewService",
  115. HandlerType: (*AdGroupAudienceViewServiceServer)(nil),
  116. Methods: []grpc.MethodDesc{
  117. {
  118. MethodName: "GetAdGroupAudienceView",
  119. Handler: _AdGroupAudienceViewService_GetAdGroupAudienceView_Handler,
  120. },
  121. },
  122. Streams: []grpc.StreamDesc{},
  123. Metadata: "google/ads/googleads/v0/services/ad_group_audience_view_service.proto",
  124. }
  125. func init() {
  126. proto.RegisterFile("google/ads/googleads/v0/services/ad_group_audience_view_service.proto", fileDescriptor_ad_group_audience_view_service_63c90b1e31981bbe)
  127. }
  128. var fileDescriptor_ad_group_audience_view_service_63c90b1e31981bbe = []byte{
  129. // 377 bytes of a gzipped FileDescriptorProto
  130. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbd, 0x4a, 0xec, 0x40,
  131. 0x14, 0x26, 0xb9, 0x70, 0xe1, 0x86, 0x7b, 0x9b, 0x14, 0x17, 0x09, 0x8a, 0xcb, 0xba, 0x85, 0x6c,
  132. 0x31, 0x13, 0x14, 0x16, 0x19, 0x71, 0x25, 0x8b, 0x12, 0x2b, 0x59, 0x56, 0x48, 0x21, 0x81, 0x30,
  133. 0x66, 0x86, 0x10, 0xd8, 0x64, 0x62, 0x4e, 0x92, 0x2d, 0xc4, 0xc6, 0xc2, 0x17, 0xf0, 0x0d, 0x2c,
  134. 0x7d, 0x14, 0x3b, 0xf1, 0x15, 0xac, 0xac, 0x7c, 0x04, 0xc9, 0x4e, 0x26, 0x20, 0x6e, 0xdc, 0xee,
  135. 0x63, 0xe6, 0xfb, 0x39, 0xf3, 0x9d, 0x31, 0x4e, 0x23, 0x21, 0xa2, 0x39, 0xc7, 0x94, 0x01, 0x96,
  136. 0xb0, 0x46, 0x95, 0x8d, 0x81, 0xe7, 0x55, 0x1c, 0x72, 0xc0, 0x94, 0x05, 0x51, 0x2e, 0xca, 0x2c,
  137. 0xa0, 0x25, 0x8b, 0x79, 0x1a, 0xf2, 0xa0, 0x8a, 0xf9, 0x22, 0x68, 0xee, 0x51, 0x96, 0x8b, 0x42,
  138. 0x98, 0x3d, 0xa9, 0x45, 0x94, 0x01, 0x6a, 0x6d, 0x50, 0x65, 0x23, 0x65, 0x63, 0x8d, 0xbb, 0x82,
  139. 0x72, 0x0e, 0xa2, 0xcc, 0xbb, 0x93, 0x64, 0x82, 0xb5, 0xa9, 0xf4, 0x59, 0x8c, 0x69, 0x9a, 0x8a,
  140. 0x82, 0x16, 0xb1, 0x48, 0x41, 0xde, 0xf6, 0x4f, 0x8c, 0x2d, 0x97, 0x17, 0x0e, 0x73, 0x6b, 0xbd,
  141. 0xd3, 0xc8, 0xbd, 0x98, 0x2f, 0x66, 0xfc, 0xba, 0xe4, 0x50, 0x98, 0x3b, 0xc6, 0x3f, 0x15, 0x14,
  142. 0xa4, 0x34, 0xe1, 0x1b, 0x5a, 0x4f, 0xdb, 0xfd, 0x33, 0xfb, 0xab, 0x0e, 0xcf, 0x69, 0xc2, 0xf7,
  143. 0x3e, 0x34, 0xc3, 0x5a, 0xe1, 0x71, 0x21, 0xdf, 0x60, 0xbe, 0x68, 0xc6, 0xff, 0xd5, 0x29, 0xe6,
  144. 0x31, 0x5a, 0x57, 0x00, 0xfa, 0x71, 0x3e, 0x6b, 0xd4, 0x69, 0xd0, 0xf6, 0x83, 0x56, 0xc8, 0xfb,
  145. 0xe3, 0xbb, 0xd7, 0xb7, 0x07, 0xfd, 0xc0, 0x1c, 0xd5, 0x55, 0xde, 0x7c, 0x79, 0xe2, 0x51, 0x58,
  146. 0x42, 0x21, 0x12, 0x9e, 0x03, 0x1e, 0x62, 0xfa, 0x5d, 0x0b, 0x78, 0x78, 0x3b, 0xb9, 0xd7, 0x8d,
  147. 0x41, 0x28, 0x92, 0xb5, 0xe3, 0x4f, 0xb6, 0xbb, 0x8b, 0x99, 0xd6, 0x2b, 0x98, 0x6a, 0x97, 0x67,
  148. 0x8d, 0x49, 0x24, 0xe6, 0x34, 0x8d, 0x90, 0xc8, 0x23, 0x1c, 0xf1, 0x74, 0xb9, 0x20, 0xb5, 0xf2,
  149. 0x2c, 0x86, 0xee, 0xaf, 0x76, 0xa8, 0xc0, 0xa3, 0xfe, 0xcb, 0x75, 0x9c, 0x27, 0xbd, 0xe7, 0x4a,
  150. 0x43, 0x87, 0x01, 0x92, 0xb0, 0x46, 0x9e, 0x8d, 0x9a, 0x60, 0x78, 0x56, 0x14, 0xdf, 0x61, 0xe0,
  151. 0xb7, 0x14, 0xdf, 0xb3, 0x7d, 0x45, 0x79, 0xd7, 0x07, 0xf2, 0x9c, 0x10, 0x87, 0x01, 0x21, 0x2d,
  152. 0x89, 0x10, 0xcf, 0x26, 0x44, 0xd1, 0xae, 0x7e, 0x2f, 0xe7, 0xdc, 0xff, 0x0c, 0x00, 0x00, 0xff,
  153. 0xff, 0xc4, 0x1d, 0x81, 0x8a, 0x11, 0x03, 0x00, 0x00,
  154. }