1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v1/services/expanded_landing_page_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 31// [ExpandedLandingPageViewService.GetExpandedLandingPageView][google.ads.googleads.v1.services.ExpandedLandingPageViewService.GetExpandedLandingPageView]. 32type GetExpandedLandingPageViewRequest struct { 33 // Required. The resource name of the expanded landing page view to fetch. 34 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 35 XXX_NoUnkeyedLiteral struct{} `json:"-"` 36 XXX_unrecognized []byte `json:"-"` 37 XXX_sizecache int32 `json:"-"` 38} 39 40func (m *GetExpandedLandingPageViewRequest) Reset() { *m = GetExpandedLandingPageViewRequest{} } 41func (m *GetExpandedLandingPageViewRequest) String() string { return proto.CompactTextString(m) } 42func (*GetExpandedLandingPageViewRequest) ProtoMessage() {} 43func (*GetExpandedLandingPageViewRequest) Descriptor() ([]byte, []int) { 44 return fileDescriptor_d9246f2676cd9670, []int{0} 45} 46 47func (m *GetExpandedLandingPageViewRequest) XXX_Unmarshal(b []byte) error { 48 return xxx_messageInfo_GetExpandedLandingPageViewRequest.Unmarshal(m, b) 49} 50func (m *GetExpandedLandingPageViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 51 return xxx_messageInfo_GetExpandedLandingPageViewRequest.Marshal(b, m, deterministic) 52} 53func (m *GetExpandedLandingPageViewRequest) XXX_Merge(src proto.Message) { 54 xxx_messageInfo_GetExpandedLandingPageViewRequest.Merge(m, src) 55} 56func (m *GetExpandedLandingPageViewRequest) XXX_Size() int { 57 return xxx_messageInfo_GetExpandedLandingPageViewRequest.Size(m) 58} 59func (m *GetExpandedLandingPageViewRequest) XXX_DiscardUnknown() { 60 xxx_messageInfo_GetExpandedLandingPageViewRequest.DiscardUnknown(m) 61} 62 63var xxx_messageInfo_GetExpandedLandingPageViewRequest proto.InternalMessageInfo 64 65func (m *GetExpandedLandingPageViewRequest) GetResourceName() string { 66 if m != nil { 67 return m.ResourceName 68 } 69 return "" 70} 71 72func init() { 73 proto.RegisterType((*GetExpandedLandingPageViewRequest)(nil), "google.ads.googleads.v1.services.GetExpandedLandingPageViewRequest") 74} 75 76func init() { 77 proto.RegisterFile("google/ads/googleads/v1/services/expanded_landing_page_view_service.proto", fileDescriptor_d9246f2676cd9670) 78} 79 80var fileDescriptor_d9246f2676cd9670 = []byte{ 81 // 449 bytes of a gzipped FileDescriptorProto 82 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xb1, 0x6f, 0xd4, 0x30, 83 0x14, 0xc6, 0x95, 0x20, 0x21, 0x11, 0xc1, 0x92, 0x85, 0x12, 0x10, 0x1c, 0xa5, 0x03, 0xea, 0x60, 84 0x93, 0xb2, 0x20, 0x03, 0x83, 0x0f, 0xa1, 0x03, 0x09, 0xa1, 0x53, 0x91, 0x6e, 0x40, 0x87, 0x22, 85 0x37, 0x7e, 0x18, 0x4b, 0x89, 0x1d, 0xe2, 0x5c, 0x8a, 0x84, 0x58, 0x3a, 0xb2, 0xf2, 0x1f, 0x30, 86 0xb2, 0xf1, 0x6f, 0x74, 0x65, 0x63, 0x62, 0x60, 0x62, 0x63, 0x65, 0x42, 0x57, 0xdb, 0xe9, 0xb5,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 0x00, 0xff, 0xff, 0x30, 0x42, 0xc6, 0x22, 0xf2, 0x03, 0x00, 110 0x00, 111} 112 113// Reference imports to suppress errors if they are not otherwise used. 114var _ context.Context 115var _ grpc.ClientConnInterface 116 117// This is a compile-time assertion to ensure that this generated file 118// is compatible with the grpc package it is being compiled against. 119const _ = grpc.SupportPackageIsVersion6 120 121// ExpandedLandingPageViewServiceClient is the client API for ExpandedLandingPageViewService service. 122// 123// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 124type ExpandedLandingPageViewServiceClient interface { 125 // Returns the requested expanded landing page view in full detail. 126 GetExpandedLandingPageView(ctx context.Context, in *GetExpandedLandingPageViewRequest, opts ...grpc.CallOption) (*resources.ExpandedLandingPageView, error) 127} 128 129type expandedLandingPageViewServiceClient struct { 130 cc grpc.ClientConnInterface 131} 132 133func NewExpandedLandingPageViewServiceClient(cc grpc.ClientConnInterface) ExpandedLandingPageViewServiceClient { 134 return &expandedLandingPageViewServiceClient{cc} 135} 136 137func (c *expandedLandingPageViewServiceClient) GetExpandedLandingPageView(ctx context.Context, in *GetExpandedLandingPageViewRequest, opts ...grpc.CallOption) (*resources.ExpandedLandingPageView, error) { 138 out := new(resources.ExpandedLandingPageView) 139 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ExpandedLandingPageViewService/GetExpandedLandingPageView", in, out, opts...) 140 if err != nil { 141 return nil, err 142 } 143 return out, nil 144} 145 146// ExpandedLandingPageViewServiceServer is the server API for ExpandedLandingPageViewService service. 147type ExpandedLandingPageViewServiceServer interface { 148 // Returns the requested expanded landing page view in full detail. 149 GetExpandedLandingPageView(context.Context, *GetExpandedLandingPageViewRequest) (*resources.ExpandedLandingPageView, error) 150} 151 152// UnimplementedExpandedLandingPageViewServiceServer can be embedded to have forward compatible implementations. 153type UnimplementedExpandedLandingPageViewServiceServer struct { 154} 155 156func (*UnimplementedExpandedLandingPageViewServiceServer) GetExpandedLandingPageView(ctx context.Context, req *GetExpandedLandingPageViewRequest) (*resources.ExpandedLandingPageView, error) { 157 return nil, status.Errorf(codes.Unimplemented, "method GetExpandedLandingPageView not implemented") 158} 159 160func RegisterExpandedLandingPageViewServiceServer(s *grpc.Server, srv ExpandedLandingPageViewServiceServer) { 161 s.RegisterService(&_ExpandedLandingPageViewService_serviceDesc, srv) 162} 163 164func _ExpandedLandingPageViewService_GetExpandedLandingPageView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 165 in := new(GetExpandedLandingPageViewRequest) 166 if err := dec(in); err != nil { 167 return nil, err 168 } 169 if interceptor == nil { 170 return srv.(ExpandedLandingPageViewServiceServer).GetExpandedLandingPageView(ctx, in) 171 } 172 info := &grpc.UnaryServerInfo{ 173 Server: srv, 174 FullMethod: "/google.ads.googleads.v1.services.ExpandedLandingPageViewService/GetExpandedLandingPageView", 175 } 176 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 177 return srv.(ExpandedLandingPageViewServiceServer).GetExpandedLandingPageView(ctx, req.(*GetExpandedLandingPageViewRequest)) 178 } 179 return interceptor(ctx, in, info, handler) 180} 181 182var _ExpandedLandingPageViewService_serviceDesc = grpc.ServiceDesc{ 183 ServiceName: "google.ads.googleads.v1.services.ExpandedLandingPageViewService", 184 HandlerType: (*ExpandedLandingPageViewServiceServer)(nil), 185 Methods: []grpc.MethodDesc{ 186 { 187 MethodName: "GetExpandedLandingPageView", 188 Handler: _ExpandedLandingPageViewService_GetExpandedLandingPageView_Handler, 189 }, 190 }, 191 Streams: []grpc.StreamDesc{}, 192 Metadata: "google/ads/googleads/v1/services/expanded_landing_page_view_service.proto", 193} 194