Class GrpcDataCatalogStub
- java.lang.Object
-
- com.google.cloud.datacatalog.v1.stub.DataCatalogStub
-
- com.google.cloud.datacatalog.v1.stub.GrpcDataCatalogStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcDataCatalogStub extends DataCatalogStub
gRPC stub implementation for the DataCatalog service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcDataCatalogStub(DataCatalogStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcDataCatalogStub, using the given settings.protected
GrpcDataCatalogStub(DataCatalogStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDataCatalogStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static GrpcDataCatalogStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcDataCatalogStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcDataCatalogStub
create(DataCatalogStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateEntryRequest,Entry>
createEntryCallable()
com.google.api.gax.rpc.UnaryCallable<CreateEntryGroupRequest,EntryGroup>
createEntryGroupCallable()
com.google.api.gax.rpc.UnaryCallable<CreateTagRequest,Tag>
createTagCallable()
com.google.api.gax.rpc.UnaryCallable<CreateTagTemplateRequest,TagTemplate>
createTagTemplateCallable()
com.google.api.gax.rpc.UnaryCallable<CreateTagTemplateFieldRequest,TagTemplateField>
createTagTemplateFieldCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteEntryRequest,com.google.protobuf.Empty>
deleteEntryCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteEntryGroupRequest,com.google.protobuf.Empty>
deleteEntryGroupCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteTagRequest,com.google.protobuf.Empty>
deleteTagCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteTagTemplateRequest,com.google.protobuf.Empty>
deleteTagTemplateCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteTagTemplateFieldRequest,com.google.protobuf.Empty>
deleteTagTemplateFieldCallable()
com.google.api.gax.rpc.UnaryCallable<GetEntryRequest,Entry>
getEntryCallable()
com.google.api.gax.rpc.UnaryCallable<GetEntryGroupRequest,EntryGroup>
getEntryGroupCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicyCallable()
com.google.longrunning.stub.GrpcOperationsStub
getOperationsStub()
com.google.api.gax.rpc.UnaryCallable<GetTagTemplateRequest,TagTemplate>
getTagTemplateCallable()
com.google.api.gax.rpc.UnaryCallable<ImportEntriesRequest,com.google.longrunning.Operation>
importEntriesCallable()
com.google.api.gax.rpc.OperationCallable<ImportEntriesRequest,ImportEntriesResponse,ImportEntriesMetadata>
importEntriesOperationCallable()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<ListEntriesRequest,ListEntriesResponse>
listEntriesCallable()
com.google.api.gax.rpc.UnaryCallable<ListEntriesRequest,DataCatalogClient.ListEntriesPagedResponse>
listEntriesPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListEntryGroupsRequest,ListEntryGroupsResponse>
listEntryGroupsCallable()
com.google.api.gax.rpc.UnaryCallable<ListEntryGroupsRequest,DataCatalogClient.ListEntryGroupsPagedResponse>
listEntryGroupsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListTagsRequest,ListTagsResponse>
listTagsCallable()
com.google.api.gax.rpc.UnaryCallable<ListTagsRequest,DataCatalogClient.ListTagsPagedResponse>
listTagsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<LookupEntryRequest,Entry>
lookupEntryCallable()
com.google.api.gax.rpc.UnaryCallable<ModifyEntryContactsRequest,Contacts>
modifyEntryContactsCallable()
com.google.api.gax.rpc.UnaryCallable<ModifyEntryOverviewRequest,EntryOverview>
modifyEntryOverviewCallable()
com.google.api.gax.rpc.UnaryCallable<ReconcileTagsRequest,com.google.longrunning.Operation>
reconcileTagsCallable()
com.google.api.gax.rpc.OperationCallable<ReconcileTagsRequest,ReconcileTagsResponse,ReconcileTagsMetadata>
reconcileTagsOperationCallable()
com.google.api.gax.rpc.UnaryCallable<RenameTagTemplateFieldRequest,TagTemplateField>
renameTagTemplateFieldCallable()
com.google.api.gax.rpc.UnaryCallable<RenameTagTemplateFieldEnumValueRequest,TagTemplateField>
renameTagTemplateFieldEnumValueCallable()
com.google.api.gax.rpc.UnaryCallable<SearchCatalogRequest,SearchCatalogResponse>
searchCatalogCallable()
com.google.api.gax.rpc.UnaryCallable<SearchCatalogRequest,DataCatalogClient.SearchCatalogPagedResponse>
searchCatalogPagedCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicyCallable()
void
shutdown()
void
shutdownNow()
com.google.api.gax.rpc.UnaryCallable<StarEntryRequest,StarEntryResponse>
starEntryCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsCallable()
com.google.api.gax.rpc.UnaryCallable<UnstarEntryRequest,UnstarEntryResponse>
unstarEntryCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateEntryRequest,Entry>
updateEntryCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateEntryGroupRequest,EntryGroup>
updateEntryGroupCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateTagRequest,Tag>
updateTagCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateTagTemplateRequest,TagTemplate>
updateTagTemplateCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateTagTemplateFieldRequest,TagTemplateField>
updateTagTemplateFieldCallable()
-
Methods inherited from class com.google.cloud.datacatalog.v1.stub.DataCatalogStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcDataCatalogStub
protected GrpcDataCatalogStub(DataCatalogStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcDataCatalogStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcDataCatalogStub
protected GrpcDataCatalogStub(DataCatalogStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcDataCatalogStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcDataCatalogStub create(DataCatalogStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcDataCatalogStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcDataCatalogStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStub
in classDataCatalogStub
-
searchCatalogCallable
public com.google.api.gax.rpc.UnaryCallable<SearchCatalogRequest,SearchCatalogResponse> searchCatalogCallable()
- Overrides:
searchCatalogCallable
in classDataCatalogStub
-
searchCatalogPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchCatalogRequest,DataCatalogClient.SearchCatalogPagedResponse> searchCatalogPagedCallable()
- Overrides:
searchCatalogPagedCallable
in classDataCatalogStub
-
createEntryGroupCallable
public com.google.api.gax.rpc.UnaryCallable<CreateEntryGroupRequest,EntryGroup> createEntryGroupCallable()
- Overrides:
createEntryGroupCallable
in classDataCatalogStub
-
getEntryGroupCallable
public com.google.api.gax.rpc.UnaryCallable<GetEntryGroupRequest,EntryGroup> getEntryGroupCallable()
- Overrides:
getEntryGroupCallable
in classDataCatalogStub
-
updateEntryGroupCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateEntryGroupRequest,EntryGroup> updateEntryGroupCallable()
- Overrides:
updateEntryGroupCallable
in classDataCatalogStub
-
deleteEntryGroupCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteEntryGroupRequest,com.google.protobuf.Empty> deleteEntryGroupCallable()
- Overrides:
deleteEntryGroupCallable
in classDataCatalogStub
-
listEntryGroupsCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntryGroupsRequest,ListEntryGroupsResponse> listEntryGroupsCallable()
- Overrides:
listEntryGroupsCallable
in classDataCatalogStub
-
listEntryGroupsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntryGroupsRequest,DataCatalogClient.ListEntryGroupsPagedResponse> listEntryGroupsPagedCallable()
- Overrides:
listEntryGroupsPagedCallable
in classDataCatalogStub
-
createEntryCallable
public com.google.api.gax.rpc.UnaryCallable<CreateEntryRequest,Entry> createEntryCallable()
- Overrides:
createEntryCallable
in classDataCatalogStub
-
updateEntryCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateEntryRequest,Entry> updateEntryCallable()
- Overrides:
updateEntryCallable
in classDataCatalogStub
-
deleteEntryCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteEntryRequest,com.google.protobuf.Empty> deleteEntryCallable()
- Overrides:
deleteEntryCallable
in classDataCatalogStub
-
getEntryCallable
public com.google.api.gax.rpc.UnaryCallable<GetEntryRequest,Entry> getEntryCallable()
- Overrides:
getEntryCallable
in classDataCatalogStub
-
lookupEntryCallable
public com.google.api.gax.rpc.UnaryCallable<LookupEntryRequest,Entry> lookupEntryCallable()
- Overrides:
lookupEntryCallable
in classDataCatalogStub
-
listEntriesCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntriesRequest,ListEntriesResponse> listEntriesCallable()
- Overrides:
listEntriesCallable
in classDataCatalogStub
-
listEntriesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntriesRequest,DataCatalogClient.ListEntriesPagedResponse> listEntriesPagedCallable()
- Overrides:
listEntriesPagedCallable
in classDataCatalogStub
-
modifyEntryOverviewCallable
public com.google.api.gax.rpc.UnaryCallable<ModifyEntryOverviewRequest,EntryOverview> modifyEntryOverviewCallable()
- Overrides:
modifyEntryOverviewCallable
in classDataCatalogStub
-
modifyEntryContactsCallable
public com.google.api.gax.rpc.UnaryCallable<ModifyEntryContactsRequest,Contacts> modifyEntryContactsCallable()
- Overrides:
modifyEntryContactsCallable
in classDataCatalogStub
-
createTagTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTagTemplateRequest,TagTemplate> createTagTemplateCallable()
- Overrides:
createTagTemplateCallable
in classDataCatalogStub
-
getTagTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<GetTagTemplateRequest,TagTemplate> getTagTemplateCallable()
- Overrides:
getTagTemplateCallable
in classDataCatalogStub
-
updateTagTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTagTemplateRequest,TagTemplate> updateTagTemplateCallable()
- Overrides:
updateTagTemplateCallable
in classDataCatalogStub
-
deleteTagTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTagTemplateRequest,com.google.protobuf.Empty> deleteTagTemplateCallable()
- Overrides:
deleteTagTemplateCallable
in classDataCatalogStub
-
createTagTemplateFieldCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTagTemplateFieldRequest,TagTemplateField> createTagTemplateFieldCallable()
- Overrides:
createTagTemplateFieldCallable
in classDataCatalogStub
-
updateTagTemplateFieldCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTagTemplateFieldRequest,TagTemplateField> updateTagTemplateFieldCallable()
- Overrides:
updateTagTemplateFieldCallable
in classDataCatalogStub
-
renameTagTemplateFieldCallable
public com.google.api.gax.rpc.UnaryCallable<RenameTagTemplateFieldRequest,TagTemplateField> renameTagTemplateFieldCallable()
- Overrides:
renameTagTemplateFieldCallable
in classDataCatalogStub
-
renameTagTemplateFieldEnumValueCallable
public com.google.api.gax.rpc.UnaryCallable<RenameTagTemplateFieldEnumValueRequest,TagTemplateField> renameTagTemplateFieldEnumValueCallable()
- Overrides:
renameTagTemplateFieldEnumValueCallable
in classDataCatalogStub
-
deleteTagTemplateFieldCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTagTemplateFieldRequest,com.google.protobuf.Empty> deleteTagTemplateFieldCallable()
- Overrides:
deleteTagTemplateFieldCallable
in classDataCatalogStub
-
createTagCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTagRequest,Tag> createTagCallable()
- Overrides:
createTagCallable
in classDataCatalogStub
-
updateTagCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
- Overrides:
updateTagCallable
in classDataCatalogStub
-
deleteTagCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTagRequest,com.google.protobuf.Empty> deleteTagCallable()
- Overrides:
deleteTagCallable
in classDataCatalogStub
-
listTagsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTagsRequest,ListTagsResponse> listTagsCallable()
- Overrides:
listTagsCallable
in classDataCatalogStub
-
listTagsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTagsRequest,DataCatalogClient.ListTagsPagedResponse> listTagsPagedCallable()
- Overrides:
listTagsPagedCallable
in classDataCatalogStub
-
reconcileTagsCallable
public com.google.api.gax.rpc.UnaryCallable<ReconcileTagsRequest,com.google.longrunning.Operation> reconcileTagsCallable()
- Overrides:
reconcileTagsCallable
in classDataCatalogStub
-
reconcileTagsOperationCallable
public com.google.api.gax.rpc.OperationCallable<ReconcileTagsRequest,ReconcileTagsResponse,ReconcileTagsMetadata> reconcileTagsOperationCallable()
- Overrides:
reconcileTagsOperationCallable
in classDataCatalogStub
-
starEntryCallable
public com.google.api.gax.rpc.UnaryCallable<StarEntryRequest,StarEntryResponse> starEntryCallable()
- Overrides:
starEntryCallable
in classDataCatalogStub
-
unstarEntryCallable
public com.google.api.gax.rpc.UnaryCallable<UnstarEntryRequest,UnstarEntryResponse> unstarEntryCallable()
- Overrides:
unstarEntryCallable
in classDataCatalogStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classDataCatalogStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classDataCatalogStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classDataCatalogStub
-
importEntriesCallable
public com.google.api.gax.rpc.UnaryCallable<ImportEntriesRequest,com.google.longrunning.Operation> importEntriesCallable()
- Overrides:
importEntriesCallable
in classDataCatalogStub
-
importEntriesOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportEntriesRequest,ImportEntriesResponse,ImportEntriesMetadata> importEntriesOperationCallable()
- Overrides:
importEntriesOperationCallable
in classDataCatalogStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classDataCatalogStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-