Class HttpJsonDataCatalogStub (1.49.0)

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.

Inheritance

java.lang.Object > DataCatalogStub > HttpJsonDataCatalogStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonDataCatalogStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonDataCatalogStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDataCatalogStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonDataCatalogStub
Exceptions
Type Description
IOException

create(DataCatalogStubSettings settings)

public static final HttpJsonDataCatalogStub create(DataCatalogStubSettings settings)
Parameter
Name Description
settings DataCatalogStubSettings
Returns
Type Description
HttpJsonDataCatalogStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonDataCatalogStub(DataCatalogStubSettings settings, ClientContext clientContext)

protected HttpJsonDataCatalogStub(DataCatalogStubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings DataCatalogStubSettings
clientContext ClientContext

HttpJsonDataCatalogStub(DataCatalogStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDataCatalogStub(DataCatalogStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings DataCatalogStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createEntryCallable()

public UnaryCallable<CreateEntryRequest,Entry> createEntryCallable()
Returns
Type Description
UnaryCallable<CreateEntryRequest,Entry>
Overrides

createEntryGroupCallable()

public UnaryCallable<CreateEntryGroupRequest,EntryGroup> createEntryGroupCallable()
Returns
Type Description
UnaryCallable<CreateEntryGroupRequest,EntryGroup>
Overrides

createTagCallable()

public UnaryCallable<CreateTagRequest,Tag> createTagCallable()
Returns
Type Description
UnaryCallable<CreateTagRequest,Tag>
Overrides

createTagTemplateCallable()

public UnaryCallable<CreateTagTemplateRequest,TagTemplate> createTagTemplateCallable()
Returns
Type Description
UnaryCallable<CreateTagTemplateRequest,TagTemplate>
Overrides

createTagTemplateFieldCallable()

public UnaryCallable<CreateTagTemplateFieldRequest,TagTemplateField> createTagTemplateFieldCallable()
Returns
Type Description
UnaryCallable<CreateTagTemplateFieldRequest,TagTemplateField>
Overrides

deleteEntryCallable()

public UnaryCallable<DeleteEntryRequest,Empty> deleteEntryCallable()
Returns
Type Description
UnaryCallable<DeleteEntryRequest,Empty>
Overrides

deleteEntryGroupCallable()

public UnaryCallable<DeleteEntryGroupRequest,Empty> deleteEntryGroupCallable()
Returns
Type Description
UnaryCallable<DeleteEntryGroupRequest,Empty>
Overrides

deleteTagCallable()

public UnaryCallable<DeleteTagRequest,Empty> deleteTagCallable()
Returns
Type Description
UnaryCallable<DeleteTagRequest,Empty>
Overrides

deleteTagTemplateCallable()

public UnaryCallable<DeleteTagTemplateRequest,Empty> deleteTagTemplateCallable()
Returns
Type Description
UnaryCallable<DeleteTagTemplateRequest,Empty>
Overrides

deleteTagTemplateFieldCallable()

public UnaryCallable<DeleteTagTemplateFieldRequest,Empty> deleteTagTemplateFieldCallable()
Returns
Type Description
UnaryCallable<DeleteTagTemplateFieldRequest,Empty>
Overrides

getEntryCallable()

public UnaryCallable<GetEntryRequest,Entry> getEntryCallable()
Returns
Type Description
UnaryCallable<GetEntryRequest,Entry>
Overrides

getEntryGroupCallable()

public UnaryCallable<GetEntryGroupRequest,EntryGroup> getEntryGroupCallable()
Returns
Type Description
UnaryCallable<GetEntryGroupRequest,EntryGroup>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getTagTemplateCallable()

public UnaryCallable<GetTagTemplateRequest,TagTemplate> getTagTemplateCallable()
Returns
Type Description
UnaryCallable<GetTagTemplateRequest,TagTemplate>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listEntriesCallable()

public UnaryCallable<ListEntriesRequest,ListEntriesResponse> listEntriesCallable()
Returns
Type Description
UnaryCallable<ListEntriesRequest,ListEntriesResponse>
Overrides

listEntriesPagedCallable()

public UnaryCallable<ListEntriesRequest,DataCatalogClient.ListEntriesPagedResponse> listEntriesPagedCallable()
Returns
Type Description
UnaryCallable<ListEntriesRequest,ListEntriesPagedResponse>
Overrides

listEntryGroupsCallable()

public UnaryCallable<ListEntryGroupsRequest,ListEntryGroupsResponse> listEntryGroupsCallable()
Returns
Type Description
UnaryCallable<ListEntryGroupsRequest,ListEntryGroupsResponse>
Overrides

listEntryGroupsPagedCallable()

public UnaryCallable<ListEntryGroupsRequest,DataCatalogClient.ListEntryGroupsPagedResponse> listEntryGroupsPagedCallable()
Returns
Type Description
UnaryCallable<ListEntryGroupsRequest,ListEntryGroupsPagedResponse>
Overrides

listTagsCallable()

public UnaryCallable<ListTagsRequest,ListTagsResponse> listTagsCallable()
Returns
Type Description
UnaryCallable<ListTagsRequest,ListTagsResponse>
Overrides

listTagsPagedCallable()

public UnaryCallable<ListTagsRequest,DataCatalogClient.ListTagsPagedResponse> listTagsPagedCallable()
Returns
Type Description
UnaryCallable<ListTagsRequest,ListTagsPagedResponse>
Overrides

lookupEntryCallable()

public UnaryCallable<LookupEntryRequest,Entry> lookupEntryCallable()
Returns
Type Description
UnaryCallable<LookupEntryRequest,Entry>
Overrides

renameTagTemplateFieldCallable()

public UnaryCallable<RenameTagTemplateFieldRequest,TagTemplateField> renameTagTemplateFieldCallable()
Returns
Type Description
UnaryCallable<RenameTagTemplateFieldRequest,TagTemplateField>
Overrides

renameTagTemplateFieldEnumValueCallable()

public UnaryCallable<RenameTagTemplateFieldEnumValueRequest,TagTemplateField> renameTagTemplateFieldEnumValueCallable()
Returns
Type Description
UnaryCallable<RenameTagTemplateFieldEnumValueRequest,TagTemplateField>
Overrides

searchCatalogCallable()

public UnaryCallable<SearchCatalogRequest,SearchCatalogResponse> searchCatalogCallable()
Returns
Type Description
UnaryCallable<SearchCatalogRequest,SearchCatalogResponse>
Overrides

searchCatalogPagedCallable()

public UnaryCallable<SearchCatalogRequest,DataCatalogClient.SearchCatalogPagedResponse> searchCatalogPagedCallable()
Returns
Type Description
UnaryCallable<SearchCatalogRequest,SearchCatalogPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateEntryCallable()

public UnaryCallable<UpdateEntryRequest,Entry> updateEntryCallable()
Returns
Type Description
UnaryCallable<UpdateEntryRequest,Entry>
Overrides

updateEntryGroupCallable()

public UnaryCallable<UpdateEntryGroupRequest,EntryGroup> updateEntryGroupCallable()
Returns
Type Description
UnaryCallable<UpdateEntryGroupRequest,EntryGroup>
Overrides

updateTagCallable()

public UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
Returns
Type Description
UnaryCallable<UpdateTagRequest,Tag>
Overrides

updateTagTemplateCallable()

public UnaryCallable<UpdateTagTemplateRequest,TagTemplate> updateTagTemplateCallable()
Returns
Type Description
UnaryCallable<UpdateTagTemplateRequest,TagTemplate>
Overrides

updateTagTemplateFieldCallable()

public UnaryCallable<UpdateTagTemplateFieldRequest,TagTemplateField> updateTagTemplateFieldCallable()
Returns
Type Description
UnaryCallable<UpdateTagTemplateFieldRequest,TagTemplateField>
Overrides