Debian Codegraph @

googleapis/cloud/contentwarehouse/v1/histogram.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/cloud/contentwarehouse/v1/histogram.proto
20
21 package contentwarehouse
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // The result of the histogram query count('FilterableProperties') using
40 // HISTOGRAM_YAXIS_DOCUMENT will be:
41 // invoice_id: 2
42 // address: 1
43 // payment_method: 2
44 // line_item_description: 1
45 type HistogramQueryPropertyNameFilter_HistogramYAxis int32
46
47 const (
48 // Count the documents per property name.
49 HistogramQueryPropertyNameFilter_HISTOGRAM_YAXIS_DOCUMENT HistogramQueryPropertyNameFilter_HistogramYAxis = 0
50 // Count the properties per property name.
51 HistogramQueryPropertyNameFilter_HISTOGRAM_YAXIS_PROPERTY HistogramQueryPropertyNameFilter_HistogramYAxis = 1
52 )
53
54 // Enum value maps for HistogramQueryPropertyNameFilter_HistogramYAxis.
55 var (
56 HistogramQueryPropertyNameFilter_HistogramYAxis_name = map[int32]string{
57 0: "HISTOGRAM_YAXIS_DOCUMENT",
58 1: "HISTOGRAM_YAXIS_PROPERTY",
59 }
60 HistogramQueryPropertyNameFilter_HistogramYAxis_value = map[string]int32{
61 "HISTOGRAM_YAXIS_DOCUMENT": 0,
62 "HISTOGRAM_YAXIS_PROPERTY": 1,
63 }
64 )
65
66 func (x HistogramQueryPropertyNameFilter_HistogramYAxis) Enum() *HistogramQueryPropertyNameFilter_HistogramYAxis {
67 p := new(HistogramQueryPropertyNameFilter_HistogramYAxis)
68 *p = x
69 return p
70 }
71
72 func (x HistogramQueryPropertyNameFilter_HistogramYAxis) String() string {
73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
74 }
75
76 func (HistogramQueryPropertyNameFilter_HistogramYAxis) Descriptor() protoreflect.EnumDescriptor {
77 return file_google_cloud_contentwarehouse_v1_histogram_proto_enumTypes[0].Descriptor()
78 }
79
80 func (HistogramQueryPropertyNameFilter_HistogramYAxis) Type() protoreflect.EnumType {
81 return &file_google_cloud_contentwarehouse_v1_histogram_proto_enumTypes[0]
82 }
83
84 func (x HistogramQueryPropertyNameFilter_HistogramYAxis) Number() protoreflect.EnumNumber {
85 return protoreflect.EnumNumber(x)
86 }
87
88 // Deprecated: Use HistogramQueryPropertyNameFilter_HistogramYAxis.Descriptor instead.
89 func (HistogramQueryPropertyNameFilter_HistogramYAxis) EnumDescriptor() ([]byte, []int) {
90 return file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescGZIP(), []int{1, 0}
91 }
92
93 // The histogram request.
94 type HistogramQuery struct {
95 state protoimpl.MessageState
96 sizeCache protoimpl.SizeCache
97 unknownFields protoimpl.UnknownFields
98
99 // An expression specifies a histogram request against matching documents for
100 // searches.
101 //
102 // See [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries] for details about syntax.
103 HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"`
104 // Controls if the histogram query requires the return of a precise count.
105 // Enable this flag may adversely impact performance.
106 //
107 // Defaults to true.
108 RequirePreciseResultSize bool `protobuf:"varint,2,opt,name=require_precise_result_size,json=requirePreciseResultSize,proto3" json:"require_precise_result_size,omitempty"`
109 // Optional. Filter the result of histogram query by the property names. It only works
110 // with histogram query count('FilterableProperties').
111 // It is an optional. It will perform histogram on all the property names for
112 // all the document schemas. Setting this field will have a better
113 // performance.
114 Filters *HistogramQueryPropertyNameFilter `protobuf:"bytes,3,opt,name=filters,proto3" json:"filters,omitempty"`
115 }
116
117 func (x *HistogramQuery) Reset() {
118 *x = HistogramQuery{}
119 if protoimpl.UnsafeEnabled {
120 mi := &file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes[0]
121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
122 ms.StoreMessageInfo(mi)
123 }
124 }
125
126 func (x *HistogramQuery) String() string {
127 return protoimpl.X.MessageStringOf(x)
128 }
129
130 func (*HistogramQuery) ProtoMessage() {}
131
132 func (x *HistogramQuery) ProtoReflect() protoreflect.Message {
133 mi := &file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes[0]
134 if protoimpl.UnsafeEnabled && x != nil {
135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
136 if ms.LoadMessageInfo() == nil {
137 ms.StoreMessageInfo(mi)
138 }
139 return ms
140 }
141 return mi.MessageOf(x)
142 }
143
144 // Deprecated: Use HistogramQuery.ProtoReflect.Descriptor instead.
145 func (*HistogramQuery) Descriptor() ([]byte, []int) {
146 return file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescGZIP(), []int{0}
147 }
148
149 func (x *HistogramQuery) GetHistogramQuery() string {
150 if x != nil {
151 return x.HistogramQuery
152 }
153 return ""
154 }
155
156 func (x *HistogramQuery) GetRequirePreciseResultSize() bool {
157 if x != nil {
158 return x.RequirePreciseResultSize
159 }
160 return false
161 }
162
163 func (x *HistogramQuery) GetFilters() *HistogramQueryPropertyNameFilter {
164 if x != nil {
165 return x.Filters
166 }
167 return nil
168 }
169
170 type HistogramQueryPropertyNameFilter struct {
171 state protoimpl.MessageState
172 sizeCache protoimpl.SizeCache
173 unknownFields protoimpl.UnknownFields
174
175 // This filter specifies the exact document schema(s)
176 // [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against.
177 // It is optional. It will perform histogram for property names for all the
178 // document schemas if it is not set.
179 //
180 // At most 10 document schema names are allowed.
181 // Format:
182 // projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
183 DocumentSchemas []string `protobuf:"bytes,1,rep,name=document_schemas,json=documentSchemas,proto3" json:"document_schemas,omitempty"`
184 // It is optional. It will perform histogram for all the property names if it
185 // is not set.
186 // The properties need to be defined with the is_filterable flag set to
187 // true and the name of the property should be in the format:
188 // "schemaId.propertyName". The property needs to be defined in the schema.
189 // Example: the schema id is abc. Then the name of property for property
190 // MORTGAGE_TYPE will be "abc.MORTGAGE_TYPE".
191 PropertyNames []string `protobuf:"bytes,2,rep,name=property_names,json=propertyNames,proto3" json:"property_names,omitempty"`
192 // By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not
193 // set.
194 YAxis HistogramQueryPropertyNameFilter_HistogramYAxis `protobuf:"varint,3,opt,name=y_axis,json=yAxis,proto3,enum=google.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter_HistogramYAxis" json:"y_axis,omitempty"`
195 }
196
197 func (x *HistogramQueryPropertyNameFilter) Reset() {
198 *x = HistogramQueryPropertyNameFilter{}
199 if protoimpl.UnsafeEnabled {
200 mi := &file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes[1]
201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
202 ms.StoreMessageInfo(mi)
203 }
204 }
205
206 func (x *HistogramQueryPropertyNameFilter) String() string {
207 return protoimpl.X.MessageStringOf(x)
208 }
209
210 func (*HistogramQueryPropertyNameFilter) ProtoMessage() {}
211
212 func (x *HistogramQueryPropertyNameFilter) ProtoReflect() protoreflect.Message {
213 mi := &file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes[1]
214 if protoimpl.UnsafeEnabled && x != nil {
215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
216 if ms.LoadMessageInfo() == nil {
217 ms.StoreMessageInfo(mi)
218 }
219 return ms
220 }
221 return mi.MessageOf(x)
222 }
223
224 // Deprecated: Use HistogramQueryPropertyNameFilter.ProtoReflect.Descriptor instead.
225 func (*HistogramQueryPropertyNameFilter) Descriptor() ([]byte, []int) {
226 return file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescGZIP(), []int{1}
227 }
228
229 func (x *HistogramQueryPropertyNameFilter) GetDocumentSchemas() []string {
230 if x != nil {
231 return x.DocumentSchemas
232 }
233 return nil
234 }
235
236 func (x *HistogramQueryPropertyNameFilter) GetPropertyNames() []string {
237 if x != nil {
238 return x.PropertyNames
239 }
240 return nil
241 }
242
243 func (x *HistogramQueryPropertyNameFilter) GetYAxis() HistogramQueryPropertyNameFilter_HistogramYAxis {
244 if x != nil {
245 return x.YAxis
246 }
247 return HistogramQueryPropertyNameFilter_HISTOGRAM_YAXIS_DOCUMENT
248 }
249
250 // Histogram result that matches [HistogramQuery][google.cloud.contentwarehouse.v1.HistogramQuery] specified in searches.
251 type HistogramQueryResult struct {
252 state protoimpl.MessageState
253 sizeCache protoimpl.SizeCache
254 unknownFields protoimpl.UnknownFields
255
256 // Requested histogram expression.
257 HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"`
258 // A map from the values of the facet associated with distinct values to the
259 // number of matching entries with corresponding value.
260 //
261 // The key format is:
262 //
263 // * (for string histogram) string values stored in the field.
264 Histogram map[string]int64 `protobuf:"bytes,2,rep,name=histogram,proto3" json:"histogram,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
265 }
266
267 func (x *HistogramQueryResult) Reset() {
268 *x = HistogramQueryResult{}
269 if protoimpl.UnsafeEnabled {
270 mi := &file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes[2]
271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
272 ms.StoreMessageInfo(mi)
273 }
274 }
275
276 func (x *HistogramQueryResult) String() string {
277 return protoimpl.X.MessageStringOf(x)
278 }
279
280 func (*HistogramQueryResult) ProtoMessage() {}
281
282 func (x *HistogramQueryResult) ProtoReflect() protoreflect.Message {
283 mi := &file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes[2]
284 if protoimpl.UnsafeEnabled && x != nil {
285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
286 if ms.LoadMessageInfo() == nil {
287 ms.StoreMessageInfo(mi)
288 }
289 return ms
290 }
291 return mi.MessageOf(x)
292 }
293
294 // Deprecated: Use HistogramQueryResult.ProtoReflect.Descriptor instead.
295 func (*HistogramQueryResult) Descriptor() ([]byte, []int) {
296 return file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescGZIP(), []int{2}
297 }
298
299 func (x *HistogramQueryResult) GetHistogramQuery() string {
300 if x != nil {
301 return x.HistogramQuery
302 }
303 return ""
304 }
305
306 func (x *HistogramQueryResult) GetHistogram() map[string]int64 {
307 if x != nil {
308 return x.Histogram
309 }
310 return nil
311 }
312
313 var File_google_cloud_contentwarehouse_v1_histogram_proto protoreflect.FileDescriptor
314
315 var file_google_cloud_contentwarehouse_v1_histogram_proto_rawDesc = []byte{
316 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
317 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f,
318 0x76, 0x31, 0x2f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
319 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
320 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73,
321 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
322 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
323 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
324 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
325 0x22, 0xdb, 0x01, 0x0a, 0x0e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75,
326 0x65, 0x72, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d,
327 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x68, 0x69,
328 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3d, 0x0a, 0x1b,
329 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x65, 0x5f,
330 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
331 0x08, 0x52, 0x18, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73,
332 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x61, 0x0a, 0x07, 0x66,
333 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67,
334 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
335 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
336 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72,
337 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
338 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0xe1,
339 0x02, 0x0a, 0x20, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72,
340 0x79, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c,
341 0x74, 0x65, 0x72, 0x12, 0x5e, 0x0a, 0x10, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
342 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x33, 0xfa,
343 0x41, 0x30, 0x0a, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68,
344 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
345 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65,
346 0x6d, 0x61, 0x52, 0x0f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65,
347 0x6d, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f,
348 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f,
349 0x70, 0x65, 0x72, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x68, 0x0a, 0x06, 0x79, 0x5f,
350 0x61, 0x78, 0x69, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f,
351 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
352 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x69,
353 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x70,
354 0x65, 0x72, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x48,
355 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x59, 0x41, 0x78, 0x69, 0x73, 0x52, 0x05, 0x79,
356 0x41, 0x78, 0x69, 0x73, 0x22, 0x4c, 0x0a, 0x0e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61,
357 0x6d, 0x59, 0x41, 0x78, 0x69, 0x73, 0x12, 0x1c, 0x0a, 0x18, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47,
358 0x52, 0x41, 0x4d, 0x5f, 0x59, 0x41, 0x58, 0x49, 0x53, 0x5f, 0x44, 0x4f, 0x43, 0x55, 0x4d, 0x45,
359 0x4e, 0x54, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41,
360 0x4d, 0x5f, 0x59, 0x41, 0x58, 0x49, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59,
361 0x10, 0x01, 0x22, 0xe2, 0x01, 0x0a, 0x14, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d,
362 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x68,
363 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01,
364 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51,
365 0x75, 0x65, 0x72, 0x79, 0x12, 0x63, 0x0a, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61,
366 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
367 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61,
368 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f,
369 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e,
370 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09,
371 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x1a, 0x3c, 0x0a, 0x0e, 0x48, 0x69, 0x73,
372 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
373 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
374 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61,
375 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x8a, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e,
376 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e,
377 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31,
378 0x42, 0x0e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f,
379 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
380 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
381 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
382 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65,
383 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68,
384 0x6f, 0x75, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
385 }
386
387 var (
388 file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescOnce sync.Once
389 file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescData = file_google_cloud_contentwarehouse_v1_histogram_proto_rawDesc
390 )
391
392 func file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescGZIP() []byte {
393 file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescOnce.Do(func() {
394 file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescData)
395 })
396 return file_google_cloud_contentwarehouse_v1_histogram_proto_rawDescData
397 }
398
399 var file_google_cloud_contentwarehouse_v1_histogram_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
400 var file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
401 var file_google_cloud_contentwarehouse_v1_histogram_proto_goTypes = []interface{}{
402 (HistogramQueryPropertyNameFilter_HistogramYAxis)(0), // 0: google.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter.HistogramYAxis
403 (*HistogramQuery)(nil), // 1: google.cloud.contentwarehouse.v1.HistogramQuery
404 (*HistogramQueryPropertyNameFilter)(nil), // 2: google.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter
405 (*HistogramQueryResult)(nil), // 3: google.cloud.contentwarehouse.v1.HistogramQueryResult
406 nil, // 4: google.cloud.contentwarehouse.v1.HistogramQueryResult.HistogramEntry
407 }
408 var file_google_cloud_contentwarehouse_v1_histogram_proto_depIdxs = []int32{
409 2, // 0: google.cloud.contentwarehouse.v1.HistogramQuery.filters:type_name -> google.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter
410 0, // 1: google.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter.y_axis:type_name -> google.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter.HistogramYAxis
411 4, // 2: google.cloud.contentwarehouse.v1.HistogramQueryResult.histogram:type_name -> google.cloud.contentwarehouse.v1.HistogramQueryResult.HistogramEntry
412 3, // [3:3] is the sub-list for method output_type
413 3, // [3:3] is the sub-list for method input_type
414 3, // [3:3] is the sub-list for extension type_name
415 3, // [3:3] is the sub-list for extension extendee
416 0, // [0:3] is the sub-list for field type_name
417 }
418
419 func init() { file_google_cloud_contentwarehouse_v1_histogram_proto_init() }
420 func file_google_cloud_contentwarehouse_v1_histogram_proto_init() {
421 if File_google_cloud_contentwarehouse_v1_histogram_proto != nil {
422 return
423 }
424 if !protoimpl.UnsafeEnabled {
425 file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
426 switch v := v.(*HistogramQuery); i {
427 case 0:
428 return &v.state
429 case 1:
430 return &v.sizeCache
431 case 2:
432 return &v.unknownFields
433 default:
434 return nil
435 }
436 }
437 file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
438 switch v := v.(*HistogramQueryPropertyNameFilter); i {
439 case 0:
440 return &v.state
441 case 1:
442 return &v.sizeCache
443 case 2:
444 return &v.unknownFields
445 default:
446 return nil
447 }
448 }
449 file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
450 switch v := v.(*HistogramQueryResult); i {
451 case 0:
452 return &v.state
453 case 1:
454 return &v.sizeCache
455 case 2:
456 return &v.unknownFields
457 default:
458 return nil
459 }
460 }
461 }
462 type x struct{}
463 out := protoimpl.TypeBuilder{
464 File: protoimpl.DescBuilder{
465 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
466 RawDescriptor: file_google_cloud_contentwarehouse_v1_histogram_proto_rawDesc,
467 NumEnums: 1,
468 NumMessages: 4,
469 NumExtensions: 0,
470 NumServices: 0,
471 },
472 GoTypes: file_google_cloud_contentwarehouse_v1_histogram_proto_goTypes,
473 DependencyIndexes: file_google_cloud_contentwarehouse_v1_histogram_proto_depIdxs,
474 EnumInfos: file_google_cloud_contentwarehouse_v1_histogram_proto_enumTypes,
475 MessageInfos: file_google_cloud_contentwarehouse_v1_histogram_proto_msgTypes,
476 }.Build()
477 File_google_cloud_contentwarehouse_v1_histogram_proto = out.File
478 file_google_cloud_contentwarehouse_v1_histogram_proto_rawDesc = nil
479 file_google_cloud_contentwarehouse_v1_histogram_proto_goTypes = nil
480 file_google_cloud_contentwarehouse_v1_histogram_proto_depIdxs = nil
481 }