• 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 package com.google.cloud.datacatalog.v1;
17 
18 import static io.grpc.MethodDescriptor.generateFullMethodName;
19 
20 /**
21  *
22  *
23  * <pre>
24  * Data Catalog API service allows you to discover, understand, and manage
25  * your data.
26  * </pre>
27  */
28 @javax.annotation.Generated(
29     value = "by gRPC proto compiler",
30     comments = "Source: google/cloud/datacatalog/v1/datacatalog.proto")
31 @io.grpc.stub.annotations.GrpcGenerated
32 public final class DataCatalogGrpc {
33 
DataCatalogGrpc()34   private DataCatalogGrpc() {}
35 
36   public static final String SERVICE_NAME = "google.cloud.datacatalog.v1.DataCatalog";
37 
38   // Static method descriptors that strictly reflect the proto.
39   private static volatile io.grpc.MethodDescriptor<
40           com.google.cloud.datacatalog.v1.SearchCatalogRequest,
41           com.google.cloud.datacatalog.v1.SearchCatalogResponse>
42       getSearchCatalogMethod;
43 
44   @io.grpc.stub.annotations.RpcMethod(
45       fullMethodName = SERVICE_NAME + '/' + "SearchCatalog",
46       requestType = com.google.cloud.datacatalog.v1.SearchCatalogRequest.class,
47       responseType = com.google.cloud.datacatalog.v1.SearchCatalogResponse.class,
48       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
49   public static io.grpc.MethodDescriptor<
50           com.google.cloud.datacatalog.v1.SearchCatalogRequest,
51           com.google.cloud.datacatalog.v1.SearchCatalogResponse>
getSearchCatalogMethod()52       getSearchCatalogMethod() {
53     io.grpc.MethodDescriptor<
54             com.google.cloud.datacatalog.v1.SearchCatalogRequest,
55             com.google.cloud.datacatalog.v1.SearchCatalogResponse>
56         getSearchCatalogMethod;
57     if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) {
58       synchronized (DataCatalogGrpc.class) {
59         if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) {
60           DataCatalogGrpc.getSearchCatalogMethod =
61               getSearchCatalogMethod =
62                   io.grpc.MethodDescriptor
63                       .<com.google.cloud.datacatalog.v1.SearchCatalogRequest,
64                           com.google.cloud.datacatalog.v1.SearchCatalogResponse>
65                           newBuilder()
66                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
67                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog"))
68                       .setSampledToLocalTracing(true)
69                       .setRequestMarshaller(
70                           io.grpc.protobuf.ProtoUtils.marshaller(
71                               com.google.cloud.datacatalog.v1.SearchCatalogRequest
72                                   .getDefaultInstance()))
73                       .setResponseMarshaller(
74                           io.grpc.protobuf.ProtoUtils.marshaller(
75                               com.google.cloud.datacatalog.v1.SearchCatalogResponse
76                                   .getDefaultInstance()))
77                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog"))
78                       .build();
79         }
80       }
81     }
82     return getSearchCatalogMethod;
83   }
84 
85   private static volatile io.grpc.MethodDescriptor<
86           com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
87           com.google.cloud.datacatalog.v1.EntryGroup>
88       getCreateEntryGroupMethod;
89 
90   @io.grpc.stub.annotations.RpcMethod(
91       fullMethodName = SERVICE_NAME + '/' + "CreateEntryGroup",
92       requestType = com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class,
93       responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
94       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
95   public static io.grpc.MethodDescriptor<
96           com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
97           com.google.cloud.datacatalog.v1.EntryGroup>
getCreateEntryGroupMethod()98       getCreateEntryGroupMethod() {
99     io.grpc.MethodDescriptor<
100             com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
101             com.google.cloud.datacatalog.v1.EntryGroup>
102         getCreateEntryGroupMethod;
103     if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) {
104       synchronized (DataCatalogGrpc.class) {
105         if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) {
106           DataCatalogGrpc.getCreateEntryGroupMethod =
107               getCreateEntryGroupMethod =
108                   io.grpc.MethodDescriptor
109                       .<com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
110                           com.google.cloud.datacatalog.v1.EntryGroup>
111                           newBuilder()
112                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
113                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup"))
114                       .setSampledToLocalTracing(true)
115                       .setRequestMarshaller(
116                           io.grpc.protobuf.ProtoUtils.marshaller(
117                               com.google.cloud.datacatalog.v1.CreateEntryGroupRequest
118                                   .getDefaultInstance()))
119                       .setResponseMarshaller(
120                           io.grpc.protobuf.ProtoUtils.marshaller(
121                               com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
122                       .setSchemaDescriptor(
123                           new DataCatalogMethodDescriptorSupplier("CreateEntryGroup"))
124                       .build();
125         }
126       }
127     }
128     return getCreateEntryGroupMethod;
129   }
130 
131   private static volatile io.grpc.MethodDescriptor<
132           com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
133           com.google.cloud.datacatalog.v1.EntryGroup>
134       getGetEntryGroupMethod;
135 
136   @io.grpc.stub.annotations.RpcMethod(
137       fullMethodName = SERVICE_NAME + '/' + "GetEntryGroup",
138       requestType = com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class,
139       responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
140       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
141   public static io.grpc.MethodDescriptor<
142           com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
143           com.google.cloud.datacatalog.v1.EntryGroup>
getGetEntryGroupMethod()144       getGetEntryGroupMethod() {
145     io.grpc.MethodDescriptor<
146             com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
147             com.google.cloud.datacatalog.v1.EntryGroup>
148         getGetEntryGroupMethod;
149     if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) {
150       synchronized (DataCatalogGrpc.class) {
151         if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) {
152           DataCatalogGrpc.getGetEntryGroupMethod =
153               getGetEntryGroupMethod =
154                   io.grpc.MethodDescriptor
155                       .<com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
156                           com.google.cloud.datacatalog.v1.EntryGroup>
157                           newBuilder()
158                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
159                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup"))
160                       .setSampledToLocalTracing(true)
161                       .setRequestMarshaller(
162                           io.grpc.protobuf.ProtoUtils.marshaller(
163                               com.google.cloud.datacatalog.v1.GetEntryGroupRequest
164                                   .getDefaultInstance()))
165                       .setResponseMarshaller(
166                           io.grpc.protobuf.ProtoUtils.marshaller(
167                               com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
168                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup"))
169                       .build();
170         }
171       }
172     }
173     return getGetEntryGroupMethod;
174   }
175 
176   private static volatile io.grpc.MethodDescriptor<
177           com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
178           com.google.cloud.datacatalog.v1.EntryGroup>
179       getUpdateEntryGroupMethod;
180 
181   @io.grpc.stub.annotations.RpcMethod(
182       fullMethodName = SERVICE_NAME + '/' + "UpdateEntryGroup",
183       requestType = com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class,
184       responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
185       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
186   public static io.grpc.MethodDescriptor<
187           com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
188           com.google.cloud.datacatalog.v1.EntryGroup>
getUpdateEntryGroupMethod()189       getUpdateEntryGroupMethod() {
190     io.grpc.MethodDescriptor<
191             com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
192             com.google.cloud.datacatalog.v1.EntryGroup>
193         getUpdateEntryGroupMethod;
194     if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) {
195       synchronized (DataCatalogGrpc.class) {
196         if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) {
197           DataCatalogGrpc.getUpdateEntryGroupMethod =
198               getUpdateEntryGroupMethod =
199                   io.grpc.MethodDescriptor
200                       .<com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
201                           com.google.cloud.datacatalog.v1.EntryGroup>
202                           newBuilder()
203                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
204                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup"))
205                       .setSampledToLocalTracing(true)
206                       .setRequestMarshaller(
207                           io.grpc.protobuf.ProtoUtils.marshaller(
208                               com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest
209                                   .getDefaultInstance()))
210                       .setResponseMarshaller(
211                           io.grpc.protobuf.ProtoUtils.marshaller(
212                               com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
213                       .setSchemaDescriptor(
214                           new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup"))
215                       .build();
216         }
217       }
218     }
219     return getUpdateEntryGroupMethod;
220   }
221 
222   private static volatile io.grpc.MethodDescriptor<
223           com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
224       getDeleteEntryGroupMethod;
225 
226   @io.grpc.stub.annotations.RpcMethod(
227       fullMethodName = SERVICE_NAME + '/' + "DeleteEntryGroup",
228       requestType = com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class,
229       responseType = com.google.protobuf.Empty.class,
230       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
231   public static io.grpc.MethodDescriptor<
232           com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
getDeleteEntryGroupMethod()233       getDeleteEntryGroupMethod() {
234     io.grpc.MethodDescriptor<
235             com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
236         getDeleteEntryGroupMethod;
237     if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) {
238       synchronized (DataCatalogGrpc.class) {
239         if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) {
240           DataCatalogGrpc.getDeleteEntryGroupMethod =
241               getDeleteEntryGroupMethod =
242                   io.grpc.MethodDescriptor
243                       .<com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest,
244                           com.google.protobuf.Empty>
245                           newBuilder()
246                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
247                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup"))
248                       .setSampledToLocalTracing(true)
249                       .setRequestMarshaller(
250                           io.grpc.protobuf.ProtoUtils.marshaller(
251                               com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest
252                                   .getDefaultInstance()))
253                       .setResponseMarshaller(
254                           io.grpc.protobuf.ProtoUtils.marshaller(
255                               com.google.protobuf.Empty.getDefaultInstance()))
256                       .setSchemaDescriptor(
257                           new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup"))
258                       .build();
259         }
260       }
261     }
262     return getDeleteEntryGroupMethod;
263   }
264 
265   private static volatile io.grpc.MethodDescriptor<
266           com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
267           com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
268       getListEntryGroupsMethod;
269 
270   @io.grpc.stub.annotations.RpcMethod(
271       fullMethodName = SERVICE_NAME + '/' + "ListEntryGroups",
272       requestType = com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class,
273       responseType = com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class,
274       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
275   public static io.grpc.MethodDescriptor<
276           com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
277           com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
getListEntryGroupsMethod()278       getListEntryGroupsMethod() {
279     io.grpc.MethodDescriptor<
280             com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
281             com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
282         getListEntryGroupsMethod;
283     if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) {
284       synchronized (DataCatalogGrpc.class) {
285         if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) {
286           DataCatalogGrpc.getListEntryGroupsMethod =
287               getListEntryGroupsMethod =
288                   io.grpc.MethodDescriptor
289                       .<com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
290                           com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
291                           newBuilder()
292                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
293                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups"))
294                       .setSampledToLocalTracing(true)
295                       .setRequestMarshaller(
296                           io.grpc.protobuf.ProtoUtils.marshaller(
297                               com.google.cloud.datacatalog.v1.ListEntryGroupsRequest
298                                   .getDefaultInstance()))
299                       .setResponseMarshaller(
300                           io.grpc.protobuf.ProtoUtils.marshaller(
301                               com.google.cloud.datacatalog.v1.ListEntryGroupsResponse
302                                   .getDefaultInstance()))
303                       .setSchemaDescriptor(
304                           new DataCatalogMethodDescriptorSupplier("ListEntryGroups"))
305                       .build();
306         }
307       }
308     }
309     return getListEntryGroupsMethod;
310   }
311 
312   private static volatile io.grpc.MethodDescriptor<
313           com.google.cloud.datacatalog.v1.CreateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
314       getCreateEntryMethod;
315 
316   @io.grpc.stub.annotations.RpcMethod(
317       fullMethodName = SERVICE_NAME + '/' + "CreateEntry",
318       requestType = com.google.cloud.datacatalog.v1.CreateEntryRequest.class,
319       responseType = com.google.cloud.datacatalog.v1.Entry.class,
320       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
321   public static io.grpc.MethodDescriptor<
322           com.google.cloud.datacatalog.v1.CreateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getCreateEntryMethod()323       getCreateEntryMethod() {
324     io.grpc.MethodDescriptor<
325             com.google.cloud.datacatalog.v1.CreateEntryRequest,
326             com.google.cloud.datacatalog.v1.Entry>
327         getCreateEntryMethod;
328     if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) {
329       synchronized (DataCatalogGrpc.class) {
330         if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) {
331           DataCatalogGrpc.getCreateEntryMethod =
332               getCreateEntryMethod =
333                   io.grpc.MethodDescriptor
334                       .<com.google.cloud.datacatalog.v1.CreateEntryRequest,
335                           com.google.cloud.datacatalog.v1.Entry>
336                           newBuilder()
337                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
338                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry"))
339                       .setSampledToLocalTracing(true)
340                       .setRequestMarshaller(
341                           io.grpc.protobuf.ProtoUtils.marshaller(
342                               com.google.cloud.datacatalog.v1.CreateEntryRequest
343                                   .getDefaultInstance()))
344                       .setResponseMarshaller(
345                           io.grpc.protobuf.ProtoUtils.marshaller(
346                               com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
347                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry"))
348                       .build();
349         }
350       }
351     }
352     return getCreateEntryMethod;
353   }
354 
355   private static volatile io.grpc.MethodDescriptor<
356           com.google.cloud.datacatalog.v1.UpdateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
357       getUpdateEntryMethod;
358 
359   @io.grpc.stub.annotations.RpcMethod(
360       fullMethodName = SERVICE_NAME + '/' + "UpdateEntry",
361       requestType = com.google.cloud.datacatalog.v1.UpdateEntryRequest.class,
362       responseType = com.google.cloud.datacatalog.v1.Entry.class,
363       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
364   public static io.grpc.MethodDescriptor<
365           com.google.cloud.datacatalog.v1.UpdateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getUpdateEntryMethod()366       getUpdateEntryMethod() {
367     io.grpc.MethodDescriptor<
368             com.google.cloud.datacatalog.v1.UpdateEntryRequest,
369             com.google.cloud.datacatalog.v1.Entry>
370         getUpdateEntryMethod;
371     if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) {
372       synchronized (DataCatalogGrpc.class) {
373         if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) {
374           DataCatalogGrpc.getUpdateEntryMethod =
375               getUpdateEntryMethod =
376                   io.grpc.MethodDescriptor
377                       .<com.google.cloud.datacatalog.v1.UpdateEntryRequest,
378                           com.google.cloud.datacatalog.v1.Entry>
379                           newBuilder()
380                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
381                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry"))
382                       .setSampledToLocalTracing(true)
383                       .setRequestMarshaller(
384                           io.grpc.protobuf.ProtoUtils.marshaller(
385                               com.google.cloud.datacatalog.v1.UpdateEntryRequest
386                                   .getDefaultInstance()))
387                       .setResponseMarshaller(
388                           io.grpc.protobuf.ProtoUtils.marshaller(
389                               com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
390                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry"))
391                       .build();
392         }
393       }
394     }
395     return getUpdateEntryMethod;
396   }
397 
398   private static volatile io.grpc.MethodDescriptor<
399           com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
400       getDeleteEntryMethod;
401 
402   @io.grpc.stub.annotations.RpcMethod(
403       fullMethodName = SERVICE_NAME + '/' + "DeleteEntry",
404       requestType = com.google.cloud.datacatalog.v1.DeleteEntryRequest.class,
405       responseType = com.google.protobuf.Empty.class,
406       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
407   public static io.grpc.MethodDescriptor<
408           com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
getDeleteEntryMethod()409       getDeleteEntryMethod() {
410     io.grpc.MethodDescriptor<
411             com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
412         getDeleteEntryMethod;
413     if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) {
414       synchronized (DataCatalogGrpc.class) {
415         if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) {
416           DataCatalogGrpc.getDeleteEntryMethod =
417               getDeleteEntryMethod =
418                   io.grpc.MethodDescriptor
419                       .<com.google.cloud.datacatalog.v1.DeleteEntryRequest,
420                           com.google.protobuf.Empty>
421                           newBuilder()
422                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
423                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry"))
424                       .setSampledToLocalTracing(true)
425                       .setRequestMarshaller(
426                           io.grpc.protobuf.ProtoUtils.marshaller(
427                               com.google.cloud.datacatalog.v1.DeleteEntryRequest
428                                   .getDefaultInstance()))
429                       .setResponseMarshaller(
430                           io.grpc.protobuf.ProtoUtils.marshaller(
431                               com.google.protobuf.Empty.getDefaultInstance()))
432                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry"))
433                       .build();
434         }
435       }
436     }
437     return getDeleteEntryMethod;
438   }
439 
440   private static volatile io.grpc.MethodDescriptor<
441           com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
442       getGetEntryMethod;
443 
444   @io.grpc.stub.annotations.RpcMethod(
445       fullMethodName = SERVICE_NAME + '/' + "GetEntry",
446       requestType = com.google.cloud.datacatalog.v1.GetEntryRequest.class,
447       responseType = com.google.cloud.datacatalog.v1.Entry.class,
448       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
449   public static io.grpc.MethodDescriptor<
450           com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getGetEntryMethod()451       getGetEntryMethod() {
452     io.grpc.MethodDescriptor<
453             com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
454         getGetEntryMethod;
455     if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) {
456       synchronized (DataCatalogGrpc.class) {
457         if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) {
458           DataCatalogGrpc.getGetEntryMethod =
459               getGetEntryMethod =
460                   io.grpc.MethodDescriptor
461                       .<com.google.cloud.datacatalog.v1.GetEntryRequest,
462                           com.google.cloud.datacatalog.v1.Entry>
463                           newBuilder()
464                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
465                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry"))
466                       .setSampledToLocalTracing(true)
467                       .setRequestMarshaller(
468                           io.grpc.protobuf.ProtoUtils.marshaller(
469                               com.google.cloud.datacatalog.v1.GetEntryRequest.getDefaultInstance()))
470                       .setResponseMarshaller(
471                           io.grpc.protobuf.ProtoUtils.marshaller(
472                               com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
473                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry"))
474                       .build();
475         }
476       }
477     }
478     return getGetEntryMethod;
479   }
480 
481   private static volatile io.grpc.MethodDescriptor<
482           com.google.cloud.datacatalog.v1.LookupEntryRequest, com.google.cloud.datacatalog.v1.Entry>
483       getLookupEntryMethod;
484 
485   @io.grpc.stub.annotations.RpcMethod(
486       fullMethodName = SERVICE_NAME + '/' + "LookupEntry",
487       requestType = com.google.cloud.datacatalog.v1.LookupEntryRequest.class,
488       responseType = com.google.cloud.datacatalog.v1.Entry.class,
489       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
490   public static io.grpc.MethodDescriptor<
491           com.google.cloud.datacatalog.v1.LookupEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getLookupEntryMethod()492       getLookupEntryMethod() {
493     io.grpc.MethodDescriptor<
494             com.google.cloud.datacatalog.v1.LookupEntryRequest,
495             com.google.cloud.datacatalog.v1.Entry>
496         getLookupEntryMethod;
497     if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) {
498       synchronized (DataCatalogGrpc.class) {
499         if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) {
500           DataCatalogGrpc.getLookupEntryMethod =
501               getLookupEntryMethod =
502                   io.grpc.MethodDescriptor
503                       .<com.google.cloud.datacatalog.v1.LookupEntryRequest,
504                           com.google.cloud.datacatalog.v1.Entry>
505                           newBuilder()
506                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
507                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry"))
508                       .setSampledToLocalTracing(true)
509                       .setRequestMarshaller(
510                           io.grpc.protobuf.ProtoUtils.marshaller(
511                               com.google.cloud.datacatalog.v1.LookupEntryRequest
512                                   .getDefaultInstance()))
513                       .setResponseMarshaller(
514                           io.grpc.protobuf.ProtoUtils.marshaller(
515                               com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
516                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry"))
517                       .build();
518         }
519       }
520     }
521     return getLookupEntryMethod;
522   }
523 
524   private static volatile io.grpc.MethodDescriptor<
525           com.google.cloud.datacatalog.v1.ListEntriesRequest,
526           com.google.cloud.datacatalog.v1.ListEntriesResponse>
527       getListEntriesMethod;
528 
529   @io.grpc.stub.annotations.RpcMethod(
530       fullMethodName = SERVICE_NAME + '/' + "ListEntries",
531       requestType = com.google.cloud.datacatalog.v1.ListEntriesRequest.class,
532       responseType = com.google.cloud.datacatalog.v1.ListEntriesResponse.class,
533       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
534   public static io.grpc.MethodDescriptor<
535           com.google.cloud.datacatalog.v1.ListEntriesRequest,
536           com.google.cloud.datacatalog.v1.ListEntriesResponse>
getListEntriesMethod()537       getListEntriesMethod() {
538     io.grpc.MethodDescriptor<
539             com.google.cloud.datacatalog.v1.ListEntriesRequest,
540             com.google.cloud.datacatalog.v1.ListEntriesResponse>
541         getListEntriesMethod;
542     if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) {
543       synchronized (DataCatalogGrpc.class) {
544         if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) {
545           DataCatalogGrpc.getListEntriesMethod =
546               getListEntriesMethod =
547                   io.grpc.MethodDescriptor
548                       .<com.google.cloud.datacatalog.v1.ListEntriesRequest,
549                           com.google.cloud.datacatalog.v1.ListEntriesResponse>
550                           newBuilder()
551                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
552                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries"))
553                       .setSampledToLocalTracing(true)
554                       .setRequestMarshaller(
555                           io.grpc.protobuf.ProtoUtils.marshaller(
556                               com.google.cloud.datacatalog.v1.ListEntriesRequest
557                                   .getDefaultInstance()))
558                       .setResponseMarshaller(
559                           io.grpc.protobuf.ProtoUtils.marshaller(
560                               com.google.cloud.datacatalog.v1.ListEntriesResponse
561                                   .getDefaultInstance()))
562                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries"))
563                       .build();
564         }
565       }
566     }
567     return getListEntriesMethod;
568   }
569 
570   private static volatile io.grpc.MethodDescriptor<
571           com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
572           com.google.cloud.datacatalog.v1.EntryOverview>
573       getModifyEntryOverviewMethod;
574 
575   @io.grpc.stub.annotations.RpcMethod(
576       fullMethodName = SERVICE_NAME + '/' + "ModifyEntryOverview",
577       requestType = com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class,
578       responseType = com.google.cloud.datacatalog.v1.EntryOverview.class,
579       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
580   public static io.grpc.MethodDescriptor<
581           com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
582           com.google.cloud.datacatalog.v1.EntryOverview>
getModifyEntryOverviewMethod()583       getModifyEntryOverviewMethod() {
584     io.grpc.MethodDescriptor<
585             com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
586             com.google.cloud.datacatalog.v1.EntryOverview>
587         getModifyEntryOverviewMethod;
588     if ((getModifyEntryOverviewMethod = DataCatalogGrpc.getModifyEntryOverviewMethod) == null) {
589       synchronized (DataCatalogGrpc.class) {
590         if ((getModifyEntryOverviewMethod = DataCatalogGrpc.getModifyEntryOverviewMethod) == null) {
591           DataCatalogGrpc.getModifyEntryOverviewMethod =
592               getModifyEntryOverviewMethod =
593                   io.grpc.MethodDescriptor
594                       .<com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
595                           com.google.cloud.datacatalog.v1.EntryOverview>
596                           newBuilder()
597                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
598                       .setFullMethodName(
599                           generateFullMethodName(SERVICE_NAME, "ModifyEntryOverview"))
600                       .setSampledToLocalTracing(true)
601                       .setRequestMarshaller(
602                           io.grpc.protobuf.ProtoUtils.marshaller(
603                               com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest
604                                   .getDefaultInstance()))
605                       .setResponseMarshaller(
606                           io.grpc.protobuf.ProtoUtils.marshaller(
607                               com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()))
608                       .setSchemaDescriptor(
609                           new DataCatalogMethodDescriptorSupplier("ModifyEntryOverview"))
610                       .build();
611         }
612       }
613     }
614     return getModifyEntryOverviewMethod;
615   }
616 
617   private static volatile io.grpc.MethodDescriptor<
618           com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
619           com.google.cloud.datacatalog.v1.Contacts>
620       getModifyEntryContactsMethod;
621 
622   @io.grpc.stub.annotations.RpcMethod(
623       fullMethodName = SERVICE_NAME + '/' + "ModifyEntryContacts",
624       requestType = com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class,
625       responseType = com.google.cloud.datacatalog.v1.Contacts.class,
626       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
627   public static io.grpc.MethodDescriptor<
628           com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
629           com.google.cloud.datacatalog.v1.Contacts>
getModifyEntryContactsMethod()630       getModifyEntryContactsMethod() {
631     io.grpc.MethodDescriptor<
632             com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
633             com.google.cloud.datacatalog.v1.Contacts>
634         getModifyEntryContactsMethod;
635     if ((getModifyEntryContactsMethod = DataCatalogGrpc.getModifyEntryContactsMethod) == null) {
636       synchronized (DataCatalogGrpc.class) {
637         if ((getModifyEntryContactsMethod = DataCatalogGrpc.getModifyEntryContactsMethod) == null) {
638           DataCatalogGrpc.getModifyEntryContactsMethod =
639               getModifyEntryContactsMethod =
640                   io.grpc.MethodDescriptor
641                       .<com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
642                           com.google.cloud.datacatalog.v1.Contacts>
643                           newBuilder()
644                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
645                       .setFullMethodName(
646                           generateFullMethodName(SERVICE_NAME, "ModifyEntryContacts"))
647                       .setSampledToLocalTracing(true)
648                       .setRequestMarshaller(
649                           io.grpc.protobuf.ProtoUtils.marshaller(
650                               com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest
651                                   .getDefaultInstance()))
652                       .setResponseMarshaller(
653                           io.grpc.protobuf.ProtoUtils.marshaller(
654                               com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()))
655                       .setSchemaDescriptor(
656                           new DataCatalogMethodDescriptorSupplier("ModifyEntryContacts"))
657                       .build();
658         }
659       }
660     }
661     return getModifyEntryContactsMethod;
662   }
663 
664   private static volatile io.grpc.MethodDescriptor<
665           com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
666           com.google.cloud.datacatalog.v1.TagTemplate>
667       getCreateTagTemplateMethod;
668 
669   @io.grpc.stub.annotations.RpcMethod(
670       fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplate",
671       requestType = com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class,
672       responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
673       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
674   public static io.grpc.MethodDescriptor<
675           com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
676           com.google.cloud.datacatalog.v1.TagTemplate>
getCreateTagTemplateMethod()677       getCreateTagTemplateMethod() {
678     io.grpc.MethodDescriptor<
679             com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
680             com.google.cloud.datacatalog.v1.TagTemplate>
681         getCreateTagTemplateMethod;
682     if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) {
683       synchronized (DataCatalogGrpc.class) {
684         if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) {
685           DataCatalogGrpc.getCreateTagTemplateMethod =
686               getCreateTagTemplateMethod =
687                   io.grpc.MethodDescriptor
688                       .<com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
689                           com.google.cloud.datacatalog.v1.TagTemplate>
690                           newBuilder()
691                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
692                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate"))
693                       .setSampledToLocalTracing(true)
694                       .setRequestMarshaller(
695                           io.grpc.protobuf.ProtoUtils.marshaller(
696                               com.google.cloud.datacatalog.v1.CreateTagTemplateRequest
697                                   .getDefaultInstance()))
698                       .setResponseMarshaller(
699                           io.grpc.protobuf.ProtoUtils.marshaller(
700                               com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
701                       .setSchemaDescriptor(
702                           new DataCatalogMethodDescriptorSupplier("CreateTagTemplate"))
703                       .build();
704         }
705       }
706     }
707     return getCreateTagTemplateMethod;
708   }
709 
710   private static volatile io.grpc.MethodDescriptor<
711           com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
712           com.google.cloud.datacatalog.v1.TagTemplate>
713       getGetTagTemplateMethod;
714 
715   @io.grpc.stub.annotations.RpcMethod(
716       fullMethodName = SERVICE_NAME + '/' + "GetTagTemplate",
717       requestType = com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class,
718       responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
719       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
720   public static io.grpc.MethodDescriptor<
721           com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
722           com.google.cloud.datacatalog.v1.TagTemplate>
getGetTagTemplateMethod()723       getGetTagTemplateMethod() {
724     io.grpc.MethodDescriptor<
725             com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
726             com.google.cloud.datacatalog.v1.TagTemplate>
727         getGetTagTemplateMethod;
728     if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) {
729       synchronized (DataCatalogGrpc.class) {
730         if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) {
731           DataCatalogGrpc.getGetTagTemplateMethod =
732               getGetTagTemplateMethod =
733                   io.grpc.MethodDescriptor
734                       .<com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
735                           com.google.cloud.datacatalog.v1.TagTemplate>
736                           newBuilder()
737                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
738                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate"))
739                       .setSampledToLocalTracing(true)
740                       .setRequestMarshaller(
741                           io.grpc.protobuf.ProtoUtils.marshaller(
742                               com.google.cloud.datacatalog.v1.GetTagTemplateRequest
743                                   .getDefaultInstance()))
744                       .setResponseMarshaller(
745                           io.grpc.protobuf.ProtoUtils.marshaller(
746                               com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
747                       .setSchemaDescriptor(
748                           new DataCatalogMethodDescriptorSupplier("GetTagTemplate"))
749                       .build();
750         }
751       }
752     }
753     return getGetTagTemplateMethod;
754   }
755 
756   private static volatile io.grpc.MethodDescriptor<
757           com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
758           com.google.cloud.datacatalog.v1.TagTemplate>
759       getUpdateTagTemplateMethod;
760 
761   @io.grpc.stub.annotations.RpcMethod(
762       fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplate",
763       requestType = com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class,
764       responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
765       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
766   public static io.grpc.MethodDescriptor<
767           com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
768           com.google.cloud.datacatalog.v1.TagTemplate>
getUpdateTagTemplateMethod()769       getUpdateTagTemplateMethod() {
770     io.grpc.MethodDescriptor<
771             com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
772             com.google.cloud.datacatalog.v1.TagTemplate>
773         getUpdateTagTemplateMethod;
774     if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) {
775       synchronized (DataCatalogGrpc.class) {
776         if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) {
777           DataCatalogGrpc.getUpdateTagTemplateMethod =
778               getUpdateTagTemplateMethod =
779                   io.grpc.MethodDescriptor
780                       .<com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
781                           com.google.cloud.datacatalog.v1.TagTemplate>
782                           newBuilder()
783                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
784                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate"))
785                       .setSampledToLocalTracing(true)
786                       .setRequestMarshaller(
787                           io.grpc.protobuf.ProtoUtils.marshaller(
788                               com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest
789                                   .getDefaultInstance()))
790                       .setResponseMarshaller(
791                           io.grpc.protobuf.ProtoUtils.marshaller(
792                               com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
793                       .setSchemaDescriptor(
794                           new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate"))
795                       .build();
796         }
797       }
798     }
799     return getUpdateTagTemplateMethod;
800   }
801 
802   private static volatile io.grpc.MethodDescriptor<
803           com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
804       getDeleteTagTemplateMethod;
805 
806   @io.grpc.stub.annotations.RpcMethod(
807       fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplate",
808       requestType = com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class,
809       responseType = com.google.protobuf.Empty.class,
810       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
811   public static io.grpc.MethodDescriptor<
812           com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
getDeleteTagTemplateMethod()813       getDeleteTagTemplateMethod() {
814     io.grpc.MethodDescriptor<
815             com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
816         getDeleteTagTemplateMethod;
817     if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) {
818       synchronized (DataCatalogGrpc.class) {
819         if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) {
820           DataCatalogGrpc.getDeleteTagTemplateMethod =
821               getDeleteTagTemplateMethod =
822                   io.grpc.MethodDescriptor
823                       .<com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest,
824                           com.google.protobuf.Empty>
825                           newBuilder()
826                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
827                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate"))
828                       .setSampledToLocalTracing(true)
829                       .setRequestMarshaller(
830                           io.grpc.protobuf.ProtoUtils.marshaller(
831                               com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest
832                                   .getDefaultInstance()))
833                       .setResponseMarshaller(
834                           io.grpc.protobuf.ProtoUtils.marshaller(
835                               com.google.protobuf.Empty.getDefaultInstance()))
836                       .setSchemaDescriptor(
837                           new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate"))
838                       .build();
839         }
840       }
841     }
842     return getDeleteTagTemplateMethod;
843   }
844 
845   private static volatile io.grpc.MethodDescriptor<
846           com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
847           com.google.cloud.datacatalog.v1.TagTemplateField>
848       getCreateTagTemplateFieldMethod;
849 
850   @io.grpc.stub.annotations.RpcMethod(
851       fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplateField",
852       requestType = com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class,
853       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
854       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
855   public static io.grpc.MethodDescriptor<
856           com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
857           com.google.cloud.datacatalog.v1.TagTemplateField>
getCreateTagTemplateFieldMethod()858       getCreateTagTemplateFieldMethod() {
859     io.grpc.MethodDescriptor<
860             com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
861             com.google.cloud.datacatalog.v1.TagTemplateField>
862         getCreateTagTemplateFieldMethod;
863     if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod)
864         == null) {
865       synchronized (DataCatalogGrpc.class) {
866         if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod)
867             == null) {
868           DataCatalogGrpc.getCreateTagTemplateFieldMethod =
869               getCreateTagTemplateFieldMethod =
870                   io.grpc.MethodDescriptor
871                       .<com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
872                           com.google.cloud.datacatalog.v1.TagTemplateField>
873                           newBuilder()
874                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
875                       .setFullMethodName(
876                           generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField"))
877                       .setSampledToLocalTracing(true)
878                       .setRequestMarshaller(
879                           io.grpc.protobuf.ProtoUtils.marshaller(
880                               com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest
881                                   .getDefaultInstance()))
882                       .setResponseMarshaller(
883                           io.grpc.protobuf.ProtoUtils.marshaller(
884                               com.google.cloud.datacatalog.v1.TagTemplateField
885                                   .getDefaultInstance()))
886                       .setSchemaDescriptor(
887                           new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField"))
888                       .build();
889         }
890       }
891     }
892     return getCreateTagTemplateFieldMethod;
893   }
894 
895   private static volatile io.grpc.MethodDescriptor<
896           com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
897           com.google.cloud.datacatalog.v1.TagTemplateField>
898       getUpdateTagTemplateFieldMethod;
899 
900   @io.grpc.stub.annotations.RpcMethod(
901       fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplateField",
902       requestType = com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class,
903       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
904       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
905   public static io.grpc.MethodDescriptor<
906           com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
907           com.google.cloud.datacatalog.v1.TagTemplateField>
getUpdateTagTemplateFieldMethod()908       getUpdateTagTemplateFieldMethod() {
909     io.grpc.MethodDescriptor<
910             com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
911             com.google.cloud.datacatalog.v1.TagTemplateField>
912         getUpdateTagTemplateFieldMethod;
913     if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod)
914         == null) {
915       synchronized (DataCatalogGrpc.class) {
916         if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod)
917             == null) {
918           DataCatalogGrpc.getUpdateTagTemplateFieldMethod =
919               getUpdateTagTemplateFieldMethod =
920                   io.grpc.MethodDescriptor
921                       .<com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
922                           com.google.cloud.datacatalog.v1.TagTemplateField>
923                           newBuilder()
924                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
925                       .setFullMethodName(
926                           generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField"))
927                       .setSampledToLocalTracing(true)
928                       .setRequestMarshaller(
929                           io.grpc.protobuf.ProtoUtils.marshaller(
930                               com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest
931                                   .getDefaultInstance()))
932                       .setResponseMarshaller(
933                           io.grpc.protobuf.ProtoUtils.marshaller(
934                               com.google.cloud.datacatalog.v1.TagTemplateField
935                                   .getDefaultInstance()))
936                       .setSchemaDescriptor(
937                           new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField"))
938                       .build();
939         }
940       }
941     }
942     return getUpdateTagTemplateFieldMethod;
943   }
944 
945   private static volatile io.grpc.MethodDescriptor<
946           com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
947           com.google.cloud.datacatalog.v1.TagTemplateField>
948       getRenameTagTemplateFieldMethod;
949 
950   @io.grpc.stub.annotations.RpcMethod(
951       fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateField",
952       requestType = com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class,
953       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
954       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
955   public static io.grpc.MethodDescriptor<
956           com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
957           com.google.cloud.datacatalog.v1.TagTemplateField>
getRenameTagTemplateFieldMethod()958       getRenameTagTemplateFieldMethod() {
959     io.grpc.MethodDescriptor<
960             com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
961             com.google.cloud.datacatalog.v1.TagTemplateField>
962         getRenameTagTemplateFieldMethod;
963     if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod)
964         == null) {
965       synchronized (DataCatalogGrpc.class) {
966         if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod)
967             == null) {
968           DataCatalogGrpc.getRenameTagTemplateFieldMethod =
969               getRenameTagTemplateFieldMethod =
970                   io.grpc.MethodDescriptor
971                       .<com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
972                           com.google.cloud.datacatalog.v1.TagTemplateField>
973                           newBuilder()
974                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
975                       .setFullMethodName(
976                           generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField"))
977                       .setSampledToLocalTracing(true)
978                       .setRequestMarshaller(
979                           io.grpc.protobuf.ProtoUtils.marshaller(
980                               com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest
981                                   .getDefaultInstance()))
982                       .setResponseMarshaller(
983                           io.grpc.protobuf.ProtoUtils.marshaller(
984                               com.google.cloud.datacatalog.v1.TagTemplateField
985                                   .getDefaultInstance()))
986                       .setSchemaDescriptor(
987                           new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField"))
988                       .build();
989         }
990       }
991     }
992     return getRenameTagTemplateFieldMethod;
993   }
994 
995   private static volatile io.grpc.MethodDescriptor<
996           com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
997           com.google.cloud.datacatalog.v1.TagTemplateField>
998       getRenameTagTemplateFieldEnumValueMethod;
999 
1000   @io.grpc.stub.annotations.RpcMethod(
1001       fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateFieldEnumValue",
1002       requestType = com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class,
1003       responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
1004       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1005   public static io.grpc.MethodDescriptor<
1006           com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
1007           com.google.cloud.datacatalog.v1.TagTemplateField>
getRenameTagTemplateFieldEnumValueMethod()1008       getRenameTagTemplateFieldEnumValueMethod() {
1009     io.grpc.MethodDescriptor<
1010             com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
1011             com.google.cloud.datacatalog.v1.TagTemplateField>
1012         getRenameTagTemplateFieldEnumValueMethod;
1013     if ((getRenameTagTemplateFieldEnumValueMethod =
1014             DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod)
1015         == null) {
1016       synchronized (DataCatalogGrpc.class) {
1017         if ((getRenameTagTemplateFieldEnumValueMethod =
1018                 DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod)
1019             == null) {
1020           DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod =
1021               getRenameTagTemplateFieldEnumValueMethod =
1022                   io.grpc.MethodDescriptor
1023                       .<com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
1024                           com.google.cloud.datacatalog.v1.TagTemplateField>
1025                           newBuilder()
1026                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1027                       .setFullMethodName(
1028                           generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue"))
1029                       .setSampledToLocalTracing(true)
1030                       .setRequestMarshaller(
1031                           io.grpc.protobuf.ProtoUtils.marshaller(
1032                               com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
1033                                   .getDefaultInstance()))
1034                       .setResponseMarshaller(
1035                           io.grpc.protobuf.ProtoUtils.marshaller(
1036                               com.google.cloud.datacatalog.v1.TagTemplateField
1037                                   .getDefaultInstance()))
1038                       .setSchemaDescriptor(
1039                           new DataCatalogMethodDescriptorSupplier(
1040                               "RenameTagTemplateFieldEnumValue"))
1041                       .build();
1042         }
1043       }
1044     }
1045     return getRenameTagTemplateFieldEnumValueMethod;
1046   }
1047 
1048   private static volatile io.grpc.MethodDescriptor<
1049           com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, com.google.protobuf.Empty>
1050       getDeleteTagTemplateFieldMethod;
1051 
1052   @io.grpc.stub.annotations.RpcMethod(
1053       fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplateField",
1054       requestType = com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class,
1055       responseType = com.google.protobuf.Empty.class,
1056       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1057   public static io.grpc.MethodDescriptor<
1058           com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, com.google.protobuf.Empty>
getDeleteTagTemplateFieldMethod()1059       getDeleteTagTemplateFieldMethod() {
1060     io.grpc.MethodDescriptor<
1061             com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
1062             com.google.protobuf.Empty>
1063         getDeleteTagTemplateFieldMethod;
1064     if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod)
1065         == null) {
1066       synchronized (DataCatalogGrpc.class) {
1067         if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod)
1068             == null) {
1069           DataCatalogGrpc.getDeleteTagTemplateFieldMethod =
1070               getDeleteTagTemplateFieldMethod =
1071                   io.grpc.MethodDescriptor
1072                       .<com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
1073                           com.google.protobuf.Empty>
1074                           newBuilder()
1075                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1076                       .setFullMethodName(
1077                           generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField"))
1078                       .setSampledToLocalTracing(true)
1079                       .setRequestMarshaller(
1080                           io.grpc.protobuf.ProtoUtils.marshaller(
1081                               com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest
1082                                   .getDefaultInstance()))
1083                       .setResponseMarshaller(
1084                           io.grpc.protobuf.ProtoUtils.marshaller(
1085                               com.google.protobuf.Empty.getDefaultInstance()))
1086                       .setSchemaDescriptor(
1087                           new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField"))
1088                       .build();
1089         }
1090       }
1091     }
1092     return getDeleteTagTemplateFieldMethod;
1093   }
1094 
1095   private static volatile io.grpc.MethodDescriptor<
1096           com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
1097       getCreateTagMethod;
1098 
1099   @io.grpc.stub.annotations.RpcMethod(
1100       fullMethodName = SERVICE_NAME + '/' + "CreateTag",
1101       requestType = com.google.cloud.datacatalog.v1.CreateTagRequest.class,
1102       responseType = com.google.cloud.datacatalog.v1.Tag.class,
1103       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1104   public static io.grpc.MethodDescriptor<
1105           com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
getCreateTagMethod()1106       getCreateTagMethod() {
1107     io.grpc.MethodDescriptor<
1108             com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
1109         getCreateTagMethod;
1110     if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) {
1111       synchronized (DataCatalogGrpc.class) {
1112         if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) {
1113           DataCatalogGrpc.getCreateTagMethod =
1114               getCreateTagMethod =
1115                   io.grpc.MethodDescriptor
1116                       .<com.google.cloud.datacatalog.v1.CreateTagRequest,
1117                           com.google.cloud.datacatalog.v1.Tag>
1118                           newBuilder()
1119                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1120                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag"))
1121                       .setSampledToLocalTracing(true)
1122                       .setRequestMarshaller(
1123                           io.grpc.protobuf.ProtoUtils.marshaller(
1124                               com.google.cloud.datacatalog.v1.CreateTagRequest
1125                                   .getDefaultInstance()))
1126                       .setResponseMarshaller(
1127                           io.grpc.protobuf.ProtoUtils.marshaller(
1128                               com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
1129                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag"))
1130                       .build();
1131         }
1132       }
1133     }
1134     return getCreateTagMethod;
1135   }
1136 
1137   private static volatile io.grpc.MethodDescriptor<
1138           com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
1139       getUpdateTagMethod;
1140 
1141   @io.grpc.stub.annotations.RpcMethod(
1142       fullMethodName = SERVICE_NAME + '/' + "UpdateTag",
1143       requestType = com.google.cloud.datacatalog.v1.UpdateTagRequest.class,
1144       responseType = com.google.cloud.datacatalog.v1.Tag.class,
1145       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1146   public static io.grpc.MethodDescriptor<
1147           com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
getUpdateTagMethod()1148       getUpdateTagMethod() {
1149     io.grpc.MethodDescriptor<
1150             com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
1151         getUpdateTagMethod;
1152     if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) {
1153       synchronized (DataCatalogGrpc.class) {
1154         if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) {
1155           DataCatalogGrpc.getUpdateTagMethod =
1156               getUpdateTagMethod =
1157                   io.grpc.MethodDescriptor
1158                       .<com.google.cloud.datacatalog.v1.UpdateTagRequest,
1159                           com.google.cloud.datacatalog.v1.Tag>
1160                           newBuilder()
1161                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1162                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag"))
1163                       .setSampledToLocalTracing(true)
1164                       .setRequestMarshaller(
1165                           io.grpc.protobuf.ProtoUtils.marshaller(
1166                               com.google.cloud.datacatalog.v1.UpdateTagRequest
1167                                   .getDefaultInstance()))
1168                       .setResponseMarshaller(
1169                           io.grpc.protobuf.ProtoUtils.marshaller(
1170                               com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
1171                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag"))
1172                       .build();
1173         }
1174       }
1175     }
1176     return getUpdateTagMethod;
1177   }
1178 
1179   private static volatile io.grpc.MethodDescriptor<
1180           com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
1181       getDeleteTagMethod;
1182 
1183   @io.grpc.stub.annotations.RpcMethod(
1184       fullMethodName = SERVICE_NAME + '/' + "DeleteTag",
1185       requestType = com.google.cloud.datacatalog.v1.DeleteTagRequest.class,
1186       responseType = com.google.protobuf.Empty.class,
1187       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1188   public static io.grpc.MethodDescriptor<
1189           com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
getDeleteTagMethod()1190       getDeleteTagMethod() {
1191     io.grpc.MethodDescriptor<
1192             com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
1193         getDeleteTagMethod;
1194     if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) {
1195       synchronized (DataCatalogGrpc.class) {
1196         if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) {
1197           DataCatalogGrpc.getDeleteTagMethod =
1198               getDeleteTagMethod =
1199                   io.grpc.MethodDescriptor
1200                       .<com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
1201                           newBuilder()
1202                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1203                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag"))
1204                       .setSampledToLocalTracing(true)
1205                       .setRequestMarshaller(
1206                           io.grpc.protobuf.ProtoUtils.marshaller(
1207                               com.google.cloud.datacatalog.v1.DeleteTagRequest
1208                                   .getDefaultInstance()))
1209                       .setResponseMarshaller(
1210                           io.grpc.protobuf.ProtoUtils.marshaller(
1211                               com.google.protobuf.Empty.getDefaultInstance()))
1212                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag"))
1213                       .build();
1214         }
1215       }
1216     }
1217     return getDeleteTagMethod;
1218   }
1219 
1220   private static volatile io.grpc.MethodDescriptor<
1221           com.google.cloud.datacatalog.v1.ListTagsRequest,
1222           com.google.cloud.datacatalog.v1.ListTagsResponse>
1223       getListTagsMethod;
1224 
1225   @io.grpc.stub.annotations.RpcMethod(
1226       fullMethodName = SERVICE_NAME + '/' + "ListTags",
1227       requestType = com.google.cloud.datacatalog.v1.ListTagsRequest.class,
1228       responseType = com.google.cloud.datacatalog.v1.ListTagsResponse.class,
1229       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1230   public static io.grpc.MethodDescriptor<
1231           com.google.cloud.datacatalog.v1.ListTagsRequest,
1232           com.google.cloud.datacatalog.v1.ListTagsResponse>
getListTagsMethod()1233       getListTagsMethod() {
1234     io.grpc.MethodDescriptor<
1235             com.google.cloud.datacatalog.v1.ListTagsRequest,
1236             com.google.cloud.datacatalog.v1.ListTagsResponse>
1237         getListTagsMethod;
1238     if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) {
1239       synchronized (DataCatalogGrpc.class) {
1240         if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) {
1241           DataCatalogGrpc.getListTagsMethod =
1242               getListTagsMethod =
1243                   io.grpc.MethodDescriptor
1244                       .<com.google.cloud.datacatalog.v1.ListTagsRequest,
1245                           com.google.cloud.datacatalog.v1.ListTagsResponse>
1246                           newBuilder()
1247                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1248                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags"))
1249                       .setSampledToLocalTracing(true)
1250                       .setRequestMarshaller(
1251                           io.grpc.protobuf.ProtoUtils.marshaller(
1252                               com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance()))
1253                       .setResponseMarshaller(
1254                           io.grpc.protobuf.ProtoUtils.marshaller(
1255                               com.google.cloud.datacatalog.v1.ListTagsResponse
1256                                   .getDefaultInstance()))
1257                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags"))
1258                       .build();
1259         }
1260       }
1261     }
1262     return getListTagsMethod;
1263   }
1264 
1265   private static volatile io.grpc.MethodDescriptor<
1266           com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
1267       getReconcileTagsMethod;
1268 
1269   @io.grpc.stub.annotations.RpcMethod(
1270       fullMethodName = SERVICE_NAME + '/' + "ReconcileTags",
1271       requestType = com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class,
1272       responseType = com.google.longrunning.Operation.class,
1273       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1274   public static io.grpc.MethodDescriptor<
1275           com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
getReconcileTagsMethod()1276       getReconcileTagsMethod() {
1277     io.grpc.MethodDescriptor<
1278             com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
1279         getReconcileTagsMethod;
1280     if ((getReconcileTagsMethod = DataCatalogGrpc.getReconcileTagsMethod) == null) {
1281       synchronized (DataCatalogGrpc.class) {
1282         if ((getReconcileTagsMethod = DataCatalogGrpc.getReconcileTagsMethod) == null) {
1283           DataCatalogGrpc.getReconcileTagsMethod =
1284               getReconcileTagsMethod =
1285                   io.grpc.MethodDescriptor
1286                       .<com.google.cloud.datacatalog.v1.ReconcileTagsRequest,
1287                           com.google.longrunning.Operation>
1288                           newBuilder()
1289                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1290                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReconcileTags"))
1291                       .setSampledToLocalTracing(true)
1292                       .setRequestMarshaller(
1293                           io.grpc.protobuf.ProtoUtils.marshaller(
1294                               com.google.cloud.datacatalog.v1.ReconcileTagsRequest
1295                                   .getDefaultInstance()))
1296                       .setResponseMarshaller(
1297                           io.grpc.protobuf.ProtoUtils.marshaller(
1298                               com.google.longrunning.Operation.getDefaultInstance()))
1299                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ReconcileTags"))
1300                       .build();
1301         }
1302       }
1303     }
1304     return getReconcileTagsMethod;
1305   }
1306 
1307   private static volatile io.grpc.MethodDescriptor<
1308           com.google.cloud.datacatalog.v1.StarEntryRequest,
1309           com.google.cloud.datacatalog.v1.StarEntryResponse>
1310       getStarEntryMethod;
1311 
1312   @io.grpc.stub.annotations.RpcMethod(
1313       fullMethodName = SERVICE_NAME + '/' + "StarEntry",
1314       requestType = com.google.cloud.datacatalog.v1.StarEntryRequest.class,
1315       responseType = com.google.cloud.datacatalog.v1.StarEntryResponse.class,
1316       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1317   public static io.grpc.MethodDescriptor<
1318           com.google.cloud.datacatalog.v1.StarEntryRequest,
1319           com.google.cloud.datacatalog.v1.StarEntryResponse>
getStarEntryMethod()1320       getStarEntryMethod() {
1321     io.grpc.MethodDescriptor<
1322             com.google.cloud.datacatalog.v1.StarEntryRequest,
1323             com.google.cloud.datacatalog.v1.StarEntryResponse>
1324         getStarEntryMethod;
1325     if ((getStarEntryMethod = DataCatalogGrpc.getStarEntryMethod) == null) {
1326       synchronized (DataCatalogGrpc.class) {
1327         if ((getStarEntryMethod = DataCatalogGrpc.getStarEntryMethod) == null) {
1328           DataCatalogGrpc.getStarEntryMethod =
1329               getStarEntryMethod =
1330                   io.grpc.MethodDescriptor
1331                       .<com.google.cloud.datacatalog.v1.StarEntryRequest,
1332                           com.google.cloud.datacatalog.v1.StarEntryResponse>
1333                           newBuilder()
1334                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1335                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StarEntry"))
1336                       .setSampledToLocalTracing(true)
1337                       .setRequestMarshaller(
1338                           io.grpc.protobuf.ProtoUtils.marshaller(
1339                               com.google.cloud.datacatalog.v1.StarEntryRequest
1340                                   .getDefaultInstance()))
1341                       .setResponseMarshaller(
1342                           io.grpc.protobuf.ProtoUtils.marshaller(
1343                               com.google.cloud.datacatalog.v1.StarEntryResponse
1344                                   .getDefaultInstance()))
1345                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("StarEntry"))
1346                       .build();
1347         }
1348       }
1349     }
1350     return getStarEntryMethod;
1351   }
1352 
1353   private static volatile io.grpc.MethodDescriptor<
1354           com.google.cloud.datacatalog.v1.UnstarEntryRequest,
1355           com.google.cloud.datacatalog.v1.UnstarEntryResponse>
1356       getUnstarEntryMethod;
1357 
1358   @io.grpc.stub.annotations.RpcMethod(
1359       fullMethodName = SERVICE_NAME + '/' + "UnstarEntry",
1360       requestType = com.google.cloud.datacatalog.v1.UnstarEntryRequest.class,
1361       responseType = com.google.cloud.datacatalog.v1.UnstarEntryResponse.class,
1362       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1363   public static io.grpc.MethodDescriptor<
1364           com.google.cloud.datacatalog.v1.UnstarEntryRequest,
1365           com.google.cloud.datacatalog.v1.UnstarEntryResponse>
getUnstarEntryMethod()1366       getUnstarEntryMethod() {
1367     io.grpc.MethodDescriptor<
1368             com.google.cloud.datacatalog.v1.UnstarEntryRequest,
1369             com.google.cloud.datacatalog.v1.UnstarEntryResponse>
1370         getUnstarEntryMethod;
1371     if ((getUnstarEntryMethod = DataCatalogGrpc.getUnstarEntryMethod) == null) {
1372       synchronized (DataCatalogGrpc.class) {
1373         if ((getUnstarEntryMethod = DataCatalogGrpc.getUnstarEntryMethod) == null) {
1374           DataCatalogGrpc.getUnstarEntryMethod =
1375               getUnstarEntryMethod =
1376                   io.grpc.MethodDescriptor
1377                       .<com.google.cloud.datacatalog.v1.UnstarEntryRequest,
1378                           com.google.cloud.datacatalog.v1.UnstarEntryResponse>
1379                           newBuilder()
1380                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1381                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnstarEntry"))
1382                       .setSampledToLocalTracing(true)
1383                       .setRequestMarshaller(
1384                           io.grpc.protobuf.ProtoUtils.marshaller(
1385                               com.google.cloud.datacatalog.v1.UnstarEntryRequest
1386                                   .getDefaultInstance()))
1387                       .setResponseMarshaller(
1388                           io.grpc.protobuf.ProtoUtils.marshaller(
1389                               com.google.cloud.datacatalog.v1.UnstarEntryResponse
1390                                   .getDefaultInstance()))
1391                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UnstarEntry"))
1392                       .build();
1393         }
1394       }
1395     }
1396     return getUnstarEntryMethod;
1397   }
1398 
1399   private static volatile io.grpc.MethodDescriptor<
1400           com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
1401       getSetIamPolicyMethod;
1402 
1403   @io.grpc.stub.annotations.RpcMethod(
1404       fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy",
1405       requestType = com.google.iam.v1.SetIamPolicyRequest.class,
1406       responseType = com.google.iam.v1.Policy.class,
1407       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1408   public static io.grpc.MethodDescriptor<
1409           com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
getSetIamPolicyMethod()1410       getSetIamPolicyMethod() {
1411     io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
1412         getSetIamPolicyMethod;
1413     if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) {
1414       synchronized (DataCatalogGrpc.class) {
1415         if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) {
1416           DataCatalogGrpc.getSetIamPolicyMethod =
1417               getSetIamPolicyMethod =
1418                   io.grpc.MethodDescriptor
1419                       .<com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>newBuilder()
1420                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1421                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
1422                       .setSampledToLocalTracing(true)
1423                       .setRequestMarshaller(
1424                           io.grpc.protobuf.ProtoUtils.marshaller(
1425                               com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
1426                       .setResponseMarshaller(
1427                           io.grpc.protobuf.ProtoUtils.marshaller(
1428                               com.google.iam.v1.Policy.getDefaultInstance()))
1429                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SetIamPolicy"))
1430                       .build();
1431         }
1432       }
1433     }
1434     return getSetIamPolicyMethod;
1435   }
1436 
1437   private static volatile io.grpc.MethodDescriptor<
1438           com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
1439       getGetIamPolicyMethod;
1440 
1441   @io.grpc.stub.annotations.RpcMethod(
1442       fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy",
1443       requestType = com.google.iam.v1.GetIamPolicyRequest.class,
1444       responseType = com.google.iam.v1.Policy.class,
1445       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1446   public static io.grpc.MethodDescriptor<
1447           com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
getGetIamPolicyMethod()1448       getGetIamPolicyMethod() {
1449     io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
1450         getGetIamPolicyMethod;
1451     if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) {
1452       synchronized (DataCatalogGrpc.class) {
1453         if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) {
1454           DataCatalogGrpc.getGetIamPolicyMethod =
1455               getGetIamPolicyMethod =
1456                   io.grpc.MethodDescriptor
1457                       .<com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>newBuilder()
1458                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1459                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
1460                       .setSampledToLocalTracing(true)
1461                       .setRequestMarshaller(
1462                           io.grpc.protobuf.ProtoUtils.marshaller(
1463                               com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
1464                       .setResponseMarshaller(
1465                           io.grpc.protobuf.ProtoUtils.marshaller(
1466                               com.google.iam.v1.Policy.getDefaultInstance()))
1467                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetIamPolicy"))
1468                       .build();
1469         }
1470       }
1471     }
1472     return getGetIamPolicyMethod;
1473   }
1474 
1475   private static volatile io.grpc.MethodDescriptor<
1476           com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
1477       getTestIamPermissionsMethod;
1478 
1479   @io.grpc.stub.annotations.RpcMethod(
1480       fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions",
1481       requestType = com.google.iam.v1.TestIamPermissionsRequest.class,
1482       responseType = com.google.iam.v1.TestIamPermissionsResponse.class,
1483       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1484   public static io.grpc.MethodDescriptor<
1485           com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
getTestIamPermissionsMethod()1486       getTestIamPermissionsMethod() {
1487     io.grpc.MethodDescriptor<
1488             com.google.iam.v1.TestIamPermissionsRequest,
1489             com.google.iam.v1.TestIamPermissionsResponse>
1490         getTestIamPermissionsMethod;
1491     if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) {
1492       synchronized (DataCatalogGrpc.class) {
1493         if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) {
1494           DataCatalogGrpc.getTestIamPermissionsMethod =
1495               getTestIamPermissionsMethod =
1496                   io.grpc.MethodDescriptor
1497                       .<com.google.iam.v1.TestIamPermissionsRequest,
1498                           com.google.iam.v1.TestIamPermissionsResponse>
1499                           newBuilder()
1500                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1501                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
1502                       .setSampledToLocalTracing(true)
1503                       .setRequestMarshaller(
1504                           io.grpc.protobuf.ProtoUtils.marshaller(
1505                               com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
1506                       .setResponseMarshaller(
1507                           io.grpc.protobuf.ProtoUtils.marshaller(
1508                               com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
1509                       .setSchemaDescriptor(
1510                           new DataCatalogMethodDescriptorSupplier("TestIamPermissions"))
1511                       .build();
1512         }
1513       }
1514     }
1515     return getTestIamPermissionsMethod;
1516   }
1517 
1518   private static volatile io.grpc.MethodDescriptor<
1519           com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
1520       getImportEntriesMethod;
1521 
1522   @io.grpc.stub.annotations.RpcMethod(
1523       fullMethodName = SERVICE_NAME + '/' + "ImportEntries",
1524       requestType = com.google.cloud.datacatalog.v1.ImportEntriesRequest.class,
1525       responseType = com.google.longrunning.Operation.class,
1526       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1527   public static io.grpc.MethodDescriptor<
1528           com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
getImportEntriesMethod()1529       getImportEntriesMethod() {
1530     io.grpc.MethodDescriptor<
1531             com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
1532         getImportEntriesMethod;
1533     if ((getImportEntriesMethod = DataCatalogGrpc.getImportEntriesMethod) == null) {
1534       synchronized (DataCatalogGrpc.class) {
1535         if ((getImportEntriesMethod = DataCatalogGrpc.getImportEntriesMethod) == null) {
1536           DataCatalogGrpc.getImportEntriesMethod =
1537               getImportEntriesMethod =
1538                   io.grpc.MethodDescriptor
1539                       .<com.google.cloud.datacatalog.v1.ImportEntriesRequest,
1540                           com.google.longrunning.Operation>
1541                           newBuilder()
1542                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1543                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportEntries"))
1544                       .setSampledToLocalTracing(true)
1545                       .setRequestMarshaller(
1546                           io.grpc.protobuf.ProtoUtils.marshaller(
1547                               com.google.cloud.datacatalog.v1.ImportEntriesRequest
1548                                   .getDefaultInstance()))
1549                       .setResponseMarshaller(
1550                           io.grpc.protobuf.ProtoUtils.marshaller(
1551                               com.google.longrunning.Operation.getDefaultInstance()))
1552                       .setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ImportEntries"))
1553                       .build();
1554         }
1555       }
1556     }
1557     return getImportEntriesMethod;
1558   }
1559 
1560   /** Creates a new async stub that supports all call types for the service */
newStub(io.grpc.Channel channel)1561   public static DataCatalogStub newStub(io.grpc.Channel channel) {
1562     io.grpc.stub.AbstractStub.StubFactory<DataCatalogStub> factory =
1563         new io.grpc.stub.AbstractStub.StubFactory<DataCatalogStub>() {
1564           @java.lang.Override
1565           public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
1566             return new DataCatalogStub(channel, callOptions);
1567           }
1568         };
1569     return DataCatalogStub.newStub(factory, channel);
1570   }
1571 
1572   /**
1573    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
1574    */
newBlockingStub(io.grpc.Channel channel)1575   public static DataCatalogBlockingStub newBlockingStub(io.grpc.Channel channel) {
1576     io.grpc.stub.AbstractStub.StubFactory<DataCatalogBlockingStub> factory =
1577         new io.grpc.stub.AbstractStub.StubFactory<DataCatalogBlockingStub>() {
1578           @java.lang.Override
1579           public DataCatalogBlockingStub newStub(
1580               io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
1581             return new DataCatalogBlockingStub(channel, callOptions);
1582           }
1583         };
1584     return DataCatalogBlockingStub.newStub(factory, channel);
1585   }
1586 
1587   /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
newFutureStub(io.grpc.Channel channel)1588   public static DataCatalogFutureStub newFutureStub(io.grpc.Channel channel) {
1589     io.grpc.stub.AbstractStub.StubFactory<DataCatalogFutureStub> factory =
1590         new io.grpc.stub.AbstractStub.StubFactory<DataCatalogFutureStub>() {
1591           @java.lang.Override
1592           public DataCatalogFutureStub newStub(
1593               io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
1594             return new DataCatalogFutureStub(channel, callOptions);
1595           }
1596         };
1597     return DataCatalogFutureStub.newStub(factory, channel);
1598   }
1599 
1600   /**
1601    *
1602    *
1603    * <pre>
1604    * Data Catalog API service allows you to discover, understand, and manage
1605    * your data.
1606    * </pre>
1607    */
1608   public interface AsyncService {
1609 
1610     /**
1611      *
1612      *
1613      * <pre>
1614      * Searches Data Catalog for multiple resources like entries and tags that
1615      * match a query.
1616      * This is a [Custom Method]
1617      * (https://cloud.google.com/apis/design/custom_methods) that doesn't return
1618      * all information on a resource, only its ID and high level fields. To get
1619      * more information, you can subsequently call specific get methods.
1620      * Note: Data Catalog search queries don't guarantee full recall. Results
1621      * that match your query might not be returned, even in subsequent
1622      * result pages. Additionally, returned (and not returned) results can vary
1623      * if you repeat search queries.
1624      * For more information, see [Data Catalog search syntax]
1625      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
1626      * </pre>
1627      */
searchCatalog( com.google.cloud.datacatalog.v1.SearchCatalogRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.SearchCatalogResponse> responseObserver)1628     default void searchCatalog(
1629         com.google.cloud.datacatalog.v1.SearchCatalogRequest request,
1630         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.SearchCatalogResponse>
1631             responseObserver) {
1632       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1633           getSearchCatalogMethod(), responseObserver);
1634     }
1635 
1636     /**
1637      *
1638      *
1639      * <pre>
1640      * Creates an entry group.
1641      * An entry group contains logically related entries together with [Cloud
1642      * Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
1643      * These policies specify users who can create, edit, and view entries
1644      * within entry groups.
1645      * Data Catalog automatically creates entry groups with names that start with
1646      * the `&#64;` symbol for the following resources:
1647      * * BigQuery entries (`&#64;bigquery`)
1648      * * Pub/Sub topics (`&#64;pubsub`)
1649      * * Dataproc Metastore services (`&#64;dataproc_metastore_{SERVICE_NAME_HASH}`)
1650      * You can create your own entry groups for Cloud Storage fileset entries
1651      * and custom entries together with the corresponding IAM policies.
1652      * User-created entry groups can't contain the `&#64;` symbol, it is reserved
1653      * for automatically created groups.
1654      * Entry groups, like entries, can be searched.
1655      * A maximum of 10,000 entry groups may be created per organization across all
1656      * locations.
1657      * You must enable the Data Catalog API in the project identified by
1658      * the `parent` parameter. For more information, see [Data Catalog resource
1659      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1660      * </pre>
1661      */
createEntryGroup( com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver)1662     default void createEntryGroup(
1663         com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request,
1664         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver) {
1665       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1666           getCreateEntryGroupMethod(), responseObserver);
1667     }
1668 
1669     /**
1670      *
1671      *
1672      * <pre>
1673      * Gets an entry group.
1674      * </pre>
1675      */
getEntryGroup( com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver)1676     default void getEntryGroup(
1677         com.google.cloud.datacatalog.v1.GetEntryGroupRequest request,
1678         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver) {
1679       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1680           getGetEntryGroupMethod(), responseObserver);
1681     }
1682 
1683     /**
1684      *
1685      *
1686      * <pre>
1687      * Updates an entry group.
1688      * You must enable the Data Catalog API in the project identified by
1689      * the `entry_group.name` parameter. For more information, see [Data Catalog
1690      * resource
1691      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1692      * </pre>
1693      */
updateEntryGroup( com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver)1694     default void updateEntryGroup(
1695         com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request,
1696         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver) {
1697       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1698           getUpdateEntryGroupMethod(), responseObserver);
1699     }
1700 
1701     /**
1702      *
1703      *
1704      * <pre>
1705      * Deletes an entry group.
1706      * You must enable the Data Catalog API in the project
1707      * identified by the `name` parameter. For more information, see [Data Catalog
1708      * resource
1709      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1710      * </pre>
1711      */
deleteEntryGroup( com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)1712     default void deleteEntryGroup(
1713         com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request,
1714         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
1715       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1716           getDeleteEntryGroupMethod(), responseObserver);
1717     }
1718 
1719     /**
1720      *
1721      *
1722      * <pre>
1723      * Lists entry groups.
1724      * </pre>
1725      */
listEntryGroups( com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntryGroupsResponse> responseObserver)1726     default void listEntryGroups(
1727         com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request,
1728         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
1729             responseObserver) {
1730       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1731           getListEntryGroupsMethod(), responseObserver);
1732     }
1733 
1734     /**
1735      *
1736      *
1737      * <pre>
1738      * Creates an entry.
1739      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
1740      * or custom types. Data Catalog automatically creates entries with other
1741      * types during metadata ingestion from integrated systems.
1742      * You must enable the Data Catalog API in the project identified by
1743      * the `parent` parameter. For more information, see [Data Catalog resource
1744      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1745      * An entry group can have a maximum of 100,000 entries.
1746      * </pre>
1747      */
createEntry( com.google.cloud.datacatalog.v1.CreateEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver)1748     default void createEntry(
1749         com.google.cloud.datacatalog.v1.CreateEntryRequest request,
1750         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver) {
1751       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1752           getCreateEntryMethod(), responseObserver);
1753     }
1754 
1755     /**
1756      *
1757      *
1758      * <pre>
1759      * Updates an existing entry.
1760      * You must enable the Data Catalog API in the project identified by
1761      * the `entry.name` parameter. For more information, see [Data Catalog
1762      * resource
1763      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1764      * </pre>
1765      */
updateEntry( com.google.cloud.datacatalog.v1.UpdateEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver)1766     default void updateEntry(
1767         com.google.cloud.datacatalog.v1.UpdateEntryRequest request,
1768         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver) {
1769       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1770           getUpdateEntryMethod(), responseObserver);
1771     }
1772 
1773     /**
1774      *
1775      *
1776      * <pre>
1777      * Deletes an existing entry.
1778      * You can delete only the entries created by the
1779      * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
1780      * method.
1781      * You must enable the Data Catalog API in the project identified by
1782      * the `name` parameter. For more information, see [Data Catalog
1783      * resource
1784      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1785      * </pre>
1786      */
deleteEntry( com.google.cloud.datacatalog.v1.DeleteEntryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)1787     default void deleteEntry(
1788         com.google.cloud.datacatalog.v1.DeleteEntryRequest request,
1789         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
1790       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1791           getDeleteEntryMethod(), responseObserver);
1792     }
1793 
1794     /**
1795      *
1796      *
1797      * <pre>
1798      * Gets an entry.
1799      * </pre>
1800      */
getEntry( com.google.cloud.datacatalog.v1.GetEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver)1801     default void getEntry(
1802         com.google.cloud.datacatalog.v1.GetEntryRequest request,
1803         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver) {
1804       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), responseObserver);
1805     }
1806 
1807     /**
1808      *
1809      *
1810      * <pre>
1811      * Gets an entry by its target resource name.
1812      * The resource name comes from the source Google Cloud Platform service.
1813      * </pre>
1814      */
lookupEntry( com.google.cloud.datacatalog.v1.LookupEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver)1815     default void lookupEntry(
1816         com.google.cloud.datacatalog.v1.LookupEntryRequest request,
1817         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver) {
1818       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1819           getLookupEntryMethod(), responseObserver);
1820     }
1821 
1822     /**
1823      *
1824      *
1825      * <pre>
1826      * Lists entries.
1827      * Note: Currently, this method can list only custom entries.
1828      * To get a list of both custom and automatically created entries, use
1829      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
1830      * </pre>
1831      */
listEntries( com.google.cloud.datacatalog.v1.ListEntriesRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntriesResponse> responseObserver)1832     default void listEntries(
1833         com.google.cloud.datacatalog.v1.ListEntriesRequest request,
1834         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntriesResponse>
1835             responseObserver) {
1836       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1837           getListEntriesMethod(), responseObserver);
1838     }
1839 
1840     /**
1841      *
1842      *
1843      * <pre>
1844      * Modifies entry overview, part of the business context of an
1845      * [Entry][google.cloud.datacatalog.v1.Entry].
1846      * To call this method, you must have the `datacatalog.entries.updateOverview`
1847      * IAM permission on the corresponding project.
1848      * </pre>
1849      */
modifyEntryOverview( com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryOverview> responseObserver)1850     default void modifyEntryOverview(
1851         com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request,
1852         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryOverview>
1853             responseObserver) {
1854       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1855           getModifyEntryOverviewMethod(), responseObserver);
1856     }
1857 
1858     /**
1859      *
1860      *
1861      * <pre>
1862      * Modifies contacts, part of the business context of an
1863      * [Entry][google.cloud.datacatalog.v1.Entry].
1864      * To call this method, you must have the `datacatalog.entries.updateContacts`
1865      * IAM permission on the corresponding project.
1866      * </pre>
1867      */
modifyEntryContacts( com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Contacts> responseObserver)1868     default void modifyEntryContacts(
1869         com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request,
1870         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Contacts> responseObserver) {
1871       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1872           getModifyEntryContactsMethod(), responseObserver);
1873     }
1874 
1875     /**
1876      *
1877      *
1878      * <pre>
1879      * Creates a tag template.
1880      * You must enable the Data Catalog API in the project identified by the
1881      * `parent` parameter.
1882      * For more information, see [Data Catalog resource project]
1883      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1884      * </pre>
1885      */
createTagTemplate( com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver)1886     default void createTagTemplate(
1887         com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request,
1888         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver) {
1889       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1890           getCreateTagTemplateMethod(), responseObserver);
1891     }
1892 
1893     /**
1894      *
1895      *
1896      * <pre>
1897      * Gets a tag template.
1898      * </pre>
1899      */
getTagTemplate( com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver)1900     default void getTagTemplate(
1901         com.google.cloud.datacatalog.v1.GetTagTemplateRequest request,
1902         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver) {
1903       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1904           getGetTagTemplateMethod(), responseObserver);
1905     }
1906 
1907     /**
1908      *
1909      *
1910      * <pre>
1911      * Updates a tag template.
1912      * You can't update template fields with this method. These fields are
1913      * separate resources with their own create, update, and delete methods.
1914      * You must enable the Data Catalog API in the project identified by
1915      * the `tag_template.name` parameter. For more information, see [Data Catalog
1916      * resource
1917      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1918      * </pre>
1919      */
updateTagTemplate( com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver)1920     default void updateTagTemplate(
1921         com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request,
1922         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver) {
1923       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1924           getUpdateTagTemplateMethod(), responseObserver);
1925     }
1926 
1927     /**
1928      *
1929      *
1930      * <pre>
1931      * Deletes a tag template and all tags that use it.
1932      * You must enable the Data Catalog API in the project identified by
1933      * the `name` parameter. For more information, see [Data Catalog resource
1934      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1935      * </pre>
1936      */
deleteTagTemplate( com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)1937     default void deleteTagTemplate(
1938         com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request,
1939         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
1940       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1941           getDeleteTagTemplateMethod(), responseObserver);
1942     }
1943 
1944     /**
1945      *
1946      *
1947      * <pre>
1948      * Creates a field in a tag template.
1949      * You must enable the Data Catalog API in the project identified by
1950      * the `parent` parameter. For more information, see [Data Catalog resource
1951      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1952      * </pre>
1953      */
createTagTemplateField( com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField> responseObserver)1954     default void createTagTemplateField(
1955         com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request,
1956         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>
1957             responseObserver) {
1958       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1959           getCreateTagTemplateFieldMethod(), responseObserver);
1960     }
1961 
1962     /**
1963      *
1964      *
1965      * <pre>
1966      * Updates a field in a tag template.
1967      * You can't update the field type with this method.
1968      * You must enable the Data Catalog API in the project
1969      * identified by the `name` parameter. For more information, see [Data Catalog
1970      * resource
1971      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1972      * </pre>
1973      */
updateTagTemplateField( com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField> responseObserver)1974     default void updateTagTemplateField(
1975         com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request,
1976         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>
1977             responseObserver) {
1978       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1979           getUpdateTagTemplateFieldMethod(), responseObserver);
1980     }
1981 
1982     /**
1983      *
1984      *
1985      * <pre>
1986      * Renames a field in a tag template.
1987      * You must enable the Data Catalog API in the project identified by the
1988      * `name` parameter. For more information, see [Data Catalog resource project]
1989      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
1990      * </pre>
1991      */
renameTagTemplateField( com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField> responseObserver)1992     default void renameTagTemplateField(
1993         com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request,
1994         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>
1995             responseObserver) {
1996       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1997           getRenameTagTemplateFieldMethod(), responseObserver);
1998     }
1999 
2000     /**
2001      *
2002      *
2003      * <pre>
2004      * Renames an enum value in a tag template.
2005      * Within a single enum field, enum values must be unique.
2006      * </pre>
2007      */
renameTagTemplateFieldEnumValue( com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField> responseObserver)2008     default void renameTagTemplateFieldEnumValue(
2009         com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request,
2010         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>
2011             responseObserver) {
2012       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2013           getRenameTagTemplateFieldEnumValueMethod(), responseObserver);
2014     }
2015 
2016     /**
2017      *
2018      *
2019      * <pre>
2020      * Deletes a field in a tag template and all uses of this field from the tags
2021      * based on this template.
2022      * You must enable the Data Catalog API in the project identified by
2023      * the `name` parameter. For more information, see [Data Catalog resource
2024      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2025      * </pre>
2026      */
deleteTagTemplateField( com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2027     default void deleteTagTemplateField(
2028         com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request,
2029         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2030       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2031           getDeleteTagTemplateFieldMethod(), responseObserver);
2032     }
2033 
2034     /**
2035      *
2036      *
2037      * <pre>
2038      * Creates a tag and assigns it to:
2039      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
2040      *   `projects.locations.entryGroups.entries.tags.create`.
2041      * * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
2042      *   name is `projects.locations.entryGroups.tags.create`.
2043      * Note: The project identified by the `parent` parameter for the [tag]
2044      * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
2045      * and the [tag template]
2046      * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
2047      * used to create the tag must be in the same organization.
2048      * </pre>
2049      */
createTag( com.google.cloud.datacatalog.v1.CreateTagRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag> responseObserver)2050     default void createTag(
2051         com.google.cloud.datacatalog.v1.CreateTagRequest request,
2052         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag> responseObserver) {
2053       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver);
2054     }
2055 
2056     /**
2057      *
2058      *
2059      * <pre>
2060      * Updates an existing tag.
2061      * </pre>
2062      */
updateTag( com.google.cloud.datacatalog.v1.UpdateTagRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag> responseObserver)2063     default void updateTag(
2064         com.google.cloud.datacatalog.v1.UpdateTagRequest request,
2065         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag> responseObserver) {
2066       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver);
2067     }
2068 
2069     /**
2070      *
2071      *
2072      * <pre>
2073      * Deletes a tag.
2074      * </pre>
2075      */
deleteTag( com.google.cloud.datacatalog.v1.DeleteTagRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2076     default void deleteTag(
2077         com.google.cloud.datacatalog.v1.DeleteTagRequest request,
2078         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2079       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver);
2080     }
2081 
2082     /**
2083      *
2084      *
2085      * <pre>
2086      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
2087      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
2088      * lowercased.
2089      * </pre>
2090      */
listTags( com.google.cloud.datacatalog.v1.ListTagsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListTagsResponse> responseObserver)2091     default void listTags(
2092         com.google.cloud.datacatalog.v1.ListTagsRequest request,
2093         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListTagsResponse>
2094             responseObserver) {
2095       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver);
2096     }
2097 
2098     /**
2099      *
2100      *
2101      * <pre>
2102      * `ReconcileTags` creates or updates a list of tags on the entry.
2103      * If the
2104      * [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
2105      * parameter is set, the operation deletes tags not included in the input tag
2106      * list.
2107      * `ReconcileTags` returns a [long-running operation]
2108      * [google.longrunning.Operation] resource that can be queried with
2109      * [Operations.GetOperation][google.longrunning.Operations.GetOperation]
2110      * to return [ReconcileTagsMetadata]
2111      * [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
2112      * a [ReconcileTagsResponse]
2113      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
2114      * </pre>
2115      */
reconcileTags( com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2116     default void reconcileTags(
2117         com.google.cloud.datacatalog.v1.ReconcileTagsRequest request,
2118         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2119       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2120           getReconcileTagsMethod(), responseObserver);
2121     }
2122 
2123     /**
2124      *
2125      *
2126      * <pre>
2127      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
2128      * the current user. Starring information is private to each user.
2129      * </pre>
2130      */
starEntry( com.google.cloud.datacatalog.v1.StarEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.StarEntryResponse> responseObserver)2131     default void starEntry(
2132         com.google.cloud.datacatalog.v1.StarEntryRequest request,
2133         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.StarEntryResponse>
2134             responseObserver) {
2135       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStarEntryMethod(), responseObserver);
2136     }
2137 
2138     /**
2139      *
2140      *
2141      * <pre>
2142      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
2143      * the current user. Starring information is private to each user.
2144      * </pre>
2145      */
unstarEntry( com.google.cloud.datacatalog.v1.UnstarEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.UnstarEntryResponse> responseObserver)2146     default void unstarEntry(
2147         com.google.cloud.datacatalog.v1.UnstarEntryRequest request,
2148         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.UnstarEntryResponse>
2149             responseObserver) {
2150       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2151           getUnstarEntryMethod(), responseObserver);
2152     }
2153 
2154     /**
2155      *
2156      *
2157      * <pre>
2158      * Sets an access control policy for a resource. Replaces any existing
2159      * policy.
2160      * Supported resources are:
2161      * - Tag templates
2162      * - Entry groups
2163      * Note: This method sets policies only within Data Catalog and can't be
2164      * used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
2165      * external Google Cloud Platform resources synced with the Data Catalog.
2166      * To call this method, you must have the following Google IAM permissions:
2167      * - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
2168      *   templates.
2169      * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
2170      * </pre>
2171      */
setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)2172     default void setIamPolicy(
2173         com.google.iam.v1.SetIamPolicyRequest request,
2174         io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver) {
2175       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2176           getSetIamPolicyMethod(), responseObserver);
2177     }
2178 
2179     /**
2180      *
2181      *
2182      * <pre>
2183      * Gets the access control policy for a resource.
2184      * May return:
2185      * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
2186      *   permission to view it.
2187      * * An empty policy if the resource exists but doesn't have a set policy.
2188      * Supported resources are:
2189      * - Tag templates
2190      * - Entry groups
2191      * Note: This method doesn't get policies from Google Cloud Platform
2192      * resources ingested into Data Catalog.
2193      * To call this method, you must have the following Google IAM permissions:
2194      * - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
2195      *   templates.
2196      * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
2197      * </pre>
2198      */
getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)2199     default void getIamPolicy(
2200         com.google.iam.v1.GetIamPolicyRequest request,
2201         io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver) {
2202       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2203           getGetIamPolicyMethod(), responseObserver);
2204     }
2205 
2206     /**
2207      *
2208      *
2209      * <pre>
2210      * Gets your permissions on a resource.
2211      * Returns an empty set of permissions if the resource doesn't exist.
2212      * Supported resources are:
2213      * - Tag templates
2214      * - Entry groups
2215      * Note: This method gets policies only within Data Catalog and can't be
2216      * used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
2217      * external Google Cloud Platform resources ingested into Data Catalog.
2218      * No Google IAM permissions are required to call this method.
2219      * </pre>
2220      */
testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)2221     default void testIamPermissions(
2222         com.google.iam.v1.TestIamPermissionsRequest request,
2223         io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>
2224             responseObserver) {
2225       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2226           getTestIamPermissionsMethod(), responseObserver);
2227     }
2228 
2229     /**
2230      *
2231      *
2232      * <pre>
2233      * Imports entries from a source, such as data previously dumped into a
2234      * Cloud Storage bucket, into Data Catalog. Import of entries
2235      * is a sync operation that reconciles the state of the third-party system
2236      * with the Data Catalog.
2237      * `ImportEntries` accepts source data snapshots of a third-party system.
2238      * Snapshot should be delivered as a .wire or base65-encoded .txt file
2239      * containing a sequence of Protocol Buffer messages of
2240      * [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
2241      * `ImportEntries` returns a [long-running operation]
2242      * [google.longrunning.Operation] resource that can be queried with
2243      * [Operations.GetOperation][google.longrunning.Operations.GetOperation]
2244      * to return
2245      * [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
2246      * and an
2247      * [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
2248      * message.
2249      * </pre>
2250      */
importEntries( com.google.cloud.datacatalog.v1.ImportEntriesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2251     default void importEntries(
2252         com.google.cloud.datacatalog.v1.ImportEntriesRequest request,
2253         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2254       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2255           getImportEntriesMethod(), responseObserver);
2256     }
2257   }
2258 
2259   /**
2260    * Base class for the server implementation of the service DataCatalog.
2261    *
2262    * <pre>
2263    * Data Catalog API service allows you to discover, understand, and manage
2264    * your data.
2265    * </pre>
2266    */
2267   public abstract static class DataCatalogImplBase
2268       implements io.grpc.BindableService, AsyncService {
2269 
2270     @java.lang.Override
bindService()2271     public final io.grpc.ServerServiceDefinition bindService() {
2272       return DataCatalogGrpc.bindService(this);
2273     }
2274   }
2275 
2276   /**
2277    * A stub to allow clients to do asynchronous rpc calls to service DataCatalog.
2278    *
2279    * <pre>
2280    * Data Catalog API service allows you to discover, understand, and manage
2281    * your data.
2282    * </pre>
2283    */
2284   public static final class DataCatalogStub
2285       extends io.grpc.stub.AbstractAsyncStub<DataCatalogStub> {
DataCatalogStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)2286     private DataCatalogStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
2287       super(channel, callOptions);
2288     }
2289 
2290     @java.lang.Override
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)2291     protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
2292       return new DataCatalogStub(channel, callOptions);
2293     }
2294 
2295     /**
2296      *
2297      *
2298      * <pre>
2299      * Searches Data Catalog for multiple resources like entries and tags that
2300      * match a query.
2301      * This is a [Custom Method]
2302      * (https://cloud.google.com/apis/design/custom_methods) that doesn't return
2303      * all information on a resource, only its ID and high level fields. To get
2304      * more information, you can subsequently call specific get methods.
2305      * Note: Data Catalog search queries don't guarantee full recall. Results
2306      * that match your query might not be returned, even in subsequent
2307      * result pages. Additionally, returned (and not returned) results can vary
2308      * if you repeat search queries.
2309      * For more information, see [Data Catalog search syntax]
2310      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
2311      * </pre>
2312      */
searchCatalog( com.google.cloud.datacatalog.v1.SearchCatalogRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.SearchCatalogResponse> responseObserver)2313     public void searchCatalog(
2314         com.google.cloud.datacatalog.v1.SearchCatalogRequest request,
2315         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.SearchCatalogResponse>
2316             responseObserver) {
2317       io.grpc.stub.ClientCalls.asyncUnaryCall(
2318           getChannel().newCall(getSearchCatalogMethod(), getCallOptions()),
2319           request,
2320           responseObserver);
2321     }
2322 
2323     /**
2324      *
2325      *
2326      * <pre>
2327      * Creates an entry group.
2328      * An entry group contains logically related entries together with [Cloud
2329      * Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
2330      * These policies specify users who can create, edit, and view entries
2331      * within entry groups.
2332      * Data Catalog automatically creates entry groups with names that start with
2333      * the `&#64;` symbol for the following resources:
2334      * * BigQuery entries (`&#64;bigquery`)
2335      * * Pub/Sub topics (`&#64;pubsub`)
2336      * * Dataproc Metastore services (`&#64;dataproc_metastore_{SERVICE_NAME_HASH}`)
2337      * You can create your own entry groups for Cloud Storage fileset entries
2338      * and custom entries together with the corresponding IAM policies.
2339      * User-created entry groups can't contain the `&#64;` symbol, it is reserved
2340      * for automatically created groups.
2341      * Entry groups, like entries, can be searched.
2342      * A maximum of 10,000 entry groups may be created per organization across all
2343      * locations.
2344      * You must enable the Data Catalog API in the project identified by
2345      * the `parent` parameter. For more information, see [Data Catalog resource
2346      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2347      * </pre>
2348      */
createEntryGroup( com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver)2349     public void createEntryGroup(
2350         com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request,
2351         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver) {
2352       io.grpc.stub.ClientCalls.asyncUnaryCall(
2353           getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()),
2354           request,
2355           responseObserver);
2356     }
2357 
2358     /**
2359      *
2360      *
2361      * <pre>
2362      * Gets an entry group.
2363      * </pre>
2364      */
getEntryGroup( com.google.cloud.datacatalog.v1.GetEntryGroupRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver)2365     public void getEntryGroup(
2366         com.google.cloud.datacatalog.v1.GetEntryGroupRequest request,
2367         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver) {
2368       io.grpc.stub.ClientCalls.asyncUnaryCall(
2369           getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()),
2370           request,
2371           responseObserver);
2372     }
2373 
2374     /**
2375      *
2376      *
2377      * <pre>
2378      * Updates an entry group.
2379      * You must enable the Data Catalog API in the project identified by
2380      * the `entry_group.name` parameter. For more information, see [Data Catalog
2381      * resource
2382      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2383      * </pre>
2384      */
updateEntryGroup( com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver)2385     public void updateEntryGroup(
2386         com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request,
2387         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup> responseObserver) {
2388       io.grpc.stub.ClientCalls.asyncUnaryCall(
2389           getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()),
2390           request,
2391           responseObserver);
2392     }
2393 
2394     /**
2395      *
2396      *
2397      * <pre>
2398      * Deletes an entry group.
2399      * You must enable the Data Catalog API in the project
2400      * identified by the `name` parameter. For more information, see [Data Catalog
2401      * resource
2402      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2403      * </pre>
2404      */
deleteEntryGroup( com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2405     public void deleteEntryGroup(
2406         com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request,
2407         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2408       io.grpc.stub.ClientCalls.asyncUnaryCall(
2409           getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()),
2410           request,
2411           responseObserver);
2412     }
2413 
2414     /**
2415      *
2416      *
2417      * <pre>
2418      * Lists entry groups.
2419      * </pre>
2420      */
listEntryGroups( com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntryGroupsResponse> responseObserver)2421     public void listEntryGroups(
2422         com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request,
2423         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
2424             responseObserver) {
2425       io.grpc.stub.ClientCalls.asyncUnaryCall(
2426           getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()),
2427           request,
2428           responseObserver);
2429     }
2430 
2431     /**
2432      *
2433      *
2434      * <pre>
2435      * Creates an entry.
2436      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
2437      * or custom types. Data Catalog automatically creates entries with other
2438      * types during metadata ingestion from integrated systems.
2439      * You must enable the Data Catalog API in the project identified by
2440      * the `parent` parameter. For more information, see [Data Catalog resource
2441      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2442      * An entry group can have a maximum of 100,000 entries.
2443      * </pre>
2444      */
createEntry( com.google.cloud.datacatalog.v1.CreateEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver)2445     public void createEntry(
2446         com.google.cloud.datacatalog.v1.CreateEntryRequest request,
2447         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver) {
2448       io.grpc.stub.ClientCalls.asyncUnaryCall(
2449           getChannel().newCall(getCreateEntryMethod(), getCallOptions()),
2450           request,
2451           responseObserver);
2452     }
2453 
2454     /**
2455      *
2456      *
2457      * <pre>
2458      * Updates an existing entry.
2459      * You must enable the Data Catalog API in the project identified by
2460      * the `entry.name` parameter. For more information, see [Data Catalog
2461      * resource
2462      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2463      * </pre>
2464      */
updateEntry( com.google.cloud.datacatalog.v1.UpdateEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver)2465     public void updateEntry(
2466         com.google.cloud.datacatalog.v1.UpdateEntryRequest request,
2467         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver) {
2468       io.grpc.stub.ClientCalls.asyncUnaryCall(
2469           getChannel().newCall(getUpdateEntryMethod(), getCallOptions()),
2470           request,
2471           responseObserver);
2472     }
2473 
2474     /**
2475      *
2476      *
2477      * <pre>
2478      * Deletes an existing entry.
2479      * You can delete only the entries created by the
2480      * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
2481      * method.
2482      * You must enable the Data Catalog API in the project identified by
2483      * the `name` parameter. For more information, see [Data Catalog
2484      * resource
2485      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2486      * </pre>
2487      */
deleteEntry( com.google.cloud.datacatalog.v1.DeleteEntryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2488     public void deleteEntry(
2489         com.google.cloud.datacatalog.v1.DeleteEntryRequest request,
2490         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2491       io.grpc.stub.ClientCalls.asyncUnaryCall(
2492           getChannel().newCall(getDeleteEntryMethod(), getCallOptions()),
2493           request,
2494           responseObserver);
2495     }
2496 
2497     /**
2498      *
2499      *
2500      * <pre>
2501      * Gets an entry.
2502      * </pre>
2503      */
getEntry( com.google.cloud.datacatalog.v1.GetEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver)2504     public void getEntry(
2505         com.google.cloud.datacatalog.v1.GetEntryRequest request,
2506         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver) {
2507       io.grpc.stub.ClientCalls.asyncUnaryCall(
2508           getChannel().newCall(getGetEntryMethod(), getCallOptions()), request, responseObserver);
2509     }
2510 
2511     /**
2512      *
2513      *
2514      * <pre>
2515      * Gets an entry by its target resource name.
2516      * The resource name comes from the source Google Cloud Platform service.
2517      * </pre>
2518      */
lookupEntry( com.google.cloud.datacatalog.v1.LookupEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver)2519     public void lookupEntry(
2520         com.google.cloud.datacatalog.v1.LookupEntryRequest request,
2521         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry> responseObserver) {
2522       io.grpc.stub.ClientCalls.asyncUnaryCall(
2523           getChannel().newCall(getLookupEntryMethod(), getCallOptions()),
2524           request,
2525           responseObserver);
2526     }
2527 
2528     /**
2529      *
2530      *
2531      * <pre>
2532      * Lists entries.
2533      * Note: Currently, this method can list only custom entries.
2534      * To get a list of both custom and automatically created entries, use
2535      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
2536      * </pre>
2537      */
listEntries( com.google.cloud.datacatalog.v1.ListEntriesRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntriesResponse> responseObserver)2538     public void listEntries(
2539         com.google.cloud.datacatalog.v1.ListEntriesRequest request,
2540         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntriesResponse>
2541             responseObserver) {
2542       io.grpc.stub.ClientCalls.asyncUnaryCall(
2543           getChannel().newCall(getListEntriesMethod(), getCallOptions()),
2544           request,
2545           responseObserver);
2546     }
2547 
2548     /**
2549      *
2550      *
2551      * <pre>
2552      * Modifies entry overview, part of the business context of an
2553      * [Entry][google.cloud.datacatalog.v1.Entry].
2554      * To call this method, you must have the `datacatalog.entries.updateOverview`
2555      * IAM permission on the corresponding project.
2556      * </pre>
2557      */
modifyEntryOverview( com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryOverview> responseObserver)2558     public void modifyEntryOverview(
2559         com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request,
2560         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryOverview>
2561             responseObserver) {
2562       io.grpc.stub.ClientCalls.asyncUnaryCall(
2563           getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()),
2564           request,
2565           responseObserver);
2566     }
2567 
2568     /**
2569      *
2570      *
2571      * <pre>
2572      * Modifies contacts, part of the business context of an
2573      * [Entry][google.cloud.datacatalog.v1.Entry].
2574      * To call this method, you must have the `datacatalog.entries.updateContacts`
2575      * IAM permission on the corresponding project.
2576      * </pre>
2577      */
modifyEntryContacts( com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Contacts> responseObserver)2578     public void modifyEntryContacts(
2579         com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request,
2580         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Contacts> responseObserver) {
2581       io.grpc.stub.ClientCalls.asyncUnaryCall(
2582           getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()),
2583           request,
2584           responseObserver);
2585     }
2586 
2587     /**
2588      *
2589      *
2590      * <pre>
2591      * Creates a tag template.
2592      * You must enable the Data Catalog API in the project identified by the
2593      * `parent` parameter.
2594      * For more information, see [Data Catalog resource project]
2595      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2596      * </pre>
2597      */
createTagTemplate( com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver)2598     public void createTagTemplate(
2599         com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request,
2600         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver) {
2601       io.grpc.stub.ClientCalls.asyncUnaryCall(
2602           getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()),
2603           request,
2604           responseObserver);
2605     }
2606 
2607     /**
2608      *
2609      *
2610      * <pre>
2611      * Gets a tag template.
2612      * </pre>
2613      */
getTagTemplate( com.google.cloud.datacatalog.v1.GetTagTemplateRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver)2614     public void getTagTemplate(
2615         com.google.cloud.datacatalog.v1.GetTagTemplateRequest request,
2616         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver) {
2617       io.grpc.stub.ClientCalls.asyncUnaryCall(
2618           getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()),
2619           request,
2620           responseObserver);
2621     }
2622 
2623     /**
2624      *
2625      *
2626      * <pre>
2627      * Updates a tag template.
2628      * You can't update template fields with this method. These fields are
2629      * separate resources with their own create, update, and delete methods.
2630      * You must enable the Data Catalog API in the project identified by
2631      * the `tag_template.name` parameter. For more information, see [Data Catalog
2632      * resource
2633      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2634      * </pre>
2635      */
updateTagTemplate( com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver)2636     public void updateTagTemplate(
2637         com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request,
2638         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate> responseObserver) {
2639       io.grpc.stub.ClientCalls.asyncUnaryCall(
2640           getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()),
2641           request,
2642           responseObserver);
2643     }
2644 
2645     /**
2646      *
2647      *
2648      * <pre>
2649      * Deletes a tag template and all tags that use it.
2650      * You must enable the Data Catalog API in the project identified by
2651      * the `name` parameter. For more information, see [Data Catalog resource
2652      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2653      * </pre>
2654      */
deleteTagTemplate( com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2655     public void deleteTagTemplate(
2656         com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request,
2657         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2658       io.grpc.stub.ClientCalls.asyncUnaryCall(
2659           getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()),
2660           request,
2661           responseObserver);
2662     }
2663 
2664     /**
2665      *
2666      *
2667      * <pre>
2668      * Creates a field in a tag template.
2669      * You must enable the Data Catalog API in the project identified by
2670      * the `parent` parameter. For more information, see [Data Catalog resource
2671      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2672      * </pre>
2673      */
createTagTemplateField( com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField> responseObserver)2674     public void createTagTemplateField(
2675         com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request,
2676         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>
2677             responseObserver) {
2678       io.grpc.stub.ClientCalls.asyncUnaryCall(
2679           getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()),
2680           request,
2681           responseObserver);
2682     }
2683 
2684     /**
2685      *
2686      *
2687      * <pre>
2688      * Updates a field in a tag template.
2689      * You can't update the field type with this method.
2690      * You must enable the Data Catalog API in the project
2691      * identified by the `name` parameter. For more information, see [Data Catalog
2692      * resource
2693      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2694      * </pre>
2695      */
updateTagTemplateField( com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField> responseObserver)2696     public void updateTagTemplateField(
2697         com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request,
2698         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>
2699             responseObserver) {
2700       io.grpc.stub.ClientCalls.asyncUnaryCall(
2701           getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()),
2702           request,
2703           responseObserver);
2704     }
2705 
2706     /**
2707      *
2708      *
2709      * <pre>
2710      * Renames a field in a tag template.
2711      * You must enable the Data Catalog API in the project identified by the
2712      * `name` parameter. For more information, see [Data Catalog resource project]
2713      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2714      * </pre>
2715      */
renameTagTemplateField( com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField> responseObserver)2716     public void renameTagTemplateField(
2717         com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request,
2718         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>
2719             responseObserver) {
2720       io.grpc.stub.ClientCalls.asyncUnaryCall(
2721           getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()),
2722           request,
2723           responseObserver);
2724     }
2725 
2726     /**
2727      *
2728      *
2729      * <pre>
2730      * Renames an enum value in a tag template.
2731      * Within a single enum field, enum values must be unique.
2732      * </pre>
2733      */
renameTagTemplateFieldEnumValue( com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField> responseObserver)2734     public void renameTagTemplateFieldEnumValue(
2735         com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request,
2736         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>
2737             responseObserver) {
2738       io.grpc.stub.ClientCalls.asyncUnaryCall(
2739           getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()),
2740           request,
2741           responseObserver);
2742     }
2743 
2744     /**
2745      *
2746      *
2747      * <pre>
2748      * Deletes a field in a tag template and all uses of this field from the tags
2749      * based on this template.
2750      * You must enable the Data Catalog API in the project identified by
2751      * the `name` parameter. For more information, see [Data Catalog resource
2752      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
2753      * </pre>
2754      */
deleteTagTemplateField( com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2755     public void deleteTagTemplateField(
2756         com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request,
2757         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2758       io.grpc.stub.ClientCalls.asyncUnaryCall(
2759           getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()),
2760           request,
2761           responseObserver);
2762     }
2763 
2764     /**
2765      *
2766      *
2767      * <pre>
2768      * Creates a tag and assigns it to:
2769      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
2770      *   `projects.locations.entryGroups.entries.tags.create`.
2771      * * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
2772      *   name is `projects.locations.entryGroups.tags.create`.
2773      * Note: The project identified by the `parent` parameter for the [tag]
2774      * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
2775      * and the [tag template]
2776      * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
2777      * used to create the tag must be in the same organization.
2778      * </pre>
2779      */
createTag( com.google.cloud.datacatalog.v1.CreateTagRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag> responseObserver)2780     public void createTag(
2781         com.google.cloud.datacatalog.v1.CreateTagRequest request,
2782         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag> responseObserver) {
2783       io.grpc.stub.ClientCalls.asyncUnaryCall(
2784           getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver);
2785     }
2786 
2787     /**
2788      *
2789      *
2790      * <pre>
2791      * Updates an existing tag.
2792      * </pre>
2793      */
updateTag( com.google.cloud.datacatalog.v1.UpdateTagRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag> responseObserver)2794     public void updateTag(
2795         com.google.cloud.datacatalog.v1.UpdateTagRequest request,
2796         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag> responseObserver) {
2797       io.grpc.stub.ClientCalls.asyncUnaryCall(
2798           getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver);
2799     }
2800 
2801     /**
2802      *
2803      *
2804      * <pre>
2805      * Deletes a tag.
2806      * </pre>
2807      */
deleteTag( com.google.cloud.datacatalog.v1.DeleteTagRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2808     public void deleteTag(
2809         com.google.cloud.datacatalog.v1.DeleteTagRequest request,
2810         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2811       io.grpc.stub.ClientCalls.asyncUnaryCall(
2812           getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver);
2813     }
2814 
2815     /**
2816      *
2817      *
2818      * <pre>
2819      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
2820      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
2821      * lowercased.
2822      * </pre>
2823      */
listTags( com.google.cloud.datacatalog.v1.ListTagsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListTagsResponse> responseObserver)2824     public void listTags(
2825         com.google.cloud.datacatalog.v1.ListTagsRequest request,
2826         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListTagsResponse>
2827             responseObserver) {
2828       io.grpc.stub.ClientCalls.asyncUnaryCall(
2829           getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver);
2830     }
2831 
2832     /**
2833      *
2834      *
2835      * <pre>
2836      * `ReconcileTags` creates or updates a list of tags on the entry.
2837      * If the
2838      * [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
2839      * parameter is set, the operation deletes tags not included in the input tag
2840      * list.
2841      * `ReconcileTags` returns a [long-running operation]
2842      * [google.longrunning.Operation] resource that can be queried with
2843      * [Operations.GetOperation][google.longrunning.Operations.GetOperation]
2844      * to return [ReconcileTagsMetadata]
2845      * [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
2846      * a [ReconcileTagsResponse]
2847      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
2848      * </pre>
2849      */
reconcileTags( com.google.cloud.datacatalog.v1.ReconcileTagsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2850     public void reconcileTags(
2851         com.google.cloud.datacatalog.v1.ReconcileTagsRequest request,
2852         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2853       io.grpc.stub.ClientCalls.asyncUnaryCall(
2854           getChannel().newCall(getReconcileTagsMethod(), getCallOptions()),
2855           request,
2856           responseObserver);
2857     }
2858 
2859     /**
2860      *
2861      *
2862      * <pre>
2863      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
2864      * the current user. Starring information is private to each user.
2865      * </pre>
2866      */
starEntry( com.google.cloud.datacatalog.v1.StarEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.StarEntryResponse> responseObserver)2867     public void starEntry(
2868         com.google.cloud.datacatalog.v1.StarEntryRequest request,
2869         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.StarEntryResponse>
2870             responseObserver) {
2871       io.grpc.stub.ClientCalls.asyncUnaryCall(
2872           getChannel().newCall(getStarEntryMethod(), getCallOptions()), request, responseObserver);
2873     }
2874 
2875     /**
2876      *
2877      *
2878      * <pre>
2879      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
2880      * the current user. Starring information is private to each user.
2881      * </pre>
2882      */
unstarEntry( com.google.cloud.datacatalog.v1.UnstarEntryRequest request, io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.UnstarEntryResponse> responseObserver)2883     public void unstarEntry(
2884         com.google.cloud.datacatalog.v1.UnstarEntryRequest request,
2885         io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.UnstarEntryResponse>
2886             responseObserver) {
2887       io.grpc.stub.ClientCalls.asyncUnaryCall(
2888           getChannel().newCall(getUnstarEntryMethod(), getCallOptions()),
2889           request,
2890           responseObserver);
2891     }
2892 
2893     /**
2894      *
2895      *
2896      * <pre>
2897      * Sets an access control policy for a resource. Replaces any existing
2898      * policy.
2899      * Supported resources are:
2900      * - Tag templates
2901      * - Entry groups
2902      * Note: This method sets policies only within Data Catalog and can't be
2903      * used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
2904      * external Google Cloud Platform resources synced with the Data Catalog.
2905      * To call this method, you must have the following Google IAM permissions:
2906      * - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
2907      *   templates.
2908      * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
2909      * </pre>
2910      */
setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)2911     public void setIamPolicy(
2912         com.google.iam.v1.SetIamPolicyRequest request,
2913         io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver) {
2914       io.grpc.stub.ClientCalls.asyncUnaryCall(
2915           getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()),
2916           request,
2917           responseObserver);
2918     }
2919 
2920     /**
2921      *
2922      *
2923      * <pre>
2924      * Gets the access control policy for a resource.
2925      * May return:
2926      * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
2927      *   permission to view it.
2928      * * An empty policy if the resource exists but doesn't have a set policy.
2929      * Supported resources are:
2930      * - Tag templates
2931      * - Entry groups
2932      * Note: This method doesn't get policies from Google Cloud Platform
2933      * resources ingested into Data Catalog.
2934      * To call this method, you must have the following Google IAM permissions:
2935      * - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
2936      *   templates.
2937      * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
2938      * </pre>
2939      */
getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)2940     public void getIamPolicy(
2941         com.google.iam.v1.GetIamPolicyRequest request,
2942         io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver) {
2943       io.grpc.stub.ClientCalls.asyncUnaryCall(
2944           getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()),
2945           request,
2946           responseObserver);
2947     }
2948 
2949     /**
2950      *
2951      *
2952      * <pre>
2953      * Gets your permissions on a resource.
2954      * Returns an empty set of permissions if the resource doesn't exist.
2955      * Supported resources are:
2956      * - Tag templates
2957      * - Entry groups
2958      * Note: This method gets policies only within Data Catalog and can't be
2959      * used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
2960      * external Google Cloud Platform resources ingested into Data Catalog.
2961      * No Google IAM permissions are required to call this method.
2962      * </pre>
2963      */
testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)2964     public void testIamPermissions(
2965         com.google.iam.v1.TestIamPermissionsRequest request,
2966         io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>
2967             responseObserver) {
2968       io.grpc.stub.ClientCalls.asyncUnaryCall(
2969           getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()),
2970           request,
2971           responseObserver);
2972     }
2973 
2974     /**
2975      *
2976      *
2977      * <pre>
2978      * Imports entries from a source, such as data previously dumped into a
2979      * Cloud Storage bucket, into Data Catalog. Import of entries
2980      * is a sync operation that reconciles the state of the third-party system
2981      * with the Data Catalog.
2982      * `ImportEntries` accepts source data snapshots of a third-party system.
2983      * Snapshot should be delivered as a .wire or base65-encoded .txt file
2984      * containing a sequence of Protocol Buffer messages of
2985      * [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
2986      * `ImportEntries` returns a [long-running operation]
2987      * [google.longrunning.Operation] resource that can be queried with
2988      * [Operations.GetOperation][google.longrunning.Operations.GetOperation]
2989      * to return
2990      * [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
2991      * and an
2992      * [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
2993      * message.
2994      * </pre>
2995      */
importEntries( com.google.cloud.datacatalog.v1.ImportEntriesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2996     public void importEntries(
2997         com.google.cloud.datacatalog.v1.ImportEntriesRequest request,
2998         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2999       io.grpc.stub.ClientCalls.asyncUnaryCall(
3000           getChannel().newCall(getImportEntriesMethod(), getCallOptions()),
3001           request,
3002           responseObserver);
3003     }
3004   }
3005 
3006   /**
3007    * A stub to allow clients to do synchronous rpc calls to service DataCatalog.
3008    *
3009    * <pre>
3010    * Data Catalog API service allows you to discover, understand, and manage
3011    * your data.
3012    * </pre>
3013    */
3014   public static final class DataCatalogBlockingStub
3015       extends io.grpc.stub.AbstractBlockingStub<DataCatalogBlockingStub> {
DataCatalogBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)3016     private DataCatalogBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
3017       super(channel, callOptions);
3018     }
3019 
3020     @java.lang.Override
build( io.grpc.Channel channel, io.grpc.CallOptions callOptions)3021     protected DataCatalogBlockingStub build(
3022         io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
3023       return new DataCatalogBlockingStub(channel, callOptions);
3024     }
3025 
3026     /**
3027      *
3028      *
3029      * <pre>
3030      * Searches Data Catalog for multiple resources like entries and tags that
3031      * match a query.
3032      * This is a [Custom Method]
3033      * (https://cloud.google.com/apis/design/custom_methods) that doesn't return
3034      * all information on a resource, only its ID and high level fields. To get
3035      * more information, you can subsequently call specific get methods.
3036      * Note: Data Catalog search queries don't guarantee full recall. Results
3037      * that match your query might not be returned, even in subsequent
3038      * result pages. Additionally, returned (and not returned) results can vary
3039      * if you repeat search queries.
3040      * For more information, see [Data Catalog search syntax]
3041      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
3042      * </pre>
3043      */
searchCatalog( com.google.cloud.datacatalog.v1.SearchCatalogRequest request)3044     public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog(
3045         com.google.cloud.datacatalog.v1.SearchCatalogRequest request) {
3046       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3047           getChannel(), getSearchCatalogMethod(), getCallOptions(), request);
3048     }
3049 
3050     /**
3051      *
3052      *
3053      * <pre>
3054      * Creates an entry group.
3055      * An entry group contains logically related entries together with [Cloud
3056      * Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
3057      * These policies specify users who can create, edit, and view entries
3058      * within entry groups.
3059      * Data Catalog automatically creates entry groups with names that start with
3060      * the `&#64;` symbol for the following resources:
3061      * * BigQuery entries (`&#64;bigquery`)
3062      * * Pub/Sub topics (`&#64;pubsub`)
3063      * * Dataproc Metastore services (`&#64;dataproc_metastore_{SERVICE_NAME_HASH}`)
3064      * You can create your own entry groups for Cloud Storage fileset entries
3065      * and custom entries together with the corresponding IAM policies.
3066      * User-created entry groups can't contain the `&#64;` symbol, it is reserved
3067      * for automatically created groups.
3068      * Entry groups, like entries, can be searched.
3069      * A maximum of 10,000 entry groups may be created per organization across all
3070      * locations.
3071      * You must enable the Data Catalog API in the project identified by
3072      * the `parent` parameter. For more information, see [Data Catalog resource
3073      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3074      * </pre>
3075      */
createEntryGroup( com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request)3076     public com.google.cloud.datacatalog.v1.EntryGroup createEntryGroup(
3077         com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) {
3078       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3079           getChannel(), getCreateEntryGroupMethod(), getCallOptions(), request);
3080     }
3081 
3082     /**
3083      *
3084      *
3085      * <pre>
3086      * Gets an entry group.
3087      * </pre>
3088      */
getEntryGroup( com.google.cloud.datacatalog.v1.GetEntryGroupRequest request)3089     public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(
3090         com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) {
3091       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3092           getChannel(), getGetEntryGroupMethod(), getCallOptions(), request);
3093     }
3094 
3095     /**
3096      *
3097      *
3098      * <pre>
3099      * Updates an entry group.
3100      * You must enable the Data Catalog API in the project identified by
3101      * the `entry_group.name` parameter. For more information, see [Data Catalog
3102      * resource
3103      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3104      * </pre>
3105      */
updateEntryGroup( com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request)3106     public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup(
3107         com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) {
3108       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3109           getChannel(), getUpdateEntryGroupMethod(), getCallOptions(), request);
3110     }
3111 
3112     /**
3113      *
3114      *
3115      * <pre>
3116      * Deletes an entry group.
3117      * You must enable the Data Catalog API in the project
3118      * identified by the `name` parameter. For more information, see [Data Catalog
3119      * resource
3120      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3121      * </pre>
3122      */
deleteEntryGroup( com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request)3123     public com.google.protobuf.Empty deleteEntryGroup(
3124         com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) {
3125       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3126           getChannel(), getDeleteEntryGroupMethod(), getCallOptions(), request);
3127     }
3128 
3129     /**
3130      *
3131      *
3132      * <pre>
3133      * Lists entry groups.
3134      * </pre>
3135      */
listEntryGroups( com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request)3136     public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse listEntryGroups(
3137         com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) {
3138       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3139           getChannel(), getListEntryGroupsMethod(), getCallOptions(), request);
3140     }
3141 
3142     /**
3143      *
3144      *
3145      * <pre>
3146      * Creates an entry.
3147      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
3148      * or custom types. Data Catalog automatically creates entries with other
3149      * types during metadata ingestion from integrated systems.
3150      * You must enable the Data Catalog API in the project identified by
3151      * the `parent` parameter. For more information, see [Data Catalog resource
3152      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3153      * An entry group can have a maximum of 100,000 entries.
3154      * </pre>
3155      */
createEntry( com.google.cloud.datacatalog.v1.CreateEntryRequest request)3156     public com.google.cloud.datacatalog.v1.Entry createEntry(
3157         com.google.cloud.datacatalog.v1.CreateEntryRequest request) {
3158       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3159           getChannel(), getCreateEntryMethod(), getCallOptions(), request);
3160     }
3161 
3162     /**
3163      *
3164      *
3165      * <pre>
3166      * Updates an existing entry.
3167      * You must enable the Data Catalog API in the project identified by
3168      * the `entry.name` parameter. For more information, see [Data Catalog
3169      * resource
3170      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3171      * </pre>
3172      */
updateEntry( com.google.cloud.datacatalog.v1.UpdateEntryRequest request)3173     public com.google.cloud.datacatalog.v1.Entry updateEntry(
3174         com.google.cloud.datacatalog.v1.UpdateEntryRequest request) {
3175       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3176           getChannel(), getUpdateEntryMethod(), getCallOptions(), request);
3177     }
3178 
3179     /**
3180      *
3181      *
3182      * <pre>
3183      * Deletes an existing entry.
3184      * You can delete only the entries created by the
3185      * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
3186      * method.
3187      * You must enable the Data Catalog API in the project identified by
3188      * the `name` parameter. For more information, see [Data Catalog
3189      * resource
3190      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3191      * </pre>
3192      */
deleteEntry( com.google.cloud.datacatalog.v1.DeleteEntryRequest request)3193     public com.google.protobuf.Empty deleteEntry(
3194         com.google.cloud.datacatalog.v1.DeleteEntryRequest request) {
3195       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3196           getChannel(), getDeleteEntryMethod(), getCallOptions(), request);
3197     }
3198 
3199     /**
3200      *
3201      *
3202      * <pre>
3203      * Gets an entry.
3204      * </pre>
3205      */
getEntry( com.google.cloud.datacatalog.v1.GetEntryRequest request)3206     public com.google.cloud.datacatalog.v1.Entry getEntry(
3207         com.google.cloud.datacatalog.v1.GetEntryRequest request) {
3208       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3209           getChannel(), getGetEntryMethod(), getCallOptions(), request);
3210     }
3211 
3212     /**
3213      *
3214      *
3215      * <pre>
3216      * Gets an entry by its target resource name.
3217      * The resource name comes from the source Google Cloud Platform service.
3218      * </pre>
3219      */
lookupEntry( com.google.cloud.datacatalog.v1.LookupEntryRequest request)3220     public com.google.cloud.datacatalog.v1.Entry lookupEntry(
3221         com.google.cloud.datacatalog.v1.LookupEntryRequest request) {
3222       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3223           getChannel(), getLookupEntryMethod(), getCallOptions(), request);
3224     }
3225 
3226     /**
3227      *
3228      *
3229      * <pre>
3230      * Lists entries.
3231      * Note: Currently, this method can list only custom entries.
3232      * To get a list of both custom and automatically created entries, use
3233      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
3234      * </pre>
3235      */
listEntries( com.google.cloud.datacatalog.v1.ListEntriesRequest request)3236     public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries(
3237         com.google.cloud.datacatalog.v1.ListEntriesRequest request) {
3238       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3239           getChannel(), getListEntriesMethod(), getCallOptions(), request);
3240     }
3241 
3242     /**
3243      *
3244      *
3245      * <pre>
3246      * Modifies entry overview, part of the business context of an
3247      * [Entry][google.cloud.datacatalog.v1.Entry].
3248      * To call this method, you must have the `datacatalog.entries.updateOverview`
3249      * IAM permission on the corresponding project.
3250      * </pre>
3251      */
modifyEntryOverview( com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request)3252     public com.google.cloud.datacatalog.v1.EntryOverview modifyEntryOverview(
3253         com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) {
3254       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3255           getChannel(), getModifyEntryOverviewMethod(), getCallOptions(), request);
3256     }
3257 
3258     /**
3259      *
3260      *
3261      * <pre>
3262      * Modifies contacts, part of the business context of an
3263      * [Entry][google.cloud.datacatalog.v1.Entry].
3264      * To call this method, you must have the `datacatalog.entries.updateContacts`
3265      * IAM permission on the corresponding project.
3266      * </pre>
3267      */
modifyEntryContacts( com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request)3268     public com.google.cloud.datacatalog.v1.Contacts modifyEntryContacts(
3269         com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) {
3270       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3271           getChannel(), getModifyEntryContactsMethod(), getCallOptions(), request);
3272     }
3273 
3274     /**
3275      *
3276      *
3277      * <pre>
3278      * Creates a tag template.
3279      * You must enable the Data Catalog API in the project identified by the
3280      * `parent` parameter.
3281      * For more information, see [Data Catalog resource project]
3282      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3283      * </pre>
3284      */
createTagTemplate( com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request)3285     public com.google.cloud.datacatalog.v1.TagTemplate createTagTemplate(
3286         com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) {
3287       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3288           getChannel(), getCreateTagTemplateMethod(), getCallOptions(), request);
3289     }
3290 
3291     /**
3292      *
3293      *
3294      * <pre>
3295      * Gets a tag template.
3296      * </pre>
3297      */
getTagTemplate( com.google.cloud.datacatalog.v1.GetTagTemplateRequest request)3298     public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(
3299         com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) {
3300       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3301           getChannel(), getGetTagTemplateMethod(), getCallOptions(), request);
3302     }
3303 
3304     /**
3305      *
3306      *
3307      * <pre>
3308      * Updates a tag template.
3309      * You can't update template fields with this method. These fields are
3310      * separate resources with their own create, update, and delete methods.
3311      * You must enable the Data Catalog API in the project identified by
3312      * the `tag_template.name` parameter. For more information, see [Data Catalog
3313      * resource
3314      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3315      * </pre>
3316      */
updateTagTemplate( com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request)3317     public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate(
3318         com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) {
3319       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3320           getChannel(), getUpdateTagTemplateMethod(), getCallOptions(), request);
3321     }
3322 
3323     /**
3324      *
3325      *
3326      * <pre>
3327      * Deletes a tag template and all tags that use it.
3328      * You must enable the Data Catalog API in the project identified by
3329      * the `name` parameter. For more information, see [Data Catalog resource
3330      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3331      * </pre>
3332      */
deleteTagTemplate( com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request)3333     public com.google.protobuf.Empty deleteTagTemplate(
3334         com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) {
3335       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3336           getChannel(), getDeleteTagTemplateMethod(), getCallOptions(), request);
3337     }
3338 
3339     /**
3340      *
3341      *
3342      * <pre>
3343      * Creates a field in a tag template.
3344      * You must enable the Data Catalog API in the project identified by
3345      * the `parent` parameter. For more information, see [Data Catalog resource
3346      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3347      * </pre>
3348      */
createTagTemplateField( com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request)3349     public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField(
3350         com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) {
3351       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3352           getChannel(), getCreateTagTemplateFieldMethod(), getCallOptions(), request);
3353     }
3354 
3355     /**
3356      *
3357      *
3358      * <pre>
3359      * Updates a field in a tag template.
3360      * You can't update the field type with this method.
3361      * You must enable the Data Catalog API in the project
3362      * identified by the `name` parameter. For more information, see [Data Catalog
3363      * resource
3364      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3365      * </pre>
3366      */
updateTagTemplateField( com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request)3367     public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField(
3368         com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) {
3369       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3370           getChannel(), getUpdateTagTemplateFieldMethod(), getCallOptions(), request);
3371     }
3372 
3373     /**
3374      *
3375      *
3376      * <pre>
3377      * Renames a field in a tag template.
3378      * You must enable the Data Catalog API in the project identified by the
3379      * `name` parameter. For more information, see [Data Catalog resource project]
3380      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3381      * </pre>
3382      */
renameTagTemplateField( com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request)3383     public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateField(
3384         com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) {
3385       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3386           getChannel(), getRenameTagTemplateFieldMethod(), getCallOptions(), request);
3387     }
3388 
3389     /**
3390      *
3391      *
3392      * <pre>
3393      * Renames an enum value in a tag template.
3394      * Within a single enum field, enum values must be unique.
3395      * </pre>
3396      */
renameTagTemplateFieldEnumValue( com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request)3397     public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEnumValue(
3398         com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) {
3399       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3400           getChannel(), getRenameTagTemplateFieldEnumValueMethod(), getCallOptions(), request);
3401     }
3402 
3403     /**
3404      *
3405      *
3406      * <pre>
3407      * Deletes a field in a tag template and all uses of this field from the tags
3408      * based on this template.
3409      * You must enable the Data Catalog API in the project identified by
3410      * the `name` parameter. For more information, see [Data Catalog resource
3411      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3412      * </pre>
3413      */
deleteTagTemplateField( com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request)3414     public com.google.protobuf.Empty deleteTagTemplateField(
3415         com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) {
3416       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3417           getChannel(), getDeleteTagTemplateFieldMethod(), getCallOptions(), request);
3418     }
3419 
3420     /**
3421      *
3422      *
3423      * <pre>
3424      * Creates a tag and assigns it to:
3425      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
3426      *   `projects.locations.entryGroups.entries.tags.create`.
3427      * * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
3428      *   name is `projects.locations.entryGroups.tags.create`.
3429      * Note: The project identified by the `parent` parameter for the [tag]
3430      * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
3431      * and the [tag template]
3432      * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
3433      * used to create the tag must be in the same organization.
3434      * </pre>
3435      */
createTag( com.google.cloud.datacatalog.v1.CreateTagRequest request)3436     public com.google.cloud.datacatalog.v1.Tag createTag(
3437         com.google.cloud.datacatalog.v1.CreateTagRequest request) {
3438       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3439           getChannel(), getCreateTagMethod(), getCallOptions(), request);
3440     }
3441 
3442     /**
3443      *
3444      *
3445      * <pre>
3446      * Updates an existing tag.
3447      * </pre>
3448      */
updateTag( com.google.cloud.datacatalog.v1.UpdateTagRequest request)3449     public com.google.cloud.datacatalog.v1.Tag updateTag(
3450         com.google.cloud.datacatalog.v1.UpdateTagRequest request) {
3451       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3452           getChannel(), getUpdateTagMethod(), getCallOptions(), request);
3453     }
3454 
3455     /**
3456      *
3457      *
3458      * <pre>
3459      * Deletes a tag.
3460      * </pre>
3461      */
deleteTag( com.google.cloud.datacatalog.v1.DeleteTagRequest request)3462     public com.google.protobuf.Empty deleteTag(
3463         com.google.cloud.datacatalog.v1.DeleteTagRequest request) {
3464       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3465           getChannel(), getDeleteTagMethod(), getCallOptions(), request);
3466     }
3467 
3468     /**
3469      *
3470      *
3471      * <pre>
3472      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
3473      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
3474      * lowercased.
3475      * </pre>
3476      */
listTags( com.google.cloud.datacatalog.v1.ListTagsRequest request)3477     public com.google.cloud.datacatalog.v1.ListTagsResponse listTags(
3478         com.google.cloud.datacatalog.v1.ListTagsRequest request) {
3479       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3480           getChannel(), getListTagsMethod(), getCallOptions(), request);
3481     }
3482 
3483     /**
3484      *
3485      *
3486      * <pre>
3487      * `ReconcileTags` creates or updates a list of tags on the entry.
3488      * If the
3489      * [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
3490      * parameter is set, the operation deletes tags not included in the input tag
3491      * list.
3492      * `ReconcileTags` returns a [long-running operation]
3493      * [google.longrunning.Operation] resource that can be queried with
3494      * [Operations.GetOperation][google.longrunning.Operations.GetOperation]
3495      * to return [ReconcileTagsMetadata]
3496      * [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
3497      * a [ReconcileTagsResponse]
3498      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
3499      * </pre>
3500      */
reconcileTags( com.google.cloud.datacatalog.v1.ReconcileTagsRequest request)3501     public com.google.longrunning.Operation reconcileTags(
3502         com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) {
3503       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3504           getChannel(), getReconcileTagsMethod(), getCallOptions(), request);
3505     }
3506 
3507     /**
3508      *
3509      *
3510      * <pre>
3511      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
3512      * the current user. Starring information is private to each user.
3513      * </pre>
3514      */
starEntry( com.google.cloud.datacatalog.v1.StarEntryRequest request)3515     public com.google.cloud.datacatalog.v1.StarEntryResponse starEntry(
3516         com.google.cloud.datacatalog.v1.StarEntryRequest request) {
3517       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3518           getChannel(), getStarEntryMethod(), getCallOptions(), request);
3519     }
3520 
3521     /**
3522      *
3523      *
3524      * <pre>
3525      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
3526      * the current user. Starring information is private to each user.
3527      * </pre>
3528      */
unstarEntry( com.google.cloud.datacatalog.v1.UnstarEntryRequest request)3529     public com.google.cloud.datacatalog.v1.UnstarEntryResponse unstarEntry(
3530         com.google.cloud.datacatalog.v1.UnstarEntryRequest request) {
3531       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3532           getChannel(), getUnstarEntryMethod(), getCallOptions(), request);
3533     }
3534 
3535     /**
3536      *
3537      *
3538      * <pre>
3539      * Sets an access control policy for a resource. Replaces any existing
3540      * policy.
3541      * Supported resources are:
3542      * - Tag templates
3543      * - Entry groups
3544      * Note: This method sets policies only within Data Catalog and can't be
3545      * used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
3546      * external Google Cloud Platform resources synced with the Data Catalog.
3547      * To call this method, you must have the following Google IAM permissions:
3548      * - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
3549      *   templates.
3550      * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
3551      * </pre>
3552      */
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)3553     public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
3554       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3555           getChannel(), getSetIamPolicyMethod(), getCallOptions(), request);
3556     }
3557 
3558     /**
3559      *
3560      *
3561      * <pre>
3562      * Gets the access control policy for a resource.
3563      * May return:
3564      * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
3565      *   permission to view it.
3566      * * An empty policy if the resource exists but doesn't have a set policy.
3567      * Supported resources are:
3568      * - Tag templates
3569      * - Entry groups
3570      * Note: This method doesn't get policies from Google Cloud Platform
3571      * resources ingested into Data Catalog.
3572      * To call this method, you must have the following Google IAM permissions:
3573      * - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
3574      *   templates.
3575      * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
3576      * </pre>
3577      */
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)3578     public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) {
3579       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3580           getChannel(), getGetIamPolicyMethod(), getCallOptions(), request);
3581     }
3582 
3583     /**
3584      *
3585      *
3586      * <pre>
3587      * Gets your permissions on a resource.
3588      * Returns an empty set of permissions if the resource doesn't exist.
3589      * Supported resources are:
3590      * - Tag templates
3591      * - Entry groups
3592      * Note: This method gets policies only within Data Catalog and can't be
3593      * used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
3594      * external Google Cloud Platform resources ingested into Data Catalog.
3595      * No Google IAM permissions are required to call this method.
3596      * </pre>
3597      */
testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request)3598     public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
3599         com.google.iam.v1.TestIamPermissionsRequest request) {
3600       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3601           getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request);
3602     }
3603 
3604     /**
3605      *
3606      *
3607      * <pre>
3608      * Imports entries from a source, such as data previously dumped into a
3609      * Cloud Storage bucket, into Data Catalog. Import of entries
3610      * is a sync operation that reconciles the state of the third-party system
3611      * with the Data Catalog.
3612      * `ImportEntries` accepts source data snapshots of a third-party system.
3613      * Snapshot should be delivered as a .wire or base65-encoded .txt file
3614      * containing a sequence of Protocol Buffer messages of
3615      * [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
3616      * `ImportEntries` returns a [long-running operation]
3617      * [google.longrunning.Operation] resource that can be queried with
3618      * [Operations.GetOperation][google.longrunning.Operations.GetOperation]
3619      * to return
3620      * [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
3621      * and an
3622      * [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
3623      * message.
3624      * </pre>
3625      */
importEntries( com.google.cloud.datacatalog.v1.ImportEntriesRequest request)3626     public com.google.longrunning.Operation importEntries(
3627         com.google.cloud.datacatalog.v1.ImportEntriesRequest request) {
3628       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3629           getChannel(), getImportEntriesMethod(), getCallOptions(), request);
3630     }
3631   }
3632 
3633   /**
3634    * A stub to allow clients to do ListenableFuture-style rpc calls to service DataCatalog.
3635    *
3636    * <pre>
3637    * Data Catalog API service allows you to discover, understand, and manage
3638    * your data.
3639    * </pre>
3640    */
3641   public static final class DataCatalogFutureStub
3642       extends io.grpc.stub.AbstractFutureStub<DataCatalogFutureStub> {
DataCatalogFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)3643     private DataCatalogFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
3644       super(channel, callOptions);
3645     }
3646 
3647     @java.lang.Override
build( io.grpc.Channel channel, io.grpc.CallOptions callOptions)3648     protected DataCatalogFutureStub build(
3649         io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
3650       return new DataCatalogFutureStub(channel, callOptions);
3651     }
3652 
3653     /**
3654      *
3655      *
3656      * <pre>
3657      * Searches Data Catalog for multiple resources like entries and tags that
3658      * match a query.
3659      * This is a [Custom Method]
3660      * (https://cloud.google.com/apis/design/custom_methods) that doesn't return
3661      * all information on a resource, only its ID and high level fields. To get
3662      * more information, you can subsequently call specific get methods.
3663      * Note: Data Catalog search queries don't guarantee full recall. Results
3664      * that match your query might not be returned, even in subsequent
3665      * result pages. Additionally, returned (and not returned) results can vary
3666      * if you repeat search queries.
3667      * For more information, see [Data Catalog search syntax]
3668      * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
3669      * </pre>
3670      */
3671     public com.google.common.util.concurrent.ListenableFuture<
3672             com.google.cloud.datacatalog.v1.SearchCatalogResponse>
searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request)3673         searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request) {
3674       return io.grpc.stub.ClientCalls.futureUnaryCall(
3675           getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request);
3676     }
3677 
3678     /**
3679      *
3680      *
3681      * <pre>
3682      * Creates an entry group.
3683      * An entry group contains logically related entries together with [Cloud
3684      * Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
3685      * These policies specify users who can create, edit, and view entries
3686      * within entry groups.
3687      * Data Catalog automatically creates entry groups with names that start with
3688      * the `&#64;` symbol for the following resources:
3689      * * BigQuery entries (`&#64;bigquery`)
3690      * * Pub/Sub topics (`&#64;pubsub`)
3691      * * Dataproc Metastore services (`&#64;dataproc_metastore_{SERVICE_NAME_HASH}`)
3692      * You can create your own entry groups for Cloud Storage fileset entries
3693      * and custom entries together with the corresponding IAM policies.
3694      * User-created entry groups can't contain the `&#64;` symbol, it is reserved
3695      * for automatically created groups.
3696      * Entry groups, like entries, can be searched.
3697      * A maximum of 10,000 entry groups may be created per organization across all
3698      * locations.
3699      * You must enable the Data Catalog API in the project identified by
3700      * the `parent` parameter. For more information, see [Data Catalog resource
3701      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3702      * </pre>
3703      */
3704     public com.google.common.util.concurrent.ListenableFuture<
3705             com.google.cloud.datacatalog.v1.EntryGroup>
createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request)3706         createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) {
3707       return io.grpc.stub.ClientCalls.futureUnaryCall(
3708           getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request);
3709     }
3710 
3711     /**
3712      *
3713      *
3714      * <pre>
3715      * Gets an entry group.
3716      * </pre>
3717      */
3718     public com.google.common.util.concurrent.ListenableFuture<
3719             com.google.cloud.datacatalog.v1.EntryGroup>
getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request)3720         getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) {
3721       return io.grpc.stub.ClientCalls.futureUnaryCall(
3722           getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request);
3723     }
3724 
3725     /**
3726      *
3727      *
3728      * <pre>
3729      * Updates an entry group.
3730      * You must enable the Data Catalog API in the project identified by
3731      * the `entry_group.name` parameter. For more information, see [Data Catalog
3732      * resource
3733      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3734      * </pre>
3735      */
3736     public com.google.common.util.concurrent.ListenableFuture<
3737             com.google.cloud.datacatalog.v1.EntryGroup>
updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request)3738         updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) {
3739       return io.grpc.stub.ClientCalls.futureUnaryCall(
3740           getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request);
3741     }
3742 
3743     /**
3744      *
3745      *
3746      * <pre>
3747      * Deletes an entry group.
3748      * You must enable the Data Catalog API in the project
3749      * identified by the `name` parameter. For more information, see [Data Catalog
3750      * resource
3751      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3752      * </pre>
3753      */
3754     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request)3755         deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) {
3756       return io.grpc.stub.ClientCalls.futureUnaryCall(
3757           getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request);
3758     }
3759 
3760     /**
3761      *
3762      *
3763      * <pre>
3764      * Lists entry groups.
3765      * </pre>
3766      */
3767     public com.google.common.util.concurrent.ListenableFuture<
3768             com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request)3769         listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) {
3770       return io.grpc.stub.ClientCalls.futureUnaryCall(
3771           getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request);
3772     }
3773 
3774     /**
3775      *
3776      *
3777      * <pre>
3778      * Creates an entry.
3779      * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
3780      * or custom types. Data Catalog automatically creates entries with other
3781      * types during metadata ingestion from integrated systems.
3782      * You must enable the Data Catalog API in the project identified by
3783      * the `parent` parameter. For more information, see [Data Catalog resource
3784      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3785      * An entry group can have a maximum of 100,000 entries.
3786      * </pre>
3787      */
3788     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.datacatalog.v1.Entry>
createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request)3789         createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request) {
3790       return io.grpc.stub.ClientCalls.futureUnaryCall(
3791           getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request);
3792     }
3793 
3794     /**
3795      *
3796      *
3797      * <pre>
3798      * Updates an existing entry.
3799      * You must enable the Data Catalog API in the project identified by
3800      * the `entry.name` parameter. For more information, see [Data Catalog
3801      * resource
3802      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3803      * </pre>
3804      */
3805     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.datacatalog.v1.Entry>
updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request)3806         updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request) {
3807       return io.grpc.stub.ClientCalls.futureUnaryCall(
3808           getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request);
3809     }
3810 
3811     /**
3812      *
3813      *
3814      * <pre>
3815      * Deletes an existing entry.
3816      * You can delete only the entries created by the
3817      * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
3818      * method.
3819      * You must enable the Data Catalog API in the project identified by
3820      * the `name` parameter. For more information, see [Data Catalog
3821      * resource
3822      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3823      * </pre>
3824      */
3825     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request)3826         deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request) {
3827       return io.grpc.stub.ClientCalls.futureUnaryCall(
3828           getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request);
3829     }
3830 
3831     /**
3832      *
3833      *
3834      * <pre>
3835      * Gets an entry.
3836      * </pre>
3837      */
3838     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.datacatalog.v1.Entry>
getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request)3839         getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request) {
3840       return io.grpc.stub.ClientCalls.futureUnaryCall(
3841           getChannel().newCall(getGetEntryMethod(), getCallOptions()), request);
3842     }
3843 
3844     /**
3845      *
3846      *
3847      * <pre>
3848      * Gets an entry by its target resource name.
3849      * The resource name comes from the source Google Cloud Platform service.
3850      * </pre>
3851      */
3852     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.datacatalog.v1.Entry>
lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request)3853         lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request) {
3854       return io.grpc.stub.ClientCalls.futureUnaryCall(
3855           getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request);
3856     }
3857 
3858     /**
3859      *
3860      *
3861      * <pre>
3862      * Lists entries.
3863      * Note: Currently, this method can list only custom entries.
3864      * To get a list of both custom and automatically created entries, use
3865      * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
3866      * </pre>
3867      */
3868     public com.google.common.util.concurrent.ListenableFuture<
3869             com.google.cloud.datacatalog.v1.ListEntriesResponse>
listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request)3870         listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request) {
3871       return io.grpc.stub.ClientCalls.futureUnaryCall(
3872           getChannel().newCall(getListEntriesMethod(), getCallOptions()), request);
3873     }
3874 
3875     /**
3876      *
3877      *
3878      * <pre>
3879      * Modifies entry overview, part of the business context of an
3880      * [Entry][google.cloud.datacatalog.v1.Entry].
3881      * To call this method, you must have the `datacatalog.entries.updateOverview`
3882      * IAM permission on the corresponding project.
3883      * </pre>
3884      */
3885     public com.google.common.util.concurrent.ListenableFuture<
3886             com.google.cloud.datacatalog.v1.EntryOverview>
modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request)3887         modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) {
3888       return io.grpc.stub.ClientCalls.futureUnaryCall(
3889           getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()), request);
3890     }
3891 
3892     /**
3893      *
3894      *
3895      * <pre>
3896      * Modifies contacts, part of the business context of an
3897      * [Entry][google.cloud.datacatalog.v1.Entry].
3898      * To call this method, you must have the `datacatalog.entries.updateContacts`
3899      * IAM permission on the corresponding project.
3900      * </pre>
3901      */
3902     public com.google.common.util.concurrent.ListenableFuture<
3903             com.google.cloud.datacatalog.v1.Contacts>
modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request)3904         modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) {
3905       return io.grpc.stub.ClientCalls.futureUnaryCall(
3906           getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()), request);
3907     }
3908 
3909     /**
3910      *
3911      *
3912      * <pre>
3913      * Creates a tag template.
3914      * You must enable the Data Catalog API in the project identified by the
3915      * `parent` parameter.
3916      * For more information, see [Data Catalog resource project]
3917      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3918      * </pre>
3919      */
3920     public com.google.common.util.concurrent.ListenableFuture<
3921             com.google.cloud.datacatalog.v1.TagTemplate>
createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request)3922         createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) {
3923       return io.grpc.stub.ClientCalls.futureUnaryCall(
3924           getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request);
3925     }
3926 
3927     /**
3928      *
3929      *
3930      * <pre>
3931      * Gets a tag template.
3932      * </pre>
3933      */
3934     public com.google.common.util.concurrent.ListenableFuture<
3935             com.google.cloud.datacatalog.v1.TagTemplate>
getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request)3936         getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) {
3937       return io.grpc.stub.ClientCalls.futureUnaryCall(
3938           getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request);
3939     }
3940 
3941     /**
3942      *
3943      *
3944      * <pre>
3945      * Updates a tag template.
3946      * You can't update template fields with this method. These fields are
3947      * separate resources with their own create, update, and delete methods.
3948      * You must enable the Data Catalog API in the project identified by
3949      * the `tag_template.name` parameter. For more information, see [Data Catalog
3950      * resource
3951      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3952      * </pre>
3953      */
3954     public com.google.common.util.concurrent.ListenableFuture<
3955             com.google.cloud.datacatalog.v1.TagTemplate>
updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request)3956         updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) {
3957       return io.grpc.stub.ClientCalls.futureUnaryCall(
3958           getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request);
3959     }
3960 
3961     /**
3962      *
3963      *
3964      * <pre>
3965      * Deletes a tag template and all tags that use it.
3966      * You must enable the Data Catalog API in the project identified by
3967      * the `name` parameter. For more information, see [Data Catalog resource
3968      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3969      * </pre>
3970      */
3971     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request)3972         deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) {
3973       return io.grpc.stub.ClientCalls.futureUnaryCall(
3974           getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request);
3975     }
3976 
3977     /**
3978      *
3979      *
3980      * <pre>
3981      * Creates a field in a tag template.
3982      * You must enable the Data Catalog API in the project identified by
3983      * the `parent` parameter. For more information, see [Data Catalog resource
3984      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
3985      * </pre>
3986      */
3987     public com.google.common.util.concurrent.ListenableFuture<
3988             com.google.cloud.datacatalog.v1.TagTemplateField>
createTagTemplateField( com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request)3989         createTagTemplateField(
3990             com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) {
3991       return io.grpc.stub.ClientCalls.futureUnaryCall(
3992           getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request);
3993     }
3994 
3995     /**
3996      *
3997      *
3998      * <pre>
3999      * Updates a field in a tag template.
4000      * You can't update the field type with this method.
4001      * You must enable the Data Catalog API in the project
4002      * identified by the `name` parameter. For more information, see [Data Catalog
4003      * resource
4004      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
4005      * </pre>
4006      */
4007     public com.google.common.util.concurrent.ListenableFuture<
4008             com.google.cloud.datacatalog.v1.TagTemplateField>
updateTagTemplateField( com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request)4009         updateTagTemplateField(
4010             com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) {
4011       return io.grpc.stub.ClientCalls.futureUnaryCall(
4012           getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request);
4013     }
4014 
4015     /**
4016      *
4017      *
4018      * <pre>
4019      * Renames a field in a tag template.
4020      * You must enable the Data Catalog API in the project identified by the
4021      * `name` parameter. For more information, see [Data Catalog resource project]
4022      * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
4023      * </pre>
4024      */
4025     public com.google.common.util.concurrent.ListenableFuture<
4026             com.google.cloud.datacatalog.v1.TagTemplateField>
renameTagTemplateField( com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request)4027         renameTagTemplateField(
4028             com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) {
4029       return io.grpc.stub.ClientCalls.futureUnaryCall(
4030           getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request);
4031     }
4032 
4033     /**
4034      *
4035      *
4036      * <pre>
4037      * Renames an enum value in a tag template.
4038      * Within a single enum field, enum values must be unique.
4039      * </pre>
4040      */
4041     public com.google.common.util.concurrent.ListenableFuture<
4042             com.google.cloud.datacatalog.v1.TagTemplateField>
renameTagTemplateFieldEnumValue( com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request)4043         renameTagTemplateFieldEnumValue(
4044             com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) {
4045       return io.grpc.stub.ClientCalls.futureUnaryCall(
4046           getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()),
4047           request);
4048     }
4049 
4050     /**
4051      *
4052      *
4053      * <pre>
4054      * Deletes a field in a tag template and all uses of this field from the tags
4055      * based on this template.
4056      * You must enable the Data Catalog API in the project identified by
4057      * the `name` parameter. For more information, see [Data Catalog resource
4058      * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
4059      * </pre>
4060      */
4061     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteTagTemplateField( com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request)4062         deleteTagTemplateField(
4063             com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) {
4064       return io.grpc.stub.ClientCalls.futureUnaryCall(
4065           getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request);
4066     }
4067 
4068     /**
4069      *
4070      *
4071      * <pre>
4072      * Creates a tag and assigns it to:
4073      * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
4074      *   `projects.locations.entryGroups.entries.tags.create`.
4075      * * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
4076      *   name is `projects.locations.entryGroups.tags.create`.
4077      * Note: The project identified by the `parent` parameter for the [tag]
4078      * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
4079      * and the [tag template]
4080      * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
4081      * used to create the tag must be in the same organization.
4082      * </pre>
4083      */
4084     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.datacatalog.v1.Tag>
createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request)4085         createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request) {
4086       return io.grpc.stub.ClientCalls.futureUnaryCall(
4087           getChannel().newCall(getCreateTagMethod(), getCallOptions()), request);
4088     }
4089 
4090     /**
4091      *
4092      *
4093      * <pre>
4094      * Updates an existing tag.
4095      * </pre>
4096      */
4097     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.datacatalog.v1.Tag>
updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request)4098         updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request) {
4099       return io.grpc.stub.ClientCalls.futureUnaryCall(
4100           getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request);
4101     }
4102 
4103     /**
4104      *
4105      *
4106      * <pre>
4107      * Deletes a tag.
4108      * </pre>
4109      */
deleteTag( com.google.cloud.datacatalog.v1.DeleteTagRequest request)4110     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTag(
4111         com.google.cloud.datacatalog.v1.DeleteTagRequest request) {
4112       return io.grpc.stub.ClientCalls.futureUnaryCall(
4113           getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request);
4114     }
4115 
4116     /**
4117      *
4118      *
4119      * <pre>
4120      * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
4121      * The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
4122      * lowercased.
4123      * </pre>
4124      */
4125     public com.google.common.util.concurrent.ListenableFuture<
4126             com.google.cloud.datacatalog.v1.ListTagsResponse>
listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request)4127         listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request) {
4128       return io.grpc.stub.ClientCalls.futureUnaryCall(
4129           getChannel().newCall(getListTagsMethod(), getCallOptions()), request);
4130     }
4131 
4132     /**
4133      *
4134      *
4135      * <pre>
4136      * `ReconcileTags` creates or updates a list of tags on the entry.
4137      * If the
4138      * [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
4139      * parameter is set, the operation deletes tags not included in the input tag
4140      * list.
4141      * `ReconcileTags` returns a [long-running operation]
4142      * [google.longrunning.Operation] resource that can be queried with
4143      * [Operations.GetOperation][google.longrunning.Operations.GetOperation]
4144      * to return [ReconcileTagsMetadata]
4145      * [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
4146      * a [ReconcileTagsResponse]
4147      * [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
4148      * </pre>
4149      */
4150     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request)4151         reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) {
4152       return io.grpc.stub.ClientCalls.futureUnaryCall(
4153           getChannel().newCall(getReconcileTagsMethod(), getCallOptions()), request);
4154     }
4155 
4156     /**
4157      *
4158      *
4159      * <pre>
4160      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
4161      * the current user. Starring information is private to each user.
4162      * </pre>
4163      */
4164     public com.google.common.util.concurrent.ListenableFuture<
4165             com.google.cloud.datacatalog.v1.StarEntryResponse>
starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request)4166         starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request) {
4167       return io.grpc.stub.ClientCalls.futureUnaryCall(
4168           getChannel().newCall(getStarEntryMethod(), getCallOptions()), request);
4169     }
4170 
4171     /**
4172      *
4173      *
4174      * <pre>
4175      * Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
4176      * the current user. Starring information is private to each user.
4177      * </pre>
4178      */
4179     public com.google.common.util.concurrent.ListenableFuture<
4180             com.google.cloud.datacatalog.v1.UnstarEntryResponse>
unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request)4181         unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request) {
4182       return io.grpc.stub.ClientCalls.futureUnaryCall(
4183           getChannel().newCall(getUnstarEntryMethod(), getCallOptions()), request);
4184     }
4185 
4186     /**
4187      *
4188      *
4189      * <pre>
4190      * Sets an access control policy for a resource. Replaces any existing
4191      * policy.
4192      * Supported resources are:
4193      * - Tag templates
4194      * - Entry groups
4195      * Note: This method sets policies only within Data Catalog and can't be
4196      * used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
4197      * external Google Cloud Platform resources synced with the Data Catalog.
4198      * To call this method, you must have the following Google IAM permissions:
4199      * - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
4200      *   templates.
4201      * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
4202      * </pre>
4203      */
4204     public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)4205         setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
4206       return io.grpc.stub.ClientCalls.futureUnaryCall(
4207           getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request);
4208     }
4209 
4210     /**
4211      *
4212      *
4213      * <pre>
4214      * Gets the access control policy for a resource.
4215      * May return:
4216      * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
4217      *   permission to view it.
4218      * * An empty policy if the resource exists but doesn't have a set policy.
4219      * Supported resources are:
4220      * - Tag templates
4221      * - Entry groups
4222      * Note: This method doesn't get policies from Google Cloud Platform
4223      * resources ingested into Data Catalog.
4224      * To call this method, you must have the following Google IAM permissions:
4225      * - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
4226      *   templates.
4227      * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
4228      * </pre>
4229      */
4230     public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)4231         getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) {
4232       return io.grpc.stub.ClientCalls.futureUnaryCall(
4233           getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request);
4234     }
4235 
4236     /**
4237      *
4238      *
4239      * <pre>
4240      * Gets your permissions on a resource.
4241      * Returns an empty set of permissions if the resource doesn't exist.
4242      * Supported resources are:
4243      * - Tag templates
4244      * - Entry groups
4245      * Note: This method gets policies only within Data Catalog and can't be
4246      * used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
4247      * external Google Cloud Platform resources ingested into Data Catalog.
4248      * No Google IAM permissions are required to call this method.
4249      * </pre>
4250      */
4251     public com.google.common.util.concurrent.ListenableFuture<
4252             com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)4253         testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) {
4254       return io.grpc.stub.ClientCalls.futureUnaryCall(
4255           getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request);
4256     }
4257 
4258     /**
4259      *
4260      *
4261      * <pre>
4262      * Imports entries from a source, such as data previously dumped into a
4263      * Cloud Storage bucket, into Data Catalog. Import of entries
4264      * is a sync operation that reconciles the state of the third-party system
4265      * with the Data Catalog.
4266      * `ImportEntries` accepts source data snapshots of a third-party system.
4267      * Snapshot should be delivered as a .wire or base65-encoded .txt file
4268      * containing a sequence of Protocol Buffer messages of
4269      * [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
4270      * `ImportEntries` returns a [long-running operation]
4271      * [google.longrunning.Operation] resource that can be queried with
4272      * [Operations.GetOperation][google.longrunning.Operations.GetOperation]
4273      * to return
4274      * [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
4275      * and an
4276      * [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
4277      * message.
4278      * </pre>
4279      */
4280     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request)4281         importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request) {
4282       return io.grpc.stub.ClientCalls.futureUnaryCall(
4283           getChannel().newCall(getImportEntriesMethod(), getCallOptions()), request);
4284     }
4285   }
4286 
4287   private static final int METHODID_SEARCH_CATALOG = 0;
4288   private static final int METHODID_CREATE_ENTRY_GROUP = 1;
4289   private static final int METHODID_GET_ENTRY_GROUP = 2;
4290   private static final int METHODID_UPDATE_ENTRY_GROUP = 3;
4291   private static final int METHODID_DELETE_ENTRY_GROUP = 4;
4292   private static final int METHODID_LIST_ENTRY_GROUPS = 5;
4293   private static final int METHODID_CREATE_ENTRY = 6;
4294   private static final int METHODID_UPDATE_ENTRY = 7;
4295   private static final int METHODID_DELETE_ENTRY = 8;
4296   private static final int METHODID_GET_ENTRY = 9;
4297   private static final int METHODID_LOOKUP_ENTRY = 10;
4298   private static final int METHODID_LIST_ENTRIES = 11;
4299   private static final int METHODID_MODIFY_ENTRY_OVERVIEW = 12;
4300   private static final int METHODID_MODIFY_ENTRY_CONTACTS = 13;
4301   private static final int METHODID_CREATE_TAG_TEMPLATE = 14;
4302   private static final int METHODID_GET_TAG_TEMPLATE = 15;
4303   private static final int METHODID_UPDATE_TAG_TEMPLATE = 16;
4304   private static final int METHODID_DELETE_TAG_TEMPLATE = 17;
4305   private static final int METHODID_CREATE_TAG_TEMPLATE_FIELD = 18;
4306   private static final int METHODID_UPDATE_TAG_TEMPLATE_FIELD = 19;
4307   private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD = 20;
4308   private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE = 21;
4309   private static final int METHODID_DELETE_TAG_TEMPLATE_FIELD = 22;
4310   private static final int METHODID_CREATE_TAG = 23;
4311   private static final int METHODID_UPDATE_TAG = 24;
4312   private static final int METHODID_DELETE_TAG = 25;
4313   private static final int METHODID_LIST_TAGS = 26;
4314   private static final int METHODID_RECONCILE_TAGS = 27;
4315   private static final int METHODID_STAR_ENTRY = 28;
4316   private static final int METHODID_UNSTAR_ENTRY = 29;
4317   private static final int METHODID_SET_IAM_POLICY = 30;
4318   private static final int METHODID_GET_IAM_POLICY = 31;
4319   private static final int METHODID_TEST_IAM_PERMISSIONS = 32;
4320   private static final int METHODID_IMPORT_ENTRIES = 33;
4321 
4322   private static final class MethodHandlers<Req, Resp>
4323       implements io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
4324           io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
4325           io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
4326           io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
4327     private final AsyncService serviceImpl;
4328     private final int methodId;
4329 
MethodHandlers(AsyncService serviceImpl, int methodId)4330     MethodHandlers(AsyncService serviceImpl, int methodId) {
4331       this.serviceImpl = serviceImpl;
4332       this.methodId = methodId;
4333     }
4334 
4335     @java.lang.Override
4336     @java.lang.SuppressWarnings("unchecked")
invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver)4337     public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
4338       switch (methodId) {
4339         case METHODID_SEARCH_CATALOG:
4340           serviceImpl.searchCatalog(
4341               (com.google.cloud.datacatalog.v1.SearchCatalogRequest) request,
4342               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.SearchCatalogResponse>)
4343                   responseObserver);
4344           break;
4345         case METHODID_CREATE_ENTRY_GROUP:
4346           serviceImpl.createEntryGroup(
4347               (com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) request,
4348               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup>)
4349                   responseObserver);
4350           break;
4351         case METHODID_GET_ENTRY_GROUP:
4352           serviceImpl.getEntryGroup(
4353               (com.google.cloud.datacatalog.v1.GetEntryGroupRequest) request,
4354               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup>)
4355                   responseObserver);
4356           break;
4357         case METHODID_UPDATE_ENTRY_GROUP:
4358           serviceImpl.updateEntryGroup(
4359               (com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) request,
4360               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryGroup>)
4361                   responseObserver);
4362           break;
4363         case METHODID_DELETE_ENTRY_GROUP:
4364           serviceImpl.deleteEntryGroup(
4365               (com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) request,
4366               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
4367           break;
4368         case METHODID_LIST_ENTRY_GROUPS:
4369           serviceImpl.listEntryGroups(
4370               (com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) request,
4371               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>)
4372                   responseObserver);
4373           break;
4374         case METHODID_CREATE_ENTRY:
4375           serviceImpl.createEntry(
4376               (com.google.cloud.datacatalog.v1.CreateEntryRequest) request,
4377               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry>)
4378                   responseObserver);
4379           break;
4380         case METHODID_UPDATE_ENTRY:
4381           serviceImpl.updateEntry(
4382               (com.google.cloud.datacatalog.v1.UpdateEntryRequest) request,
4383               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry>)
4384                   responseObserver);
4385           break;
4386         case METHODID_DELETE_ENTRY:
4387           serviceImpl.deleteEntry(
4388               (com.google.cloud.datacatalog.v1.DeleteEntryRequest) request,
4389               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
4390           break;
4391         case METHODID_GET_ENTRY:
4392           serviceImpl.getEntry(
4393               (com.google.cloud.datacatalog.v1.GetEntryRequest) request,
4394               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry>)
4395                   responseObserver);
4396           break;
4397         case METHODID_LOOKUP_ENTRY:
4398           serviceImpl.lookupEntry(
4399               (com.google.cloud.datacatalog.v1.LookupEntryRequest) request,
4400               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Entry>)
4401                   responseObserver);
4402           break;
4403         case METHODID_LIST_ENTRIES:
4404           serviceImpl.listEntries(
4405               (com.google.cloud.datacatalog.v1.ListEntriesRequest) request,
4406               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListEntriesResponse>)
4407                   responseObserver);
4408           break;
4409         case METHODID_MODIFY_ENTRY_OVERVIEW:
4410           serviceImpl.modifyEntryOverview(
4411               (com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) request,
4412               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.EntryOverview>)
4413                   responseObserver);
4414           break;
4415         case METHODID_MODIFY_ENTRY_CONTACTS:
4416           serviceImpl.modifyEntryContacts(
4417               (com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) request,
4418               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Contacts>)
4419                   responseObserver);
4420           break;
4421         case METHODID_CREATE_TAG_TEMPLATE:
4422           serviceImpl.createTagTemplate(
4423               (com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) request,
4424               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate>)
4425                   responseObserver);
4426           break;
4427         case METHODID_GET_TAG_TEMPLATE:
4428           serviceImpl.getTagTemplate(
4429               (com.google.cloud.datacatalog.v1.GetTagTemplateRequest) request,
4430               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate>)
4431                   responseObserver);
4432           break;
4433         case METHODID_UPDATE_TAG_TEMPLATE:
4434           serviceImpl.updateTagTemplate(
4435               (com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) request,
4436               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplate>)
4437                   responseObserver);
4438           break;
4439         case METHODID_DELETE_TAG_TEMPLATE:
4440           serviceImpl.deleteTagTemplate(
4441               (com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) request,
4442               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
4443           break;
4444         case METHODID_CREATE_TAG_TEMPLATE_FIELD:
4445           serviceImpl.createTagTemplateField(
4446               (com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) request,
4447               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>)
4448                   responseObserver);
4449           break;
4450         case METHODID_UPDATE_TAG_TEMPLATE_FIELD:
4451           serviceImpl.updateTagTemplateField(
4452               (com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) request,
4453               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>)
4454                   responseObserver);
4455           break;
4456         case METHODID_RENAME_TAG_TEMPLATE_FIELD:
4457           serviceImpl.renameTagTemplateField(
4458               (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) request,
4459               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>)
4460                   responseObserver);
4461           break;
4462         case METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE:
4463           serviceImpl.renameTagTemplateFieldEnumValue(
4464               (com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) request,
4465               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.TagTemplateField>)
4466                   responseObserver);
4467           break;
4468         case METHODID_DELETE_TAG_TEMPLATE_FIELD:
4469           serviceImpl.deleteTagTemplateField(
4470               (com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) request,
4471               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
4472           break;
4473         case METHODID_CREATE_TAG:
4474           serviceImpl.createTag(
4475               (com.google.cloud.datacatalog.v1.CreateTagRequest) request,
4476               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag>) responseObserver);
4477           break;
4478         case METHODID_UPDATE_TAG:
4479           serviceImpl.updateTag(
4480               (com.google.cloud.datacatalog.v1.UpdateTagRequest) request,
4481               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.Tag>) responseObserver);
4482           break;
4483         case METHODID_DELETE_TAG:
4484           serviceImpl.deleteTag(
4485               (com.google.cloud.datacatalog.v1.DeleteTagRequest) request,
4486               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
4487           break;
4488         case METHODID_LIST_TAGS:
4489           serviceImpl.listTags(
4490               (com.google.cloud.datacatalog.v1.ListTagsRequest) request,
4491               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.ListTagsResponse>)
4492                   responseObserver);
4493           break;
4494         case METHODID_RECONCILE_TAGS:
4495           serviceImpl.reconcileTags(
4496               (com.google.cloud.datacatalog.v1.ReconcileTagsRequest) request,
4497               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
4498           break;
4499         case METHODID_STAR_ENTRY:
4500           serviceImpl.starEntry(
4501               (com.google.cloud.datacatalog.v1.StarEntryRequest) request,
4502               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.StarEntryResponse>)
4503                   responseObserver);
4504           break;
4505         case METHODID_UNSTAR_ENTRY:
4506           serviceImpl.unstarEntry(
4507               (com.google.cloud.datacatalog.v1.UnstarEntryRequest) request,
4508               (io.grpc.stub.StreamObserver<com.google.cloud.datacatalog.v1.UnstarEntryResponse>)
4509                   responseObserver);
4510           break;
4511         case METHODID_SET_IAM_POLICY:
4512           serviceImpl.setIamPolicy(
4513               (com.google.iam.v1.SetIamPolicyRequest) request,
4514               (io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>) responseObserver);
4515           break;
4516         case METHODID_GET_IAM_POLICY:
4517           serviceImpl.getIamPolicy(
4518               (com.google.iam.v1.GetIamPolicyRequest) request,
4519               (io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>) responseObserver);
4520           break;
4521         case METHODID_TEST_IAM_PERMISSIONS:
4522           serviceImpl.testIamPermissions(
4523               (com.google.iam.v1.TestIamPermissionsRequest) request,
4524               (io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>)
4525                   responseObserver);
4526           break;
4527         case METHODID_IMPORT_ENTRIES:
4528           serviceImpl.importEntries(
4529               (com.google.cloud.datacatalog.v1.ImportEntriesRequest) request,
4530               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
4531           break;
4532         default:
4533           throw new AssertionError();
4534       }
4535     }
4536 
4537     @java.lang.Override
4538     @java.lang.SuppressWarnings("unchecked")
invoke( io.grpc.stub.StreamObserver<Resp> responseObserver)4539     public io.grpc.stub.StreamObserver<Req> invoke(
4540         io.grpc.stub.StreamObserver<Resp> responseObserver) {
4541       switch (methodId) {
4542         default:
4543           throw new AssertionError();
4544       }
4545     }
4546   }
4547 
bindService(AsyncService service)4548   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
4549     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
4550         .addMethod(
4551             getSearchCatalogMethod(),
4552             io.grpc.stub.ServerCalls.asyncUnaryCall(
4553                 new MethodHandlers<
4554                     com.google.cloud.datacatalog.v1.SearchCatalogRequest,
4555                     com.google.cloud.datacatalog.v1.SearchCatalogResponse>(
4556                     service, METHODID_SEARCH_CATALOG)))
4557         .addMethod(
4558             getCreateEntryGroupMethod(),
4559             io.grpc.stub.ServerCalls.asyncUnaryCall(
4560                 new MethodHandlers<
4561                     com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
4562                     com.google.cloud.datacatalog.v1.EntryGroup>(
4563                     service, METHODID_CREATE_ENTRY_GROUP)))
4564         .addMethod(
4565             getGetEntryGroupMethod(),
4566             io.grpc.stub.ServerCalls.asyncUnaryCall(
4567                 new MethodHandlers<
4568                     com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
4569                     com.google.cloud.datacatalog.v1.EntryGroup>(service, METHODID_GET_ENTRY_GROUP)))
4570         .addMethod(
4571             getUpdateEntryGroupMethod(),
4572             io.grpc.stub.ServerCalls.asyncUnaryCall(
4573                 new MethodHandlers<
4574                     com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
4575                     com.google.cloud.datacatalog.v1.EntryGroup>(
4576                     service, METHODID_UPDATE_ENTRY_GROUP)))
4577         .addMethod(
4578             getDeleteEntryGroupMethod(),
4579             io.grpc.stub.ServerCalls.asyncUnaryCall(
4580                 new MethodHandlers<
4581                     com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest,
4582                     com.google.protobuf.Empty>(service, METHODID_DELETE_ENTRY_GROUP)))
4583         .addMethod(
4584             getListEntryGroupsMethod(),
4585             io.grpc.stub.ServerCalls.asyncUnaryCall(
4586                 new MethodHandlers<
4587                     com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
4588                     com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>(
4589                     service, METHODID_LIST_ENTRY_GROUPS)))
4590         .addMethod(
4591             getCreateEntryMethod(),
4592             io.grpc.stub.ServerCalls.asyncUnaryCall(
4593                 new MethodHandlers<
4594                     com.google.cloud.datacatalog.v1.CreateEntryRequest,
4595                     com.google.cloud.datacatalog.v1.Entry>(service, METHODID_CREATE_ENTRY)))
4596         .addMethod(
4597             getUpdateEntryMethod(),
4598             io.grpc.stub.ServerCalls.asyncUnaryCall(
4599                 new MethodHandlers<
4600                     com.google.cloud.datacatalog.v1.UpdateEntryRequest,
4601                     com.google.cloud.datacatalog.v1.Entry>(service, METHODID_UPDATE_ENTRY)))
4602         .addMethod(
4603             getDeleteEntryMethod(),
4604             io.grpc.stub.ServerCalls.asyncUnaryCall(
4605                 new MethodHandlers<
4606                     com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>(
4607                     service, METHODID_DELETE_ENTRY)))
4608         .addMethod(
4609             getGetEntryMethod(),
4610             io.grpc.stub.ServerCalls.asyncUnaryCall(
4611                 new MethodHandlers<
4612                     com.google.cloud.datacatalog.v1.GetEntryRequest,
4613                     com.google.cloud.datacatalog.v1.Entry>(service, METHODID_GET_ENTRY)))
4614         .addMethod(
4615             getLookupEntryMethod(),
4616             io.grpc.stub.ServerCalls.asyncUnaryCall(
4617                 new MethodHandlers<
4618                     com.google.cloud.datacatalog.v1.LookupEntryRequest,
4619                     com.google.cloud.datacatalog.v1.Entry>(service, METHODID_LOOKUP_ENTRY)))
4620         .addMethod(
4621             getListEntriesMethod(),
4622             io.grpc.stub.ServerCalls.asyncUnaryCall(
4623                 new MethodHandlers<
4624                     com.google.cloud.datacatalog.v1.ListEntriesRequest,
4625                     com.google.cloud.datacatalog.v1.ListEntriesResponse>(
4626                     service, METHODID_LIST_ENTRIES)))
4627         .addMethod(
4628             getModifyEntryOverviewMethod(),
4629             io.grpc.stub.ServerCalls.asyncUnaryCall(
4630                 new MethodHandlers<
4631                     com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
4632                     com.google.cloud.datacatalog.v1.EntryOverview>(
4633                     service, METHODID_MODIFY_ENTRY_OVERVIEW)))
4634         .addMethod(
4635             getModifyEntryContactsMethod(),
4636             io.grpc.stub.ServerCalls.asyncUnaryCall(
4637                 new MethodHandlers<
4638                     com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
4639                     com.google.cloud.datacatalog.v1.Contacts>(
4640                     service, METHODID_MODIFY_ENTRY_CONTACTS)))
4641         .addMethod(
4642             getCreateTagTemplateMethod(),
4643             io.grpc.stub.ServerCalls.asyncUnaryCall(
4644                 new MethodHandlers<
4645                     com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
4646                     com.google.cloud.datacatalog.v1.TagTemplate>(
4647                     service, METHODID_CREATE_TAG_TEMPLATE)))
4648         .addMethod(
4649             getGetTagTemplateMethod(),
4650             io.grpc.stub.ServerCalls.asyncUnaryCall(
4651                 new MethodHandlers<
4652                     com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
4653                     com.google.cloud.datacatalog.v1.TagTemplate>(
4654                     service, METHODID_GET_TAG_TEMPLATE)))
4655         .addMethod(
4656             getUpdateTagTemplateMethod(),
4657             io.grpc.stub.ServerCalls.asyncUnaryCall(
4658                 new MethodHandlers<
4659                     com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
4660                     com.google.cloud.datacatalog.v1.TagTemplate>(
4661                     service, METHODID_UPDATE_TAG_TEMPLATE)))
4662         .addMethod(
4663             getDeleteTagTemplateMethod(),
4664             io.grpc.stub.ServerCalls.asyncUnaryCall(
4665                 new MethodHandlers<
4666                     com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest,
4667                     com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE)))
4668         .addMethod(
4669             getCreateTagTemplateFieldMethod(),
4670             io.grpc.stub.ServerCalls.asyncUnaryCall(
4671                 new MethodHandlers<
4672                     com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
4673                     com.google.cloud.datacatalog.v1.TagTemplateField>(
4674                     service, METHODID_CREATE_TAG_TEMPLATE_FIELD)))
4675         .addMethod(
4676             getUpdateTagTemplateFieldMethod(),
4677             io.grpc.stub.ServerCalls.asyncUnaryCall(
4678                 new MethodHandlers<
4679                     com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
4680                     com.google.cloud.datacatalog.v1.TagTemplateField>(
4681                     service, METHODID_UPDATE_TAG_TEMPLATE_FIELD)))
4682         .addMethod(
4683             getRenameTagTemplateFieldMethod(),
4684             io.grpc.stub.ServerCalls.asyncUnaryCall(
4685                 new MethodHandlers<
4686                     com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
4687                     com.google.cloud.datacatalog.v1.TagTemplateField>(
4688                     service, METHODID_RENAME_TAG_TEMPLATE_FIELD)))
4689         .addMethod(
4690             getRenameTagTemplateFieldEnumValueMethod(),
4691             io.grpc.stub.ServerCalls.asyncUnaryCall(
4692                 new MethodHandlers<
4693                     com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
4694                     com.google.cloud.datacatalog.v1.TagTemplateField>(
4695                     service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE)))
4696         .addMethod(
4697             getDeleteTagTemplateFieldMethod(),
4698             io.grpc.stub.ServerCalls.asyncUnaryCall(
4699                 new MethodHandlers<
4700                     com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
4701                     com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE_FIELD)))
4702         .addMethod(
4703             getCreateTagMethod(),
4704             io.grpc.stub.ServerCalls.asyncUnaryCall(
4705                 new MethodHandlers<
4706                     com.google.cloud.datacatalog.v1.CreateTagRequest,
4707                     com.google.cloud.datacatalog.v1.Tag>(service, METHODID_CREATE_TAG)))
4708         .addMethod(
4709             getUpdateTagMethod(),
4710             io.grpc.stub.ServerCalls.asyncUnaryCall(
4711                 new MethodHandlers<
4712                     com.google.cloud.datacatalog.v1.UpdateTagRequest,
4713                     com.google.cloud.datacatalog.v1.Tag>(service, METHODID_UPDATE_TAG)))
4714         .addMethod(
4715             getDeleteTagMethod(),
4716             io.grpc.stub.ServerCalls.asyncUnaryCall(
4717                 new MethodHandlers<
4718                     com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>(
4719                     service, METHODID_DELETE_TAG)))
4720         .addMethod(
4721             getListTagsMethod(),
4722             io.grpc.stub.ServerCalls.asyncUnaryCall(
4723                 new MethodHandlers<
4724                     com.google.cloud.datacatalog.v1.ListTagsRequest,
4725                     com.google.cloud.datacatalog.v1.ListTagsResponse>(service, METHODID_LIST_TAGS)))
4726         .addMethod(
4727             getReconcileTagsMethod(),
4728             io.grpc.stub.ServerCalls.asyncUnaryCall(
4729                 new MethodHandlers<
4730                     com.google.cloud.datacatalog.v1.ReconcileTagsRequest,
4731                     com.google.longrunning.Operation>(service, METHODID_RECONCILE_TAGS)))
4732         .addMethod(
4733             getStarEntryMethod(),
4734             io.grpc.stub.ServerCalls.asyncUnaryCall(
4735                 new MethodHandlers<
4736                     com.google.cloud.datacatalog.v1.StarEntryRequest,
4737                     com.google.cloud.datacatalog.v1.StarEntryResponse>(
4738                     service, METHODID_STAR_ENTRY)))
4739         .addMethod(
4740             getUnstarEntryMethod(),
4741             io.grpc.stub.ServerCalls.asyncUnaryCall(
4742                 new MethodHandlers<
4743                     com.google.cloud.datacatalog.v1.UnstarEntryRequest,
4744                     com.google.cloud.datacatalog.v1.UnstarEntryResponse>(
4745                     service, METHODID_UNSTAR_ENTRY)))
4746         .addMethod(
4747             getSetIamPolicyMethod(),
4748             io.grpc.stub.ServerCalls.asyncUnaryCall(
4749                 new MethodHandlers<com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>(
4750                     service, METHODID_SET_IAM_POLICY)))
4751         .addMethod(
4752             getGetIamPolicyMethod(),
4753             io.grpc.stub.ServerCalls.asyncUnaryCall(
4754                 new MethodHandlers<com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>(
4755                     service, METHODID_GET_IAM_POLICY)))
4756         .addMethod(
4757             getTestIamPermissionsMethod(),
4758             io.grpc.stub.ServerCalls.asyncUnaryCall(
4759                 new MethodHandlers<
4760                     com.google.iam.v1.TestIamPermissionsRequest,
4761                     com.google.iam.v1.TestIamPermissionsResponse>(
4762                     service, METHODID_TEST_IAM_PERMISSIONS)))
4763         .addMethod(
4764             getImportEntriesMethod(),
4765             io.grpc.stub.ServerCalls.asyncUnaryCall(
4766                 new MethodHandlers<
4767                     com.google.cloud.datacatalog.v1.ImportEntriesRequest,
4768                     com.google.longrunning.Operation>(service, METHODID_IMPORT_ENTRIES)))
4769         .build();
4770   }
4771 
4772   private abstract static class DataCatalogBaseDescriptorSupplier
4773       implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
4774           io.grpc.protobuf.ProtoServiceDescriptorSupplier {
DataCatalogBaseDescriptorSupplier()4775     DataCatalogBaseDescriptorSupplier() {}
4776 
4777     @java.lang.Override
getFileDescriptor()4778     public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
4779       return com.google.cloud.datacatalog.v1.Datacatalog.getDescriptor();
4780     }
4781 
4782     @java.lang.Override
getServiceDescriptor()4783     public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
4784       return getFileDescriptor().findServiceByName("DataCatalog");
4785     }
4786   }
4787 
4788   private static final class DataCatalogFileDescriptorSupplier
4789       extends DataCatalogBaseDescriptorSupplier {
DataCatalogFileDescriptorSupplier()4790     DataCatalogFileDescriptorSupplier() {}
4791   }
4792 
4793   private static final class DataCatalogMethodDescriptorSupplier
4794       extends DataCatalogBaseDescriptorSupplier
4795       implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
4796     private final String methodName;
4797 
DataCatalogMethodDescriptorSupplier(String methodName)4798     DataCatalogMethodDescriptorSupplier(String methodName) {
4799       this.methodName = methodName;
4800     }
4801 
4802     @java.lang.Override
getMethodDescriptor()4803     public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
4804       return getServiceDescriptor().findMethodByName(methodName);
4805     }
4806   }
4807 
4808   private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
4809 
getServiceDescriptor()4810   public static io.grpc.ServiceDescriptor getServiceDescriptor() {
4811     io.grpc.ServiceDescriptor result = serviceDescriptor;
4812     if (result == null) {
4813       synchronized (DataCatalogGrpc.class) {
4814         result = serviceDescriptor;
4815         if (result == null) {
4816           serviceDescriptor =
4817               result =
4818                   io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
4819                       .setSchemaDescriptor(new DataCatalogFileDescriptorSupplier())
4820                       .addMethod(getSearchCatalogMethod())
4821                       .addMethod(getCreateEntryGroupMethod())
4822                       .addMethod(getGetEntryGroupMethod())
4823                       .addMethod(getUpdateEntryGroupMethod())
4824                       .addMethod(getDeleteEntryGroupMethod())
4825                       .addMethod(getListEntryGroupsMethod())
4826                       .addMethod(getCreateEntryMethod())
4827                       .addMethod(getUpdateEntryMethod())
4828                       .addMethod(getDeleteEntryMethod())
4829                       .addMethod(getGetEntryMethod())
4830                       .addMethod(getLookupEntryMethod())
4831                       .addMethod(getListEntriesMethod())
4832                       .addMethod(getModifyEntryOverviewMethod())
4833                       .addMethod(getModifyEntryContactsMethod())
4834                       .addMethod(getCreateTagTemplateMethod())
4835                       .addMethod(getGetTagTemplateMethod())
4836                       .addMethod(getUpdateTagTemplateMethod())
4837                       .addMethod(getDeleteTagTemplateMethod())
4838                       .addMethod(getCreateTagTemplateFieldMethod())
4839                       .addMethod(getUpdateTagTemplateFieldMethod())
4840                       .addMethod(getRenameTagTemplateFieldMethod())
4841                       .addMethod(getRenameTagTemplateFieldEnumValueMethod())
4842                       .addMethod(getDeleteTagTemplateFieldMethod())
4843                       .addMethod(getCreateTagMethod())
4844                       .addMethod(getUpdateTagMethod())
4845                       .addMethod(getDeleteTagMethod())
4846                       .addMethod(getListTagsMethod())
4847                       .addMethod(getReconcileTagsMethod())
4848                       .addMethod(getStarEntryMethod())
4849                       .addMethod(getUnstarEntryMethod())
4850                       .addMethod(getSetIamPolicyMethod())
4851                       .addMethod(getGetIamPolicyMethod())
4852                       .addMethod(getTestIamPermissionsMethod())
4853                       .addMethod(getImportEntriesMethod())
4854                       .build();
4855         }
4856       }
4857     }
4858     return result;
4859   }
4860 }
4861