Class HttpJsonDataCatalogStub
- java.lang.Object
-
- com.google.cloud.datacatalog.v1beta1.stub.DataCatalogStub
-
- com.google.cloud.datacatalog.v1beta1.stub.HttpJsonDataCatalogStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") public class HttpJsonDataCatalogStub extends DataCatalogStub
REST 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 protectedHttpJsonDataCatalogStub(DataCatalogStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonDataCatalogStub, using the given settings.protectedHttpJsonDataCatalogStub(DataCatalogStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonDataCatalogStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static HttpJsonDataCatalogStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static HttpJsonDataCatalogStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)static HttpJsonDataCatalogStubcreate(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()static List<com.google.api.gax.httpjson.ApiMethodDescriptor>getMethodDescriptors()com.google.api.gax.rpc.UnaryCallable<GetTagTemplateRequest,TagTemplate>getTagTemplateCallable()booleanisShutdown()booleanisTerminated()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<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()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>testIamPermissionsCallable()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()
-
-
-
Constructor Detail
-
HttpJsonDataCatalogStub
protected HttpJsonDataCatalogStub(DataCatalogStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonDataCatalogStub, 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
-
HttpJsonDataCatalogStub
protected HttpJsonDataCatalogStub(DataCatalogStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonDataCatalogStub, 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 HttpJsonDataCatalogStub create(DataCatalogStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDataCatalogStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDataCatalogStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
searchCatalogCallable
public com.google.api.gax.rpc.UnaryCallable<SearchCatalogRequest,SearchCatalogResponse> searchCatalogCallable()
- Overrides:
searchCatalogCallablein classDataCatalogStub
-
searchCatalogPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchCatalogRequest,DataCatalogClient.SearchCatalogPagedResponse> searchCatalogPagedCallable()
- Overrides:
searchCatalogPagedCallablein classDataCatalogStub
-
createEntryGroupCallable
public com.google.api.gax.rpc.UnaryCallable<CreateEntryGroupRequest,EntryGroup> createEntryGroupCallable()
- Overrides:
createEntryGroupCallablein classDataCatalogStub
-
updateEntryGroupCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateEntryGroupRequest,EntryGroup> updateEntryGroupCallable()
- Overrides:
updateEntryGroupCallablein classDataCatalogStub
-
getEntryGroupCallable
public com.google.api.gax.rpc.UnaryCallable<GetEntryGroupRequest,EntryGroup> getEntryGroupCallable()
- Overrides:
getEntryGroupCallablein classDataCatalogStub
-
deleteEntryGroupCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteEntryGroupRequest,com.google.protobuf.Empty> deleteEntryGroupCallable()
- Overrides:
deleteEntryGroupCallablein classDataCatalogStub
-
listEntryGroupsCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntryGroupsRequest,ListEntryGroupsResponse> listEntryGroupsCallable()
- Overrides:
listEntryGroupsCallablein classDataCatalogStub
-
listEntryGroupsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntryGroupsRequest,DataCatalogClient.ListEntryGroupsPagedResponse> listEntryGroupsPagedCallable()
- Overrides:
listEntryGroupsPagedCallablein classDataCatalogStub
-
createEntryCallable
public com.google.api.gax.rpc.UnaryCallable<CreateEntryRequest,Entry> createEntryCallable()
- Overrides:
createEntryCallablein classDataCatalogStub
-
updateEntryCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateEntryRequest,Entry> updateEntryCallable()
- Overrides:
updateEntryCallablein classDataCatalogStub
-
deleteEntryCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteEntryRequest,com.google.protobuf.Empty> deleteEntryCallable()
- Overrides:
deleteEntryCallablein classDataCatalogStub
-
getEntryCallable
public com.google.api.gax.rpc.UnaryCallable<GetEntryRequest,Entry> getEntryCallable()
- Overrides:
getEntryCallablein classDataCatalogStub
-
lookupEntryCallable
public com.google.api.gax.rpc.UnaryCallable<LookupEntryRequest,Entry> lookupEntryCallable()
- Overrides:
lookupEntryCallablein classDataCatalogStub
-
listEntriesCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntriesRequest,ListEntriesResponse> listEntriesCallable()
- Overrides:
listEntriesCallablein classDataCatalogStub
-
listEntriesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntriesRequest,DataCatalogClient.ListEntriesPagedResponse> listEntriesPagedCallable()
- Overrides:
listEntriesPagedCallablein classDataCatalogStub
-
createTagTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTagTemplateRequest,TagTemplate> createTagTemplateCallable()
- Overrides:
createTagTemplateCallablein classDataCatalogStub
-
getTagTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<GetTagTemplateRequest,TagTemplate> getTagTemplateCallable()
- Overrides:
getTagTemplateCallablein classDataCatalogStub
-
updateTagTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTagTemplateRequest,TagTemplate> updateTagTemplateCallable()
- Overrides:
updateTagTemplateCallablein classDataCatalogStub
-
deleteTagTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTagTemplateRequest,com.google.protobuf.Empty> deleteTagTemplateCallable()
- Overrides:
deleteTagTemplateCallablein classDataCatalogStub
-
createTagTemplateFieldCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTagTemplateFieldRequest,TagTemplateField> createTagTemplateFieldCallable()
- Overrides:
createTagTemplateFieldCallablein classDataCatalogStub
-
updateTagTemplateFieldCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTagTemplateFieldRequest,TagTemplateField> updateTagTemplateFieldCallable()
- Overrides:
updateTagTemplateFieldCallablein classDataCatalogStub
-
renameTagTemplateFieldCallable
public com.google.api.gax.rpc.UnaryCallable<RenameTagTemplateFieldRequest,TagTemplateField> renameTagTemplateFieldCallable()
- Overrides:
renameTagTemplateFieldCallablein classDataCatalogStub
-
renameTagTemplateFieldEnumValueCallable
public com.google.api.gax.rpc.UnaryCallable<RenameTagTemplateFieldEnumValueRequest,TagTemplateField> renameTagTemplateFieldEnumValueCallable()
- Overrides:
renameTagTemplateFieldEnumValueCallablein classDataCatalogStub
-
deleteTagTemplateFieldCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTagTemplateFieldRequest,com.google.protobuf.Empty> deleteTagTemplateFieldCallable()
- Overrides:
deleteTagTemplateFieldCallablein classDataCatalogStub
-
createTagCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTagRequest,Tag> createTagCallable()
- Overrides:
createTagCallablein classDataCatalogStub
-
updateTagCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
- Overrides:
updateTagCallablein classDataCatalogStub
-
deleteTagCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTagRequest,com.google.protobuf.Empty> deleteTagCallable()
- Overrides:
deleteTagCallablein classDataCatalogStub
-
listTagsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTagsRequest,ListTagsResponse> listTagsCallable()
- Overrides:
listTagsCallablein classDataCatalogStub
-
listTagsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTagsRequest,DataCatalogClient.ListTagsPagedResponse> listTagsPagedCallable()
- Overrides:
listTagsPagedCallablein classDataCatalogStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classDataCatalogStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classDataCatalogStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classDataCatalogStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-