com.google.cloud.datacatalog.v1.DataCatalogGrpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-google-cloud-datacatalog-v1 Show documentation
Show all versions of grpc-google-cloud-datacatalog-v1 Show documentation
GRPC library for grpc-google-cloud-datacatalog-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.datacatalog.v1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*
*
*
* Data Catalog API service allows you to discover, understand, and manage
* your data.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1/datacatalog.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class DataCatalogGrpc {
private DataCatalogGrpc() {}
public static final java.lang.String SERVICE_NAME = "google.cloud.datacatalog.v1.DataCatalog";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.SearchCatalogRequest,
com.google.cloud.datacatalog.v1.SearchCatalogResponse>
getSearchCatalogMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SearchCatalog",
requestType = com.google.cloud.datacatalog.v1.SearchCatalogRequest.class,
responseType = com.google.cloud.datacatalog.v1.SearchCatalogResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.SearchCatalogRequest,
com.google.cloud.datacatalog.v1.SearchCatalogResponse>
getSearchCatalogMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.SearchCatalogRequest,
com.google.cloud.datacatalog.v1.SearchCatalogResponse>
getSearchCatalogMethod;
if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getSearchCatalogMethod = DataCatalogGrpc.getSearchCatalogMethod) == null) {
DataCatalogGrpc.getSearchCatalogMethod =
getSearchCatalogMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchCatalog"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.SearchCatalogRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.SearchCatalogResponse
.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SearchCatalog"))
.build();
}
}
}
return getSearchCatalogMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>
getCreateEntryGroupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateEntryGroup",
requestType = com.google.cloud.datacatalog.v1.CreateEntryGroupRequest.class,
responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>
getCreateEntryGroupMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>
getCreateEntryGroupMethod;
if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getCreateEntryGroupMethod = DataCatalogGrpc.getCreateEntryGroupMethod) == null) {
DataCatalogGrpc.getCreateEntryGroupMethod =
getCreateEntryGroupMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntryGroup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.CreateEntryGroupRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("CreateEntryGroup"))
.build();
}
}
}
return getCreateEntryGroupMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>
getGetEntryGroupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetEntryGroup",
requestType = com.google.cloud.datacatalog.v1.GetEntryGroupRequest.class,
responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>
getGetEntryGroupMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>
getGetEntryGroupMethod;
if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getGetEntryGroupMethod = DataCatalogGrpc.getGetEntryGroupMethod) == null) {
DataCatalogGrpc.getGetEntryGroupMethod =
getGetEntryGroupMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntryGroup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.GetEntryGroupRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntryGroup"))
.build();
}
}
}
return getGetEntryGroupMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>
getUpdateEntryGroupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateEntryGroup",
requestType = com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest.class,
responseType = com.google.cloud.datacatalog.v1.EntryGroup.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>
getUpdateEntryGroupMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>
getUpdateEntryGroupMethod;
if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getUpdateEntryGroupMethod = DataCatalogGrpc.getUpdateEntryGroupMethod) == null) {
DataCatalogGrpc.getUpdateEntryGroupMethod =
getUpdateEntryGroupMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntryGroup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.EntryGroup.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("UpdateEntryGroup"))
.build();
}
}
}
return getUpdateEntryGroupMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
getDeleteEntryGroupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteEntryGroup",
requestType = com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
getDeleteEntryGroupMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, com.google.protobuf.Empty>
getDeleteEntryGroupMethod;
if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getDeleteEntryGroupMethod = DataCatalogGrpc.getDeleteEntryGroupMethod) == null) {
DataCatalogGrpc.getDeleteEntryGroupMethod =
getDeleteEntryGroupMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntryGroup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("DeleteEntryGroup"))
.build();
}
}
}
return getDeleteEntryGroupMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
getListEntryGroupsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListEntryGroups",
requestType = com.google.cloud.datacatalog.v1.ListEntryGroupsRequest.class,
responseType = com.google.cloud.datacatalog.v1.ListEntryGroupsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
getListEntryGroupsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
getListEntryGroupsMethod;
if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getListEntryGroupsMethod = DataCatalogGrpc.getListEntryGroupsMethod) == null) {
DataCatalogGrpc.getListEntryGroupsMethod =
getListEntryGroupsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntryGroups"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ListEntryGroupsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ListEntryGroupsResponse
.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("ListEntryGroups"))
.build();
}
}
}
return getListEntryGroupsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getCreateEntryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateEntry",
requestType = com.google.cloud.datacatalog.v1.CreateEntryRequest.class,
responseType = com.google.cloud.datacatalog.v1.Entry.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getCreateEntryMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateEntryRequest,
com.google.cloud.datacatalog.v1.Entry>
getCreateEntryMethod;
if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getCreateEntryMethod = DataCatalogGrpc.getCreateEntryMethod) == null) {
DataCatalogGrpc.getCreateEntryMethod =
getCreateEntryMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntry"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.CreateEntryRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateEntry"))
.build();
}
}
}
return getCreateEntryMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getUpdateEntryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateEntry",
requestType = com.google.cloud.datacatalog.v1.UpdateEntryRequest.class,
responseType = com.google.cloud.datacatalog.v1.Entry.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getUpdateEntryMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateEntryRequest,
com.google.cloud.datacatalog.v1.Entry>
getUpdateEntryMethod;
if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getUpdateEntryMethod = DataCatalogGrpc.getUpdateEntryMethod) == null) {
DataCatalogGrpc.getUpdateEntryMethod =
getUpdateEntryMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntry"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.UpdateEntryRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateEntry"))
.build();
}
}
}
return getUpdateEntryMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
getDeleteEntryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteEntry",
requestType = com.google.cloud.datacatalog.v1.DeleteEntryRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
getDeleteEntryMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>
getDeleteEntryMethod;
if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getDeleteEntryMethod = DataCatalogGrpc.getDeleteEntryMethod) == null) {
DataCatalogGrpc.getDeleteEntryMethod =
getDeleteEntryMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntry"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.DeleteEntryRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteEntry"))
.build();
}
}
}
return getDeleteEntryMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getGetEntryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetEntry",
requestType = com.google.cloud.datacatalog.v1.GetEntryRequest.class,
responseType = com.google.cloud.datacatalog.v1.Entry.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getGetEntryMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.GetEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getGetEntryMethod;
if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getGetEntryMethod = DataCatalogGrpc.getGetEntryMethod) == null) {
DataCatalogGrpc.getGetEntryMethod =
getGetEntryMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntry"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.GetEntryRequest.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetEntry"))
.build();
}
}
}
return getGetEntryMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.LookupEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getLookupEntryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "LookupEntry",
requestType = com.google.cloud.datacatalog.v1.LookupEntryRequest.class,
responseType = com.google.cloud.datacatalog.v1.Entry.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.LookupEntryRequest, com.google.cloud.datacatalog.v1.Entry>
getLookupEntryMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.LookupEntryRequest,
com.google.cloud.datacatalog.v1.Entry>
getLookupEntryMethod;
if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getLookupEntryMethod = DataCatalogGrpc.getLookupEntryMethod) == null) {
DataCatalogGrpc.getLookupEntryMethod =
getLookupEntryMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEntry"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.LookupEntryRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.Entry.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("LookupEntry"))
.build();
}
}
}
return getLookupEntryMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ListEntriesRequest,
com.google.cloud.datacatalog.v1.ListEntriesResponse>
getListEntriesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListEntries",
requestType = com.google.cloud.datacatalog.v1.ListEntriesRequest.class,
responseType = com.google.cloud.datacatalog.v1.ListEntriesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ListEntriesRequest,
com.google.cloud.datacatalog.v1.ListEntriesResponse>
getListEntriesMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ListEntriesRequest,
com.google.cloud.datacatalog.v1.ListEntriesResponse>
getListEntriesMethod;
if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getListEntriesMethod = DataCatalogGrpc.getListEntriesMethod) == null) {
DataCatalogGrpc.getListEntriesMethod =
getListEntriesMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntries"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ListEntriesRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ListEntriesResponse
.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListEntries"))
.build();
}
}
}
return getListEntriesMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
com.google.cloud.datacatalog.v1.EntryOverview>
getModifyEntryOverviewMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ModifyEntryOverview",
requestType = com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.class,
responseType = com.google.cloud.datacatalog.v1.EntryOverview.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
com.google.cloud.datacatalog.v1.EntryOverview>
getModifyEntryOverviewMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
com.google.cloud.datacatalog.v1.EntryOverview>
getModifyEntryOverviewMethod;
if ((getModifyEntryOverviewMethod = DataCatalogGrpc.getModifyEntryOverviewMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getModifyEntryOverviewMethod = DataCatalogGrpc.getModifyEntryOverviewMethod) == null) {
DataCatalogGrpc.getModifyEntryOverviewMethod =
getModifyEntryOverviewMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "ModifyEntryOverview"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.EntryOverview.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("ModifyEntryOverview"))
.build();
}
}
}
return getModifyEntryOverviewMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
com.google.cloud.datacatalog.v1.Contacts>
getModifyEntryContactsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ModifyEntryContacts",
requestType = com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest.class,
responseType = com.google.cloud.datacatalog.v1.Contacts.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
com.google.cloud.datacatalog.v1.Contacts>
getModifyEntryContactsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
com.google.cloud.datacatalog.v1.Contacts>
getModifyEntryContactsMethod;
if ((getModifyEntryContactsMethod = DataCatalogGrpc.getModifyEntryContactsMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getModifyEntryContactsMethod = DataCatalogGrpc.getModifyEntryContactsMethod) == null) {
DataCatalogGrpc.getModifyEntryContactsMethod =
getModifyEntryContactsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "ModifyEntryContacts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.Contacts.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("ModifyEntryContacts"))
.build();
}
}
}
return getModifyEntryContactsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>
getCreateTagTemplateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplate",
requestType = com.google.cloud.datacatalog.v1.CreateTagTemplateRequest.class,
responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>
getCreateTagTemplateMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>
getCreateTagTemplateMethod;
if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getCreateTagTemplateMethod = DataCatalogGrpc.getCreateTagTemplateMethod) == null) {
DataCatalogGrpc.getCreateTagTemplateMethod =
getCreateTagTemplateMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTagTemplate"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.CreateTagTemplateRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("CreateTagTemplate"))
.build();
}
}
}
return getCreateTagTemplateMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>
getGetTagTemplateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetTagTemplate",
requestType = com.google.cloud.datacatalog.v1.GetTagTemplateRequest.class,
responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>
getGetTagTemplateMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>
getGetTagTemplateMethod;
if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getGetTagTemplateMethod = DataCatalogGrpc.getGetTagTemplateMethod) == null) {
DataCatalogGrpc.getGetTagTemplateMethod =
getGetTagTemplateMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTagTemplate"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.GetTagTemplateRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("GetTagTemplate"))
.build();
}
}
}
return getGetTagTemplateMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>
getUpdateTagTemplateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplate",
requestType = com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest.class,
responseType = com.google.cloud.datacatalog.v1.TagTemplate.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>
getUpdateTagTemplateMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>
getUpdateTagTemplateMethod;
if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getUpdateTagTemplateMethod = DataCatalogGrpc.getUpdateTagTemplateMethod) == null) {
DataCatalogGrpc.getUpdateTagTemplateMethod =
getUpdateTagTemplateMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTagTemplate"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.TagTemplate.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("UpdateTagTemplate"))
.build();
}
}
}
return getUpdateTagTemplateMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
getDeleteTagTemplateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplate",
requestType = com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
getDeleteTagTemplateMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, com.google.protobuf.Empty>
getDeleteTagTemplateMethod;
if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getDeleteTagTemplateMethod = DataCatalogGrpc.getDeleteTagTemplateMethod) == null) {
DataCatalogGrpc.getDeleteTagTemplateMethod =
getDeleteTagTemplateMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTagTemplate"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("DeleteTagTemplate"))
.build();
}
}
}
return getDeleteTagTemplateMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getCreateTagTemplateFieldMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateTagTemplateField",
requestType = com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.class,
responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getCreateTagTemplateFieldMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getCreateTagTemplateFieldMethod;
if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod)
== null) {
synchronized (DataCatalogGrpc.class) {
if ((getCreateTagTemplateFieldMethod = DataCatalogGrpc.getCreateTagTemplateFieldMethod)
== null) {
DataCatalogGrpc.getCreateTagTemplateFieldMethod =
getCreateTagTemplateFieldMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "CreateTagTemplateField"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.TagTemplateField
.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("CreateTagTemplateField"))
.build();
}
}
}
return getCreateTagTemplateFieldMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getUpdateTagTemplateFieldMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateTagTemplateField",
requestType = com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.class,
responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getUpdateTagTemplateFieldMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getUpdateTagTemplateFieldMethod;
if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod)
== null) {
synchronized (DataCatalogGrpc.class) {
if ((getUpdateTagTemplateFieldMethod = DataCatalogGrpc.getUpdateTagTemplateFieldMethod)
== null) {
DataCatalogGrpc.getUpdateTagTemplateFieldMethod =
getUpdateTagTemplateFieldMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "UpdateTagTemplateField"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.TagTemplateField
.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("UpdateTagTemplateField"))
.build();
}
}
}
return getUpdateTagTemplateFieldMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getRenameTagTemplateFieldMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateField",
requestType = com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.class,
responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getRenameTagTemplateFieldMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getRenameTagTemplateFieldMethod;
if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod)
== null) {
synchronized (DataCatalogGrpc.class) {
if ((getRenameTagTemplateFieldMethod = DataCatalogGrpc.getRenameTagTemplateFieldMethod)
== null) {
DataCatalogGrpc.getRenameTagTemplateFieldMethod =
getRenameTagTemplateFieldMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "RenameTagTemplateField"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.TagTemplateField
.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("RenameTagTemplateField"))
.build();
}
}
}
return getRenameTagTemplateFieldMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getRenameTagTemplateFieldEnumValueMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateFieldEnumValue",
requestType = com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.class,
responseType = com.google.cloud.datacatalog.v1.TagTemplateField.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getRenameTagTemplateFieldEnumValueMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>
getRenameTagTemplateFieldEnumValueMethod;
if ((getRenameTagTemplateFieldEnumValueMethod =
DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod)
== null) {
synchronized (DataCatalogGrpc.class) {
if ((getRenameTagTemplateFieldEnumValueMethod =
DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod)
== null) {
DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod =
getRenameTagTemplateFieldEnumValueMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.TagTemplateField
.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier(
"RenameTagTemplateFieldEnumValue"))
.build();
}
}
}
return getRenameTagTemplateFieldEnumValueMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, com.google.protobuf.Empty>
getDeleteTagTemplateFieldMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteTagTemplateField",
requestType = com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, com.google.protobuf.Empty>
getDeleteTagTemplateFieldMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
com.google.protobuf.Empty>
getDeleteTagTemplateFieldMethod;
if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod)
== null) {
synchronized (DataCatalogGrpc.class) {
if ((getDeleteTagTemplateFieldMethod = DataCatalogGrpc.getDeleteTagTemplateFieldMethod)
== null) {
DataCatalogGrpc.getDeleteTagTemplateFieldMethod =
getDeleteTagTemplateFieldMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "DeleteTagTemplateField"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("DeleteTagTemplateField"))
.build();
}
}
}
return getDeleteTagTemplateFieldMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
getCreateTagMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateTag",
requestType = com.google.cloud.datacatalog.v1.CreateTagRequest.class,
responseType = com.google.cloud.datacatalog.v1.Tag.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
getCreateTagMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.CreateTagRequest, com.google.cloud.datacatalog.v1.Tag>
getCreateTagMethod;
if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getCreateTagMethod = DataCatalogGrpc.getCreateTagMethod) == null) {
DataCatalogGrpc.getCreateTagMethod =
getCreateTagMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.CreateTagRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("CreateTag"))
.build();
}
}
}
return getCreateTagMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
getUpdateTagMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateTag",
requestType = com.google.cloud.datacatalog.v1.UpdateTagRequest.class,
responseType = com.google.cloud.datacatalog.v1.Tag.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
getUpdateTagMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UpdateTagRequest, com.google.cloud.datacatalog.v1.Tag>
getUpdateTagMethod;
if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getUpdateTagMethod = DataCatalogGrpc.getUpdateTagMethod) == null) {
DataCatalogGrpc.getUpdateTagMethod =
getUpdateTagMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.UpdateTagRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.Tag.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UpdateTag"))
.build();
}
}
}
return getUpdateTagMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
getDeleteTagMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteTag",
requestType = com.google.cloud.datacatalog.v1.DeleteTagRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
getDeleteTagMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>
getDeleteTagMethod;
if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getDeleteTagMethod = DataCatalogGrpc.getDeleteTagMethod) == null) {
DataCatalogGrpc.getDeleteTagMethod =
getDeleteTagMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.DeleteTagRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("DeleteTag"))
.build();
}
}
}
return getDeleteTagMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ListTagsRequest,
com.google.cloud.datacatalog.v1.ListTagsResponse>
getListTagsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListTags",
requestType = com.google.cloud.datacatalog.v1.ListTagsRequest.class,
responseType = com.google.cloud.datacatalog.v1.ListTagsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ListTagsRequest,
com.google.cloud.datacatalog.v1.ListTagsResponse>
getListTagsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ListTagsRequest,
com.google.cloud.datacatalog.v1.ListTagsResponse>
getListTagsMethod;
if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getListTagsMethod = DataCatalogGrpc.getListTagsMethod) == null) {
DataCatalogGrpc.getListTagsMethod =
getListTagsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ListTagsRequest.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ListTagsResponse
.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ListTags"))
.build();
}
}
}
return getListTagsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
getReconcileTagsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ReconcileTags",
requestType = com.google.cloud.datacatalog.v1.ReconcileTagsRequest.class,
responseType = com.google.longrunning.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
getReconcileTagsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ReconcileTagsRequest, com.google.longrunning.Operation>
getReconcileTagsMethod;
if ((getReconcileTagsMethod = DataCatalogGrpc.getReconcileTagsMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getReconcileTagsMethod = DataCatalogGrpc.getReconcileTagsMethod) == null) {
DataCatalogGrpc.getReconcileTagsMethod =
getReconcileTagsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReconcileTags"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ReconcileTagsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.longrunning.Operation.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ReconcileTags"))
.build();
}
}
}
return getReconcileTagsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.StarEntryRequest,
com.google.cloud.datacatalog.v1.StarEntryResponse>
getStarEntryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "StarEntry",
requestType = com.google.cloud.datacatalog.v1.StarEntryRequest.class,
responseType = com.google.cloud.datacatalog.v1.StarEntryResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.StarEntryRequest,
com.google.cloud.datacatalog.v1.StarEntryResponse>
getStarEntryMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.StarEntryRequest,
com.google.cloud.datacatalog.v1.StarEntryResponse>
getStarEntryMethod;
if ((getStarEntryMethod = DataCatalogGrpc.getStarEntryMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getStarEntryMethod = DataCatalogGrpc.getStarEntryMethod) == null) {
DataCatalogGrpc.getStarEntryMethod =
getStarEntryMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StarEntry"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.StarEntryRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.StarEntryResponse
.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("StarEntry"))
.build();
}
}
}
return getStarEntryMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UnstarEntryRequest,
com.google.cloud.datacatalog.v1.UnstarEntryResponse>
getUnstarEntryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UnstarEntry",
requestType = com.google.cloud.datacatalog.v1.UnstarEntryRequest.class,
responseType = com.google.cloud.datacatalog.v1.UnstarEntryResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UnstarEntryRequest,
com.google.cloud.datacatalog.v1.UnstarEntryResponse>
getUnstarEntryMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.UnstarEntryRequest,
com.google.cloud.datacatalog.v1.UnstarEntryResponse>
getUnstarEntryMethod;
if ((getUnstarEntryMethod = DataCatalogGrpc.getUnstarEntryMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getUnstarEntryMethod = DataCatalogGrpc.getUnstarEntryMethod) == null) {
DataCatalogGrpc.getUnstarEntryMethod =
getUnstarEntryMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnstarEntry"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.UnstarEntryRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.UnstarEntryResponse
.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("UnstarEntry"))
.build();
}
}
}
return getUnstarEntryMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
getSetIamPolicyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy",
requestType = com.google.iam.v1.SetIamPolicyRequest.class,
responseType = com.google.iam.v1.Policy.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
getSetIamPolicyMethod() {
io.grpc.MethodDescriptor
getSetIamPolicyMethod;
if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getSetIamPolicyMethod = DataCatalogGrpc.getSetIamPolicyMethod) == null) {
DataCatalogGrpc.getSetIamPolicyMethod =
getSetIamPolicyMethod =
io.grpc.MethodDescriptor
.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.iam.v1.Policy.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("SetIamPolicy"))
.build();
}
}
}
return getSetIamPolicyMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
getGetIamPolicyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy",
requestType = com.google.iam.v1.GetIamPolicyRequest.class,
responseType = com.google.iam.v1.Policy.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
getGetIamPolicyMethod() {
io.grpc.MethodDescriptor
getGetIamPolicyMethod;
if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getGetIamPolicyMethod = DataCatalogGrpc.getGetIamPolicyMethod) == null) {
DataCatalogGrpc.getGetIamPolicyMethod =
getGetIamPolicyMethod =
io.grpc.MethodDescriptor
.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.iam.v1.Policy.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("GetIamPolicy"))
.build();
}
}
}
return getGetIamPolicyMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
getTestIamPermissionsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions",
requestType = com.google.iam.v1.TestIamPermissionsRequest.class,
responseType = com.google.iam.v1.TestIamPermissionsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
getTestIamPermissionsMethod() {
io.grpc.MethodDescriptor<
com.google.iam.v1.TestIamPermissionsRequest,
com.google.iam.v1.TestIamPermissionsResponse>
getTestIamPermissionsMethod;
if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getTestIamPermissionsMethod = DataCatalogGrpc.getTestIamPermissionsMethod) == null) {
DataCatalogGrpc.getTestIamPermissionsMethod =
getTestIamPermissionsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
.setSchemaDescriptor(
new DataCatalogMethodDescriptorSupplier("TestIamPermissions"))
.build();
}
}
}
return getTestIamPermissionsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
getImportEntriesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ImportEntries",
requestType = com.google.cloud.datacatalog.v1.ImportEntriesRequest.class,
responseType = com.google.longrunning.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
getImportEntriesMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.datacatalog.v1.ImportEntriesRequest, com.google.longrunning.Operation>
getImportEntriesMethod;
if ((getImportEntriesMethod = DataCatalogGrpc.getImportEntriesMethod) == null) {
synchronized (DataCatalogGrpc.class) {
if ((getImportEntriesMethod = DataCatalogGrpc.getImportEntriesMethod) == null) {
DataCatalogGrpc.getImportEntriesMethod =
getImportEntriesMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportEntries"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.datacatalog.v1.ImportEntriesRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.longrunning.Operation.getDefaultInstance()))
.setSchemaDescriptor(new DataCatalogMethodDescriptorSupplier("ImportEntries"))
.build();
}
}
}
return getImportEntriesMethod;
}
/** Creates a new async stub that supports all call types for the service */
public static DataCatalogStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DataCatalogStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DataCatalogStub(channel, callOptions);
}
};
return DataCatalogStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static DataCatalogBlockingStub newBlockingStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DataCatalogBlockingStub newStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DataCatalogBlockingStub(channel, callOptions);
}
};
return DataCatalogBlockingStub.newStub(factory, channel);
}
/** Creates a new ListenableFuture-style stub that supports unary calls on the service */
public static DataCatalogFutureStub newFutureStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DataCatalogFutureStub newStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DataCatalogFutureStub(channel, callOptions);
}
};
return DataCatalogFutureStub.newStub(factory, channel);
}
/**
*
*
*
* Data Catalog API service allows you to discover, understand, and manage
* your data.
*
*/
public interface AsyncService {
/**
*
*
*
* Searches Data Catalog for multiple resources like entries and tags that
* match a query.
* This is a [Custom Method]
* (https://cloud.google.com/apis/design/custom_methods) that doesn't return
* all information on a resource, only its ID and high level fields. To get
* more information, you can subsequently call specific get methods.
* Note: Data Catalog search queries don't guarantee full recall. Results
* that match your query might not be returned, even in subsequent
* result pages. Additionally, returned (and not returned) results can vary
* if you repeat search queries.
* For more information, see [Data Catalog search syntax]
* (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
*
*/
default void searchCatalog(
com.google.cloud.datacatalog.v1.SearchCatalogRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getSearchCatalogMethod(), responseObserver);
}
/**
*
*
*
* Creates an entry group.
* An entry group contains logically related entries together with [Cloud
* Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
* These policies specify users who can create, edit, and view entries
* within entry groups.
* Data Catalog automatically creates entry groups with names that start with
* the `@` symbol for the following resources:
* * BigQuery entries (`@bigquery`)
* * Pub/Sub topics (`@pubsub`)
* * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
* You can create your own entry groups for Cloud Storage fileset entries
* and custom entries together with the corresponding IAM policies.
* User-created entry groups can't contain the `@` symbol, it is reserved
* for automatically created groups.
* Entry groups, like entries, can be searched.
* A maximum of 10,000 entry groups may be created per organization across all
* locations.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void createEntryGroup(
com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreateEntryGroupMethod(), responseObserver);
}
/**
*
*
*
* Gets an entry group.
*
*/
default void getEntryGroup(
com.google.cloud.datacatalog.v1.GetEntryGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetEntryGroupMethod(), responseObserver);
}
/**
*
*
*
* Updates an entry group.
* You must enable the Data Catalog API in the project identified by
* the `entry_group.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void updateEntryGroup(
com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUpdateEntryGroupMethod(), responseObserver);
}
/**
*
*
*
* Deletes an entry group.
* You must enable the Data Catalog API in the project
* identified by the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void deleteEntryGroup(
com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteEntryGroupMethod(), responseObserver);
}
/**
*
*
*
* Lists entry groups.
*
*/
default void listEntryGroups(
com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getListEntryGroupsMethod(), responseObserver);
}
/**
*
*
*
* Creates an entry.
* You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
* or custom types. Data Catalog automatically creates entries with other
* types during metadata ingestion from integrated systems.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
* An entry group can have a maximum of 100,000 entries.
*
*/
default void createEntry(
com.google.cloud.datacatalog.v1.CreateEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreateEntryMethod(), responseObserver);
}
/**
*
*
*
* Updates an existing entry.
* You must enable the Data Catalog API in the project identified by
* the `entry.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void updateEntry(
com.google.cloud.datacatalog.v1.UpdateEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUpdateEntryMethod(), responseObserver);
}
/**
*
*
*
* Deletes an existing entry.
* You can delete only the entries created by the
* [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
* method.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void deleteEntry(
com.google.cloud.datacatalog.v1.DeleteEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteEntryMethod(), responseObserver);
}
/**
*
*
*
* Gets an entry.
*
*/
default void getEntry(
com.google.cloud.datacatalog.v1.GetEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), responseObserver);
}
/**
*
*
*
* Gets an entry by its target resource name.
* The resource name comes from the source Google Cloud Platform service.
*
*/
default void lookupEntry(
com.google.cloud.datacatalog.v1.LookupEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getLookupEntryMethod(), responseObserver);
}
/**
*
*
*
* Lists entries.
* Note: Currently, this method can list only custom entries.
* To get a list of both custom and automatically created entries, use
* [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
*
*/
default void listEntries(
com.google.cloud.datacatalog.v1.ListEntriesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getListEntriesMethod(), responseObserver);
}
/**
*
*
*
* Modifies entry overview, part of the business context of an
* [Entry][google.cloud.datacatalog.v1.Entry].
* To call this method, you must have the `datacatalog.entries.updateOverview`
* IAM permission on the corresponding project.
*
*/
default void modifyEntryOverview(
com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getModifyEntryOverviewMethod(), responseObserver);
}
/**
*
*
*
* Modifies contacts, part of the business context of an
* [Entry][google.cloud.datacatalog.v1.Entry].
* To call this method, you must have the `datacatalog.entries.updateContacts`
* IAM permission on the corresponding project.
*
*/
default void modifyEntryContacts(
com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getModifyEntryContactsMethod(), responseObserver);
}
/**
*
*
*
* Creates a tag template.
* You must enable the Data Catalog API in the project identified by the
* `parent` parameter.
* For more information, see [Data Catalog resource project]
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void createTagTemplate(
com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreateTagTemplateMethod(), responseObserver);
}
/**
*
*
*
* Gets a tag template.
*
*/
default void getTagTemplate(
com.google.cloud.datacatalog.v1.GetTagTemplateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetTagTemplateMethod(), responseObserver);
}
/**
*
*
*
* Updates a tag template.
* You can't update template fields with this method. These fields are
* separate resources with their own create, update, and delete methods.
* You must enable the Data Catalog API in the project identified by
* the `tag_template.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void updateTagTemplate(
com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUpdateTagTemplateMethod(), responseObserver);
}
/**
*
*
*
* Deletes a tag template and all tags that use it.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void deleteTagTemplate(
com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteTagTemplateMethod(), responseObserver);
}
/**
*
*
*
* Creates a field in a tag template.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void createTagTemplateField(
com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreateTagTemplateFieldMethod(), responseObserver);
}
/**
*
*
*
* Updates a field in a tag template.
* You can't update the field type with this method.
* You must enable the Data Catalog API in the project
* identified by the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void updateTagTemplateField(
com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUpdateTagTemplateFieldMethod(), responseObserver);
}
/**
*
*
*
* Renames a field in a tag template.
* You must enable the Data Catalog API in the project identified by the
* `name` parameter. For more information, see [Data Catalog resource project]
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void renameTagTemplateField(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getRenameTagTemplateFieldMethod(), responseObserver);
}
/**
*
*
*
* Renames an enum value in a tag template.
* Within a single enum field, enum values must be unique.
*
*/
default void renameTagTemplateFieldEnumValue(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getRenameTagTemplateFieldEnumValueMethod(), responseObserver);
}
/**
*
*
*
* Deletes a field in a tag template and all uses of this field from the tags
* based on this template.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
default void deleteTagTemplateField(
com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteTagTemplateFieldMethod(), responseObserver);
}
/**
*
*
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
* `projects.locations.entryGroups.entries.tags.create`.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
* name is `projects.locations.entryGroups.tags.create`.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
* used to create the tag must be in the same organization.
*
*/
default void createTag(
com.google.cloud.datacatalog.v1.CreateTagRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver);
}
/**
*
*
*
* Updates an existing tag.
*
*/
default void updateTag(
com.google.cloud.datacatalog.v1.UpdateTagRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver);
}
/**
*
*
*
* Deletes a tag.
*
*/
default void deleteTag(
com.google.cloud.datacatalog.v1.DeleteTagRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver);
}
/**
*
*
*
* Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
* The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
* lowercased.
*
*/
default void listTags(
com.google.cloud.datacatalog.v1.ListTagsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver);
}
/**
*
*
*
* `ReconcileTags` creates or updates a list of tags on the entry.
* If the
* [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
* parameter is set, the operation deletes tags not included in the input tag
* list.
* `ReconcileTags` returns a [long-running operation]
* [google.longrunning.Operation] resource that can be queried with
* [Operations.GetOperation][google.longrunning.Operations.GetOperation]
* to return [ReconcileTagsMetadata]
* [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
* a [ReconcileTagsResponse]
* [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
*
*/
default void reconcileTags(
com.google.cloud.datacatalog.v1.ReconcileTagsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getReconcileTagsMethod(), responseObserver);
}
/**
*
*
*
* Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
* the current user. Starring information is private to each user.
*
*/
default void starEntry(
com.google.cloud.datacatalog.v1.StarEntryRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStarEntryMethod(), responseObserver);
}
/**
*
*
*
* Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
* the current user. Starring information is private to each user.
*
*/
default void unstarEntry(
com.google.cloud.datacatalog.v1.UnstarEntryRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUnstarEntryMethod(), responseObserver);
}
/**
*
*
*
* Sets an access control policy for a resource. Replaces any existing
* policy.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method sets policies only within Data Catalog and can't be
* used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
* external Google Cloud Platform resources synced with the Data Catalog.
* To call this method, you must have the following Google IAM permissions:
* - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
* templates.
* - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
*
*/
default void setIamPolicy(
com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getSetIamPolicyMethod(), responseObserver);
}
/**
*
*
*
* Gets the access control policy for a resource.
* May return:
* * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
* permission to view it.
* * An empty policy if the resource exists but doesn't have a set policy.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method doesn't get policies from Google Cloud Platform
* resources ingested into Data Catalog.
* To call this method, you must have the following Google IAM permissions:
* - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
* templates.
* - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
*
*/
default void getIamPolicy(
com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetIamPolicyMethod(), responseObserver);
}
/**
*
*
*
* Gets your permissions on a resource.
* Returns an empty set of permissions if the resource doesn't exist.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method gets policies only within Data Catalog and can't be
* used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
* external Google Cloud Platform resources ingested into Data Catalog.
* No Google IAM permissions are required to call this method.
*
*/
default void testIamPermissions(
com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getTestIamPermissionsMethod(), responseObserver);
}
/**
*
*
*
* Imports entries from a source, such as data previously dumped into a
* Cloud Storage bucket, into Data Catalog. Import of entries
* is a sync operation that reconciles the state of the third-party system
* with the Data Catalog.
* `ImportEntries` accepts source data snapshots of a third-party system.
* Snapshot should be delivered as a .wire or base65-encoded .txt file
* containing a sequence of Protocol Buffer messages of
* [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
* `ImportEntries` returns a [long-running operation]
* [google.longrunning.Operation] resource that can be queried with
* [Operations.GetOperation][google.longrunning.Operations.GetOperation]
* to return
* [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
* and an
* [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
* message.
*
*/
default void importEntries(
com.google.cloud.datacatalog.v1.ImportEntriesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getImportEntriesMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service DataCatalog.
*
*
* Data Catalog API service allows you to discover, understand, and manage
* your data.
*
*/
public abstract static class DataCatalogImplBase
implements io.grpc.BindableService, AsyncService {
@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return DataCatalogGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service DataCatalog.
*
*
* Data Catalog API service allows you to discover, understand, and manage
* your data.
*
*/
public static final class DataCatalogStub
extends io.grpc.stub.AbstractAsyncStub {
private DataCatalogStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DataCatalogStub(channel, callOptions);
}
/**
*
*
*
* Searches Data Catalog for multiple resources like entries and tags that
* match a query.
* This is a [Custom Method]
* (https://cloud.google.com/apis/design/custom_methods) that doesn't return
* all information on a resource, only its ID and high level fields. To get
* more information, you can subsequently call specific get methods.
* Note: Data Catalog search queries don't guarantee full recall. Results
* that match your query might not be returned, even in subsequent
* result pages. Additionally, returned (and not returned) results can vary
* if you repeat search queries.
* For more information, see [Data Catalog search syntax]
* (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
*
*/
public void searchCatalog(
com.google.cloud.datacatalog.v1.SearchCatalogRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSearchCatalogMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Creates an entry group.
* An entry group contains logically related entries together with [Cloud
* Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
* These policies specify users who can create, edit, and view entries
* within entry groups.
* Data Catalog automatically creates entry groups with names that start with
* the `@` symbol for the following resources:
* * BigQuery entries (`@bigquery`)
* * Pub/Sub topics (`@pubsub`)
* * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
* You can create your own entry groups for Cloud Storage fileset entries
* and custom entries together with the corresponding IAM policies.
* User-created entry groups can't contain the `@` symbol, it is reserved
* for automatically created groups.
* Entry groups, like entries, can be searched.
* A maximum of 10,000 entry groups may be created per organization across all
* locations.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void createEntryGroup(
com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Gets an entry group.
*
*/
public void getEntryGroup(
com.google.cloud.datacatalog.v1.GetEntryGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Updates an entry group.
* You must enable the Data Catalog API in the project identified by
* the `entry_group.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void updateEntryGroup(
com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Deletes an entry group.
* You must enable the Data Catalog API in the project
* identified by the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void deleteEntryGroup(
com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Lists entry groups.
*
*/
public void listEntryGroups(
com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Creates an entry.
* You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
* or custom types. Data Catalog automatically creates entries with other
* types during metadata ingestion from integrated systems.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
* An entry group can have a maximum of 100,000 entries.
*
*/
public void createEntry(
com.google.cloud.datacatalog.v1.CreateEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateEntryMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Updates an existing entry.
* You must enable the Data Catalog API in the project identified by
* the `entry.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void updateEntry(
com.google.cloud.datacatalog.v1.UpdateEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateEntryMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Deletes an existing entry.
* You can delete only the entries created by the
* [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
* method.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void deleteEntry(
com.google.cloud.datacatalog.v1.DeleteEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteEntryMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Gets an entry.
*
*/
public void getEntry(
com.google.cloud.datacatalog.v1.GetEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetEntryMethod(), getCallOptions()), request, responseObserver);
}
/**
*
*
*
* Gets an entry by its target resource name.
* The resource name comes from the source Google Cloud Platform service.
*
*/
public void lookupEntry(
com.google.cloud.datacatalog.v1.LookupEntryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getLookupEntryMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Lists entries.
* Note: Currently, this method can list only custom entries.
* To get a list of both custom and automatically created entries, use
* [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
*
*/
public void listEntries(
com.google.cloud.datacatalog.v1.ListEntriesRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListEntriesMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Modifies entry overview, part of the business context of an
* [Entry][google.cloud.datacatalog.v1.Entry].
* To call this method, you must have the `datacatalog.entries.updateOverview`
* IAM permission on the corresponding project.
*
*/
public void modifyEntryOverview(
com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Modifies contacts, part of the business context of an
* [Entry][google.cloud.datacatalog.v1.Entry].
* To call this method, you must have the `datacatalog.entries.updateContacts`
* IAM permission on the corresponding project.
*
*/
public void modifyEntryContacts(
com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Creates a tag template.
* You must enable the Data Catalog API in the project identified by the
* `parent` parameter.
* For more information, see [Data Catalog resource project]
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void createTagTemplate(
com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Gets a tag template.
*
*/
public void getTagTemplate(
com.google.cloud.datacatalog.v1.GetTagTemplateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Updates a tag template.
* You can't update template fields with this method. These fields are
* separate resources with their own create, update, and delete methods.
* You must enable the Data Catalog API in the project identified by
* the `tag_template.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void updateTagTemplate(
com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Deletes a tag template and all tags that use it.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void deleteTagTemplate(
com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Creates a field in a tag template.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void createTagTemplateField(
com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Updates a field in a tag template.
* You can't update the field type with this method.
* You must enable the Data Catalog API in the project
* identified by the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void updateTagTemplateField(
com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Renames a field in a tag template.
* You must enable the Data Catalog API in the project identified by the
* `name` parameter. For more information, see [Data Catalog resource project]
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void renameTagTemplateField(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Renames an enum value in a tag template.
* Within a single enum field, enum values must be unique.
*
*/
public void renameTagTemplateFieldEnumValue(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Deletes a field in a tag template and all uses of this field from the tags
* based on this template.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public void deleteTagTemplateField(
com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
* `projects.locations.entryGroups.entries.tags.create`.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
* name is `projects.locations.entryGroups.tags.create`.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
* used to create the tag must be in the same organization.
*
*/
public void createTag(
com.google.cloud.datacatalog.v1.CreateTagRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver);
}
/**
*
*
*
* Updates an existing tag.
*
*/
public void updateTag(
com.google.cloud.datacatalog.v1.UpdateTagRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver);
}
/**
*
*
*
* Deletes a tag.
*
*/
public void deleteTag(
com.google.cloud.datacatalog.v1.DeleteTagRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver);
}
/**
*
*
*
* Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
* The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
* lowercased.
*
*/
public void listTags(
com.google.cloud.datacatalog.v1.ListTagsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
*
*
* `ReconcileTags` creates or updates a list of tags on the entry.
* If the
* [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
* parameter is set, the operation deletes tags not included in the input tag
* list.
* `ReconcileTags` returns a [long-running operation]
* [google.longrunning.Operation] resource that can be queried with
* [Operations.GetOperation][google.longrunning.Operations.GetOperation]
* to return [ReconcileTagsMetadata]
* [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
* a [ReconcileTagsResponse]
* [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
*
*/
public void reconcileTags(
com.google.cloud.datacatalog.v1.ReconcileTagsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getReconcileTagsMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
* the current user. Starring information is private to each user.
*
*/
public void starEntry(
com.google.cloud.datacatalog.v1.StarEntryRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getStarEntryMethod(), getCallOptions()), request, responseObserver);
}
/**
*
*
*
* Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
* the current user. Starring information is private to each user.
*
*/
public void unstarEntry(
com.google.cloud.datacatalog.v1.UnstarEntryRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUnstarEntryMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Sets an access control policy for a resource. Replaces any existing
* policy.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method sets policies only within Data Catalog and can't be
* used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
* external Google Cloud Platform resources synced with the Data Catalog.
* To call this method, you must have the following Google IAM permissions:
* - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
* templates.
* - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
*
*/
public void setIamPolicy(
com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Gets the access control policy for a resource.
* May return:
* * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
* permission to view it.
* * An empty policy if the resource exists but doesn't have a set policy.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method doesn't get policies from Google Cloud Platform
* resources ingested into Data Catalog.
* To call this method, you must have the following Google IAM permissions:
* - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
* templates.
* - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
*
*/
public void getIamPolicy(
com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Gets your permissions on a resource.
* Returns an empty set of permissions if the resource doesn't exist.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method gets policies only within Data Catalog and can't be
* used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
* external Google Cloud Platform resources ingested into Data Catalog.
* No Google IAM permissions are required to call this method.
*
*/
public void testIamPermissions(
com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()),
request,
responseObserver);
}
/**
*
*
*
* Imports entries from a source, such as data previously dumped into a
* Cloud Storage bucket, into Data Catalog. Import of entries
* is a sync operation that reconciles the state of the third-party system
* with the Data Catalog.
* `ImportEntries` accepts source data snapshots of a third-party system.
* Snapshot should be delivered as a .wire or base65-encoded .txt file
* containing a sequence of Protocol Buffer messages of
* [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
* `ImportEntries` returns a [long-running operation]
* [google.longrunning.Operation] resource that can be queried with
* [Operations.GetOperation][google.longrunning.Operations.GetOperation]
* to return
* [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
* and an
* [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
* message.
*
*/
public void importEntries(
com.google.cloud.datacatalog.v1.ImportEntriesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getImportEntriesMethod(), getCallOptions()),
request,
responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service DataCatalog.
*
*
* Data Catalog API service allows you to discover, understand, and manage
* your data.
*
*/
public static final class DataCatalogBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private DataCatalogBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DataCatalogBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DataCatalogBlockingStub(channel, callOptions);
}
/**
*
*
*
* Searches Data Catalog for multiple resources like entries and tags that
* match a query.
* This is a [Custom Method]
* (https://cloud.google.com/apis/design/custom_methods) that doesn't return
* all information on a resource, only its ID and high level fields. To get
* more information, you can subsequently call specific get methods.
* Note: Data Catalog search queries don't guarantee full recall. Results
* that match your query might not be returned, even in subsequent
* result pages. Additionally, returned (and not returned) results can vary
* if you repeat search queries.
* For more information, see [Data Catalog search syntax]
* (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
*
*/
public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog(
com.google.cloud.datacatalog.v1.SearchCatalogRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSearchCatalogMethod(), getCallOptions(), request);
}
/**
*
*
*
* Creates an entry group.
* An entry group contains logically related entries together with [Cloud
* Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
* These policies specify users who can create, edit, and view entries
* within entry groups.
* Data Catalog automatically creates entry groups with names that start with
* the `@` symbol for the following resources:
* * BigQuery entries (`@bigquery`)
* * Pub/Sub topics (`@pubsub`)
* * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
* You can create your own entry groups for Cloud Storage fileset entries
* and custom entries together with the corresponding IAM policies.
* User-created entry groups can't contain the `@` symbol, it is reserved
* for automatically created groups.
* Entry groups, like entries, can be searched.
* A maximum of 10,000 entry groups may be created per organization across all
* locations.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.cloud.datacatalog.v1.EntryGroup createEntryGroup(
com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateEntryGroupMethod(), getCallOptions(), request);
}
/**
*
*
*
* Gets an entry group.
*
*/
public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup(
com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetEntryGroupMethod(), getCallOptions(), request);
}
/**
*
*
*
* Updates an entry group.
* You must enable the Data Catalog API in the project identified by
* the `entry_group.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup(
com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateEntryGroupMethod(), getCallOptions(), request);
}
/**
*
*
*
* Deletes an entry group.
* You must enable the Data Catalog API in the project
* identified by the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.protobuf.Empty deleteEntryGroup(
com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteEntryGroupMethod(), getCallOptions(), request);
}
/**
*
*
*
* Lists entry groups.
*
*/
public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse listEntryGroups(
com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListEntryGroupsMethod(), getCallOptions(), request);
}
/**
*
*
*
* Creates an entry.
* You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
* or custom types. Data Catalog automatically creates entries with other
* types during metadata ingestion from integrated systems.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
* An entry group can have a maximum of 100,000 entries.
*
*/
public com.google.cloud.datacatalog.v1.Entry createEntry(
com.google.cloud.datacatalog.v1.CreateEntryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateEntryMethod(), getCallOptions(), request);
}
/**
*
*
*
* Updates an existing entry.
* You must enable the Data Catalog API in the project identified by
* the `entry.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.cloud.datacatalog.v1.Entry updateEntry(
com.google.cloud.datacatalog.v1.UpdateEntryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateEntryMethod(), getCallOptions(), request);
}
/**
*
*
*
* Deletes an existing entry.
* You can delete only the entries created by the
* [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
* method.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.protobuf.Empty deleteEntry(
com.google.cloud.datacatalog.v1.DeleteEntryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteEntryMethod(), getCallOptions(), request);
}
/**
*
*
*
* Gets an entry.
*
*/
public com.google.cloud.datacatalog.v1.Entry getEntry(
com.google.cloud.datacatalog.v1.GetEntryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetEntryMethod(), getCallOptions(), request);
}
/**
*
*
*
* Gets an entry by its target resource name.
* The resource name comes from the source Google Cloud Platform service.
*
*/
public com.google.cloud.datacatalog.v1.Entry lookupEntry(
com.google.cloud.datacatalog.v1.LookupEntryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getLookupEntryMethod(), getCallOptions(), request);
}
/**
*
*
*
* Lists entries.
* Note: Currently, this method can list only custom entries.
* To get a list of both custom and automatically created entries, use
* [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
*
*/
public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries(
com.google.cloud.datacatalog.v1.ListEntriesRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListEntriesMethod(), getCallOptions(), request);
}
/**
*
*
*
* Modifies entry overview, part of the business context of an
* [Entry][google.cloud.datacatalog.v1.Entry].
* To call this method, you must have the `datacatalog.entries.updateOverview`
* IAM permission on the corresponding project.
*
*/
public com.google.cloud.datacatalog.v1.EntryOverview modifyEntryOverview(
com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getModifyEntryOverviewMethod(), getCallOptions(), request);
}
/**
*
*
*
* Modifies contacts, part of the business context of an
* [Entry][google.cloud.datacatalog.v1.Entry].
* To call this method, you must have the `datacatalog.entries.updateContacts`
* IAM permission on the corresponding project.
*
*/
public com.google.cloud.datacatalog.v1.Contacts modifyEntryContacts(
com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getModifyEntryContactsMethod(), getCallOptions(), request);
}
/**
*
*
*
* Creates a tag template.
* You must enable the Data Catalog API in the project identified by the
* `parent` parameter.
* For more information, see [Data Catalog resource project]
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.cloud.datacatalog.v1.TagTemplate createTagTemplate(
com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateTagTemplateMethod(), getCallOptions(), request);
}
/**
*
*
*
* Gets a tag template.
*
*/
public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate(
com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetTagTemplateMethod(), getCallOptions(), request);
}
/**
*
*
*
* Updates a tag template.
* You can't update template fields with this method. These fields are
* separate resources with their own create, update, and delete methods.
* You must enable the Data Catalog API in the project identified by
* the `tag_template.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate(
com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateTagTemplateMethod(), getCallOptions(), request);
}
/**
*
*
*
* Deletes a tag template and all tags that use it.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.protobuf.Empty deleteTagTemplate(
com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteTagTemplateMethod(), getCallOptions(), request);
}
/**
*
*
*
* Creates a field in a tag template.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField(
com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateTagTemplateFieldMethod(), getCallOptions(), request);
}
/**
*
*
*
* Updates a field in a tag template.
* You can't update the field type with this method.
* You must enable the Data Catalog API in the project
* identified by the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField(
com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateTagTemplateFieldMethod(), getCallOptions(), request);
}
/**
*
*
*
* Renames a field in a tag template.
* You must enable the Data Catalog API in the project identified by the
* `name` parameter. For more information, see [Data Catalog resource project]
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateField(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRenameTagTemplateFieldMethod(), getCallOptions(), request);
}
/**
*
*
*
* Renames an enum value in a tag template.
* Within a single enum field, enum values must be unique.
*
*/
public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEnumValue(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRenameTagTemplateFieldEnumValueMethod(), getCallOptions(), request);
}
/**
*
*
*
* Deletes a field in a tag template and all uses of this field from the tags
* based on this template.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.protobuf.Empty deleteTagTemplateField(
com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteTagTemplateFieldMethod(), getCallOptions(), request);
}
/**
*
*
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
* `projects.locations.entryGroups.entries.tags.create`.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
* name is `projects.locations.entryGroups.tags.create`.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
* used to create the tag must be in the same organization.
*
*/
public com.google.cloud.datacatalog.v1.Tag createTag(
com.google.cloud.datacatalog.v1.CreateTagRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateTagMethod(), getCallOptions(), request);
}
/**
*
*
*
* Updates an existing tag.
*
*/
public com.google.cloud.datacatalog.v1.Tag updateTag(
com.google.cloud.datacatalog.v1.UpdateTagRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateTagMethod(), getCallOptions(), request);
}
/**
*
*
*
* Deletes a tag.
*
*/
public com.google.protobuf.Empty deleteTag(
com.google.cloud.datacatalog.v1.DeleteTagRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteTagMethod(), getCallOptions(), request);
}
/**
*
*
*
* Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
* The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
* lowercased.
*
*/
public com.google.cloud.datacatalog.v1.ListTagsResponse listTags(
com.google.cloud.datacatalog.v1.ListTagsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListTagsMethod(), getCallOptions(), request);
}
/**
*
*
*
* `ReconcileTags` creates or updates a list of tags on the entry.
* If the
* [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
* parameter is set, the operation deletes tags not included in the input tag
* list.
* `ReconcileTags` returns a [long-running operation]
* [google.longrunning.Operation] resource that can be queried with
* [Operations.GetOperation][google.longrunning.Operations.GetOperation]
* to return [ReconcileTagsMetadata]
* [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
* a [ReconcileTagsResponse]
* [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
*
*/
public com.google.longrunning.Operation reconcileTags(
com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getReconcileTagsMethod(), getCallOptions(), request);
}
/**
*
*
*
* Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
* the current user. Starring information is private to each user.
*
*/
public com.google.cloud.datacatalog.v1.StarEntryResponse starEntry(
com.google.cloud.datacatalog.v1.StarEntryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getStarEntryMethod(), getCallOptions(), request);
}
/**
*
*
*
* Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
* the current user. Starring information is private to each user.
*
*/
public com.google.cloud.datacatalog.v1.UnstarEntryResponse unstarEntry(
com.google.cloud.datacatalog.v1.UnstarEntryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUnstarEntryMethod(), getCallOptions(), request);
}
/**
*
*
*
* Sets an access control policy for a resource. Replaces any existing
* policy.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method sets policies only within Data Catalog and can't be
* used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
* external Google Cloud Platform resources synced with the Data Catalog.
* To call this method, you must have the following Google IAM permissions:
* - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
* templates.
* - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
*
*/
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetIamPolicyMethod(), getCallOptions(), request);
}
/**
*
*
*
* Gets the access control policy for a resource.
* May return:
* * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
* permission to view it.
* * An empty policy if the resource exists but doesn't have a set policy.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method doesn't get policies from Google Cloud Platform
* resources ingested into Data Catalog.
* To call this method, you must have the following Google IAM permissions:
* - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
* templates.
* - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
*
*/
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetIamPolicyMethod(), getCallOptions(), request);
}
/**
*
*
*
* Gets your permissions on a resource.
* Returns an empty set of permissions if the resource doesn't exist.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method gets policies only within Data Catalog and can't be
* used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
* external Google Cloud Platform resources ingested into Data Catalog.
* No Google IAM permissions are required to call this method.
*
*/
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
com.google.iam.v1.TestIamPermissionsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request);
}
/**
*
*
*
* Imports entries from a source, such as data previously dumped into a
* Cloud Storage bucket, into Data Catalog. Import of entries
* is a sync operation that reconciles the state of the third-party system
* with the Data Catalog.
* `ImportEntries` accepts source data snapshots of a third-party system.
* Snapshot should be delivered as a .wire or base65-encoded .txt file
* containing a sequence of Protocol Buffer messages of
* [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
* `ImportEntries` returns a [long-running operation]
* [google.longrunning.Operation] resource that can be queried with
* [Operations.GetOperation][google.longrunning.Operations.GetOperation]
* to return
* [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
* and an
* [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
* message.
*
*/
public com.google.longrunning.Operation importEntries(
com.google.cloud.datacatalog.v1.ImportEntriesRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getImportEntriesMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service DataCatalog.
*
*
* Data Catalog API service allows you to discover, understand, and manage
* your data.
*
*/
public static final class DataCatalogFutureStub
extends io.grpc.stub.AbstractFutureStub {
private DataCatalogFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DataCatalogFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DataCatalogFutureStub(channel, callOptions);
}
/**
*
*
*
* Searches Data Catalog for multiple resources like entries and tags that
* match a query.
* This is a [Custom Method]
* (https://cloud.google.com/apis/design/custom_methods) that doesn't return
* all information on a resource, only its ID and high level fields. To get
* more information, you can subsequently call specific get methods.
* Note: Data Catalog search queries don't guarantee full recall. Results
* that match your query might not be returned, even in subsequent
* result pages. Additionally, returned (and not returned) results can vary
* if you repeat search queries.
* For more information, see [Data Catalog search syntax]
* (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.SearchCatalogResponse>
searchCatalog(com.google.cloud.datacatalog.v1.SearchCatalogRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSearchCatalogMethod(), getCallOptions()), request);
}
/**
*
*
*
* Creates an entry group.
* An entry group contains logically related entries together with [Cloud
* Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
* These policies specify users who can create, edit, and view entries
* within entry groups.
* Data Catalog automatically creates entry groups with names that start with
* the `@` symbol for the following resources:
* * BigQuery entries (`@bigquery`)
* * Pub/Sub topics (`@pubsub`)
* * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
* You can create your own entry groups for Cloud Storage fileset entries
* and custom entries together with the corresponding IAM policies.
* User-created entry groups can't contain the `@` symbol, it is reserved
* for automatically created groups.
* Entry groups, like entries, can be searched.
* A maximum of 10,000 entry groups may be created per organization across all
* locations.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.EntryGroup>
createEntryGroup(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateEntryGroupMethod(), getCallOptions()), request);
}
/**
*
*
*
* Gets an entry group.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.EntryGroup>
getEntryGroup(com.google.cloud.datacatalog.v1.GetEntryGroupRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetEntryGroupMethod(), getCallOptions()), request);
}
/**
*
*
*
* Updates an entry group.
* You must enable the Data Catalog API in the project identified by
* the `entry_group.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.EntryGroup>
updateEntryGroup(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateEntryGroupMethod(), getCallOptions()), request);
}
/**
*
*
*
* Deletes an entry group.
* You must enable the Data Catalog API in the project
* identified by the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture
deleteEntryGroup(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteEntryGroupMethod(), getCallOptions()), request);
}
/**
*
*
*
* Lists entry groups.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>
listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListEntryGroupsMethod(), getCallOptions()), request);
}
/**
*
*
*
* Creates an entry.
* You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
* or custom types. Data Catalog automatically creates entries with other
* types during metadata ingestion from integrated systems.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
* An entry group can have a maximum of 100,000 entries.
*
*/
public com.google.common.util.concurrent.ListenableFuture
createEntry(com.google.cloud.datacatalog.v1.CreateEntryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateEntryMethod(), getCallOptions()), request);
}
/**
*
*
*
* Updates an existing entry.
* You must enable the Data Catalog API in the project identified by
* the `entry.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture
updateEntry(com.google.cloud.datacatalog.v1.UpdateEntryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateEntryMethod(), getCallOptions()), request);
}
/**
*
*
*
* Deletes an existing entry.
* You can delete only the entries created by the
* [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
* method.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture
deleteEntry(com.google.cloud.datacatalog.v1.DeleteEntryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteEntryMethod(), getCallOptions()), request);
}
/**
*
*
*
* Gets an entry.
*
*/
public com.google.common.util.concurrent.ListenableFuture
getEntry(com.google.cloud.datacatalog.v1.GetEntryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetEntryMethod(), getCallOptions()), request);
}
/**
*
*
*
* Gets an entry by its target resource name.
* The resource name comes from the source Google Cloud Platform service.
*
*/
public com.google.common.util.concurrent.ListenableFuture
lookupEntry(com.google.cloud.datacatalog.v1.LookupEntryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getLookupEntryMethod(), getCallOptions()), request);
}
/**
*
*
*
* Lists entries.
* Note: Currently, this method can list only custom entries.
* To get a list of both custom and automatically created entries, use
* [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.ListEntriesResponse>
listEntries(com.google.cloud.datacatalog.v1.ListEntriesRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListEntriesMethod(), getCallOptions()), request);
}
/**
*
*
*
* Modifies entry overview, part of the business context of an
* [Entry][google.cloud.datacatalog.v1.Entry].
* To call this method, you must have the `datacatalog.entries.updateOverview`
* IAM permission on the corresponding project.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.EntryOverview>
modifyEntryOverview(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getModifyEntryOverviewMethod(), getCallOptions()), request);
}
/**
*
*
*
* Modifies contacts, part of the business context of an
* [Entry][google.cloud.datacatalog.v1.Entry].
* To call this method, you must have the `datacatalog.entries.updateContacts`
* IAM permission on the corresponding project.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.Contacts>
modifyEntryContacts(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getModifyEntryContactsMethod(), getCallOptions()), request);
}
/**
*
*
*
* Creates a tag template.
* You must enable the Data Catalog API in the project identified by the
* `parent` parameter.
* For more information, see [Data Catalog resource project]
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.TagTemplate>
createTagTemplate(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateTagTemplateMethod(), getCallOptions()), request);
}
/**
*
*
*
* Gets a tag template.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.TagTemplate>
getTagTemplate(com.google.cloud.datacatalog.v1.GetTagTemplateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetTagTemplateMethod(), getCallOptions()), request);
}
/**
*
*
*
* Updates a tag template.
* You can't update template fields with this method. These fields are
* separate resources with their own create, update, and delete methods.
* You must enable the Data Catalog API in the project identified by
* the `tag_template.name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.TagTemplate>
updateTagTemplate(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateTagTemplateMethod(), getCallOptions()), request);
}
/**
*
*
*
* Deletes a tag template and all tags that use it.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture
deleteTagTemplate(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteTagTemplateMethod(), getCallOptions()), request);
}
/**
*
*
*
* Creates a field in a tag template.
* You must enable the Data Catalog API in the project identified by
* the `parent` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.TagTemplateField>
createTagTemplateField(
com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateTagTemplateFieldMethod(), getCallOptions()), request);
}
/**
*
*
*
* Updates a field in a tag template.
* You can't update the field type with this method.
* You must enable the Data Catalog API in the project
* identified by the `name` parameter. For more information, see [Data Catalog
* resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.TagTemplateField>
updateTagTemplateField(
com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateTagTemplateFieldMethod(), getCallOptions()), request);
}
/**
*
*
*
* Renames a field in a tag template.
* You must enable the Data Catalog API in the project identified by the
* `name` parameter. For more information, see [Data Catalog resource project]
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.TagTemplateField>
renameTagTemplateField(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request);
}
/**
*
*
*
* Renames an enum value in a tag template.
* Within a single enum field, enum values must be unique.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.TagTemplateField>
renameTagTemplateFieldEnumValue(
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()),
request);
}
/**
*
*
*
* Deletes a field in a tag template and all uses of this field from the tags
* based on this template.
* You must enable the Data Catalog API in the project identified by
* the `name` parameter. For more information, see [Data Catalog resource
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
*
*/
public com.google.common.util.concurrent.ListenableFuture
deleteTagTemplateField(
com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteTagTemplateFieldMethod(), getCallOptions()), request);
}
/**
*
*
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
* `projects.locations.entryGroups.entries.tags.create`.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
* name is `projects.locations.entryGroups.tags.create`.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
* used to create the tag must be in the same organization.
*
*/
public com.google.common.util.concurrent.ListenableFuture
createTag(com.google.cloud.datacatalog.v1.CreateTagRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateTagMethod(), getCallOptions()), request);
}
/**
*
*
*
* Updates an existing tag.
*
*/
public com.google.common.util.concurrent.ListenableFuture
updateTag(com.google.cloud.datacatalog.v1.UpdateTagRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request);
}
/**
*
*
*
* Deletes a tag.
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteTag(
com.google.cloud.datacatalog.v1.DeleteTagRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request);
}
/**
*
*
*
* Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
* The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
* lowercased.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.ListTagsResponse>
listTags(com.google.cloud.datacatalog.v1.ListTagsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListTagsMethod(), getCallOptions()), request);
}
/**
*
*
*
* `ReconcileTags` creates or updates a list of tags on the entry.
* If the
* [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
* parameter is set, the operation deletes tags not included in the input tag
* list.
* `ReconcileTags` returns a [long-running operation]
* [google.longrunning.Operation] resource that can be queried with
* [Operations.GetOperation][google.longrunning.Operations.GetOperation]
* to return [ReconcileTagsMetadata]
* [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
* a [ReconcileTagsResponse]
* [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
*
*/
public com.google.common.util.concurrent.ListenableFuture
reconcileTags(com.google.cloud.datacatalog.v1.ReconcileTagsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getReconcileTagsMethod(), getCallOptions()), request);
}
/**
*
*
*
* Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
* the current user. Starring information is private to each user.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.StarEntryResponse>
starEntry(com.google.cloud.datacatalog.v1.StarEntryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getStarEntryMethod(), getCallOptions()), request);
}
/**
*
*
*
* Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
* the current user. Starring information is private to each user.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.datacatalog.v1.UnstarEntryResponse>
unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUnstarEntryMethod(), getCallOptions()), request);
}
/**
*
*
*
* Sets an access control policy for a resource. Replaces any existing
* policy.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method sets policies only within Data Catalog and can't be
* used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
* external Google Cloud Platform resources synced with the Data Catalog.
* To call this method, you must have the following Google IAM permissions:
* - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
* templates.
* - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
*
*/
public com.google.common.util.concurrent.ListenableFuture
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request);
}
/**
*
*
*
* Gets the access control policy for a resource.
* May return:
* * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
* permission to view it.
* * An empty policy if the resource exists but doesn't have a set policy.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method doesn't get policies from Google Cloud Platform
* resources ingested into Data Catalog.
* To call this method, you must have the following Google IAM permissions:
* - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
* templates.
* - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
*
*/
public com.google.common.util.concurrent.ListenableFuture
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request);
}
/**
*
*
*
* Gets your permissions on a resource.
* Returns an empty set of permissions if the resource doesn't exist.
* Supported resources are:
* - Tag templates
* - Entry groups
* Note: This method gets policies only within Data Catalog and can't be
* used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
* external Google Cloud Platform resources ingested into Data Catalog.
* No Google IAM permissions are required to call this method.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request);
}
/**
*
*
*
* Imports entries from a source, such as data previously dumped into a
* Cloud Storage bucket, into Data Catalog. Import of entries
* is a sync operation that reconciles the state of the third-party system
* with the Data Catalog.
* `ImportEntries` accepts source data snapshots of a third-party system.
* Snapshot should be delivered as a .wire or base65-encoded .txt file
* containing a sequence of Protocol Buffer messages of
* [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
* `ImportEntries` returns a [long-running operation]
* [google.longrunning.Operation] resource that can be queried with
* [Operations.GetOperation][google.longrunning.Operations.GetOperation]
* to return
* [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
* and an
* [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
* message.
*
*/
public com.google.common.util.concurrent.ListenableFuture
importEntries(com.google.cloud.datacatalog.v1.ImportEntriesRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getImportEntriesMethod(), getCallOptions()), request);
}
}
private static final int METHODID_SEARCH_CATALOG = 0;
private static final int METHODID_CREATE_ENTRY_GROUP = 1;
private static final int METHODID_GET_ENTRY_GROUP = 2;
private static final int METHODID_UPDATE_ENTRY_GROUP = 3;
private static final int METHODID_DELETE_ENTRY_GROUP = 4;
private static final int METHODID_LIST_ENTRY_GROUPS = 5;
private static final int METHODID_CREATE_ENTRY = 6;
private static final int METHODID_UPDATE_ENTRY = 7;
private static final int METHODID_DELETE_ENTRY = 8;
private static final int METHODID_GET_ENTRY = 9;
private static final int METHODID_LOOKUP_ENTRY = 10;
private static final int METHODID_LIST_ENTRIES = 11;
private static final int METHODID_MODIFY_ENTRY_OVERVIEW = 12;
private static final int METHODID_MODIFY_ENTRY_CONTACTS = 13;
private static final int METHODID_CREATE_TAG_TEMPLATE = 14;
private static final int METHODID_GET_TAG_TEMPLATE = 15;
private static final int METHODID_UPDATE_TAG_TEMPLATE = 16;
private static final int METHODID_DELETE_TAG_TEMPLATE = 17;
private static final int METHODID_CREATE_TAG_TEMPLATE_FIELD = 18;
private static final int METHODID_UPDATE_TAG_TEMPLATE_FIELD = 19;
private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD = 20;
private static final int METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE = 21;
private static final int METHODID_DELETE_TAG_TEMPLATE_FIELD = 22;
private static final int METHODID_CREATE_TAG = 23;
private static final int METHODID_UPDATE_TAG = 24;
private static final int METHODID_DELETE_TAG = 25;
private static final int METHODID_LIST_TAGS = 26;
private static final int METHODID_RECONCILE_TAGS = 27;
private static final int METHODID_STAR_ENTRY = 28;
private static final int METHODID_UNSTAR_ENTRY = 29;
private static final int METHODID_SET_IAM_POLICY = 30;
private static final int METHODID_GET_IAM_POLICY = 31;
private static final int METHODID_TEST_IAM_PERMISSIONS = 32;
private static final int METHODID_IMPORT_ENTRIES = 33;
private static final class MethodHandlers
implements io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod,
io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final AsyncService serviceImpl;
private final int methodId;
MethodHandlers(AsyncService serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_SEARCH_CATALOG:
serviceImpl.searchCatalog(
(com.google.cloud.datacatalog.v1.SearchCatalogRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_CREATE_ENTRY_GROUP:
serviceImpl.createEntryGroup(
(com.google.cloud.datacatalog.v1.CreateEntryGroupRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_GET_ENTRY_GROUP:
serviceImpl.getEntryGroup(
(com.google.cloud.datacatalog.v1.GetEntryGroupRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_UPDATE_ENTRY_GROUP:
serviceImpl.updateEntryGroup(
(com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_DELETE_ENTRY_GROUP:
serviceImpl.deleteEntryGroup(
(com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_ENTRY_GROUPS:
serviceImpl.listEntryGroups(
(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_CREATE_ENTRY:
serviceImpl.createEntry(
(com.google.cloud.datacatalog.v1.CreateEntryRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_UPDATE_ENTRY:
serviceImpl.updateEntry(
(com.google.cloud.datacatalog.v1.UpdateEntryRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_DELETE_ENTRY:
serviceImpl.deleteEntry(
(com.google.cloud.datacatalog.v1.DeleteEntryRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_ENTRY:
serviceImpl.getEntry(
(com.google.cloud.datacatalog.v1.GetEntryRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_LOOKUP_ENTRY:
serviceImpl.lookupEntry(
(com.google.cloud.datacatalog.v1.LookupEntryRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_LIST_ENTRIES:
serviceImpl.listEntries(
(com.google.cloud.datacatalog.v1.ListEntriesRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_MODIFY_ENTRY_OVERVIEW:
serviceImpl.modifyEntryOverview(
(com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_MODIFY_ENTRY_CONTACTS:
serviceImpl.modifyEntryContacts(
(com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_CREATE_TAG_TEMPLATE:
serviceImpl.createTagTemplate(
(com.google.cloud.datacatalog.v1.CreateTagTemplateRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_GET_TAG_TEMPLATE:
serviceImpl.getTagTemplate(
(com.google.cloud.datacatalog.v1.GetTagTemplateRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_UPDATE_TAG_TEMPLATE:
serviceImpl.updateTagTemplate(
(com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_DELETE_TAG_TEMPLATE:
serviceImpl.deleteTagTemplate(
(com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE_TAG_TEMPLATE_FIELD:
serviceImpl.createTagTemplateField(
(com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_UPDATE_TAG_TEMPLATE_FIELD:
serviceImpl.updateTagTemplateField(
(com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_RENAME_TAG_TEMPLATE_FIELD:
serviceImpl.renameTagTemplateField(
(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE:
serviceImpl.renameTagTemplateFieldEnumValue(
(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_DELETE_TAG_TEMPLATE_FIELD:
serviceImpl.deleteTagTemplateField(
(com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE_TAG:
serviceImpl.createTag(
(com.google.cloud.datacatalog.v1.CreateTagRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_TAG:
serviceImpl.updateTag(
(com.google.cloud.datacatalog.v1.UpdateTagRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE_TAG:
serviceImpl.deleteTag(
(com.google.cloud.datacatalog.v1.DeleteTagRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_TAGS:
serviceImpl.listTags(
(com.google.cloud.datacatalog.v1.ListTagsRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_RECONCILE_TAGS:
serviceImpl.reconcileTags(
(com.google.cloud.datacatalog.v1.ReconcileTagsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_STAR_ENTRY:
serviceImpl.starEntry(
(com.google.cloud.datacatalog.v1.StarEntryRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_UNSTAR_ENTRY:
serviceImpl.unstarEntry(
(com.google.cloud.datacatalog.v1.UnstarEntryRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_SET_IAM_POLICY:
serviceImpl.setIamPolicy(
(com.google.iam.v1.SetIamPolicyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_IAM_POLICY:
serviceImpl.getIamPolicy(
(com.google.iam.v1.GetIamPolicyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_TEST_IAM_PERMISSIONS:
serviceImpl.testIamPermissions(
(com.google.iam.v1.TestIamPermissionsRequest) request,
(io.grpc.stub.StreamObserver)
responseObserver);
break;
case METHODID_IMPORT_ENTRIES:
serviceImpl.importEntries(
(com.google.cloud.datacatalog.v1.ImportEntriesRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver invoke(
io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getSearchCatalogMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.SearchCatalogRequest,
com.google.cloud.datacatalog.v1.SearchCatalogResponse>(
service, METHODID_SEARCH_CATALOG)))
.addMethod(
getCreateEntryGroupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.CreateEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>(
service, METHODID_CREATE_ENTRY_GROUP)))
.addMethod(
getGetEntryGroupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.GetEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>(service, METHODID_GET_ENTRY_GROUP)))
.addMethod(
getUpdateEntryGroupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest,
com.google.cloud.datacatalog.v1.EntryGroup>(
service, METHODID_UPDATE_ENTRY_GROUP)))
.addMethod(
getDeleteEntryGroupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest,
com.google.protobuf.Empty>(service, METHODID_DELETE_ENTRY_GROUP)))
.addMethod(
getListEntryGroupsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.ListEntryGroupsRequest,
com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>(
service, METHODID_LIST_ENTRY_GROUPS)))
.addMethod(
getCreateEntryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.CreateEntryRequest,
com.google.cloud.datacatalog.v1.Entry>(service, METHODID_CREATE_ENTRY)))
.addMethod(
getUpdateEntryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.UpdateEntryRequest,
com.google.cloud.datacatalog.v1.Entry>(service, METHODID_UPDATE_ENTRY)))
.addMethod(
getDeleteEntryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.DeleteEntryRequest, com.google.protobuf.Empty>(
service, METHODID_DELETE_ENTRY)))
.addMethod(
getGetEntryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.GetEntryRequest,
com.google.cloud.datacatalog.v1.Entry>(service, METHODID_GET_ENTRY)))
.addMethod(
getLookupEntryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.LookupEntryRequest,
com.google.cloud.datacatalog.v1.Entry>(service, METHODID_LOOKUP_ENTRY)))
.addMethod(
getListEntriesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.ListEntriesRequest,
com.google.cloud.datacatalog.v1.ListEntriesResponse>(
service, METHODID_LIST_ENTRIES)))
.addMethod(
getModifyEntryOverviewMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest,
com.google.cloud.datacatalog.v1.EntryOverview>(
service, METHODID_MODIFY_ENTRY_OVERVIEW)))
.addMethod(
getModifyEntryContactsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest,
com.google.cloud.datacatalog.v1.Contacts>(
service, METHODID_MODIFY_ENTRY_CONTACTS)))
.addMethod(
getCreateTagTemplateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.CreateTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>(
service, METHODID_CREATE_TAG_TEMPLATE)))
.addMethod(
getGetTagTemplateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.GetTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>(
service, METHODID_GET_TAG_TEMPLATE)))
.addMethod(
getUpdateTagTemplateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest,
com.google.cloud.datacatalog.v1.TagTemplate>(
service, METHODID_UPDATE_TAG_TEMPLATE)))
.addMethod(
getDeleteTagTemplateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest,
com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE)))
.addMethod(
getCreateTagTemplateFieldMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>(
service, METHODID_CREATE_TAG_TEMPLATE_FIELD)))
.addMethod(
getUpdateTagTemplateFieldMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>(
service, METHODID_UPDATE_TAG_TEMPLATE_FIELD)))
.addMethod(
getRenameTagTemplateFieldMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>(
service, METHODID_RENAME_TAG_TEMPLATE_FIELD)))
.addMethod(
getRenameTagTemplateFieldEnumValueMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest,
com.google.cloud.datacatalog.v1.TagTemplateField>(
service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE)))
.addMethod(
getDeleteTagTemplateFieldMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest,
com.google.protobuf.Empty>(service, METHODID_DELETE_TAG_TEMPLATE_FIELD)))
.addMethod(
getCreateTagMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.CreateTagRequest,
com.google.cloud.datacatalog.v1.Tag>(service, METHODID_CREATE_TAG)))
.addMethod(
getUpdateTagMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.UpdateTagRequest,
com.google.cloud.datacatalog.v1.Tag>(service, METHODID_UPDATE_TAG)))
.addMethod(
getDeleteTagMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>(
service, METHODID_DELETE_TAG)))
.addMethod(
getListTagsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.ListTagsRequest,
com.google.cloud.datacatalog.v1.ListTagsResponse>(service, METHODID_LIST_TAGS)))
.addMethod(
getReconcileTagsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.ReconcileTagsRequest,
com.google.longrunning.Operation>(service, METHODID_RECONCILE_TAGS)))
.addMethod(
getStarEntryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.StarEntryRequest,
com.google.cloud.datacatalog.v1.StarEntryResponse>(
service, METHODID_STAR_ENTRY)))
.addMethod(
getUnstarEntryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.UnstarEntryRequest,
com.google.cloud.datacatalog.v1.UnstarEntryResponse>(
service, METHODID_UNSTAR_ENTRY)))
.addMethod(
getSetIamPolicyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers(
service, METHODID_SET_IAM_POLICY)))
.addMethod(
getGetIamPolicyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers(
service, METHODID_GET_IAM_POLICY)))
.addMethod(
getTestIamPermissionsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.iam.v1.TestIamPermissionsRequest,
com.google.iam.v1.TestIamPermissionsResponse>(
service, METHODID_TEST_IAM_PERMISSIONS)))
.addMethod(
getImportEntriesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.datacatalog.v1.ImportEntriesRequest,
com.google.longrunning.Operation>(service, METHODID_IMPORT_ENTRIES)))
.build();
}
private abstract static class DataCatalogBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
io.grpc.protobuf.ProtoServiceDescriptorSupplier {
DataCatalogBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return com.google.cloud.datacatalog.v1.Datacatalog.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("DataCatalog");
}
}
private static final class DataCatalogFileDescriptorSupplier
extends DataCatalogBaseDescriptorSupplier {
DataCatalogFileDescriptorSupplier() {}
}
private static final class DataCatalogMethodDescriptorSupplier
extends DataCatalogBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final java.lang.String methodName;
DataCatalogMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}
@java.lang.Override
public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
return getServiceDescriptor().findMethodByName(methodName);
}
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (DataCatalogGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor =
result =
io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new DataCatalogFileDescriptorSupplier())
.addMethod(getSearchCatalogMethod())
.addMethod(getCreateEntryGroupMethod())
.addMethod(getGetEntryGroupMethod())
.addMethod(getUpdateEntryGroupMethod())
.addMethod(getDeleteEntryGroupMethod())
.addMethod(getListEntryGroupsMethod())
.addMethod(getCreateEntryMethod())
.addMethod(getUpdateEntryMethod())
.addMethod(getDeleteEntryMethod())
.addMethod(getGetEntryMethod())
.addMethod(getLookupEntryMethod())
.addMethod(getListEntriesMethod())
.addMethod(getModifyEntryOverviewMethod())
.addMethod(getModifyEntryContactsMethod())
.addMethod(getCreateTagTemplateMethod())
.addMethod(getGetTagTemplateMethod())
.addMethod(getUpdateTagTemplateMethod())
.addMethod(getDeleteTagTemplateMethod())
.addMethod(getCreateTagTemplateFieldMethod())
.addMethod(getUpdateTagTemplateFieldMethod())
.addMethod(getRenameTagTemplateFieldMethod())
.addMethod(getRenameTagTemplateFieldEnumValueMethod())
.addMethod(getDeleteTagTemplateFieldMethod())
.addMethod(getCreateTagMethod())
.addMethod(getUpdateTagMethod())
.addMethod(getDeleteTagMethod())
.addMethod(getListTagsMethod())
.addMethod(getReconcileTagsMethod())
.addMethod(getStarEntryMethod())
.addMethod(getUnstarEntryMethod())
.addMethod(getSetIamPolicyMethod())
.addMethod(getGetIamPolicyMethod())
.addMethod(getTestIamPermissionsMethod())
.addMethod(getImportEntriesMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy