Class HttpJsonAssetServiceStub (3.6.0)

Stay organized with collections Save and categorize content based on your preferences.
public class HttpJsonAssetServiceStub extends AssetServiceStub

REST stub implementation for the AssetService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > AssetServiceStub > HttpJsonAssetServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonAssetServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonAssetServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(AssetServiceStubSettings settings)

public static final HttpJsonAssetServiceStub create(AssetServiceStubSettings settings)
Parameter
NameDescription
settingsAssetServiceStubSettings
Returns
TypeDescription
HttpJsonAssetServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonAssetServiceStub, 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
settingsAssetServiceStubSettings
clientContextClientContext

HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonAssetServiceStub, 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
settingsAssetServiceStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

analyzeIamPolicyCallable()

public UnaryCallable<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse> analyzeIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse>
Overrides

analyzeIamPolicyLongrunningCallable()

public UnaryCallable<AnalyzeIamPolicyLongrunningRequest,Operation> analyzeIamPolicyLongrunningCallable()
Returns
TypeDescription
UnaryCallable<AnalyzeIamPolicyLongrunningRequest,Operation>
Overrides

analyzeIamPolicyLongrunningOperationCallable()

public OperationCallable<AnalyzeIamPolicyLongrunningRequest,AnalyzeIamPolicyLongrunningResponse,AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable()
Returns
TypeDescription
OperationCallable<AnalyzeIamPolicyLongrunningRequest,AnalyzeIamPolicyLongrunningResponse,AnalyzeIamPolicyLongrunningMetadata>
Overrides

analyzeMoveCallable()

public UnaryCallable<AnalyzeMoveRequest,AnalyzeMoveResponse> analyzeMoveCallable()
Returns
TypeDescription
UnaryCallable<AnalyzeMoveRequest,AnalyzeMoveResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

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

batchGetAssetsHistoryCallable()

public UnaryCallable<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse> batchGetAssetsHistoryCallable()
Returns
TypeDescription
UnaryCallable<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse>
Overrides

batchGetEffectiveIamPoliciesCallable()

public UnaryCallable<BatchGetEffectiveIamPoliciesRequest,BatchGetEffectiveIamPoliciesResponse> batchGetEffectiveIamPoliciesCallable()
Returns
TypeDescription
UnaryCallable<BatchGetEffectiveIamPoliciesRequest,BatchGetEffectiveIamPoliciesResponse>
Overrides

close()

public final void close()
Overrides

createFeedCallable()

public UnaryCallable<CreateFeedRequest,Feed> createFeedCallable()
Returns
TypeDescription
UnaryCallable<CreateFeedRequest,Feed>
Overrides

createSavedQueryCallable()

public UnaryCallable<CreateSavedQueryRequest,SavedQuery> createSavedQueryCallable()
Returns
TypeDescription
UnaryCallable<CreateSavedQueryRequest,SavedQuery>
Overrides

deleteFeedCallable()

public UnaryCallable<DeleteFeedRequest,Empty> deleteFeedCallable()
Returns
TypeDescription
UnaryCallable<DeleteFeedRequest,Empty>
Overrides

deleteSavedQueryCallable()

public UnaryCallable<DeleteSavedQueryRequest,Empty> deleteSavedQueryCallable()
Returns
TypeDescription
UnaryCallable<DeleteSavedQueryRequest,Empty>
Overrides

exportAssetsCallable()

public UnaryCallable<ExportAssetsRequest,Operation> exportAssetsCallable()
Returns
TypeDescription
UnaryCallable<ExportAssetsRequest,Operation>
Overrides

exportAssetsOperationCallable()

public OperationCallable<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest> exportAssetsOperationCallable()
Returns
TypeDescription
OperationCallable<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest>
Overrides

getFeedCallable()

public UnaryCallable<GetFeedRequest,Feed> getFeedCallable()
Returns
TypeDescription
UnaryCallable<GetFeedRequest,Feed>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getSavedQueryCallable()

public UnaryCallable<GetSavedQueryRequest,SavedQuery> getSavedQueryCallable()
Returns
TypeDescription
UnaryCallable<GetSavedQueryRequest,SavedQuery>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAssetsCallable()

public UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
Returns
TypeDescription
UnaryCallable<ListAssetsRequest,ListAssetsResponse>
Overrides

listAssetsPagedCallable()

public UnaryCallable<ListAssetsRequest,AssetServiceClient.ListAssetsPagedResponse> listAssetsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAssetsRequest,ListAssetsPagedResponse>
Overrides

listFeedsCallable()

public UnaryCallable<ListFeedsRequest,ListFeedsResponse> listFeedsCallable()
Returns
TypeDescription
UnaryCallable<ListFeedsRequest,ListFeedsResponse>
Overrides

listSavedQueriesCallable()

public UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse> listSavedQueriesCallable()
Returns
TypeDescription
UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse>
Overrides

listSavedQueriesPagedCallable()

public UnaryCallable<ListSavedQueriesRequest,AssetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesPagedResponse>
Overrides

queryAssetsCallable()

public UnaryCallable<QueryAssetsRequest,QueryAssetsResponse> queryAssetsCallable()
Returns
TypeDescription
UnaryCallable<QueryAssetsRequest,QueryAssetsResponse>
Overrides

searchAllIamPoliciesCallable()

public UnaryCallable<SearchAllIamPoliciesRequest,SearchAllIamPoliciesResponse> searchAllIamPoliciesCallable()
Returns
TypeDescription
UnaryCallable<SearchAllIamPoliciesRequest,SearchAllIamPoliciesResponse>
Overrides

searchAllIamPoliciesPagedCallable()

public UnaryCallable<SearchAllIamPoliciesRequest,AssetServiceClient.SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesPagedCallable()
Returns
TypeDescription
UnaryCallable<SearchAllIamPoliciesRequest,SearchAllIamPoliciesPagedResponse>
Overrides

searchAllResourcesCallable()

public UnaryCallable<SearchAllResourcesRequest,SearchAllResourcesResponse> searchAllResourcesCallable()
Returns
TypeDescription
UnaryCallable<SearchAllResourcesRequest,SearchAllResourcesResponse>
Overrides

searchAllResourcesPagedCallable()

public UnaryCallable<SearchAllResourcesRequest,AssetServiceClient.SearchAllResourcesPagedResponse> searchAllResourcesPagedCallable()
Returns
TypeDescription
UnaryCallable<SearchAllResourcesRequest,SearchAllResourcesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateFeedCallable()

public UnaryCallable<UpdateFeedRequest,Feed> updateFeedCallable()
Returns
TypeDescription
UnaryCallable<UpdateFeedRequest,Feed>
Overrides

updateSavedQueryCallable()

public UnaryCallable<UpdateSavedQueryRequest,SavedQuery> updateSavedQueryCallable()
Returns
TypeDescription
UnaryCallable<UpdateSavedQueryRequest,SavedQuery>
Overrides