| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// - protoc-gen-go-grpc v1.3.0 |
| 18 |
// - protoc v4.25.7 |
| 19 |
// source: google/cloud/datacatalog/v1/datacatalog.proto |
| 20 |
|
| 21 |
package datacatalogpb |
| 22 |
|
| 23 |
import ( |
| 24 |
iampb "cloud.google.com/go/iam/apiv1/iampb" |
| 25 |
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| 26 |
context "context" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
codes "google.golang.org/grpc/codes" |
| 29 |
status "google.golang.org/grpc/status" |
| 30 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 31 |
) |
| 32 |
|
| 33 |
// This is a compile-time assertion to ensure that this generated file |
| 34 |
// is compatible with the grpc package it is being compiled against. |
| 35 |
// Requires gRPC-Go v1.32.0 or later. |
| 36 |
const _ = grpc.SupportPackageIsVersion7 |
| 37 |
|
| 38 |
const ( |
| 39 |
DataCatalog_SearchCatalog_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/SearchCatalog" |
| 40 |
DataCatalog_CreateEntryGroup_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/CreateEntryGroup" |
| 41 |
DataCatalog_GetEntryGroup_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/GetEntryGroup" |
| 42 |
DataCatalog_UpdateEntryGroup_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/UpdateEntryGroup" |
| 43 |
DataCatalog_DeleteEntryGroup_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/DeleteEntryGroup" |
| 44 |
DataCatalog_ListEntryGroups_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/ListEntryGroups" |
| 45 |
DataCatalog_CreateEntry_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/CreateEntry" |
| 46 |
DataCatalog_UpdateEntry_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/UpdateEntry" |
| 47 |
DataCatalog_DeleteEntry_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/DeleteEntry" |
| 48 |
DataCatalog_GetEntry_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/GetEntry" |
| 49 |
DataCatalog_LookupEntry_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/LookupEntry" |
| 50 |
DataCatalog_ListEntries_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/ListEntries" |
| 51 |
DataCatalog_ModifyEntryOverview_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/ModifyEntryOverview" |
| 52 |
DataCatalog_ModifyEntryContacts_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/ModifyEntryContacts" |
| 53 |
DataCatalog_CreateTagTemplate_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/CreateTagTemplate" |
| 54 |
DataCatalog_GetTagTemplate_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/GetTagTemplate" |
| 55 |
DataCatalog_UpdateTagTemplate_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/UpdateTagTemplate" |
| 56 |
DataCatalog_DeleteTagTemplate_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/DeleteTagTemplate" |
| 57 |
DataCatalog_CreateTagTemplateField_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/CreateTagTemplateField" |
| 58 |
DataCatalog_UpdateTagTemplateField_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/UpdateTagTemplateField" |
| 59 |
DataCatalog_RenameTagTemplateField_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/RenameTagTemplateField" |
| 60 |
DataCatalog_RenameTagTemplateFieldEnumValue_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/RenameTagTemplateFieldEnumValue" |
| 61 |
DataCatalog_DeleteTagTemplateField_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/DeleteTagTemplateField" |
| 62 |
DataCatalog_CreateTag_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/CreateTag" |
| 63 |
DataCatalog_UpdateTag_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/UpdateTag" |
| 64 |
DataCatalog_DeleteTag_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/DeleteTag" |
| 65 |
DataCatalog_ListTags_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/ListTags" |
| 66 |
DataCatalog_ReconcileTags_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/ReconcileTags" |
| 67 |
DataCatalog_StarEntry_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/StarEntry" |
| 68 |
DataCatalog_UnstarEntry_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/UnstarEntry" |
| 69 |
DataCatalog_SetIamPolicy_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/SetIamPolicy" |
| 70 |
DataCatalog_GetIamPolicy_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/GetIamPolicy" |
| 71 |
DataCatalog_TestIamPermissions_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/TestIamPermissions" |
| 72 |
DataCatalog_ImportEntries_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/ImportEntries" |
| 73 |
DataCatalog_SetConfig_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/SetConfig" |
| 74 |
DataCatalog_RetrieveConfig_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/RetrieveConfig" |
| 75 |
DataCatalog_RetrieveEffectiveConfig_FullMethodName = "/google.cloud.datacatalog.v1.DataCatalog/RetrieveEffectiveConfig" |
| 76 |
) |
| 77 |
|
| 78 |
// DataCatalogClient is the client API for DataCatalog service. |
| 79 |
// |
| 80 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. |
| 81 |
// |
| 82 |
// Deprecated: Do not use. |
| 83 |
type DataCatalogClient interface { |
| 84 |
// Deprecated: Do not use. |
| 85 |
// Searches Data Catalog for multiple resources like entries and tags that |
| 86 |
// match a query. |
| 87 |
// |
| 88 |
// This is a [Custom Method] |
| 89 |
// (https://cloud.google.com/apis/design/custom_methods) that doesn't return |
| 90 |
// all information on a resource, only its ID and high level fields. To get |
| 91 |
// more information, you can subsequently call specific get methods. |
| 92 |
// |
| 93 |
// Note: Data Catalog search queries don't guarantee full recall. Results |
| 94 |
// that match your query might not be returned, even in subsequent |
| 95 |
// result pages. Additionally, returned (and not returned) results can vary |
| 96 |
// if you repeat search queries. |
| 97 |
// |
| 98 |
// For more information, see [Data Catalog search syntax] |
| 99 |
// (https://cloud.google.com/data-catalog/docs/how-to/search-reference). |
| 100 |
SearchCatalog(ctx context.Context, in *SearchCatalogRequest, opts ...grpc.CallOption) (*SearchCatalogResponse, error) |
| 101 |
// Deprecated: Do not use. |
| 102 |
// Creates an entry group. |
| 103 |
// |
| 104 |
// An entry group contains logically related entries together with [Cloud |
| 105 |
// Identity and Access Management](/data-catalog/docs/concepts/iam) policies. |
| 106 |
// These policies specify users who can create, edit, and view entries |
| 107 |
// within entry groups. |
| 108 |
// |
| 109 |
// Data Catalog automatically creates entry groups with names that start with |
| 110 |
// the `@` symbol for the following resources: |
| 111 |
// |
| 112 |
// * BigQuery entries (`@bigquery`) |
| 113 |
// * Pub/Sub topics (`@pubsub`) |
| 114 |
// * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`) |
| 115 |
// |
| 116 |
// You can create your own entry groups for Cloud Storage fileset entries |
| 117 |
// and custom entries together with the corresponding IAM policies. |
| 118 |
// User-created entry groups can't contain the `@` symbol, it is reserved |
| 119 |
// for automatically created groups. |
| 120 |
// |
| 121 |
// Entry groups, like entries, can be searched. |
| 122 |
// |
| 123 |
// A maximum of 10,000 entry groups may be created per organization across all |
| 124 |
// locations. |
| 125 |
// |
| 126 |
// You must enable the Data Catalog API in the project identified by |
| 127 |
// the `parent` parameter. For more information, see [Data Catalog resource |
| 128 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 129 |
CreateEntryGroup(ctx context.Context, in *CreateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) |
| 130 |
// Deprecated: Do not use. |
| 131 |
// Gets an entry group. |
| 132 |
GetEntryGroup(ctx context.Context, in *GetEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) |
| 133 |
// Deprecated: Do not use. |
| 134 |
// Updates an entry group. |
| 135 |
// |
| 136 |
// You must enable the Data Catalog API in the project identified by |
| 137 |
// the `entry_group.name` parameter. For more information, see [Data Catalog |
| 138 |
// resource |
| 139 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 140 |
UpdateEntryGroup(ctx context.Context, in *UpdateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) |
| 141 |
// Deprecated: Do not use. |
| 142 |
// Deletes an entry group. |
| 143 |
// |
| 144 |
// You must enable the Data Catalog API in the project |
| 145 |
// identified by the `name` parameter. For more information, see [Data Catalog |
| 146 |
// resource |
| 147 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 148 |
DeleteEntryGroup(ctx context.Context, in *DeleteEntryGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 149 |
// Deprecated: Do not use. |
| 150 |
// Lists entry groups. |
| 151 |
ListEntryGroups(ctx context.Context, in *ListEntryGroupsRequest, opts ...grpc.CallOption) (*ListEntryGroupsResponse, error) |
| 152 |
// Deprecated: Do not use. |
| 153 |
// Creates an entry. |
| 154 |
// |
| 155 |
// You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', |
| 156 |
// or custom types. Data Catalog automatically creates entries with other |
| 157 |
// types during metadata ingestion from integrated systems. |
| 158 |
// |
| 159 |
// You must enable the Data Catalog API in the project identified by |
| 160 |
// the `parent` parameter. For more information, see [Data Catalog resource |
| 161 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 162 |
// |
| 163 |
// An entry group can have a maximum of 100,000 entries. |
| 164 |
CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*Entry, error) |
| 165 |
// Deprecated: Do not use. |
| 166 |
// Updates an existing entry. |
| 167 |
// |
| 168 |
// You must enable the Data Catalog API in the project identified by |
| 169 |
// the `entry.name` parameter. For more information, see [Data Catalog |
| 170 |
// resource |
| 171 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 172 |
UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*Entry, error) |
| 173 |
// Deprecated: Do not use. |
| 174 |
// Deletes an existing entry. |
| 175 |
// |
| 176 |
// You can delete only the entries created by the |
| 177 |
// [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] |
| 178 |
// method. |
| 179 |
// |
| 180 |
// You must enable the Data Catalog API in the project identified by |
| 181 |
// the `name` parameter. For more information, see [Data Catalog |
| 182 |
// resource |
| 183 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 184 |
DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 185 |
// Deprecated: Do not use. |
| 186 |
// Gets an entry. |
| 187 |
GetEntry(ctx context.Context, in *GetEntryRequest, opts ...grpc.CallOption) (*Entry, error) |
| 188 |
// Deprecated: Do not use. |
| 189 |
// Gets an entry by its target resource name. |
| 190 |
// |
| 191 |
// The resource name comes from the source Google Cloud Platform service. |
| 192 |
LookupEntry(ctx context.Context, in *LookupEntryRequest, opts ...grpc.CallOption) (*Entry, error) |
| 193 |
// Deprecated: Do not use. |
| 194 |
// Lists entries. |
| 195 |
// |
| 196 |
// Note: Currently, this method can list only custom entries. |
| 197 |
// To get a list of both custom and automatically created entries, use |
| 198 |
// [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]. |
| 199 |
ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error) |
| 200 |
// Deprecated: Do not use. |
| 201 |
// Modifies entry overview, part of the business context of an |
| 202 |
// [Entry][google.cloud.datacatalog.v1.Entry]. |
| 203 |
// |
| 204 |
// To call this method, you must have the `datacatalog.entries.updateOverview` |
| 205 |
// IAM permission on the corresponding project. |
| 206 |
ModifyEntryOverview(ctx context.Context, in *ModifyEntryOverviewRequest, opts ...grpc.CallOption) (*EntryOverview, error) |
| 207 |
// Deprecated: Do not use. |
| 208 |
// Modifies contacts, part of the business context of an |
| 209 |
// [Entry][google.cloud.datacatalog.v1.Entry]. |
| 210 |
// |
| 211 |
// To call this method, you must have the `datacatalog.entries.updateContacts` |
| 212 |
// IAM permission on the corresponding project. |
| 213 |
ModifyEntryContacts(ctx context.Context, in *ModifyEntryContactsRequest, opts ...grpc.CallOption) (*Contacts, error) |
| 214 |
// Deprecated: Do not use. |
| 215 |
// Creates a tag template. |
| 216 |
// |
| 217 |
// You must enable the Data Catalog API in the project identified by the |
| 218 |
// `parent` parameter. |
| 219 |
// For more information, see [Data Catalog resource project] |
| 220 |
// (https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 221 |
CreateTagTemplate(ctx context.Context, in *CreateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) |
| 222 |
// Deprecated: Do not use. |
| 223 |
// Gets a tag template. |
| 224 |
GetTagTemplate(ctx context.Context, in *GetTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) |
| 225 |
// Deprecated: Do not use. |
| 226 |
// Updates a tag template. |
| 227 |
// |
| 228 |
// You can't update template fields with this method. These fields are |
| 229 |
// separate resources with their own create, update, and delete methods. |
| 230 |
// |
| 231 |
// You must enable the Data Catalog API in the project identified by |
| 232 |
// the `tag_template.name` parameter. For more information, see [Data Catalog |
| 233 |
// resource |
| 234 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 235 |
UpdateTagTemplate(ctx context.Context, in *UpdateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) |
| 236 |
// Deprecated: Do not use. |
| 237 |
// Deletes a tag template and all tags that use it. |
| 238 |
// |
| 239 |
// You must enable the Data Catalog API in the project identified by |
| 240 |
// the `name` parameter. For more information, see [Data Catalog resource |
| 241 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 242 |
DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 243 |
// Deprecated: Do not use. |
| 244 |
// Creates a field in a tag template. |
| 245 |
// |
| 246 |
// You must enable the Data Catalog API in the project identified by |
| 247 |
// the `parent` parameter. For more information, see [Data Catalog resource |
| 248 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 249 |
CreateTagTemplateField(ctx context.Context, in *CreateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) |
| 250 |
// Deprecated: Do not use. |
| 251 |
// Updates a field in a tag template. |
| 252 |
// |
| 253 |
// You can't update the field type with this method. |
| 254 |
// |
| 255 |
// You must enable the Data Catalog API in the project |
| 256 |
// identified by the `name` parameter. For more information, see [Data Catalog |
| 257 |
// resource |
| 258 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 259 |
UpdateTagTemplateField(ctx context.Context, in *UpdateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) |
| 260 |
// Deprecated: Do not use. |
| 261 |
// Renames a field in a tag template. |
| 262 |
// |
| 263 |
// You must enable the Data Catalog API in the project identified by the |
| 264 |
// `name` parameter. For more information, see [Data Catalog resource project] |
| 265 |
// (https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 266 |
RenameTagTemplateField(ctx context.Context, in *RenameTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) |
| 267 |
// Deprecated: Do not use. |
| 268 |
// Renames an enum value in a tag template. |
| 269 |
// |
| 270 |
// Within a single enum field, enum values must be unique. |
| 271 |
RenameTagTemplateFieldEnumValue(ctx context.Context, in *RenameTagTemplateFieldEnumValueRequest, opts ...grpc.CallOption) (*TagTemplateField, error) |
| 272 |
// Deprecated: Do not use. |
| 273 |
// Deletes a field in a tag template and all uses of this field from the tags |
| 274 |
// based on this template. |
| 275 |
// |
| 276 |
// You must enable the Data Catalog API in the project identified by |
| 277 |
// the `name` parameter. For more information, see [Data Catalog resource |
| 278 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 279 |
DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 280 |
// Deprecated: Do not use. |
| 281 |
// Creates a tag and assigns it to: |
| 282 |
// |
| 283 |
// - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is |
| 284 |
// `projects.locations.entryGroups.entries.tags.create`. |
| 285 |
// - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method |
| 286 |
// name is `projects.locations.entryGroups.tags.create`. |
| 287 |
// |
| 288 |
// Note: The project identified by the `parent` parameter for the [tag] |
| 289 |
// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) |
| 290 |
// and the [tag template] |
| 291 |
// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) |
| 292 |
// used to create the tag must be in the same organization. |
| 293 |
CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) |
| 294 |
// Deprecated: Do not use. |
| 295 |
// Updates an existing tag. |
| 296 |
UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error) |
| 297 |
// Deprecated: Do not use. |
| 298 |
// Deletes a tag. |
| 299 |
DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 300 |
// Deprecated: Do not use. |
| 301 |
// Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. |
| 302 |
// The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are |
| 303 |
// lowercased. |
| 304 |
ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) |
| 305 |
// Deprecated: Do not use. |
| 306 |
// `ReconcileTags` creates or updates a list of tags on the entry. |
| 307 |
// If the |
| 308 |
// [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing] |
| 309 |
// parameter is set, the operation deletes tags not included in the input tag |
| 310 |
// list. |
| 311 |
// |
| 312 |
// `ReconcileTags` returns a [long-running operation] |
| 313 |
// [google.longrunning.Operation] resource that can be queried with |
| 314 |
// [Operations.GetOperation][google.longrunning.Operations.GetOperation] |
| 315 |
// to return [ReconcileTagsMetadata] |
| 316 |
// [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and |
| 317 |
// a [ReconcileTagsResponse] |
| 318 |
// [google.cloud.datacatalog.v1.ReconcileTagsResponse] message. |
| 319 |
ReconcileTags(ctx context.Context, in *ReconcileTagsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 320 |
// Deprecated: Do not use. |
| 321 |
// Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by |
| 322 |
// the current user. Starring information is private to each user. |
| 323 |
StarEntry(ctx context.Context, in *StarEntryRequest, opts ...grpc.CallOption) (*StarEntryResponse, error) |
| 324 |
// Deprecated: Do not use. |
| 325 |
// Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by |
| 326 |
// the current user. Starring information is private to each user. |
| 327 |
UnstarEntry(ctx context.Context, in *UnstarEntryRequest, opts ...grpc.CallOption) (*UnstarEntryResponse, error) |
| 328 |
// Deprecated: Do not use. |
| 329 |
// Sets an access control policy for a resource. Replaces any existing |
| 330 |
// policy. |
| 331 |
// |
| 332 |
// Supported resources are: |
| 333 |
// |
| 334 |
// - Tag templates |
| 335 |
// - Entry groups |
| 336 |
// |
| 337 |
// Note: This method sets policies only within Data Catalog and can't be |
| 338 |
// used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any |
| 339 |
// external Google Cloud Platform resources synced with the Data Catalog. |
| 340 |
// |
| 341 |
// To call this method, you must have the following Google IAM permissions: |
| 342 |
// |
| 343 |
// - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag |
| 344 |
// templates. |
| 345 |
// - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. |
| 346 |
SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) |
| 347 |
// Deprecated: Do not use. |
| 348 |
// Gets the access control policy for a resource. |
| 349 |
// |
| 350 |
// May return: |
| 351 |
// |
| 352 |
// - A`NOT_FOUND` error if the resource doesn't exist or you don't have the |
| 353 |
// permission to view it. |
| 354 |
// - An empty policy if the resource exists but doesn't have a set policy. |
| 355 |
// |
| 356 |
// Supported resources are: |
| 357 |
// |
| 358 |
// - Tag templates |
| 359 |
// - Entry groups |
| 360 |
// |
| 361 |
// Note: This method doesn't get policies from Google Cloud Platform |
| 362 |
// resources ingested into Data Catalog. |
| 363 |
// |
| 364 |
// To call this method, you must have the following Google IAM permissions: |
| 365 |
// |
| 366 |
// - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag |
| 367 |
// templates. |
| 368 |
// - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. |
| 369 |
GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) |
| 370 |
// Deprecated: Do not use. |
| 371 |
// Gets your permissions on a resource. |
| 372 |
// |
| 373 |
// Returns an empty set of permissions if the resource doesn't exist. |
| 374 |
// |
| 375 |
// Supported resources are: |
| 376 |
// |
| 377 |
// - Tag templates |
| 378 |
// - Entry groups |
| 379 |
// |
| 380 |
// Note: This method gets policies only within Data Catalog and can't be |
| 381 |
// used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any |
| 382 |
// external Google Cloud Platform resources ingested into Data Catalog. |
| 383 |
// |
| 384 |
// No Google IAM permissions are required to call this method. |
| 385 |
TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) |
| 386 |
// Deprecated: Do not use. |
| 387 |
// Imports entries from a source, such as data previously dumped into a |
| 388 |
// Cloud Storage bucket, into Data Catalog. Import of entries |
| 389 |
// is a sync operation that reconciles the state of the third-party system |
| 390 |
// with the Data Catalog. |
| 391 |
// |
| 392 |
// `ImportEntries` accepts source data snapshots of a third-party system. |
| 393 |
// Snapshot should be delivered as a .wire or base65-encoded .txt file |
| 394 |
// containing a sequence of Protocol Buffer messages of |
| 395 |
// [DumpItem][google.cloud.datacatalog.v1.DumpItem] type. |
| 396 |
// |
| 397 |
// `ImportEntries` returns a [long-running operation] |
| 398 |
// [google.longrunning.Operation] resource that can be queried with |
| 399 |
// [Operations.GetOperation][google.longrunning.Operations.GetOperation] |
| 400 |
// to return |
| 401 |
// [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata] |
| 402 |
// and an |
| 403 |
// [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse] |
| 404 |
// message. |
| 405 |
ImportEntries(ctx context.Context, in *ImportEntriesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 406 |
// Deprecated: Do not use. |
| 407 |
// Sets the configuration related to the migration to Dataplex for an |
| 408 |
// organization or project. |
| 409 |
SetConfig(ctx context.Context, in *SetConfigRequest, opts ...grpc.CallOption) (*MigrationConfig, error) |
| 410 |
// Deprecated: Do not use. |
| 411 |
// Retrieves the configuration related to the migration from Data Catalog to |
| 412 |
// Dataplex for a specific organization, including all the projects under it |
| 413 |
// which have a separate configuration set. |
| 414 |
RetrieveConfig(ctx context.Context, in *RetrieveConfigRequest, opts ...grpc.CallOption) (*OrganizationConfig, error) |
| 415 |
// Deprecated: Do not use. |
| 416 |
// Retrieves the effective configuration related to the migration from Data |
| 417 |
// Catalog to Dataplex for a specific organization or project. If there is no |
| 418 |
// specific configuration set for the resource, the setting is checked |
| 419 |
// hierarchicahlly through the ancestors of the resource, starting from the |
| 420 |
// resource itself. |
| 421 |
RetrieveEffectiveConfig(ctx context.Context, in *RetrieveEffectiveConfigRequest, opts ...grpc.CallOption) (*MigrationConfig, error) |
| 422 |
} |
| 423 |
|
| 424 |
type dataCatalogClient struct { |
| 425 |
cc grpc.ClientConnInterface |
| 426 |
} |
| 427 |
|
| 428 |
// Deprecated: Do not use. |
| 429 |
func NewDataCatalogClient(cc grpc.ClientConnInterface) DataCatalogClient { |
| 430 |
return &dataCatalogClient{cc} |
| 431 |
} |
| 432 |
|
| 433 |
// Deprecated: Do not use. |
| 434 |
func (c *dataCatalogClient) SearchCatalog(ctx context.Context, in *SearchCatalogRequest, opts ...grpc.CallOption) (*SearchCatalogResponse, error) { |
| 435 |
out := new(SearchCatalogResponse) |
| 436 |
err := c.cc.Invoke(ctx, DataCatalog_SearchCatalog_FullMethodName, in, out, opts...) |
| 437 |
if err != nil { |
| 438 |
return nil, err |
| 439 |
} |
| 440 |
return out, nil |
| 441 |
} |
| 442 |
|
| 443 |
// Deprecated: Do not use. |
| 444 |
func (c *dataCatalogClient) CreateEntryGroup(ctx context.Context, in *CreateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) { |
| 445 |
out := new(EntryGroup) |
| 446 |
err := c.cc.Invoke(ctx, DataCatalog_CreateEntryGroup_FullMethodName, in, out, opts...) |
| 447 |
if err != nil { |
| 448 |
return nil, err |
| 449 |
} |
| 450 |
return out, nil |
| 451 |
} |
| 452 |
|
| 453 |
// Deprecated: Do not use. |
| 454 |
func (c *dataCatalogClient) GetEntryGroup(ctx context.Context, in *GetEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) { |
| 455 |
out := new(EntryGroup) |
| 456 |
err := c.cc.Invoke(ctx, DataCatalog_GetEntryGroup_FullMethodName, in, out, opts...) |
| 457 |
if err != nil { |
| 458 |
return nil, err |
| 459 |
} |
| 460 |
return out, nil |
| 461 |
} |
| 462 |
|
| 463 |
// Deprecated: Do not use. |
| 464 |
func (c *dataCatalogClient) UpdateEntryGroup(ctx context.Context, in *UpdateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) { |
| 465 |
out := new(EntryGroup) |
| 466 |
err := c.cc.Invoke(ctx, DataCatalog_UpdateEntryGroup_FullMethodName, in, out, opts...) |
| 467 |
if err != nil { |
| 468 |
return nil, err |
| 469 |
} |
| 470 |
return out, nil |
| 471 |
} |
| 472 |
|
| 473 |
// Deprecated: Do not use. |
| 474 |
func (c *dataCatalogClient) DeleteEntryGroup(ctx context.Context, in *DeleteEntryGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 475 |
out := new(emptypb.Empty) |
| 476 |
err := c.cc.Invoke(ctx, DataCatalog_DeleteEntryGroup_FullMethodName, in, out, opts...) |
| 477 |
if err != nil { |
| 478 |
return nil, err |
| 479 |
} |
| 480 |
return out, nil |
| 481 |
} |
| 482 |
|
| 483 |
// Deprecated: Do not use. |
| 484 |
func (c *dataCatalogClient) ListEntryGroups(ctx context.Context, in *ListEntryGroupsRequest, opts ...grpc.CallOption) (*ListEntryGroupsResponse, error) { |
| 485 |
out := new(ListEntryGroupsResponse) |
| 486 |
err := c.cc.Invoke(ctx, DataCatalog_ListEntryGroups_FullMethodName, in, out, opts...) |
| 487 |
if err != nil { |
| 488 |
return nil, err |
| 489 |
} |
| 490 |
return out, nil |
| 491 |
} |
| 492 |
|
| 493 |
// Deprecated: Do not use. |
| 494 |
func (c *dataCatalogClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*Entry, error) { |
| 495 |
out := new(Entry) |
| 496 |
err := c.cc.Invoke(ctx, DataCatalog_CreateEntry_FullMethodName, in, out, opts...) |
| 497 |
if err != nil { |
| 498 |
return nil, err |
| 499 |
} |
| 500 |
return out, nil |
| 501 |
} |
| 502 |
|
| 503 |
// Deprecated: Do not use. |
| 504 |
func (c *dataCatalogClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*Entry, error) { |
| 505 |
out := new(Entry) |
| 506 |
err := c.cc.Invoke(ctx, DataCatalog_UpdateEntry_FullMethodName, in, out, opts...) |
| 507 |
if err != nil { |
| 508 |
return nil, err |
| 509 |
} |
| 510 |
return out, nil |
| 511 |
} |
| 512 |
|
| 513 |
// Deprecated: Do not use. |
| 514 |
func (c *dataCatalogClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 515 |
out := new(emptypb.Empty) |
| 516 |
err := c.cc.Invoke(ctx, DataCatalog_DeleteEntry_FullMethodName, in, out, opts...) |
| 517 |
if err != nil { |
| 518 |
return nil, err |
| 519 |
} |
| 520 |
return out, nil |
| 521 |
} |
| 522 |
|
| 523 |
// Deprecated: Do not use. |
| 524 |
func (c *dataCatalogClient) GetEntry(ctx context.Context, in *GetEntryRequest, opts ...grpc.CallOption) (*Entry, error) { |
| 525 |
out := new(Entry) |
| 526 |
err := c.cc.Invoke(ctx, DataCatalog_GetEntry_FullMethodName, in, out, opts...) |
| 527 |
if err != nil { |
| 528 |
return nil, err |
| 529 |
} |
| 530 |
return out, nil |
| 531 |
} |
| 532 |
|
| 533 |
// Deprecated: Do not use. |
| 534 |
func (c *dataCatalogClient) LookupEntry(ctx context.Context, in *LookupEntryRequest, opts ...grpc.CallOption) (*Entry, error) { |
| 535 |
out := new(Entry) |
| 536 |
err := c.cc.Invoke(ctx, DataCatalog_LookupEntry_FullMethodName, in, out, opts...) |
| 537 |
if err != nil { |
| 538 |
return nil, err |
| 539 |
} |
| 540 |
return out, nil |
| 541 |
} |
| 542 |
|
| 543 |
// Deprecated: Do not use. |
| 544 |
func (c *dataCatalogClient) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error) { |
| 545 |
out := new(ListEntriesResponse) |
| 546 |
err := c.cc.Invoke(ctx, DataCatalog_ListEntries_FullMethodName, in, out, opts...) |
| 547 |
if err != nil { |
| 548 |
return nil, err |
| 549 |
} |
| 550 |
return out, nil |
| 551 |
} |
| 552 |
|
| 553 |
// Deprecated: Do not use. |
| 554 |
func (c *dataCatalogClient) ModifyEntryOverview(ctx context.Context, in *ModifyEntryOverviewRequest, opts ...grpc.CallOption) (*EntryOverview, error) { |
| 555 |
out := new(EntryOverview) |
| 556 |
err := c.cc.Invoke(ctx, DataCatalog_ModifyEntryOverview_FullMethodName, in, out, opts...) |
| 557 |
if err != nil { |
| 558 |
return nil, err |
| 559 |
} |
| 560 |
return out, nil |
| 561 |
} |
| 562 |
|
| 563 |
// Deprecated: Do not use. |
| 564 |
func (c *dataCatalogClient) ModifyEntryContacts(ctx context.Context, in *ModifyEntryContactsRequest, opts ...grpc.CallOption) (*Contacts, error) { |
| 565 |
out := new(Contacts) |
| 566 |
err := c.cc.Invoke(ctx, DataCatalog_ModifyEntryContacts_FullMethodName, in, out, opts...) |
| 567 |
if err != nil { |
| 568 |
return nil, err |
| 569 |
} |
| 570 |
return out, nil |
| 571 |
} |
| 572 |
|
| 573 |
// Deprecated: Do not use. |
| 574 |
func (c *dataCatalogClient) CreateTagTemplate(ctx context.Context, in *CreateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) { |
| 575 |
out := new(TagTemplate) |
| 576 |
err := c.cc.Invoke(ctx, DataCatalog_CreateTagTemplate_FullMethodName, in, out, opts...) |
| 577 |
if err != nil { |
| 578 |
return nil, err |
| 579 |
} |
| 580 |
return out, nil |
| 581 |
} |
| 582 |
|
| 583 |
// Deprecated: Do not use. |
| 584 |
func (c *dataCatalogClient) GetTagTemplate(ctx context.Context, in *GetTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) { |
| 585 |
out := new(TagTemplate) |
| 586 |
err := c.cc.Invoke(ctx, DataCatalog_GetTagTemplate_FullMethodName, in, out, opts...) |
| 587 |
if err != nil { |
| 588 |
return nil, err |
| 589 |
} |
| 590 |
return out, nil |
| 591 |
} |
| 592 |
|
| 593 |
// Deprecated: Do not use. |
| 594 |
func (c *dataCatalogClient) UpdateTagTemplate(ctx context.Context, in *UpdateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) { |
| 595 |
out := new(TagTemplate) |
| 596 |
err := c.cc.Invoke(ctx, DataCatalog_UpdateTagTemplate_FullMethodName, in, out, opts...) |
| 597 |
if err != nil { |
| 598 |
return nil, err |
| 599 |
} |
| 600 |
return out, nil |
| 601 |
} |
| 602 |
|
| 603 |
// Deprecated: Do not use. |
| 604 |
func (c *dataCatalogClient) DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 605 |
out := new(emptypb.Empty) |
| 606 |
err := c.cc.Invoke(ctx, DataCatalog_DeleteTagTemplate_FullMethodName, in, out, opts...) |
| 607 |
if err != nil { |
| 608 |
return nil, err |
| 609 |
} |
| 610 |
return out, nil |
| 611 |
} |
| 612 |
|
| 613 |
// Deprecated: Do not use. |
| 614 |
func (c *dataCatalogClient) CreateTagTemplateField(ctx context.Context, in *CreateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) { |
| 615 |
out := new(TagTemplateField) |
| 616 |
err := c.cc.Invoke(ctx, DataCatalog_CreateTagTemplateField_FullMethodName, in, out, opts...) |
| 617 |
if err != nil { |
| 618 |
return nil, err |
| 619 |
} |
| 620 |
return out, nil |
| 621 |
} |
| 622 |
|
| 623 |
// Deprecated: Do not use. |
| 624 |
func (c *dataCatalogClient) UpdateTagTemplateField(ctx context.Context, in *UpdateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) { |
| 625 |
out := new(TagTemplateField) |
| 626 |
err := c.cc.Invoke(ctx, DataCatalog_UpdateTagTemplateField_FullMethodName, in, out, opts...) |
| 627 |
if err != nil { |
| 628 |
return nil, err |
| 629 |
} |
| 630 |
return out, nil |
| 631 |
} |
| 632 |
|
| 633 |
// Deprecated: Do not use. |
| 634 |
func (c *dataCatalogClient) RenameTagTemplateField(ctx context.Context, in *RenameTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) { |
| 635 |
out := new(TagTemplateField) |
| 636 |
err := c.cc.Invoke(ctx, DataCatalog_RenameTagTemplateField_FullMethodName, in, out, opts...) |
| 637 |
if err != nil { |
| 638 |
return nil, err |
| 639 |
} |
| 640 |
return out, nil |
| 641 |
} |
| 642 |
|
| 643 |
// Deprecated: Do not use. |
| 644 |
func (c *dataCatalogClient) RenameTagTemplateFieldEnumValue(ctx context.Context, in *RenameTagTemplateFieldEnumValueRequest, opts ...grpc.CallOption) (*TagTemplateField, error) { |
| 645 |
out := new(TagTemplateField) |
| 646 |
err := c.cc.Invoke(ctx, DataCatalog_RenameTagTemplateFieldEnumValue_FullMethodName, in, out, opts...) |
| 647 |
if err != nil { |
| 648 |
return nil, err |
| 649 |
} |
| 650 |
return out, nil |
| 651 |
} |
| 652 |
|
| 653 |
// Deprecated: Do not use. |
| 654 |
func (c *dataCatalogClient) DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 655 |
out := new(emptypb.Empty) |
| 656 |
err := c.cc.Invoke(ctx, DataCatalog_DeleteTagTemplateField_FullMethodName, in, out, opts...) |
| 657 |
if err != nil { |
| 658 |
return nil, err |
| 659 |
} |
| 660 |
return out, nil |
| 661 |
} |
| 662 |
|
| 663 |
// Deprecated: Do not use. |
| 664 |
func (c *dataCatalogClient) CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) { |
| 665 |
out := new(Tag) |
| 666 |
err := c.cc.Invoke(ctx, DataCatalog_CreateTag_FullMethodName, in, out, opts...) |
| 667 |
if err != nil { |
| 668 |
return nil, err |
| 669 |
} |
| 670 |
return out, nil |
| 671 |
} |
| 672 |
|
| 673 |
// Deprecated: Do not use. |
| 674 |
func (c *dataCatalogClient) UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error) { |
| 675 |
out := new(Tag) |
| 676 |
err := c.cc.Invoke(ctx, DataCatalog_UpdateTag_FullMethodName, in, out, opts...) |
| 677 |
if err != nil { |
| 678 |
return nil, err |
| 679 |
} |
| 680 |
return out, nil |
| 681 |
} |
| 682 |
|
| 683 |
// Deprecated: Do not use. |
| 684 |
func (c *dataCatalogClient) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 685 |
out := new(emptypb.Empty) |
| 686 |
err := c.cc.Invoke(ctx, DataCatalog_DeleteTag_FullMethodName, in, out, opts...) |
| 687 |
if err != nil { |
| 688 |
return nil, err |
| 689 |
} |
| 690 |
return out, nil |
| 691 |
} |
| 692 |
|
| 693 |
// Deprecated: Do not use. |
| 694 |
func (c *dataCatalogClient) ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) { |
| 695 |
out := new(ListTagsResponse) |
| 696 |
err := c.cc.Invoke(ctx, DataCatalog_ListTags_FullMethodName, in, out, opts...) |
| 697 |
if err != nil { |
| 698 |
return nil, err |
| 699 |
} |
| 700 |
return out, nil |
| 701 |
} |
| 702 |
|
| 703 |
// Deprecated: Do not use. |
| 704 |
func (c *dataCatalogClient) ReconcileTags(ctx context.Context, in *ReconcileTagsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 705 |
out := new(longrunningpb.Operation) |
| 706 |
err := c.cc.Invoke(ctx, DataCatalog_ReconcileTags_FullMethodName, in, out, opts...) |
| 707 |
if err != nil { |
| 708 |
return nil, err |
| 709 |
} |
| 710 |
return out, nil |
| 711 |
} |
| 712 |
|
| 713 |
// Deprecated: Do not use. |
| 714 |
func (c *dataCatalogClient) StarEntry(ctx context.Context, in *StarEntryRequest, opts ...grpc.CallOption) (*StarEntryResponse, error) { |
| 715 |
out := new(StarEntryResponse) |
| 716 |
err := c.cc.Invoke(ctx, DataCatalog_StarEntry_FullMethodName, in, out, opts...) |
| 717 |
if err != nil { |
| 718 |
return nil, err |
| 719 |
} |
| 720 |
return out, nil |
| 721 |
} |
| 722 |
|
| 723 |
// Deprecated: Do not use. |
| 724 |
func (c *dataCatalogClient) UnstarEntry(ctx context.Context, in *UnstarEntryRequest, opts ...grpc.CallOption) (*UnstarEntryResponse, error) { |
| 725 |
out := new(UnstarEntryResponse) |
| 726 |
err := c.cc.Invoke(ctx, DataCatalog_UnstarEntry_FullMethodName, in, out, opts...) |
| 727 |
if err != nil { |
| 728 |
return nil, err |
| 729 |
} |
| 730 |
return out, nil |
| 731 |
} |
| 732 |
|
| 733 |
// Deprecated: Do not use. |
| 734 |
func (c *dataCatalogClient) SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) { |
| 735 |
out := new(iampb.Policy) |
| 736 |
err := c.cc.Invoke(ctx, DataCatalog_SetIamPolicy_FullMethodName, in, out, opts...) |
| 737 |
if err != nil { |
| 738 |
return nil, err |
| 739 |
} |
| 740 |
return out, nil |
| 741 |
} |
| 742 |
|
| 743 |
// Deprecated: Do not use. |
| 744 |
func (c *dataCatalogClient) GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) { |
| 745 |
out := new(iampb.Policy) |
| 746 |
err := c.cc.Invoke(ctx, DataCatalog_GetIamPolicy_FullMethodName, in, out, opts...) |
| 747 |
if err != nil { |
| 748 |
return nil, err |
| 749 |
} |
| 750 |
return out, nil |
| 751 |
} |
| 752 |
|
| 753 |
// Deprecated: Do not use. |
| 754 |
func (c *dataCatalogClient) TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) { |
| 755 |
out := new(iampb.TestIamPermissionsResponse) |
| 756 |
err := c.cc.Invoke(ctx, DataCatalog_TestIamPermissions_FullMethodName, in, out, opts...) |
| 757 |
if err != nil { |
| 758 |
return nil, err |
| 759 |
} |
| 760 |
return out, nil |
| 761 |
} |
| 762 |
|
| 763 |
// Deprecated: Do not use. |
| 764 |
func (c *dataCatalogClient) ImportEntries(ctx context.Context, in *ImportEntriesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 765 |
out := new(longrunningpb.Operation) |
| 766 |
err := c.cc.Invoke(ctx, DataCatalog_ImportEntries_FullMethodName, in, out, opts...) |
| 767 |
if err != nil { |
| 768 |
return nil, err |
| 769 |
} |
| 770 |
return out, nil |
| 771 |
} |
| 772 |
|
| 773 |
// Deprecated: Do not use. |
| 774 |
func (c *dataCatalogClient) SetConfig(ctx context.Context, in *SetConfigRequest, opts ...grpc.CallOption) (*MigrationConfig, error) { |
| 775 |
out := new(MigrationConfig) |
| 776 |
err := c.cc.Invoke(ctx, DataCatalog_SetConfig_FullMethodName, in, out, opts...) |
| 777 |
if err != nil { |
| 778 |
return nil, err |
| 779 |
} |
| 780 |
return out, nil |
| 781 |
} |
| 782 |
|
| 783 |
// Deprecated: Do not use. |
| 784 |
func (c *dataCatalogClient) RetrieveConfig(ctx context.Context, in *RetrieveConfigRequest, opts ...grpc.CallOption) (*OrganizationConfig, error) { |
| 785 |
out := new(OrganizationConfig) |
| 786 |
err := c.cc.Invoke(ctx, DataCatalog_RetrieveConfig_FullMethodName, in, out, opts...) |
| 787 |
if err != nil { |
| 788 |
return nil, err |
| 789 |
} |
| 790 |
return out, nil |
| 791 |
} |
| 792 |
|
| 793 |
// Deprecated: Do not use. |
| 794 |
func (c *dataCatalogClient) RetrieveEffectiveConfig(ctx context.Context, in *RetrieveEffectiveConfigRequest, opts ...grpc.CallOption) (*MigrationConfig, error) { |
| 795 |
out := new(MigrationConfig) |
| 796 |
err := c.cc.Invoke(ctx, DataCatalog_RetrieveEffectiveConfig_FullMethodName, in, out, opts...) |
| 797 |
if err != nil { |
| 798 |
return nil, err |
| 799 |
} |
| 800 |
return out, nil |
| 801 |
} |
| 802 |
|
| 803 |
// DataCatalogServer is the server API for DataCatalog service. |
| 804 |
// All implementations should embed UnimplementedDataCatalogServer |
| 805 |
// for forward compatibility |
| 806 |
// |
| 807 |
// Deprecated: Do not use. |
| 808 |
type DataCatalogServer interface { |
| 809 |
// Deprecated: Do not use. |
| 810 |
// Searches Data Catalog for multiple resources like entries and tags that |
| 811 |
// match a query. |
| 812 |
// |
| 813 |
// This is a [Custom Method] |
| 814 |
// (https://cloud.google.com/apis/design/custom_methods) that doesn't return |
| 815 |
// all information on a resource, only its ID and high level fields. To get |
| 816 |
// more information, you can subsequently call specific get methods. |
| 817 |
// |
| 818 |
// Note: Data Catalog search queries don't guarantee full recall. Results |
| 819 |
// that match your query might not be returned, even in subsequent |
| 820 |
// result pages. Additionally, returned (and not returned) results can vary |
| 821 |
// if you repeat search queries. |
| 822 |
// |
| 823 |
// For more information, see [Data Catalog search syntax] |
| 824 |
// (https://cloud.google.com/data-catalog/docs/how-to/search-reference). |
| 825 |
SearchCatalog(context.Context, *SearchCatalogRequest) (*SearchCatalogResponse, error) |
| 826 |
// Deprecated: Do not use. |
| 827 |
// Creates an entry group. |
| 828 |
// |
| 829 |
// An entry group contains logically related entries together with [Cloud |
| 830 |
// Identity and Access Management](/data-catalog/docs/concepts/iam) policies. |
| 831 |
// These policies specify users who can create, edit, and view entries |
| 832 |
// within entry groups. |
| 833 |
// |
| 834 |
// Data Catalog automatically creates entry groups with names that start with |
| 835 |
// the `@` symbol for the following resources: |
| 836 |
// |
| 837 |
// * BigQuery entries (`@bigquery`) |
| 838 |
// * Pub/Sub topics (`@pubsub`) |
| 839 |
// * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`) |
| 840 |
// |
| 841 |
// You can create your own entry groups for Cloud Storage fileset entries |
| 842 |
// and custom entries together with the corresponding IAM policies. |
| 843 |
// User-created entry groups can't contain the `@` symbol, it is reserved |
| 844 |
// for automatically created groups. |
| 845 |
// |
| 846 |
// Entry groups, like entries, can be searched. |
| 847 |
// |
| 848 |
// A maximum of 10,000 entry groups may be created per organization across all |
| 849 |
// locations. |
| 850 |
// |
| 851 |
// You must enable the Data Catalog API in the project identified by |
| 852 |
// the `parent` parameter. For more information, see [Data Catalog resource |
| 853 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 854 |
CreateEntryGroup(context.Context, *CreateEntryGroupRequest) (*EntryGroup, error) |
| 855 |
// Deprecated: Do not use. |
| 856 |
// Gets an entry group. |
| 857 |
GetEntryGroup(context.Context, *GetEntryGroupRequest) (*EntryGroup, error) |
| 858 |
// Deprecated: Do not use. |
| 859 |
// Updates an entry group. |
| 860 |
// |
| 861 |
// You must enable the Data Catalog API in the project identified by |
| 862 |
// the `entry_group.name` parameter. For more information, see [Data Catalog |
| 863 |
// resource |
| 864 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 865 |
UpdateEntryGroup(context.Context, *UpdateEntryGroupRequest) (*EntryGroup, error) |
| 866 |
// Deprecated: Do not use. |
| 867 |
// Deletes an entry group. |
| 868 |
// |
| 869 |
// You must enable the Data Catalog API in the project |
| 870 |
// identified by the `name` parameter. For more information, see [Data Catalog |
| 871 |
// resource |
| 872 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 873 |
DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*emptypb.Empty, error) |
| 874 |
// Deprecated: Do not use. |
| 875 |
// Lists entry groups. |
| 876 |
ListEntryGroups(context.Context, *ListEntryGroupsRequest) (*ListEntryGroupsResponse, error) |
| 877 |
// Deprecated: Do not use. |
| 878 |
// Creates an entry. |
| 879 |
// |
| 880 |
// You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', |
| 881 |
// or custom types. Data Catalog automatically creates entries with other |
| 882 |
// types during metadata ingestion from integrated systems. |
| 883 |
// |
| 884 |
// You must enable the Data Catalog API in the project identified by |
| 885 |
// the `parent` parameter. For more information, see [Data Catalog resource |
| 886 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 887 |
// |
| 888 |
// An entry group can have a maximum of 100,000 entries. |
| 889 |
CreateEntry(context.Context, *CreateEntryRequest) (*Entry, error) |
| 890 |
// Deprecated: Do not use. |
| 891 |
// Updates an existing entry. |
| 892 |
// |
| 893 |
// You must enable the Data Catalog API in the project identified by |
| 894 |
// the `entry.name` parameter. For more information, see [Data Catalog |
| 895 |
// resource |
| 896 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 897 |
UpdateEntry(context.Context, *UpdateEntryRequest) (*Entry, error) |
| 898 |
// Deprecated: Do not use. |
| 899 |
// Deletes an existing entry. |
| 900 |
// |
| 901 |
// You can delete only the entries created by the |
| 902 |
// [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] |
| 903 |
// method. |
| 904 |
// |
| 905 |
// You must enable the Data Catalog API in the project identified by |
| 906 |
// the `name` parameter. For more information, see [Data Catalog |
| 907 |
// resource |
| 908 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 909 |
DeleteEntry(context.Context, *DeleteEntryRequest) (*emptypb.Empty, error) |
| 910 |
// Deprecated: Do not use. |
| 911 |
// Gets an entry. |
| 912 |
GetEntry(context.Context, *GetEntryRequest) (*Entry, error) |
| 913 |
// Deprecated: Do not use. |
| 914 |
// Gets an entry by its target resource name. |
| 915 |
// |
| 916 |
// The resource name comes from the source Google Cloud Platform service. |
| 917 |
LookupEntry(context.Context, *LookupEntryRequest) (*Entry, error) |
| 918 |
// Deprecated: Do not use. |
| 919 |
// Lists entries. |
| 920 |
// |
| 921 |
// Note: Currently, this method can list only custom entries. |
| 922 |
// To get a list of both custom and automatically created entries, use |
| 923 |
// [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]. |
| 924 |
ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error) |
| 925 |
// Deprecated: Do not use. |
| 926 |
// Modifies entry overview, part of the business context of an |
| 927 |
// [Entry][google.cloud.datacatalog.v1.Entry]. |
| 928 |
// |
| 929 |
// To call this method, you must have the `datacatalog.entries.updateOverview` |
| 930 |
// IAM permission on the corresponding project. |
| 931 |
ModifyEntryOverview(context.Context, *ModifyEntryOverviewRequest) (*EntryOverview, error) |
| 932 |
// Deprecated: Do not use. |
| 933 |
// Modifies contacts, part of the business context of an |
| 934 |
// [Entry][google.cloud.datacatalog.v1.Entry]. |
| 935 |
// |
| 936 |
// To call this method, you must have the `datacatalog.entries.updateContacts` |
| 937 |
// IAM permission on the corresponding project. |
| 938 |
ModifyEntryContacts(context.Context, *ModifyEntryContactsRequest) (*Contacts, error) |
| 939 |
// Deprecated: Do not use. |
| 940 |
// Creates a tag template. |
| 941 |
// |
| 942 |
// You must enable the Data Catalog API in the project identified by the |
| 943 |
// `parent` parameter. |
| 944 |
// For more information, see [Data Catalog resource project] |
| 945 |
// (https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 946 |
CreateTagTemplate(context.Context, *CreateTagTemplateRequest) (*TagTemplate, error) |
| 947 |
// Deprecated: Do not use. |
| 948 |
// Gets a tag template. |
| 949 |
GetTagTemplate(context.Context, *GetTagTemplateRequest) (*TagTemplate, error) |
| 950 |
// Deprecated: Do not use. |
| 951 |
// Updates a tag template. |
| 952 |
// |
| 953 |
// You can't update template fields with this method. These fields are |
| 954 |
// separate resources with their own create, update, and delete methods. |
| 955 |
// |
| 956 |
// You must enable the Data Catalog API in the project identified by |
| 957 |
// the `tag_template.name` parameter. For more information, see [Data Catalog |
| 958 |
// resource |
| 959 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 960 |
UpdateTagTemplate(context.Context, *UpdateTagTemplateRequest) (*TagTemplate, error) |
| 961 |
// Deprecated: Do not use. |
| 962 |
// Deletes a tag template and all tags that use it. |
| 963 |
// |
| 964 |
// You must enable the Data Catalog API in the project identified by |
| 965 |
// the `name` parameter. For more information, see [Data Catalog resource |
| 966 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 967 |
DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*emptypb.Empty, error) |
| 968 |
// Deprecated: Do not use. |
| 969 |
// Creates a field in a tag template. |
| 970 |
// |
| 971 |
// You must enable the Data Catalog API in the project identified by |
| 972 |
// the `parent` parameter. For more information, see [Data Catalog resource |
| 973 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 974 |
CreateTagTemplateField(context.Context, *CreateTagTemplateFieldRequest) (*TagTemplateField, error) |
| 975 |
// Deprecated: Do not use. |
| 976 |
// Updates a field in a tag template. |
| 977 |
// |
| 978 |
// You can't update the field type with this method. |
| 979 |
// |
| 980 |
// You must enable the Data Catalog API in the project |
| 981 |
// identified by the `name` parameter. For more information, see [Data Catalog |
| 982 |
// resource |
| 983 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 984 |
UpdateTagTemplateField(context.Context, *UpdateTagTemplateFieldRequest) (*TagTemplateField, error) |
| 985 |
// Deprecated: Do not use. |
| 986 |
// Renames a field in a tag template. |
| 987 |
// |
| 988 |
// You must enable the Data Catalog API in the project identified by the |
| 989 |
// `name` parameter. For more information, see [Data Catalog resource project] |
| 990 |
// (https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 991 |
RenameTagTemplateField(context.Context, *RenameTagTemplateFieldRequest) (*TagTemplateField, error) |
| 992 |
// Deprecated: Do not use. |
| 993 |
// Renames an enum value in a tag template. |
| 994 |
// |
| 995 |
// Within a single enum field, enum values must be unique. |
| 996 |
RenameTagTemplateFieldEnumValue(context.Context, *RenameTagTemplateFieldEnumValueRequest) (*TagTemplateField, error) |
| 997 |
// Deprecated: Do not use. |
| 998 |
// Deletes a field in a tag template and all uses of this field from the tags |
| 999 |
// based on this template. |
| 1000 |
// |
| 1001 |
// You must enable the Data Catalog API in the project identified by |
| 1002 |
// the `name` parameter. For more information, see [Data Catalog resource |
| 1003 |
// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). |
| 1004 |
DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*emptypb.Empty, error) |
| 1005 |
// Deprecated: Do not use. |
| 1006 |
// Creates a tag and assigns it to: |
| 1007 |
// |
| 1008 |
// - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is |
| 1009 |
// `projects.locations.entryGroups.entries.tags.create`. |
| 1010 |
// - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method |
| 1011 |
// name is `projects.locations.entryGroups.tags.create`. |
| 1012 |
// |
| 1013 |
// Note: The project identified by the `parent` parameter for the [tag] |
| 1014 |
// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) |
| 1015 |
// and the [tag template] |
| 1016 |
// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) |
| 1017 |
// used to create the tag must be in the same organization. |
| 1018 |
CreateTag(context.Context, *CreateTagRequest) (*Tag, error) |
| 1019 |
// Deprecated: Do not use. |
| 1020 |
// Updates an existing tag. |
| 1021 |
UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error) |
| 1022 |
// Deprecated: Do not use. |
| 1023 |
// Deletes a tag. |
| 1024 |
DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error) |
| 1025 |
// Deprecated: Do not use. |
| 1026 |
// Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. |
| 1027 |
// The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are |
| 1028 |
// lowercased. |
| 1029 |
ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) |
| 1030 |
// Deprecated: Do not use. |
| 1031 |
// `ReconcileTags` creates or updates a list of tags on the entry. |
| 1032 |
// If the |
| 1033 |
// [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing] |
| 1034 |
// parameter is set, the operation deletes tags not included in the input tag |
| 1035 |
// list. |
| 1036 |
// |
| 1037 |
// `ReconcileTags` returns a [long-running operation] |
| 1038 |
// [google.longrunning.Operation] resource that can be queried with |
| 1039 |
// [Operations.GetOperation][google.longrunning.Operations.GetOperation] |
| 1040 |
// to return [ReconcileTagsMetadata] |
| 1041 |
// [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and |
| 1042 |
// a [ReconcileTagsResponse] |
| 1043 |
// [google.cloud.datacatalog.v1.ReconcileTagsResponse] message. |
| 1044 |
ReconcileTags(context.Context, *ReconcileTagsRequest) (*longrunningpb.Operation, error) |
| 1045 |
// Deprecated: Do not use. |
| 1046 |
// Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by |
| 1047 |
// the current user. Starring information is private to each user. |
| 1048 |
StarEntry(context.Context, *StarEntryRequest) (*StarEntryResponse, error) |
| 1049 |
// Deprecated: Do not use. |
| 1050 |
// Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by |
| 1051 |
// the current user. Starring information is private to each user. |
| 1052 |
UnstarEntry(context.Context, *UnstarEntryRequest) (*UnstarEntryResponse, error) |
| 1053 |
// Deprecated: Do not use. |
| 1054 |
// Sets an access control policy for a resource. Replaces any existing |
| 1055 |
// policy. |
| 1056 |
// |
| 1057 |
// Supported resources are: |
| 1058 |
// |
| 1059 |
// - Tag templates |
| 1060 |
// - Entry groups |
| 1061 |
// |
| 1062 |
// Note: This method sets policies only within Data Catalog and can't be |
| 1063 |
// used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any |
| 1064 |
// external Google Cloud Platform resources synced with the Data Catalog. |
| 1065 |
// |
| 1066 |
// To call this method, you must have the following Google IAM permissions: |
| 1067 |
// |
| 1068 |
// - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag |
| 1069 |
// templates. |
| 1070 |
// - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. |
| 1071 |
SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) |
| 1072 |
// Deprecated: Do not use. |
| 1073 |
// Gets the access control policy for a resource. |
| 1074 |
// |
| 1075 |
// May return: |
| 1076 |
// |
| 1077 |
// - A`NOT_FOUND` error if the resource doesn't exist or you don't have the |
| 1078 |
// permission to view it. |
| 1079 |
// - An empty policy if the resource exists but doesn't have a set policy. |
| 1080 |
// |
| 1081 |
// Supported resources are: |
| 1082 |
// |
| 1083 |
// - Tag templates |
| 1084 |
// - Entry groups |
| 1085 |
// |
| 1086 |
// Note: This method doesn't get policies from Google Cloud Platform |
| 1087 |
// resources ingested into Data Catalog. |
| 1088 |
// |
| 1089 |
// To call this method, you must have the following Google IAM permissions: |
| 1090 |
// |
| 1091 |
// - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag |
| 1092 |
// templates. |
| 1093 |
// - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. |
| 1094 |
GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) |
| 1095 |
// Deprecated: Do not use. |
| 1096 |
// Gets your permissions on a resource. |
| 1097 |
// |
| 1098 |
// Returns an empty set of permissions if the resource doesn't exist. |
| 1099 |
// |
| 1100 |
// Supported resources are: |
| 1101 |
// |
| 1102 |
// - Tag templates |
| 1103 |
// - Entry groups |
| 1104 |
// |
| 1105 |
// Note: This method gets policies only within Data Catalog and can't be |
| 1106 |
// used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any |
| 1107 |
// external Google Cloud Platform resources ingested into Data Catalog. |
| 1108 |
// |
| 1109 |
// No Google IAM permissions are required to call this method. |
| 1110 |
TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) |
| 1111 |
// Deprecated: Do not use. |
| 1112 |
// Imports entries from a source, such as data previously dumped into a |
| 1113 |
// Cloud Storage bucket, into Data Catalog. Import of entries |
| 1114 |
// is a sync operation that reconciles the state of the third-party system |
| 1115 |
// with the Data Catalog. |
| 1116 |
// |
| 1117 |
// `ImportEntries` accepts source data snapshots of a third-party system. |
| 1118 |
// Snapshot should be delivered as a .wire or base65-encoded .txt file |
| 1119 |
// containing a sequence of Protocol Buffer messages of |
| 1120 |
// [DumpItem][google.cloud.datacatalog.v1.DumpItem] type. |
| 1121 |
// |
| 1122 |
// `ImportEntries` returns a [long-running operation] |
| 1123 |
// [google.longrunning.Operation] resource that can be queried with |
| 1124 |
// [Operations.GetOperation][google.longrunning.Operations.GetOperation] |
| 1125 |
// to return |
| 1126 |
// [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata] |
| 1127 |
// and an |
| 1128 |
// [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse] |
| 1129 |
// message. |
| 1130 |
ImportEntries(context.Context, *ImportEntriesRequest) (*longrunningpb.Operation, error) |
| 1131 |
// Deprecated: Do not use. |
| 1132 |
// Sets the configuration related to the migration to Dataplex for an |
| 1133 |
// organization or project. |
| 1134 |
SetConfig(context.Context, *SetConfigRequest) (*MigrationConfig, error) |
| 1135 |
// Deprecated: Do not use. |
| 1136 |
// Retrieves the configuration related to the migration from Data Catalog to |
| 1137 |
// Dataplex for a specific organization, including all the projects under it |
| 1138 |
// which have a separate configuration set. |
| 1139 |
RetrieveConfig(context.Context, *RetrieveConfigRequest) (*OrganizationConfig, error) |
| 1140 |
// Deprecated: Do not use. |
| 1141 |
// Retrieves the effective configuration related to the migration from Data |
| 1142 |
// Catalog to Dataplex for a specific organization or project. If there is no |
| 1143 |
// specific configuration set for the resource, the setting is checked |
| 1144 |
// hierarchicahlly through the ancestors of the resource, starting from the |
| 1145 |
// resource itself. |
| 1146 |
RetrieveEffectiveConfig(context.Context, *RetrieveEffectiveConfigRequest) (*MigrationConfig, error) |
| 1147 |
} |
| 1148 |
|
| 1149 |
// UnimplementedDataCatalogServer should be embedded to have forward compatible implementations. |
| 1150 |
type UnimplementedDataCatalogServer struct { |
| 1151 |
} |
| 1152 |
|
| 1153 |
func (UnimplementedDataCatalogServer) SearchCatalog(context.Context, *SearchCatalogRequest) (*SearchCatalogResponse, error) { |
| 1154 |
return nil, status.Errorf(codes.Unimplemented, "method SearchCatalog not implemented") |
| 1155 |
} |
| 1156 |
func (UnimplementedDataCatalogServer) CreateEntryGroup(context.Context, *CreateEntryGroupRequest) (*EntryGroup, error) { |
| 1157 |
return nil, status.Errorf(codes.Unimplemented, "method CreateEntryGroup not implemented") |
| 1158 |
} |
| 1159 |
func (UnimplementedDataCatalogServer) GetEntryGroup(context.Context, *GetEntryGroupRequest) (*EntryGroup, error) { |
| 1160 |
return nil, status.Errorf(codes.Unimplemented, "method GetEntryGroup not implemented") |
| 1161 |
} |
| 1162 |
func (UnimplementedDataCatalogServer) UpdateEntryGroup(context.Context, *UpdateEntryGroupRequest) (*EntryGroup, error) { |
| 1163 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateEntryGroup not implemented") |
| 1164 |
} |
| 1165 |
func (UnimplementedDataCatalogServer) DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*emptypb.Empty, error) { |
| 1166 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteEntryGroup not implemented") |
| 1167 |
} |
| 1168 |
func (UnimplementedDataCatalogServer) ListEntryGroups(context.Context, *ListEntryGroupsRequest) (*ListEntryGroupsResponse, error) { |
| 1169 |
return nil, status.Errorf(codes.Unimplemented, "method ListEntryGroups not implemented") |
| 1170 |
} |
| 1171 |
func (UnimplementedDataCatalogServer) CreateEntry(context.Context, *CreateEntryRequest) (*Entry, error) { |
| 1172 |
return nil, status.Errorf(codes.Unimplemented, "method CreateEntry not implemented") |
| 1173 |
} |
| 1174 |
func (UnimplementedDataCatalogServer) UpdateEntry(context.Context, *UpdateEntryRequest) (*Entry, error) { |
| 1175 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateEntry not implemented") |
| 1176 |
} |
| 1177 |
func (UnimplementedDataCatalogServer) DeleteEntry(context.Context, *DeleteEntryRequest) (*emptypb.Empty, error) { |
| 1178 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteEntry not implemented") |
| 1179 |
} |
| 1180 |
func (UnimplementedDataCatalogServer) GetEntry(context.Context, *GetEntryRequest) (*Entry, error) { |
| 1181 |
return nil, status.Errorf(codes.Unimplemented, "method GetEntry not implemented") |
| 1182 |
} |
| 1183 |
func (UnimplementedDataCatalogServer) LookupEntry(context.Context, *LookupEntryRequest) (*Entry, error) { |
| 1184 |
return nil, status.Errorf(codes.Unimplemented, "method LookupEntry not implemented") |
| 1185 |
} |
| 1186 |
func (UnimplementedDataCatalogServer) ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error) { |
| 1187 |
return nil, status.Errorf(codes.Unimplemented, "method ListEntries not implemented") |
| 1188 |
} |
| 1189 |
func (UnimplementedDataCatalogServer) ModifyEntryOverview(context.Context, *ModifyEntryOverviewRequest) (*EntryOverview, error) { |
| 1190 |
return nil, status.Errorf(codes.Unimplemented, "method ModifyEntryOverview not implemented") |
| 1191 |
} |
| 1192 |
func (UnimplementedDataCatalogServer) ModifyEntryContacts(context.Context, *ModifyEntryContactsRequest) (*Contacts, error) { |
| 1193 |
return nil, status.Errorf(codes.Unimplemented, "method ModifyEntryContacts not implemented") |
| 1194 |
} |
| 1195 |
func (UnimplementedDataCatalogServer) CreateTagTemplate(context.Context, *CreateTagTemplateRequest) (*TagTemplate, error) { |
| 1196 |
return nil, status.Errorf(codes.Unimplemented, "method CreateTagTemplate not implemented") |
| 1197 |
} |
| 1198 |
func (UnimplementedDataCatalogServer) GetTagTemplate(context.Context, *GetTagTemplateRequest) (*TagTemplate, error) { |
| 1199 |
return nil, status.Errorf(codes.Unimplemented, "method GetTagTemplate not implemented") |
| 1200 |
} |
| 1201 |
func (UnimplementedDataCatalogServer) UpdateTagTemplate(context.Context, *UpdateTagTemplateRequest) (*TagTemplate, error) { |
| 1202 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateTagTemplate not implemented") |
| 1203 |
} |
| 1204 |
func (UnimplementedDataCatalogServer) DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*emptypb.Empty, error) { |
| 1205 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteTagTemplate not implemented") |
| 1206 |
} |
| 1207 |
func (UnimplementedDataCatalogServer) CreateTagTemplateField(context.Context, *CreateTagTemplateFieldRequest) (*TagTemplateField, error) { |
| 1208 |
return nil, status.Errorf(codes.Unimplemented, "method CreateTagTemplateField not implemented") |
| 1209 |
} |
| 1210 |
func (UnimplementedDataCatalogServer) UpdateTagTemplateField(context.Context, *UpdateTagTemplateFieldRequest) (*TagTemplateField, error) { |
| 1211 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateTagTemplateField not implemented") |
| 1212 |
} |
| 1213 |
func (UnimplementedDataCatalogServer) RenameTagTemplateField(context.Context, *RenameTagTemplateFieldRequest) (*TagTemplateField, error) { |
| 1214 |
return nil, status.Errorf(codes.Unimplemented, "method RenameTagTemplateField not implemented") |
| 1215 |
} |
| 1216 |
func (UnimplementedDataCatalogServer) RenameTagTemplateFieldEnumValue(context.Context, *RenameTagTemplateFieldEnumValueRequest) (*TagTemplateField, error) { |
| 1217 |
return nil, status.Errorf(codes.Unimplemented, "method RenameTagTemplateFieldEnumValue not implemented") |
| 1218 |
} |
| 1219 |
func (UnimplementedDataCatalogServer) DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*emptypb.Empty, error) { |
| 1220 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteTagTemplateField not implemented") |
| 1221 |
} |
| 1222 |
func (UnimplementedDataCatalogServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error) { |
| 1223 |
return nil, status.Errorf(codes.Unimplemented, "method CreateTag not implemented") |
| 1224 |
} |
| 1225 |
func (UnimplementedDataCatalogServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error) { |
| 1226 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateTag not implemented") |
| 1227 |
} |
| 1228 |
func (UnimplementedDataCatalogServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error) { |
| 1229 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteTag not implemented") |
| 1230 |
} |
| 1231 |
func (UnimplementedDataCatalogServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) { |
| 1232 |
return nil, status.Errorf(codes.Unimplemented, "method ListTags not implemented") |
| 1233 |
} |
| 1234 |
func (UnimplementedDataCatalogServer) ReconcileTags(context.Context, *ReconcileTagsRequest) (*longrunningpb.Operation, error) { |
| 1235 |
return nil, status.Errorf(codes.Unimplemented, "method ReconcileTags not implemented") |
| 1236 |
} |
| 1237 |
func (UnimplementedDataCatalogServer) StarEntry(context.Context, *StarEntryRequest) (*StarEntryResponse, error) { |
| 1238 |
return nil, status.Errorf(codes.Unimplemented, "method StarEntry not implemented") |
| 1239 |
} |
| 1240 |
func (UnimplementedDataCatalogServer) UnstarEntry(context.Context, *UnstarEntryRequest) (*UnstarEntryResponse, error) { |
| 1241 |
return nil, status.Errorf(codes.Unimplemented, "method UnstarEntry not implemented") |
| 1242 |
} |
| 1243 |
func (UnimplementedDataCatalogServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) { |
| 1244 |
return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") |
| 1245 |
} |
| 1246 |
func (UnimplementedDataCatalogServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) { |
| 1247 |
return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") |
| 1248 |
} |
| 1249 |
func (UnimplementedDataCatalogServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) { |
| 1250 |
return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") |
| 1251 |
} |
| 1252 |
func (UnimplementedDataCatalogServer) ImportEntries(context.Context, *ImportEntriesRequest) (*longrunningpb.Operation, error) { |
| 1253 |
return nil, status.Errorf(codes.Unimplemented, "method ImportEntries not implemented") |
| 1254 |
} |
| 1255 |
func (UnimplementedDataCatalogServer) SetConfig(context.Context, *SetConfigRequest) (*MigrationConfig, error) { |
| 1256 |
return nil, status.Errorf(codes.Unimplemented, "method SetConfig not implemented") |
| 1257 |
} |
| 1258 |
func (UnimplementedDataCatalogServer) RetrieveConfig(context.Context, *RetrieveConfigRequest) (*OrganizationConfig, error) { |
| 1259 |
return nil, status.Errorf(codes.Unimplemented, "method RetrieveConfig not implemented") |
| 1260 |
} |
| 1261 |
func (UnimplementedDataCatalogServer) RetrieveEffectiveConfig(context.Context, *RetrieveEffectiveConfigRequest) (*MigrationConfig, error) { |
| 1262 |
return nil, status.Errorf(codes.Unimplemented, "method RetrieveEffectiveConfig not implemented") |
| 1263 |
} |
| 1264 |
|
| 1265 |
// UnsafeDataCatalogServer may be embedded to opt out of forward compatibility for this service. |
| 1266 |
// Use of this interface is not recommended, as added methods to DataCatalogServer will |
| 1267 |
// result in compilation errors. |
| 1268 |
type UnsafeDataCatalogServer interface { |
| 1269 |
mustEmbedUnimplementedDataCatalogServer() |
| 1270 |
} |
| 1271 |
|
| 1272 |
// Deprecated: Do not use. |
| 1273 |
func RegisterDataCatalogServer(s grpc.ServiceRegistrar, srv DataCatalogServer) { |
| 1274 |
s.RegisterService(&DataCatalog_ServiceDesc, srv) |
| 1275 |
} |
| 1276 |
|
| 1277 |
func _DataCatalog_SearchCatalog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1278 |
in := new(SearchCatalogRequest) |
| 1279 |
if err := dec(in); err != nil { |
| 1280 |
return nil, err |
| 1281 |
} |
| 1282 |
if interceptor == nil { |
| 1283 |
return srv.(DataCatalogServer).SearchCatalog(ctx, in) |
| 1284 |
} |
| 1285 |
info := &grpc.UnaryServerInfo{ |
| 1286 |
Server: srv, |
| 1287 |
FullMethod: DataCatalog_SearchCatalog_FullMethodName, |
| 1288 |
} |
| 1289 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1290 |
return srv.(DataCatalogServer).SearchCatalog(ctx, req.(*SearchCatalogRequest)) |
| 1291 |
} |
| 1292 |
return interceptor(ctx, in, info, handler) |
| 1293 |
} |
| 1294 |
|
| 1295 |
func _DataCatalog_CreateEntryGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1296 |
in := new(CreateEntryGroupRequest) |
| 1297 |
if err := dec(in); err != nil { |
| 1298 |
return nil, err |
| 1299 |
} |
| 1300 |
if interceptor == nil { |
| 1301 |
return srv.(DataCatalogServer).CreateEntryGroup(ctx, in) |
| 1302 |
} |
| 1303 |
info := &grpc.UnaryServerInfo{ |
| 1304 |
Server: srv, |
| 1305 |
FullMethod: DataCatalog_CreateEntryGroup_FullMethodName, |
| 1306 |
} |
| 1307 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1308 |
return srv.(DataCatalogServer).CreateEntryGroup(ctx, req.(*CreateEntryGroupRequest)) |
| 1309 |
} |
| 1310 |
return interceptor(ctx, in, info, handler) |
| 1311 |
} |
| 1312 |
|
| 1313 |
func _DataCatalog_GetEntryGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1314 |
in := new(GetEntryGroupRequest) |
| 1315 |
if err := dec(in); err != nil { |
| 1316 |
return nil, err |
| 1317 |
} |
| 1318 |
if interceptor == nil { |
| 1319 |
return srv.(DataCatalogServer).GetEntryGroup(ctx, in) |
| 1320 |
} |
| 1321 |
info := &grpc.UnaryServerInfo{ |
| 1322 |
Server: srv, |
| 1323 |
FullMethod: DataCatalog_GetEntryGroup_FullMethodName, |
| 1324 |
} |
| 1325 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1326 |
return srv.(DataCatalogServer).GetEntryGroup(ctx, req.(*GetEntryGroupRequest)) |
| 1327 |
} |
| 1328 |
return interceptor(ctx, in, info, handler) |
| 1329 |
} |
| 1330 |
|
| 1331 |
func _DataCatalog_UpdateEntryGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1332 |
in := new(UpdateEntryGroupRequest) |
| 1333 |
if err := dec(in); err != nil { |
| 1334 |
return nil, err |
| 1335 |
} |
| 1336 |
if interceptor == nil { |
| 1337 |
return srv.(DataCatalogServer).UpdateEntryGroup(ctx, in) |
| 1338 |
} |
| 1339 |
info := &grpc.UnaryServerInfo{ |
| 1340 |
Server: srv, |
| 1341 |
FullMethod: DataCatalog_UpdateEntryGroup_FullMethodName, |
| 1342 |
} |
| 1343 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1344 |
return srv.(DataCatalogServer).UpdateEntryGroup(ctx, req.(*UpdateEntryGroupRequest)) |
| 1345 |
} |
| 1346 |
return interceptor(ctx, in, info, handler) |
| 1347 |
} |
| 1348 |
|
| 1349 |
func _DataCatalog_DeleteEntryGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1350 |
in := new(DeleteEntryGroupRequest) |
| 1351 |
if err := dec(in); err != nil { |
| 1352 |
return nil, err |
| 1353 |
} |
| 1354 |
if interceptor == nil { |
| 1355 |
return srv.(DataCatalogServer).DeleteEntryGroup(ctx, in) |
| 1356 |
} |
| 1357 |
info := &grpc.UnaryServerInfo{ |
| 1358 |
Server: srv, |
| 1359 |
FullMethod: DataCatalog_DeleteEntryGroup_FullMethodName, |
| 1360 |
} |
| 1361 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1362 |
return srv.(DataCatalogServer).DeleteEntryGroup(ctx, req.(*DeleteEntryGroupRequest)) |
| 1363 |
} |
| 1364 |
return interceptor(ctx, in, info, handler) |
| 1365 |
} |
| 1366 |
|
| 1367 |
func _DataCatalog_ListEntryGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1368 |
in := new(ListEntryGroupsRequest) |
| 1369 |
if err := dec(in); err != nil { |
| 1370 |
return nil, err |
| 1371 |
} |
| 1372 |
if interceptor == nil { |
| 1373 |
return srv.(DataCatalogServer).ListEntryGroups(ctx, in) |
| 1374 |
} |
| 1375 |
info := &grpc.UnaryServerInfo{ |
| 1376 |
Server: srv, |
| 1377 |
FullMethod: DataCatalog_ListEntryGroups_FullMethodName, |
| 1378 |
} |
| 1379 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1380 |
return srv.(DataCatalogServer).ListEntryGroups(ctx, req.(*ListEntryGroupsRequest)) |
| 1381 |
} |
| 1382 |
return interceptor(ctx, in, info, handler) |
| 1383 |
} |
| 1384 |
|
| 1385 |
func _DataCatalog_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1386 |
in := new(CreateEntryRequest) |
| 1387 |
if err := dec(in); err != nil { |
| 1388 |
return nil, err |
| 1389 |
} |
| 1390 |
if interceptor == nil { |
| 1391 |
return srv.(DataCatalogServer).CreateEntry(ctx, in) |
| 1392 |
} |
| 1393 |
info := &grpc.UnaryServerInfo{ |
| 1394 |
Server: srv, |
| 1395 |
FullMethod: DataCatalog_CreateEntry_FullMethodName, |
| 1396 |
} |
| 1397 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1398 |
return srv.(DataCatalogServer).CreateEntry(ctx, req.(*CreateEntryRequest)) |
| 1399 |
} |
| 1400 |
return interceptor(ctx, in, info, handler) |
| 1401 |
} |
| 1402 |
|
| 1403 |
func _DataCatalog_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1404 |
in := new(UpdateEntryRequest) |
| 1405 |
if err := dec(in); err != nil { |
| 1406 |
return nil, err |
| 1407 |
} |
| 1408 |
if interceptor == nil { |
| 1409 |
return srv.(DataCatalogServer).UpdateEntry(ctx, in) |
| 1410 |
} |
| 1411 |
info := &grpc.UnaryServerInfo{ |
| 1412 |
Server: srv, |
| 1413 |
FullMethod: DataCatalog_UpdateEntry_FullMethodName, |
| 1414 |
} |
| 1415 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1416 |
return srv.(DataCatalogServer).UpdateEntry(ctx, req.(*UpdateEntryRequest)) |
| 1417 |
} |
| 1418 |
return interceptor(ctx, in, info, handler) |
| 1419 |
} |
| 1420 |
|
| 1421 |
func _DataCatalog_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1422 |
in := new(DeleteEntryRequest) |
| 1423 |
if err := dec(in); err != nil { |
| 1424 |
return nil, err |
| 1425 |
} |
| 1426 |
if interceptor == nil { |
| 1427 |
return srv.(DataCatalogServer).DeleteEntry(ctx, in) |
| 1428 |
} |
| 1429 |
info := &grpc.UnaryServerInfo{ |
| 1430 |
Server: srv, |
| 1431 |
FullMethod: DataCatalog_DeleteEntry_FullMethodName, |
| 1432 |
} |
| 1433 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1434 |
return srv.(DataCatalogServer).DeleteEntry(ctx, req.(*DeleteEntryRequest)) |
| 1435 |
} |
| 1436 |
return interceptor(ctx, in, info, handler) |
| 1437 |
} |
| 1438 |
|
| 1439 |
func _DataCatalog_GetEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1440 |
in := new(GetEntryRequest) |
| 1441 |
if err := dec(in); err != nil { |
| 1442 |
return nil, err |
| 1443 |
} |
| 1444 |
if interceptor == nil { |
| 1445 |
return srv.(DataCatalogServer).GetEntry(ctx, in) |
| 1446 |
} |
| 1447 |
info := &grpc.UnaryServerInfo{ |
| 1448 |
Server: srv, |
| 1449 |
FullMethod: DataCatalog_GetEntry_FullMethodName, |
| 1450 |
} |
| 1451 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1452 |
return srv.(DataCatalogServer).GetEntry(ctx, req.(*GetEntryRequest)) |
| 1453 |
} |
| 1454 |
return interceptor(ctx, in, info, handler) |
| 1455 |
} |
| 1456 |
|
| 1457 |
func _DataCatalog_LookupEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1458 |
in := new(LookupEntryRequest) |
| 1459 |
if err := dec(in); err != nil { |
| 1460 |
return nil, err |
| 1461 |
} |
| 1462 |
if interceptor == nil { |
| 1463 |
return srv.(DataCatalogServer).LookupEntry(ctx, in) |
| 1464 |
} |
| 1465 |
info := &grpc.UnaryServerInfo{ |
| 1466 |
Server: srv, |
| 1467 |
FullMethod: DataCatalog_LookupEntry_FullMethodName, |
| 1468 |
} |
| 1469 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1470 |
return srv.(DataCatalogServer).LookupEntry(ctx, req.(*LookupEntryRequest)) |
| 1471 |
} |
| 1472 |
return interceptor(ctx, in, info, handler) |
| 1473 |
} |
| 1474 |
|
| 1475 |
func _DataCatalog_ListEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1476 |
in := new(ListEntriesRequest) |
| 1477 |
if err := dec(in); err != nil { |
| 1478 |
return nil, err |
| 1479 |
} |
| 1480 |
if interceptor == nil { |
| 1481 |
return srv.(DataCatalogServer).ListEntries(ctx, in) |
| 1482 |
} |
| 1483 |
info := &grpc.UnaryServerInfo{ |
| 1484 |
Server: srv, |
| 1485 |
FullMethod: DataCatalog_ListEntries_FullMethodName, |
| 1486 |
} |
| 1487 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1488 |
return srv.(DataCatalogServer).ListEntries(ctx, req.(*ListEntriesRequest)) |
| 1489 |
} |
| 1490 |
return interceptor(ctx, in, info, handler) |
| 1491 |
} |
| 1492 |
|
| 1493 |
func _DataCatalog_ModifyEntryOverview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1494 |
in := new(ModifyEntryOverviewRequest) |
| 1495 |
if err := dec(in); err != nil { |
| 1496 |
return nil, err |
| 1497 |
} |
| 1498 |
if interceptor == nil { |
| 1499 |
return srv.(DataCatalogServer).ModifyEntryOverview(ctx, in) |
| 1500 |
} |
| 1501 |
info := &grpc.UnaryServerInfo{ |
| 1502 |
Server: srv, |
| 1503 |
FullMethod: DataCatalog_ModifyEntryOverview_FullMethodName, |
| 1504 |
} |
| 1505 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1506 |
return srv.(DataCatalogServer).ModifyEntryOverview(ctx, req.(*ModifyEntryOverviewRequest)) |
| 1507 |
} |
| 1508 |
return interceptor(ctx, in, info, handler) |
| 1509 |
} |
| 1510 |
|
| 1511 |
func _DataCatalog_ModifyEntryContacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1512 |
in := new(ModifyEntryContactsRequest) |
| 1513 |
if err := dec(in); err != nil { |
| 1514 |
return nil, err |
| 1515 |
} |
| 1516 |
if interceptor == nil { |
| 1517 |
return srv.(DataCatalogServer).ModifyEntryContacts(ctx, in) |
| 1518 |
} |
| 1519 |
info := &grpc.UnaryServerInfo{ |
| 1520 |
Server: srv, |
| 1521 |
FullMethod: DataCatalog_ModifyEntryContacts_FullMethodName, |
| 1522 |
} |
| 1523 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1524 |
return srv.(DataCatalogServer).ModifyEntryContacts(ctx, req.(*ModifyEntryContactsRequest)) |
| 1525 |
} |
| 1526 |
return interceptor(ctx, in, info, handler) |
| 1527 |
} |
| 1528 |
|
| 1529 |
func _DataCatalog_CreateTagTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1530 |
in := new(CreateTagTemplateRequest) |
| 1531 |
if err := dec(in); err != nil { |
| 1532 |
return nil, err |
| 1533 |
} |
| 1534 |
if interceptor == nil { |
| 1535 |
return srv.(DataCatalogServer).CreateTagTemplate(ctx, in) |
| 1536 |
} |
| 1537 |
info := &grpc.UnaryServerInfo{ |
| 1538 |
Server: srv, |
| 1539 |
FullMethod: DataCatalog_CreateTagTemplate_FullMethodName, |
| 1540 |
} |
| 1541 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1542 |
return srv.(DataCatalogServer).CreateTagTemplate(ctx, req.(*CreateTagTemplateRequest)) |
| 1543 |
} |
| 1544 |
return interceptor(ctx, in, info, handler) |
| 1545 |
} |
| 1546 |
|
| 1547 |
func _DataCatalog_GetTagTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1548 |
in := new(GetTagTemplateRequest) |
| 1549 |
if err := dec(in); err != nil { |
| 1550 |
return nil, err |
| 1551 |
} |
| 1552 |
if interceptor == nil { |
| 1553 |
return srv.(DataCatalogServer).GetTagTemplate(ctx, in) |
| 1554 |
} |
| 1555 |
info := &grpc.UnaryServerInfo{ |
| 1556 |
Server: srv, |
| 1557 |
FullMethod: DataCatalog_GetTagTemplate_FullMethodName, |
| 1558 |
} |
| 1559 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1560 |
return srv.(DataCatalogServer).GetTagTemplate(ctx, req.(*GetTagTemplateRequest)) |
| 1561 |
} |
| 1562 |
return interceptor(ctx, in, info, handler) |
| 1563 |
} |
| 1564 |
|
| 1565 |
func _DataCatalog_UpdateTagTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1566 |
in := new(UpdateTagTemplateRequest) |
| 1567 |
if err := dec(in); err != nil { |
| 1568 |
return nil, err |
| 1569 |
} |
| 1570 |
if interceptor == nil { |
| 1571 |
return srv.(DataCatalogServer).UpdateTagTemplate(ctx, in) |
| 1572 |
} |
| 1573 |
info := &grpc.UnaryServerInfo{ |
| 1574 |
Server: srv, |
| 1575 |
FullMethod: DataCatalog_UpdateTagTemplate_FullMethodName, |
| 1576 |
} |
| 1577 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1578 |
return srv.(DataCatalogServer).UpdateTagTemplate(ctx, req.(*UpdateTagTemplateRequest)) |
| 1579 |
} |
| 1580 |
return interceptor(ctx, in, info, handler) |
| 1581 |
} |
| 1582 |
|
| 1583 |
func _DataCatalog_DeleteTagTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1584 |
in := new(DeleteTagTemplateRequest) |
| 1585 |
if err := dec(in); err != nil { |
| 1586 |
return nil, err |
| 1587 |
} |
| 1588 |
if interceptor == nil { |
| 1589 |
return srv.(DataCatalogServer).DeleteTagTemplate(ctx, in) |
| 1590 |
} |
| 1591 |
info := &grpc.UnaryServerInfo{ |
| 1592 |
Server: srv, |
| 1593 |
FullMethod: DataCatalog_DeleteTagTemplate_FullMethodName, |
| 1594 |
} |
| 1595 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1596 |
return srv.(DataCatalogServer).DeleteTagTemplate(ctx, req.(*DeleteTagTemplateRequest)) |
| 1597 |
} |
| 1598 |
return interceptor(ctx, in, info, handler) |
| 1599 |
} |
| 1600 |
|
| 1601 |
func _DataCatalog_CreateTagTemplateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1602 |
in := new(CreateTagTemplateFieldRequest) |
| 1603 |
if err := dec(in); err != nil { |
| 1604 |
return nil, err |
| 1605 |
} |
| 1606 |
if interceptor == nil { |
| 1607 |
return srv.(DataCatalogServer).CreateTagTemplateField(ctx, in) |
| 1608 |
} |
| 1609 |
info := &grpc.UnaryServerInfo{ |
| 1610 |
Server: srv, |
| 1611 |
FullMethod: DataCatalog_CreateTagTemplateField_FullMethodName, |
| 1612 |
} |
| 1613 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1614 |
return srv.(DataCatalogServer).CreateTagTemplateField(ctx, req.(*CreateTagTemplateFieldRequest)) |
| 1615 |
} |
| 1616 |
return interceptor(ctx, in, info, handler) |
| 1617 |
} |
| 1618 |
|
| 1619 |
func _DataCatalog_UpdateTagTemplateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1620 |
in := new(UpdateTagTemplateFieldRequest) |
| 1621 |
if err := dec(in); err != nil { |
| 1622 |
return nil, err |
| 1623 |
} |
| 1624 |
if interceptor == nil { |
| 1625 |
return srv.(DataCatalogServer).UpdateTagTemplateField(ctx, in) |
| 1626 |
} |
| 1627 |
info := &grpc.UnaryServerInfo{ |
| 1628 |
Server: srv, |
| 1629 |
FullMethod: DataCatalog_UpdateTagTemplateField_FullMethodName, |
| 1630 |
} |
| 1631 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1632 |
return srv.(DataCatalogServer).UpdateTagTemplateField(ctx, req.(*UpdateTagTemplateFieldRequest)) |
| 1633 |
} |
| 1634 |
return interceptor(ctx, in, info, handler) |
| 1635 |
} |
| 1636 |
|
| 1637 |
func _DataCatalog_RenameTagTemplateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1638 |
in := new(RenameTagTemplateFieldRequest) |
| 1639 |
if err := dec(in); err != nil { |
| 1640 |
return nil, err |
| 1641 |
} |
| 1642 |
if interceptor == nil { |
| 1643 |
return srv.(DataCatalogServer).RenameTagTemplateField(ctx, in) |
| 1644 |
} |
| 1645 |
info := &grpc.UnaryServerInfo{ |
| 1646 |
Server: srv, |
| 1647 |
FullMethod: DataCatalog_RenameTagTemplateField_FullMethodName, |
| 1648 |
} |
| 1649 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1650 |
return srv.(DataCatalogServer).RenameTagTemplateField(ctx, req.(*RenameTagTemplateFieldRequest)) |
| 1651 |
} |
| 1652 |
return interceptor(ctx, in, info, handler) |
| 1653 |
} |
| 1654 |
|
| 1655 |
func _DataCatalog_RenameTagTemplateFieldEnumValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1656 |
in := new(RenameTagTemplateFieldEnumValueRequest) |
| 1657 |
if err := dec(in); err != nil { |
| 1658 |
return nil, err |
| 1659 |
} |
| 1660 |
if interceptor == nil { |
| 1661 |
return srv.(DataCatalogServer).RenameTagTemplateFieldEnumValue(ctx, in) |
| 1662 |
} |
| 1663 |
info := &grpc.UnaryServerInfo{ |
| 1664 |
Server: srv, |
| 1665 |
FullMethod: DataCatalog_RenameTagTemplateFieldEnumValue_FullMethodName, |
| 1666 |
} |
| 1667 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1668 |
return srv.(DataCatalogServer).RenameTagTemplateFieldEnumValue(ctx, req.(*RenameTagTemplateFieldEnumValueRequest)) |
| 1669 |
} |
| 1670 |
return interceptor(ctx, in, info, handler) |
| 1671 |
} |
| 1672 |
|
| 1673 |
func _DataCatalog_DeleteTagTemplateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1674 |
in := new(DeleteTagTemplateFieldRequest) |
| 1675 |
if err := dec(in); err != nil { |
| 1676 |
return nil, err |
| 1677 |
} |
| 1678 |
if interceptor == nil { |
| 1679 |
return srv.(DataCatalogServer).DeleteTagTemplateField(ctx, in) |
| 1680 |
} |
| 1681 |
info := &grpc.UnaryServerInfo{ |
| 1682 |
Server: srv, |
| 1683 |
FullMethod: DataCatalog_DeleteTagTemplateField_FullMethodName, |
| 1684 |
} |
| 1685 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1686 |
return srv.(DataCatalogServer).DeleteTagTemplateField(ctx, req.(*DeleteTagTemplateFieldRequest)) |
| 1687 |
} |
| 1688 |
return interceptor(ctx, in, info, handler) |
| 1689 |
} |
| 1690 |
|
| 1691 |
func _DataCatalog_CreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1692 |
in := new(CreateTagRequest) |
| 1693 |
if err := dec(in); err != nil { |
| 1694 |
return nil, err |
| 1695 |
} |
| 1696 |
if interceptor == nil { |
| 1697 |
return srv.(DataCatalogServer).CreateTag(ctx, in) |
| 1698 |
} |
| 1699 |
info := &grpc.UnaryServerInfo{ |
| 1700 |
Server: srv, |
| 1701 |
FullMethod: DataCatalog_CreateTag_FullMethodName, |
| 1702 |
} |
| 1703 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1704 |
return srv.(DataCatalogServer).CreateTag(ctx, req.(*CreateTagRequest)) |
| 1705 |
} |
| 1706 |
return interceptor(ctx, in, info, handler) |
| 1707 |
} |
| 1708 |
|
| 1709 |
func _DataCatalog_UpdateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1710 |
in := new(UpdateTagRequest) |
| 1711 |
if err := dec(in); err != nil { |
| 1712 |
return nil, err |
| 1713 |
} |
| 1714 |
if interceptor == nil { |
| 1715 |
return srv.(DataCatalogServer).UpdateTag(ctx, in) |
| 1716 |
} |
| 1717 |
info := &grpc.UnaryServerInfo{ |
| 1718 |
Server: srv, |
| 1719 |
FullMethod: DataCatalog_UpdateTag_FullMethodName, |
| 1720 |
} |
| 1721 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1722 |
return srv.(DataCatalogServer).UpdateTag(ctx, req.(*UpdateTagRequest)) |
| 1723 |
} |
| 1724 |
return interceptor(ctx, in, info, handler) |
| 1725 |
} |
| 1726 |
|
| 1727 |
func _DataCatalog_DeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1728 |
in := new(DeleteTagRequest) |
| 1729 |
if err := dec(in); err != nil { |
| 1730 |
return nil, err |
| 1731 |
} |
| 1732 |
if interceptor == nil { |
| 1733 |
return srv.(DataCatalogServer).DeleteTag(ctx, in) |
| 1734 |
} |
| 1735 |
info := &grpc.UnaryServerInfo{ |
| 1736 |
Server: srv, |
| 1737 |
FullMethod: DataCatalog_DeleteTag_FullMethodName, |
| 1738 |
} |
| 1739 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1740 |
return srv.(DataCatalogServer).DeleteTag(ctx, req.(*DeleteTagRequest)) |
| 1741 |
} |
| 1742 |
return interceptor(ctx, in, info, handler) |
| 1743 |
} |
| 1744 |
|
| 1745 |
func _DataCatalog_ListTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1746 |
in := new(ListTagsRequest) |
| 1747 |
if err := dec(in); err != nil { |
| 1748 |
return nil, err |
| 1749 |
} |
| 1750 |
if interceptor == nil { |
| 1751 |
return srv.(DataCatalogServer).ListTags(ctx, in) |
| 1752 |
} |
| 1753 |
info := &grpc.UnaryServerInfo{ |
| 1754 |
Server: srv, |
| 1755 |
FullMethod: DataCatalog_ListTags_FullMethodName, |
| 1756 |
} |
| 1757 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1758 |
return srv.(DataCatalogServer).ListTags(ctx, req.(*ListTagsRequest)) |
| 1759 |
} |
| 1760 |
return interceptor(ctx, in, info, handler) |
| 1761 |
} |
| 1762 |
|
| 1763 |
func _DataCatalog_ReconcileTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1764 |
in := new(ReconcileTagsRequest) |
| 1765 |
if err := dec(in); err != nil { |
| 1766 |
return nil, err |
| 1767 |
} |
| 1768 |
if interceptor == nil { |
| 1769 |
return srv.(DataCatalogServer).ReconcileTags(ctx, in) |
| 1770 |
} |
| 1771 |
info := &grpc.UnaryServerInfo{ |
| 1772 |
Server: srv, |
| 1773 |
FullMethod: DataCatalog_ReconcileTags_FullMethodName, |
| 1774 |
} |
| 1775 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1776 |
return srv.(DataCatalogServer).ReconcileTags(ctx, req.(*ReconcileTagsRequest)) |
| 1777 |
} |
| 1778 |
return interceptor(ctx, in, info, handler) |
| 1779 |
} |
| 1780 |
|
| 1781 |
func _DataCatalog_StarEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1782 |
in := new(StarEntryRequest) |
| 1783 |
if err := dec(in); err != nil { |
| 1784 |
return nil, err |
| 1785 |
} |
| 1786 |
if interceptor == nil { |
| 1787 |
return srv.(DataCatalogServer).StarEntry(ctx, in) |
| 1788 |
} |
| 1789 |
info := &grpc.UnaryServerInfo{ |
| 1790 |
Server: srv, |
| 1791 |
FullMethod: DataCatalog_StarEntry_FullMethodName, |
| 1792 |
} |
| 1793 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1794 |
return srv.(DataCatalogServer).StarEntry(ctx, req.(*StarEntryRequest)) |
| 1795 |
} |
| 1796 |
return interceptor(ctx, in, info, handler) |
| 1797 |
} |
| 1798 |
|
| 1799 |
func _DataCatalog_UnstarEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1800 |
in := new(UnstarEntryRequest) |
| 1801 |
if err := dec(in); err != nil { |
| 1802 |
return nil, err |
| 1803 |
} |
| 1804 |
if interceptor == nil { |
| 1805 |
return srv.(DataCatalogServer).UnstarEntry(ctx, in) |
| 1806 |
} |
| 1807 |
info := &grpc.UnaryServerInfo{ |
| 1808 |
Server: srv, |
| 1809 |
FullMethod: DataCatalog_UnstarEntry_FullMethodName, |
| 1810 |
} |
| 1811 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1812 |
return srv.(DataCatalogServer).UnstarEntry(ctx, req.(*UnstarEntryRequest)) |
| 1813 |
} |
| 1814 |
return interceptor(ctx, in, info, handler) |
| 1815 |
} |
| 1816 |
|
| 1817 |
func _DataCatalog_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1818 |
in := new(iampb.SetIamPolicyRequest) |
| 1819 |
if err := dec(in); err != nil { |
| 1820 |
return nil, err |
| 1821 |
} |
| 1822 |
if interceptor == nil { |
| 1823 |
return srv.(DataCatalogServer).SetIamPolicy(ctx, in) |
| 1824 |
} |
| 1825 |
info := &grpc.UnaryServerInfo{ |
| 1826 |
Server: srv, |
| 1827 |
FullMethod: DataCatalog_SetIamPolicy_FullMethodName, |
| 1828 |
} |
| 1829 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1830 |
return srv.(DataCatalogServer).SetIamPolicy(ctx, req.(*iampb.SetIamPolicyRequest)) |
| 1831 |
} |
| 1832 |
return interceptor(ctx, in, info, handler) |
| 1833 |
} |
| 1834 |
|
| 1835 |
func _DataCatalog_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1836 |
in := new(iampb.GetIamPolicyRequest) |
| 1837 |
if err := dec(in); err != nil { |
| 1838 |
return nil, err |
| 1839 |
} |
| 1840 |
if interceptor == nil { |
| 1841 |
return srv.(DataCatalogServer).GetIamPolicy(ctx, in) |
| 1842 |
} |
| 1843 |
info := &grpc.UnaryServerInfo{ |
| 1844 |
Server: srv, |
| 1845 |
FullMethod: DataCatalog_GetIamPolicy_FullMethodName, |
| 1846 |
} |
| 1847 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1848 |
return srv.(DataCatalogServer).GetIamPolicy(ctx, req.(*iampb.GetIamPolicyRequest)) |
| 1849 |
} |
| 1850 |
return interceptor(ctx, in, info, handler) |
| 1851 |
} |
| 1852 |
|
| 1853 |
func _DataCatalog_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1854 |
in := new(iampb.TestIamPermissionsRequest) |
| 1855 |
if err := dec(in); err != nil { |
| 1856 |
return nil, err |
| 1857 |
} |
| 1858 |
if interceptor == nil { |
| 1859 |
return srv.(DataCatalogServer).TestIamPermissions(ctx, in) |
| 1860 |
} |
| 1861 |
info := &grpc.UnaryServerInfo{ |
| 1862 |
Server: srv, |
| 1863 |
FullMethod: DataCatalog_TestIamPermissions_FullMethodName, |
| 1864 |
} |
| 1865 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1866 |
return srv.(DataCatalogServer).TestIamPermissions(ctx, req.(*iampb.TestIamPermissionsRequest)) |
| 1867 |
} |
| 1868 |
return interceptor(ctx, in, info, handler) |
| 1869 |
} |
| 1870 |
|
| 1871 |
func _DataCatalog_ImportEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1872 |
in := new(ImportEntriesRequest) |
| 1873 |
if err := dec(in); err != nil { |
| 1874 |
return nil, err |
| 1875 |
} |
| 1876 |
if interceptor == nil { |
| 1877 |
return srv.(DataCatalogServer).ImportEntries(ctx, in) |
| 1878 |
} |
| 1879 |
info := &grpc.UnaryServerInfo{ |
| 1880 |
Server: srv, |
| 1881 |
FullMethod: DataCatalog_ImportEntries_FullMethodName, |
| 1882 |
} |
| 1883 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1884 |
return srv.(DataCatalogServer).ImportEntries(ctx, req.(*ImportEntriesRequest)) |
| 1885 |
} |
| 1886 |
return interceptor(ctx, in, info, handler) |
| 1887 |
} |
| 1888 |
|
| 1889 |
func _DataCatalog_SetConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1890 |
in := new(SetConfigRequest) |
| 1891 |
if err := dec(in); err != nil { |
| 1892 |
return nil, err |
| 1893 |
} |
| 1894 |
if interceptor == nil { |
| 1895 |
return srv.(DataCatalogServer).SetConfig(ctx, in) |
| 1896 |
} |
| 1897 |
info := &grpc.UnaryServerInfo{ |
| 1898 |
Server: srv, |
| 1899 |
FullMethod: DataCatalog_SetConfig_FullMethodName, |
| 1900 |
} |
| 1901 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1902 |
return srv.(DataCatalogServer).SetConfig(ctx, req.(*SetConfigRequest)) |
| 1903 |
} |
| 1904 |
return interceptor(ctx, in, info, handler) |
| 1905 |
} |
| 1906 |
|
| 1907 |
func _DataCatalog_RetrieveConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1908 |
in := new(RetrieveConfigRequest) |
| 1909 |
if err := dec(in); err != nil { |
| 1910 |
return nil, err |
| 1911 |
} |
| 1912 |
if interceptor == nil { |
| 1913 |
return srv.(DataCatalogServer).RetrieveConfig(ctx, in) |
| 1914 |
} |
| 1915 |
info := &grpc.UnaryServerInfo{ |
| 1916 |
Server: srv, |
| 1917 |
FullMethod: DataCatalog_RetrieveConfig_FullMethodName, |
| 1918 |
} |
| 1919 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1920 |
return srv.(DataCatalogServer).RetrieveConfig(ctx, req.(*RetrieveConfigRequest)) |
| 1921 |
} |
| 1922 |
return interceptor(ctx, in, info, handler) |
| 1923 |
} |
| 1924 |
|
| 1925 |
func _DataCatalog_RetrieveEffectiveConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1926 |
in := new(RetrieveEffectiveConfigRequest) |
| 1927 |
if err := dec(in); err != nil { |
| 1928 |
return nil, err |
| 1929 |
} |
| 1930 |
if interceptor == nil { |
| 1931 |
return srv.(DataCatalogServer).RetrieveEffectiveConfig(ctx, in) |
| 1932 |
} |
| 1933 |
info := &grpc.UnaryServerInfo{ |
| 1934 |
Server: srv, |
| 1935 |
FullMethod: DataCatalog_RetrieveEffectiveConfig_FullMethodName, |
| 1936 |
} |
| 1937 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1938 |
return srv.(DataCatalogServer).RetrieveEffectiveConfig(ctx, req.(*RetrieveEffectiveConfigRequest)) |
| 1939 |
} |
| 1940 |
return interceptor(ctx, in, info, handler) |
| 1941 |
} |
| 1942 |
|
| 1943 |
// DataCatalog_ServiceDesc is the grpc.ServiceDesc for DataCatalog service. |
| 1944 |
// It's only intended for direct use with grpc.RegisterService, |
| 1945 |
// and not to be introspected or modified (even as a copy) |
| 1946 |
var DataCatalog_ServiceDesc = grpc.ServiceDesc{ |
| 1947 |
ServiceName: "google.cloud.datacatalog.v1.DataCatalog", |
| 1948 |
HandlerType: (*DataCatalogServer)(nil), |
| 1949 |
Methods: []grpc.MethodDesc{ |
| 1950 |
{ |
| 1951 |
MethodName: "SearchCatalog", |
| 1952 |
Handler: _DataCatalog_SearchCatalog_Handler, |
| 1953 |
}, |
| 1954 |
{ |
| 1955 |
MethodName: "CreateEntryGroup", |
| 1956 |
Handler: _DataCatalog_CreateEntryGroup_Handler, |
| 1957 |
}, |
| 1958 |
{ |
| 1959 |
MethodName: "GetEntryGroup", |
| 1960 |
Handler: _DataCatalog_GetEntryGroup_Handler, |
| 1961 |
}, |
| 1962 |
{ |
| 1963 |
MethodName: "UpdateEntryGroup", |
| 1964 |
Handler: _DataCatalog_UpdateEntryGroup_Handler, |
| 1965 |
}, |
| 1966 |
{ |
| 1967 |
MethodName: "DeleteEntryGroup", |
| 1968 |
Handler: _DataCatalog_DeleteEntryGroup_Handler, |
| 1969 |
}, |
| 1970 |
{ |
| 1971 |
MethodName: "ListEntryGroups", |
| 1972 |
Handler: _DataCatalog_ListEntryGroups_Handler, |
| 1973 |
}, |
| 1974 |
{ |
| 1975 |
MethodName: "CreateEntry", |
| 1976 |
Handler: _DataCatalog_CreateEntry_Handler, |
| 1977 |
}, |
| 1978 |
{ |
| 1979 |
MethodName: "UpdateEntry", |
| 1980 |
Handler: _DataCatalog_UpdateEntry_Handler, |
| 1981 |
}, |
| 1982 |
{ |
| 1983 |
MethodName: "DeleteEntry", |
| 1984 |
Handler: _DataCatalog_DeleteEntry_Handler, |
| 1985 |
}, |
| 1986 |
{ |
| 1987 |
MethodName: "GetEntry", |
| 1988 |
Handler: _DataCatalog_GetEntry_Handler, |
| 1989 |
}, |
| 1990 |
{ |
| 1991 |
MethodName: "LookupEntry", |
| 1992 |
Handler: _DataCatalog_LookupEntry_Handler, |
| 1993 |
}, |
| 1994 |
{ |
| 1995 |
MethodName: "ListEntries", |
| 1996 |
Handler: _DataCatalog_ListEntries_Handler, |
| 1997 |
}, |
| 1998 |
{ |
| 1999 |
MethodName: "ModifyEntryOverview", |
| 2000 |
Handler: _DataCatalog_ModifyEntryOverview_Handler, |
| 2001 |
}, |
| 2002 |
{ |
| 2003 |
MethodName: "ModifyEntryContacts", |
| 2004 |
Handler: _DataCatalog_ModifyEntryContacts_Handler, |
| 2005 |
}, |
| 2006 |
{ |
| 2007 |
MethodName: "CreateTagTemplate", |
| 2008 |
Handler: _DataCatalog_CreateTagTemplate_Handler, |
| 2009 |
}, |
| 2010 |
{ |
| 2011 |
MethodName: "GetTagTemplate", |
| 2012 |
Handler: _DataCatalog_GetTagTemplate_Handler, |
| 2013 |
}, |
| 2014 |
{ |
| 2015 |
MethodName: "UpdateTagTemplate", |
| 2016 |
Handler: _DataCatalog_UpdateTagTemplate_Handler, |
| 2017 |
}, |
| 2018 |
{ |
| 2019 |
MethodName: "DeleteTagTemplate", |
| 2020 |
Handler: _DataCatalog_DeleteTagTemplate_Handler, |
| 2021 |
}, |
| 2022 |
{ |
| 2023 |
MethodName: "CreateTagTemplateField", |
| 2024 |
Handler: _DataCatalog_CreateTagTemplateField_Handler, |
| 2025 |
}, |
| 2026 |
{ |
| 2027 |
MethodName: "UpdateTagTemplateField", |
| 2028 |
Handler: _DataCatalog_UpdateTagTemplateField_Handler, |
| 2029 |
}, |
| 2030 |
{ |
| 2031 |
MethodName: "RenameTagTemplateField", |
| 2032 |
Handler: _DataCatalog_RenameTagTemplateField_Handler, |
| 2033 |
}, |
| 2034 |
{ |
| 2035 |
MethodName: "RenameTagTemplateFieldEnumValue", |
| 2036 |
Handler: _DataCatalog_RenameTagTemplateFieldEnumValue_Handler, |
| 2037 |
}, |
| 2038 |
{ |
| 2039 |
MethodName: "DeleteTagTemplateField", |
| 2040 |
Handler: _DataCatalog_DeleteTagTemplateField_Handler, |
| 2041 |
}, |
| 2042 |
{ |
| 2043 |
MethodName: "CreateTag", |
| 2044 |
Handler: _DataCatalog_CreateTag_Handler, |
| 2045 |
}, |
| 2046 |
{ |
| 2047 |
MethodName: "UpdateTag", |
| 2048 |
Handler: _DataCatalog_UpdateTag_Handler, |
| 2049 |
}, |
| 2050 |
{ |
| 2051 |
MethodName: "DeleteTag", |
| 2052 |
Handler: _DataCatalog_DeleteTag_Handler, |
| 2053 |
}, |
| 2054 |
{ |
| 2055 |
MethodName: "ListTags", |
| 2056 |
Handler: _DataCatalog_ListTags_Handler, |
| 2057 |
}, |
| 2058 |
{ |
| 2059 |
MethodName: "ReconcileTags", |
| 2060 |
Handler: _DataCatalog_ReconcileTags_Handler, |
| 2061 |
}, |
| 2062 |
{ |
| 2063 |
MethodName: "StarEntry", |
| 2064 |
Handler: _DataCatalog_StarEntry_Handler, |
| 2065 |
}, |
| 2066 |
{ |
| 2067 |
MethodName: "UnstarEntry", |
| 2068 |
Handler: _DataCatalog_UnstarEntry_Handler, |
| 2069 |
}, |
| 2070 |
{ |
| 2071 |
MethodName: "SetIamPolicy", |
| 2072 |
Handler: _DataCatalog_SetIamPolicy_Handler, |
| 2073 |
}, |
| 2074 |
{ |
| 2075 |
MethodName: "GetIamPolicy", |
| 2076 |
Handler: _DataCatalog_GetIamPolicy_Handler, |
| 2077 |
}, |
| 2078 |
{ |
| 2079 |
MethodName: "TestIamPermissions", |
| 2080 |
Handler: _DataCatalog_TestIamPermissions_Handler, |
| 2081 |
}, |
| 2082 |
{ |
| 2083 |
MethodName: "ImportEntries", |
| 2084 |
Handler: _DataCatalog_ImportEntries_Handler, |
| 2085 |
}, |
| 2086 |
{ |
| 2087 |
MethodName: "SetConfig", |
| 2088 |
Handler: _DataCatalog_SetConfig_Handler, |
| 2089 |
}, |
| 2090 |
{ |
| 2091 |
MethodName: "RetrieveConfig", |
| 2092 |
Handler: _DataCatalog_RetrieveConfig_Handler, |
| 2093 |
}, |
| 2094 |
{ |
| 2095 |
MethodName: "RetrieveEffectiveConfig", |
| 2096 |
Handler: _DataCatalog_RetrieveEffectiveConfig_Handler, |
| 2097 |
}, |
| 2098 |
}, |
| 2099 |
Streams: []grpc.StreamDesc{}, |
| 2100 |
Metadata: "google/cloud/datacatalog/v1/datacatalog.proto", |
| 2101 |
} |