Class GrpcAssetServiceStub (3.7.1)

public class GrpcAssetServiceStub extends AssetServiceStub

gRPC stub implementation for the AssetService service API.

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

Inheritance

java.lang.Object > AssetServiceStub > GrpcAssetServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAssetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcAssetServiceStub
Exceptions
TypeDescription
IOException

create(AssetServiceStubSettings settings)

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

Constructors

GrpcAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext)

protected GrpcAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAssetServiceStub, 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

GrpcAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAssetServiceStub, 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
callableFactoryGrpcStubCallableFactory

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
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