Class HttpJsonDataCatalogStub (1.18.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonDataCatalogStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDataCatalogStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonDataCatalogStub
Exceptions
TypeDescription
IOException

create(DataCatalogStubSettings settings)

public static final HttpJsonDataCatalogStub create(DataCatalogStubSettings settings)
Parameter
NameDescription
settingsDataCatalogStubSettings
Returns
TypeDescription
HttpJsonDataCatalogStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsDataCatalogStubSettings
clientContextClientContext

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
NameDescription
settingsDataCatalogStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createEntryCallable()

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

createEntryGroupCallable()

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

createTagCallable()

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

createTagTemplateCallable()

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

createTagTemplateFieldCallable()

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

deleteEntryCallable()

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

deleteEntryGroupCallable()

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

deleteTagCallable()

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

deleteTagTemplateCallable()

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

deleteTagTemplateFieldCallable()

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

getEntryCallable()

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

getEntryGroupCallable()

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

getIamPolicyCallable()

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

getTagTemplateCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listEntriesCallable()

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

listEntriesPagedCallable()

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

listEntryGroupsCallable()

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

listEntryGroupsPagedCallable()

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

listTagsCallable()

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

listTagsPagedCallable()

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

lookupEntryCallable()

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

renameTagTemplateFieldCallable()

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

searchCatalogCallable()

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

searchCatalogPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateEntryCallable()

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

updateEntryGroupCallable()

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

updateTagCallable()

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

updateTagTemplateCallable()

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

updateTagTemplateFieldCallable()

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