• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/retail/v2/completion_service.proto
18 
19 package com.google.cloud.retail.v2;
20 
21 public final class CompletionServiceProto {
CompletionServiceProto()22   private CompletionServiceProto() {}
23 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
25 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
27     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
28   }
29 
30   static final com.google.protobuf.Descriptors.Descriptor
31       internal_static_google_cloud_retail_v2_CompleteQueryRequest_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_retail_v2_CompleteQueryRequest_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_retail_v2_CompleteQueryResponse_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_fieldAccessorTable;
46   static final com.google.protobuf.Descriptors.Descriptor
47       internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_descriptor;
48   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
49       internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_fieldAccessorTable;
50 
getDescriptor()51   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
52     return descriptor;
53   }
54 
55   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
56 
57   static {
58     java.lang.String[] descriptorData = {
59       "\n/google/cloud/retail/v2/completion_serv"
60           + "ice.proto\022\026google.cloud.retail.v2\032\034googl"
61           + "e/api/annotations.proto\032\027google/api/clie"
62           + "nt.proto\032\037google/api/field_behavior.prot"
63           + "o\032\031google/api/resource.proto\032#google/clo"
64           + "ud/retail/v2/common.proto\032*google/cloud/"
65           + "retail/v2/import_config.proto\032#google/lo"
66           + "ngrunning/operations.proto\"\335\001\n\024CompleteQ"
67           + "ueryRequest\0226\n\007catalog\030\001 \001(\tB%\340A\002\372A\037\n\035re"
68           + "tail.googleapis.com/Catalog\022\022\n\005query\030\002 \001"
69           + "(\tB\003\340A\002\022\022\n\nvisitor_id\030\007 \001(\t\022\026\n\016language_"
70           + "codes\030\003 \003(\t\022\023\n\013device_type\030\004 \001(\t\022\017\n\007data"
71           + "set\030\006 \001(\t\022\027\n\017max_suggestions\030\005 \001(\005\022\016\n\006en"
72           + "tity\030\n \001(\t\"\205\004\n\025CompleteQueryResponse\022Z\n\022"
73           + "completion_results\030\001 \003(\0132>.google.cloud."
74           + "retail.v2.CompleteQueryResponse.Completi"
75           + "onResult\022\031\n\021attribution_token\030\002 \001(\t\022_\n\025r"
76           + "ecent_search_results\030\003 \003(\0132@.google.clou"
77           + "d.retail.v2.CompleteQueryResponse.Recent"
78           + "SearchResult\032\346\001\n\020CompletionResult\022\022\n\nsug"
79           + "gestion\030\001 \001(\t\022b\n\nattributes\030\002 \003(\0132N.goog"
80           + "le.cloud.retail.v2.CompleteQueryResponse"
81           + ".CompletionResult.AttributesEntry\032Z\n\017Att"
82           + "ributesEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\013"
83           + "2\'.google.cloud.retail.v2.CustomAttribut"
84           + "e:\0028\001\032+\n\022RecentSearchResult\022\025\n\rrecent_se"
85           + "arch\030\001 \001(\t2\262\004\n\021CompletionService\022\263\001\n\rCom"
86           + "pleteQuery\022,.google.cloud.retail.v2.Comp"
87           + "leteQueryRequest\032-.google.cloud.retail.v"
88           + "2.CompleteQueryResponse\"E\202\323\344\223\002?\022=/v2/{ca"
89           + "talog=projects/*/locations/*/catalogs/*}"
90           + ":completeQuery\022\233\002\n\024ImportCompletionData\022"
91           + "3.google.cloud.retail.v2.ImportCompletio"
92           + "nDataRequest\032\035.google.longrunning.Operat"
93           + "ion\"\256\001\202\323\344\223\002I\"D/v2/{parent=projects/*/loc"
94           + "ations/*/catalogs/*}/completionData:impo"
95           + "rt:\001*\312A\\\n3google.cloud.retail.v2.ImportC"
96           + "ompletionDataResponse\022%google.cloud.reta"
97           + "il.v2.ImportMetadata\032I\312A\025retail.googleap"
98           + "is.com\322A.https://www.googleapis.com/auth"
99           + "/cloud-platformB\301\001\n\032com.google.cloud.ret"
100           + "ail.v2B\026CompletionServiceProtoP\001Z2cloud."
101           + "google.com/go/retail/apiv2/retailpb;reta"
102           + "ilpb\242\002\006RETAIL\252\002\026Google.Cloud.Retail.V2\312\002"
103           + "\026Google\\Cloud\\Retail\\V2\352\002\031Google::Cloud:"
104           + ":Retail::V2b\006proto3"
105     };
106     descriptor =
107         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
108             descriptorData,
109             new com.google.protobuf.Descriptors.FileDescriptor[] {
110               com.google.api.AnnotationsProto.getDescriptor(),
111               com.google.api.ClientProto.getDescriptor(),
112               com.google.api.FieldBehaviorProto.getDescriptor(),
113               com.google.api.ResourceProto.getDescriptor(),
114               com.google.cloud.retail.v2.CommonProto.getDescriptor(),
115               com.google.cloud.retail.v2.ImportConfigProto.getDescriptor(),
116               com.google.longrunning.OperationsProto.getDescriptor(),
117             });
118     internal_static_google_cloud_retail_v2_CompleteQueryRequest_descriptor =
119         getDescriptor().getMessageTypes().get(0);
120     internal_static_google_cloud_retail_v2_CompleteQueryRequest_fieldAccessorTable =
121         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
122             internal_static_google_cloud_retail_v2_CompleteQueryRequest_descriptor,
123             new java.lang.String[] {
124               "Catalog",
125               "Query",
126               "VisitorId",
127               "LanguageCodes",
128               "DeviceType",
129               "Dataset",
130               "MaxSuggestions",
131               "Entity",
132             });
133     internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor =
134         getDescriptor().getMessageTypes().get(1);
135     internal_static_google_cloud_retail_v2_CompleteQueryResponse_fieldAccessorTable =
136         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
137             internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor,
138             new java.lang.String[] {
139               "CompletionResults", "AttributionToken", "RecentSearchResults",
140             });
141     internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_descriptor =
142         internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor
143             .getNestedTypes()
144             .get(0);
145     internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_fieldAccessorTable =
146         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
147             internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_descriptor,
148             new java.lang.String[] {
149               "Suggestion", "Attributes",
150             });
151     internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_descriptor =
152         internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_descriptor
153             .getNestedTypes()
154             .get(0);
155     internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_fieldAccessorTable =
156         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
157             internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_descriptor,
158             new java.lang.String[] {
159               "Key", "Value",
160             });
161     internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_descriptor =
162         internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor
163             .getNestedTypes()
164             .get(1);
165     internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_fieldAccessorTable =
166         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
167             internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_descriptor,
168             new java.lang.String[] {
169               "RecentSearch",
170             });
171     com.google.protobuf.ExtensionRegistry registry =
172         com.google.protobuf.ExtensionRegistry.newInstance();
173     registry.add(com.google.api.ClientProto.defaultHost);
174     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
175     registry.add(com.google.api.AnnotationsProto.http);
176     registry.add(com.google.api.ClientProto.oauthScopes);
177     registry.add(com.google.api.ResourceProto.resourceReference);
178     registry.add(com.google.longrunning.OperationsProto.operationInfo);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)179     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
180         descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor()181     com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor()182     com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor()183     com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor()184     com.google.api.ResourceProto.getDescriptor();
com.google.cloud.retail.v2.CommonProto.getDescriptor()185     com.google.cloud.retail.v2.CommonProto.getDescriptor();
com.google.cloud.retail.v2.ImportConfigProto.getDescriptor()186     com.google.cloud.retail.v2.ImportConfigProto.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor()187     com.google.longrunning.OperationsProto.getDescriptor();
188   }
189 
190   // @@protoc_insertion_point(outer_class_scope)
191 }
192