Class HttpJsonDataCatalogStub (1.17.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 Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(DataCatalogStubSettings settings)

public static final HttpJsonDataCatalogStub create(DataCatalogStubSettings settings)
Parameter
NameDescription
settingsDataCatalogStubSettings
Returns 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 Overrides

createEntryGroupCallable()

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

createTagCallable()

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

createTagTemplateCallable()

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

createTagTemplateFieldCallable()

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

deleteEntryCallable()

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

deleteEntryGroupCallable()

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

deleteTagCallable()

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

deleteTagTemplateCallable()

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

deleteTagTemplateFieldCallable()

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

getEntryCallable()

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

getEntryGroupCallable()

public UnaryCallable<GetEntryGroupRequest,EntryGroup> getEntryGroupCallable()
Returns 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 Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listEntriesCallable()

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

listEntriesPagedCallable()

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

listEntryGroupsCallable()

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

listEntryGroupsPagedCallable()

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

listTagsCallable()

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

listTagsPagedCallable()

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

lookupEntryCallable()

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

modifyEntryContactsCallable()

public UnaryCallable<ModifyEntryContactsRequest,Contacts> modifyEntryContactsCallable()
Returns Overrides

modifyEntryOverviewCallable()

public UnaryCallable<ModifyEntryOverviewRequest,EntryOverview> modifyEntryOverviewCallable()
Returns Overrides

renameTagTemplateFieldCallable()

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

renameTagTemplateFieldEnumValueCallable()

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

searchCatalogCallable()

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

searchCatalogPagedCallable()

public UnaryCallable<SearchCatalogRequest,DataCatalogClient.SearchCatalogPagedResponse> searchCatalogPagedCallable()
Returns 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()

starEntryCallable()

public UnaryCallable<StarEntryRequest,StarEntryResponse> starEntryCallable()
Returns Overrides

testIamPermissionsCallable()

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

unstarEntryCallable()

public UnaryCallable<UnstarEntryRequest,UnstarEntryResponse> unstarEntryCallable()
Returns Overrides

updateEntryCallable()

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

updateEntryGroupCallable()

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

updateTagCallable()

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

updateTagTemplateCallable()

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

updateTagTemplateFieldCallable()

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