Debian Codegraph @

googleapis/analytics/data/v1alpha/analytics_data_api.pb.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/analytics/data/v1alpha/analytics_data_api.proto
20
21 package data
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 grpc "google.golang.org/grpc"
30 codes "google.golang.org/grpc/codes"
31 status "google.golang.org/grpc/status"
32 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 // Controls the dimensions present in the funnel visualization sub report
44 // response.
45 type RunFunnelReportRequest_FunnelVisualizationType int32
46
47 const (
48 // Unspecified type.
49 RunFunnelReportRequest_FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED RunFunnelReportRequest_FunnelVisualizationType = 0
50 // A standard (stepped) funnel. The funnel visualization sub report in the
51 // response will not contain date.
52 RunFunnelReportRequest_STANDARD_FUNNEL RunFunnelReportRequest_FunnelVisualizationType = 1
53 // A trended (line chart) funnel. The funnel visualization sub report in the
54 // response will contain the date dimension.
55 RunFunnelReportRequest_TRENDED_FUNNEL RunFunnelReportRequest_FunnelVisualizationType = 2
56 )
57
58 // Enum value maps for RunFunnelReportRequest_FunnelVisualizationType.
59 var (
60 RunFunnelReportRequest_FunnelVisualizationType_name = map[int32]string{
61 0: "FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED",
62 1: "STANDARD_FUNNEL",
63 2: "TRENDED_FUNNEL",
64 }
65 RunFunnelReportRequest_FunnelVisualizationType_value = map[string]int32{
66 "FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED": 0,
67 "STANDARD_FUNNEL": 1,
68 "TRENDED_FUNNEL": 2,
69 }
70 )
71
72 func (x RunFunnelReportRequest_FunnelVisualizationType) Enum() *RunFunnelReportRequest_FunnelVisualizationType {
73 p := new(RunFunnelReportRequest_FunnelVisualizationType)
74 *p = x
75 return p
76 }
77
78 func (x RunFunnelReportRequest_FunnelVisualizationType) String() string {
79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 }
81
82 func (RunFunnelReportRequest_FunnelVisualizationType) Descriptor() protoreflect.EnumDescriptor {
83 return file_google_analytics_data_v1alpha_analytics_data_api_proto_enumTypes[0].Descriptor()
84 }
85
86 func (RunFunnelReportRequest_FunnelVisualizationType) Type() protoreflect.EnumType {
87 return &file_google_analytics_data_v1alpha_analytics_data_api_proto_enumTypes[0]
88 }
89
90 func (x RunFunnelReportRequest_FunnelVisualizationType) Number() protoreflect.EnumNumber {
91 return protoreflect.EnumNumber(x)
92 }
93
94 // Deprecated: Use RunFunnelReportRequest_FunnelVisualizationType.Descriptor instead.
95 func (RunFunnelReportRequest_FunnelVisualizationType) EnumDescriptor() ([]byte, []int) {
96 return file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescGZIP(), []int{0, 0}
97 }
98
99 // The request for a funnel report.
100 type RunFunnelReportRequest struct {
101 state protoimpl.MessageState
102 sizeCache protoimpl.SizeCache
103 unknownFields protoimpl.UnknownFields
104
105 // A Google Analytics GA4 property identifier whose events are tracked.
106 // Specified in the URL path and not the body. To learn more, see [where to
107 // find your Property
108 // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
109 // Within a batch request, this property should either be unspecified or
110 // consistent with the batch-level property.
111 //
112 // Example: properties/1234
113 Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
114 // Date ranges of data to read. If multiple date ranges are requested, each
115 // response row will contain a zero based date range index. If two date
116 // ranges overlap, the event data for the overlapping days is included in the
117 // response rows for both date ranges.
118 DateRanges []*DateRange `protobuf:"bytes,2,rep,name=date_ranges,json=dateRanges,proto3" json:"date_ranges,omitempty"`
119 // The configuration of this request's funnel. This funnel configuration is
120 // required.
121 Funnel *Funnel `protobuf:"bytes,3,opt,name=funnel,proto3" json:"funnel,omitempty"`
122 // If specified, this breakdown adds a dimension to the funnel table sub
123 // report response. This breakdown dimension expands each funnel step to the
124 // unique values of the breakdown dimension. For example, a breakdown by the
125 // `deviceCategory` dimension will create rows for `mobile`, `tablet`,
126 // `desktop`, and the total.
127 FunnelBreakdown *FunnelBreakdown `protobuf:"bytes,4,opt,name=funnel_breakdown,json=funnelBreakdown,proto3" json:"funnel_breakdown,omitempty"`
128 // If specified, next action adds a dimension to the funnel visualization sub
129 // report response. This next action dimension expands each funnel step to the
130 // unique values of the next action. For example a next action of the
131 // `eventName` dimension will create rows for several events (i.e.
132 // `session_start` & `click`) and the total.
133 //
134 // Next action only supports `eventName` and most Page / Screen dimensions
135 // like `pageTitle` and `pagePath`.
136 FunnelNextAction *FunnelNextAction `protobuf:"bytes,5,opt,name=funnel_next_action,json=funnelNextAction,proto3" json:"funnel_next_action,omitempty"`
137 // The funnel visualization type controls the dimensions present in the funnel
138 // visualization sub report response. If not specified, `STANDARD_FUNNEL` is
139 // used.
140 FunnelVisualizationType RunFunnelReportRequest_FunnelVisualizationType `protobuf:"varint,6,opt,name=funnel_visualization_type,json=funnelVisualizationType,proto3,enum=google.analytics.data.v1alpha.RunFunnelReportRequest_FunnelVisualizationType" json:"funnel_visualization_type,omitempty"`
141 // The configurations of segments. Segments are subsets of a property's data.
142 // In a funnel report with segments, the funnel is evaluated in each segment.
143 //
144 // Each segment specified in this request
145 // produces a separate row in the response; in the response, each segment
146 // identified by its name.
147 //
148 // The segments parameter is optional. Requests are limited to 4 segments.
149 Segments []*Segment `protobuf:"bytes,7,rep,name=segments,proto3" json:"segments,omitempty"`
150 // The number of rows to return. If unspecified, 10,000 rows are returned. The
151 // API returns a maximum of 100,000 rows per request, no matter how many you
152 // ask for. `limit` must be positive.
153 //
154 // The API can also return fewer rows than the requested `limit`, if there
155 // aren't as many dimension values as the `limit`.
156 Limit int64 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`
157 // Dimension filters allow you to ask for only specific dimension values in
158 // the report. To learn more, see [Creating a Report: Dimension
159 // Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
160 // for examples. Metrics cannot be used in this filter.
161 DimensionFilter *FilterExpression `protobuf:"bytes,10,opt,name=dimension_filter,json=dimensionFilter,proto3" json:"dimension_filter,omitempty"`
162 // Toggles whether to return the current state of this Analytics Property's
163 // quota. Quota is returned in [PropertyQuota](#PropertyQuota).
164 ReturnPropertyQuota bool `protobuf:"varint,12,opt,name=return_property_quota,json=returnPropertyQuota,proto3" json:"return_property_quota,omitempty"`
165 }
166
167 func (x *RunFunnelReportRequest) Reset() {
168 *x = RunFunnelReportRequest{}
169 if protoimpl.UnsafeEnabled {
170 mi := &file_google_analytics_data_v1alpha_analytics_data_api_proto_msgTypes[0]
171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
172 ms.StoreMessageInfo(mi)
173 }
174 }
175
176 func (x *RunFunnelReportRequest) String() string {
177 return protoimpl.X.MessageStringOf(x)
178 }
179
180 func (*RunFunnelReportRequest) ProtoMessage() {}
181
182 func (x *RunFunnelReportRequest) ProtoReflect() protoreflect.Message {
183 mi := &file_google_analytics_data_v1alpha_analytics_data_api_proto_msgTypes[0]
184 if protoimpl.UnsafeEnabled && x != nil {
185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
186 if ms.LoadMessageInfo() == nil {
187 ms.StoreMessageInfo(mi)
188 }
189 return ms
190 }
191 return mi.MessageOf(x)
192 }
193
194 // Deprecated: Use RunFunnelReportRequest.ProtoReflect.Descriptor instead.
195 func (*RunFunnelReportRequest) Descriptor() ([]byte, []int) {
196 return file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescGZIP(), []int{0}
197 }
198
199 func (x *RunFunnelReportRequest) GetProperty() string {
200 if x != nil {
201 return x.Property
202 }
203 return ""
204 }
205
206 func (x *RunFunnelReportRequest) GetDateRanges() []*DateRange {
207 if x != nil {
208 return x.DateRanges
209 }
210 return nil
211 }
212
213 func (x *RunFunnelReportRequest) GetFunnel() *Funnel {
214 if x != nil {
215 return x.Funnel
216 }
217 return nil
218 }
219
220 func (x *RunFunnelReportRequest) GetFunnelBreakdown() *FunnelBreakdown {
221 if x != nil {
222 return x.FunnelBreakdown
223 }
224 return nil
225 }
226
227 func (x *RunFunnelReportRequest) GetFunnelNextAction() *FunnelNextAction {
228 if x != nil {
229 return x.FunnelNextAction
230 }
231 return nil
232 }
233
234 func (x *RunFunnelReportRequest) GetFunnelVisualizationType() RunFunnelReportRequest_FunnelVisualizationType {
235 if x != nil {
236 return x.FunnelVisualizationType
237 }
238 return RunFunnelReportRequest_FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED
239 }
240
241 func (x *RunFunnelReportRequest) GetSegments() []*Segment {
242 if x != nil {
243 return x.Segments
244 }
245 return nil
246 }
247
248 func (x *RunFunnelReportRequest) GetLimit() int64 {
249 if x != nil {
250 return x.Limit
251 }
252 return 0
253 }
254
255 func (x *RunFunnelReportRequest) GetDimensionFilter() *FilterExpression {
256 if x != nil {
257 return x.DimensionFilter
258 }
259 return nil
260 }
261
262 func (x *RunFunnelReportRequest) GetReturnPropertyQuota() bool {
263 if x != nil {
264 return x.ReturnPropertyQuota
265 }
266 return false
267 }
268
269 // The funnel report response contains two sub reports. The two sub reports are
270 // different combinations of dimensions and metrics.
271 type RunFunnelReportResponse struct {
272 state protoimpl.MessageState
273 sizeCache protoimpl.SizeCache
274 unknownFields protoimpl.UnknownFields
275
276 // The funnel table is a report with the funnel step, segment, breakdown
277 // dimension, active users, completion rate, abandonments, and abandonments
278 // rate.
279 //
280 // The segment dimension is only present in this response if a segment was
281 // requested. The breakdown dimension is only present in this response if it
282 // was requested.
283 FunnelTable *FunnelSubReport `protobuf:"bytes,1,opt,name=funnel_table,json=funnelTable,proto3" json:"funnel_table,omitempty"`
284 // The funnel visualization is a report with the funnel step, segment, date,
285 // next action dimension, and active users.
286 //
287 // The segment dimension is only present in this response if a segment was
288 // requested. The date dimension is only present in this response if it was
289 // requested via the `TRENDED_FUNNEL` funnel type. The next action dimension
290 // is only present in the response if it was requested.
291 FunnelVisualization *FunnelSubReport `protobuf:"bytes,2,opt,name=funnel_visualization,json=funnelVisualization,proto3" json:"funnel_visualization,omitempty"`
292 // This Analytics Property's quota state including this request.
293 PropertyQuota *PropertyQuota `protobuf:"bytes,3,opt,name=property_quota,json=propertyQuota,proto3" json:"property_quota,omitempty"`
294 // Identifies what kind of resource this message is. This `kind` is always the
295 // fixed string "analyticsData#runFunnelReport". Useful to distinguish between
296 // response types in JSON.
297 Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
298 }
299
300 func (x *RunFunnelReportResponse) Reset() {
301 *x = RunFunnelReportResponse{}
302 if protoimpl.UnsafeEnabled {
303 mi := &file_google_analytics_data_v1alpha_analytics_data_api_proto_msgTypes[1]
304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
305 ms.StoreMessageInfo(mi)
306 }
307 }
308
309 func (x *RunFunnelReportResponse) String() string {
310 return protoimpl.X.MessageStringOf(x)
311 }
312
313 func (*RunFunnelReportResponse) ProtoMessage() {}
314
315 func (x *RunFunnelReportResponse) ProtoReflect() protoreflect.Message {
316 mi := &file_google_analytics_data_v1alpha_analytics_data_api_proto_msgTypes[1]
317 if protoimpl.UnsafeEnabled && x != nil {
318 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
319 if ms.LoadMessageInfo() == nil {
320 ms.StoreMessageInfo(mi)
321 }
322 return ms
323 }
324 return mi.MessageOf(x)
325 }
326
327 // Deprecated: Use RunFunnelReportResponse.ProtoReflect.Descriptor instead.
328 func (*RunFunnelReportResponse) Descriptor() ([]byte, []int) {
329 return file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescGZIP(), []int{1}
330 }
331
332 func (x *RunFunnelReportResponse) GetFunnelTable() *FunnelSubReport {
333 if x != nil {
334 return x.FunnelTable
335 }
336 return nil
337 }
338
339 func (x *RunFunnelReportResponse) GetFunnelVisualization() *FunnelSubReport {
340 if x != nil {
341 return x.FunnelVisualization
342 }
343 return nil
344 }
345
346 func (x *RunFunnelReportResponse) GetPropertyQuota() *PropertyQuota {
347 if x != nil {
348 return x.PropertyQuota
349 }
350 return nil
351 }
352
353 func (x *RunFunnelReportResponse) GetKind() string {
354 if x != nil {
355 return x.Kind
356 }
357 return ""
358 }
359
360 var File_google_analytics_data_v1alpha_analytics_data_api_proto protoreflect.FileDescriptor
361
362 var file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDesc = []byte{
363 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69,
364 0x63, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
365 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61,
366 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
367 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e,
368 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
369 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76,
370 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74,
371 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
372 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
373 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65,
374 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, 0x06, 0x0a, 0x16, 0x52, 0x75, 0x6e,
375 0x46, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75,
376 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18,
377 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12,
378 0x49, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02,
379 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e,
380 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61,
381 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a,
382 0x64, 0x61, 0x74, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x66, 0x75,
383 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
384 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61,
385 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x46, 0x75, 0x6e, 0x6e, 0x65,
386 0x6c, 0x52, 0x06, 0x66, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x59, 0x0a, 0x10, 0x66, 0x75, 0x6e,
387 0x6e, 0x65, 0x6c, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x04, 0x20,
388 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e, 0x61,
389 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61, 0x6c,
390 0x70, 0x68, 0x61, 0x2e, 0x46, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x64,
391 0x6f, 0x77, 0x6e, 0x52, 0x0f, 0x66, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x72, 0x65, 0x61, 0x6b,
392 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x5d, 0x0a, 0x12, 0x66, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x6e,
393 0x65, 0x78, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
394 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74,
395 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
396 0x2e, 0x46, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x65, 0x78, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f,
397 0x6e, 0x52, 0x10, 0x66, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x65, 0x78, 0x74, 0x41, 0x63, 0x74,
398 0x69, 0x6f, 0x6e, 0x12, 0x89, 0x01, 0x0a, 0x19, 0x66, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x76,
399 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70,
400 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
401 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e,
402 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x75, 0x6e, 0x46, 0x75, 0x6e, 0x6e, 0x65,
403 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46,
404 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69,
405 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x17, 0x66, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x56, 0x69,
406 0x73, 0x75, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
407 0x42, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
408 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79,
409 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
410 0x61, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65,
411 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01,
412 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x5a, 0x0a, 0x10, 0x64, 0x69, 0x6d,
413 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20,
414 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e, 0x61,
415 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61, 0x6c,
416 0x70, 0x68, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73,
417 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x46,
418 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x15, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f,
419 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x0c,
420 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, 0x72, 0x6f, 0x70,
421 0x65, 0x72, 0x74, 0x79, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x22, 0x6d, 0x0a, 0x17, 0x46, 0x75, 0x6e,
422 0x6e, 0x65, 0x6c, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
423 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x25, 0x46, 0x55, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x56,
424 0x49, 0x53, 0x55, 0x41, 0x4c, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50,
425 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
426 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x46, 0x55, 0x4e, 0x4e,
427 0x45, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x52, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x5f,
428 0x46, 0x55, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x02, 0x22, 0xb8, 0x02, 0x0a, 0x17, 0x52, 0x75, 0x6e,
429 0x46, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70,
430 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x66, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x74,
431 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f,
432 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61,
433 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x46, 0x75, 0x6e, 0x6e, 0x65,
434 0x6c, 0x53, 0x75, 0x62, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x0b, 0x66, 0x75, 0x6e, 0x6e,
435 0x65, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x61, 0x0a, 0x14, 0x66, 0x75, 0x6e, 0x6e, 0x65,
436 0x6c, 0x5f, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
437 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
438 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31,
439 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x46, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x75, 0x62, 0x52,
440 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x13, 0x66, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x56, 0x69, 0x73,
441 0x75, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x0e, 0x70, 0x72,
442 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
443 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e, 0x61, 0x6c,
444 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
445 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x51, 0x75, 0x6f, 0x74, 0x61,
446 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12,
447 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b,
448 0x69, 0x6e, 0x64, 0x32, 0xd4, 0x02, 0x0a, 0x12, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x41, 0x6e, 0x61,
449 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0xbd, 0x01, 0x0a, 0x0f, 0x52,
450 0x75, 0x6e, 0x46, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x35,
451 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63,
452 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52,
453 0x75, 0x6e, 0x46, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65,
454 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
455 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31,
456 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x75, 0x6e, 0x46, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52,
457 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x82,
458 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
459 0x7b, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3d, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
460 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x75, 0x6e, 0x46, 0x75, 0x6e, 0x6e, 0x65,
461 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0x1a, 0x7e, 0xca, 0x41, 0x1c, 0x61,
462 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x67, 0x6f, 0x6f,
463 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x5c, 0x68, 0x74,
464 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
465 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x6e,
466 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
467 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
468 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63,
469 0x73, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x42, 0x7f, 0x0a, 0x21, 0x63, 0x6f,
470 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69,
471 0x63, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42,
472 0x15, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x44, 0x61, 0x74, 0x61, 0x41, 0x70,
473 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
474 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
475 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
476 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76,
477 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f,
478 0x74, 0x6f, 0x33,
479 }
480
481 var (
482 file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescOnce sync.Once
483 file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescData = file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDesc
484 )
485
486 func file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescGZIP() []byte {
487 file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescOnce.Do(func() {
488 file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescData)
489 })
490 return file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDescData
491 }
492
493 var file_google_analytics_data_v1alpha_analytics_data_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
494 var file_google_analytics_data_v1alpha_analytics_data_api_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
495 var file_google_analytics_data_v1alpha_analytics_data_api_proto_goTypes = []interface{}{
496 (RunFunnelReportRequest_FunnelVisualizationType)(0), // 0: google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType
497 (*RunFunnelReportRequest)(nil), // 1: google.analytics.data.v1alpha.RunFunnelReportRequest
498 (*RunFunnelReportResponse)(nil), // 2: google.analytics.data.v1alpha.RunFunnelReportResponse
499 (*DateRange)(nil), // 3: google.analytics.data.v1alpha.DateRange
500 (*Funnel)(nil), // 4: google.analytics.data.v1alpha.Funnel
501 (*FunnelBreakdown)(nil), // 5: google.analytics.data.v1alpha.FunnelBreakdown
502 (*FunnelNextAction)(nil), // 6: google.analytics.data.v1alpha.FunnelNextAction
503 (*Segment)(nil), // 7: google.analytics.data.v1alpha.Segment
504 (*FilterExpression)(nil), // 8: google.analytics.data.v1alpha.FilterExpression
505 (*FunnelSubReport)(nil), // 9: google.analytics.data.v1alpha.FunnelSubReport
506 (*PropertyQuota)(nil), // 10: google.analytics.data.v1alpha.PropertyQuota
507 }
508 var file_google_analytics_data_v1alpha_analytics_data_api_proto_depIdxs = []int32{
509 3, // 0: google.analytics.data.v1alpha.RunFunnelReportRequest.date_ranges:type_name -> google.analytics.data.v1alpha.DateRange
510 4, // 1: google.analytics.data.v1alpha.RunFunnelReportRequest.funnel:type_name -> google.analytics.data.v1alpha.Funnel
511 5, // 2: google.analytics.data.v1alpha.RunFunnelReportRequest.funnel_breakdown:type_name -> google.analytics.data.v1alpha.FunnelBreakdown
512 6, // 3: google.analytics.data.v1alpha.RunFunnelReportRequest.funnel_next_action:type_name -> google.analytics.data.v1alpha.FunnelNextAction
513 0, // 4: google.analytics.data.v1alpha.RunFunnelReportRequest.funnel_visualization_type:type_name -> google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType
514 7, // 5: google.analytics.data.v1alpha.RunFunnelReportRequest.segments:type_name -> google.analytics.data.v1alpha.Segment
515 8, // 6: google.analytics.data.v1alpha.RunFunnelReportRequest.dimension_filter:type_name -> google.analytics.data.v1alpha.FilterExpression
516 9, // 7: google.analytics.data.v1alpha.RunFunnelReportResponse.funnel_table:type_name -> google.analytics.data.v1alpha.FunnelSubReport
517 9, // 8: google.analytics.data.v1alpha.RunFunnelReportResponse.funnel_visualization:type_name -> google.analytics.data.v1alpha.FunnelSubReport
518 10, // 9: google.analytics.data.v1alpha.RunFunnelReportResponse.property_quota:type_name -> google.analytics.data.v1alpha.PropertyQuota
519 1, // 10: google.analytics.data.v1alpha.AlphaAnalyticsData.RunFunnelReport:input_type -> google.analytics.data.v1alpha.RunFunnelReportRequest
520 2, // 11: google.analytics.data.v1alpha.AlphaAnalyticsData.RunFunnelReport:output_type -> google.analytics.data.v1alpha.RunFunnelReportResponse
521 11, // [11:12] is the sub-list for method output_type
522 10, // [10:11] is the sub-list for method input_type
523 10, // [10:10] is the sub-list for extension type_name
524 10, // [10:10] is the sub-list for extension extendee
525 0, // [0:10] is the sub-list for field type_name
526 }
527
528 func init() { file_google_analytics_data_v1alpha_analytics_data_api_proto_init() }
529 func file_google_analytics_data_v1alpha_analytics_data_api_proto_init() {
530 if File_google_analytics_data_v1alpha_analytics_data_api_proto != nil {
531 return
532 }
533 file_google_analytics_data_v1alpha_data_proto_init()
534 if !protoimpl.UnsafeEnabled {
535 file_google_analytics_data_v1alpha_analytics_data_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
536 switch v := v.(*RunFunnelReportRequest); i {
537 case 0:
538 return &v.state
539 case 1:
540 return &v.sizeCache
541 case 2:
542 return &v.unknownFields
543 default:
544 return nil
545 }
546 }
547 file_google_analytics_data_v1alpha_analytics_data_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
548 switch v := v.(*RunFunnelReportResponse); i {
549 case 0:
550 return &v.state
551 case 1:
552 return &v.sizeCache
553 case 2:
554 return &v.unknownFields
555 default:
556 return nil
557 }
558 }
559 }
560 type x struct{}
561 out := protoimpl.TypeBuilder{
562 File: protoimpl.DescBuilder{
563 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
564 RawDescriptor: file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDesc,
565 NumEnums: 1,
566 NumMessages: 2,
567 NumExtensions: 0,
568 NumServices: 1,
569 },
570 GoTypes: file_google_analytics_data_v1alpha_analytics_data_api_proto_goTypes,
571 DependencyIndexes: file_google_analytics_data_v1alpha_analytics_data_api_proto_depIdxs,
572 EnumInfos: file_google_analytics_data_v1alpha_analytics_data_api_proto_enumTypes,
573 MessageInfos: file_google_analytics_data_v1alpha_analytics_data_api_proto_msgTypes,
574 }.Build()
575 File_google_analytics_data_v1alpha_analytics_data_api_proto = out.File
576 file_google_analytics_data_v1alpha_analytics_data_api_proto_rawDesc = nil
577 file_google_analytics_data_v1alpha_analytics_data_api_proto_goTypes = nil
578 file_google_analytics_data_v1alpha_analytics_data_api_proto_depIdxs = nil
579 }
580
581 // Reference imports to suppress errors if they are not otherwise used.
582 var _ context.Context
583 var _ grpc.ClientConnInterface
584
585 // This is a compile-time assertion to ensure that this generated file
586 // is compatible with the grpc package it is being compiled against.
587 const _ = grpc.SupportPackageIsVersion6
588
589 // AlphaAnalyticsDataClient is the client API for AlphaAnalyticsData service.
590 //
591 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
592 type AlphaAnalyticsDataClient interface {
593 // Returns a customized funnel report of your Google Analytics event data. The
594 // data returned from the API is as a table with columns for the requested
595 // dimensions and metrics.
596 //
597 // Funnel exploration lets you visualize the steps your users take to complete
598 // a task and quickly see how well they are succeeding or failing at each
599 // step. For example, how do prospects become shoppers and then become buyers?
600 // How do one time buyers become repeat buyers? With this information, you can
601 // improve inefficient or abandoned customer journeys. To learn more, see [GA4
602 // Funnel Explorations](https://support.google.com/analytics/answer/9327974).
603 RunFunnelReport(ctx context.Context, in *RunFunnelReportRequest, opts ...grpc.CallOption) (*RunFunnelReportResponse, error)
604 }
605
606 type alphaAnalyticsDataClient struct {
607 cc grpc.ClientConnInterface
608 }
609
610 func NewAlphaAnalyticsDataClient(cc grpc.ClientConnInterface) AlphaAnalyticsDataClient {
611 return &alphaAnalyticsDataClient{cc}
612 }
613
614 func (c *alphaAnalyticsDataClient) RunFunnelReport(ctx context.Context, in *RunFunnelReportRequest, opts ...grpc.CallOption) (*RunFunnelReportResponse, error) {
615 out := new(RunFunnelReportResponse)
616 err := c.cc.Invoke(ctx, "/google.analytics.data.v1alpha.AlphaAnalyticsData/RunFunnelReport", in, out, opts...)
617 if err != nil {
618 return nil, err
619 }
620 return out, nil
621 }
622
623 // AlphaAnalyticsDataServer is the server API for AlphaAnalyticsData service.
624 type AlphaAnalyticsDataServer interface {
625 // Returns a customized funnel report of your Google Analytics event data. The
626 // data returned from the API is as a table with columns for the requested
627 // dimensions and metrics.
628 //
629 // Funnel exploration lets you visualize the steps your users take to complete
630 // a task and quickly see how well they are succeeding or failing at each
631 // step. For example, how do prospects become shoppers and then become buyers?
632 // How do one time buyers become repeat buyers? With this information, you can
633 // improve inefficient or abandoned customer journeys. To learn more, see [GA4
634 // Funnel Explorations](https://support.google.com/analytics/answer/9327974).
635 RunFunnelReport(context.Context, *RunFunnelReportRequest) (*RunFunnelReportResponse, error)
636 }
637
638 // UnimplementedAlphaAnalyticsDataServer can be embedded to have forward compatible implementations.
639 type UnimplementedAlphaAnalyticsDataServer struct {
640 }
641
642 func (*UnimplementedAlphaAnalyticsDataServer) RunFunnelReport(context.Context, *RunFunnelReportRequest) (*RunFunnelReportResponse, error) {
643 return nil, status.Errorf(codes.Unimplemented, "method RunFunnelReport not implemented")
644 }
645
646 func RegisterAlphaAnalyticsDataServer(s *grpc.Server, srv AlphaAnalyticsDataServer) {
647 s.RegisterService(&_AlphaAnalyticsData_serviceDesc, srv)
648 }
649
650 func _AlphaAnalyticsData_RunFunnelReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
651 in := new(RunFunnelReportRequest)
652 if err := dec(in); err != nil {
653 return nil, err
654 }
655 if interceptor == nil {
656 return srv.(AlphaAnalyticsDataServer).RunFunnelReport(ctx, in)
657 }
658 info := &grpc.UnaryServerInfo{
659 Server: srv,
660 FullMethod: "/google.analytics.data.v1alpha.AlphaAnalyticsData/RunFunnelReport",
661 }
662 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
663 return srv.(AlphaAnalyticsDataServer).RunFunnelReport(ctx, req.(*RunFunnelReportRequest))
664 }
665 return interceptor(ctx, in, info, handler)
666 }
667
668 var _AlphaAnalyticsData_serviceDesc = grpc.ServiceDesc{
669 ServiceName: "google.analytics.data.v1alpha.AlphaAnalyticsData",
670 HandlerType: (*AlphaAnalyticsDataServer)(nil),
671 Methods: []grpc.MethodDesc{
672 {
673 MethodName: "RunFunnelReport",
674 Handler: _AlphaAnalyticsData_RunFunnelReport_Handler,
675 },
676 },
677 Streams: []grpc.StreamDesc{},
678 Metadata: "google/analytics/data/v1alpha/analytics_data_api.proto",
679 }