Class AssetServiceStubSettings.Builder (3.7.1)

public static class AssetServiceStubSettings.Builder extends StubSettings.Builder<AssetServiceStubSettings,AssetServiceStubSettings.Builder>

Builder for AssetServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AssetServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AssetServiceStubSettings settings)

protected Builder(AssetServiceStubSettings settings)
Parameter
NameDescription
settingsAssetServiceStubSettings

Methods

analyzeIamPolicyLongrunningOperationSettings()

public OperationCallSettings.Builder<AnalyzeIamPolicyLongrunningRequest,AnalyzeIamPolicyLongrunningResponse,AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings()

Returns the builder for the settings used for calls to analyzeIamPolicyLongrunning.

Returns
TypeDescription
Builder<AnalyzeIamPolicyLongrunningRequest,AnalyzeIamPolicyLongrunningResponse,AnalyzeIamPolicyLongrunningMetadata>

analyzeIamPolicyLongrunningSettings()

public UnaryCallSettings.Builder<AnalyzeIamPolicyLongrunningRequest,Operation> analyzeIamPolicyLongrunningSettings()

Returns the builder for the settings used for calls to analyzeIamPolicyLongrunning.

Returns
TypeDescription
Builder<AnalyzeIamPolicyLongrunningRequest,Operation>

analyzeIamPolicySettings()

public UnaryCallSettings.Builder<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse> analyzeIamPolicySettings()

Returns the builder for the settings used for calls to analyzeIamPolicy.

Returns
TypeDescription
Builder<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse>

analyzeMoveSettings()

public UnaryCallSettings.Builder<AnalyzeMoveRequest,AnalyzeMoveResponse> analyzeMoveSettings()

Returns the builder for the settings used for calls to analyzeMove.

Returns
TypeDescription
Builder<AnalyzeMoveRequest,AnalyzeMoveResponse>

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public AssetServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AssetServiceStubSettings.Builder

batchGetAssetsHistorySettings()

public UnaryCallSettings.Builder<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse> batchGetAssetsHistorySettings()

Returns the builder for the settings used for calls to batchGetAssetsHistory.

Returns
TypeDescription
Builder<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse>

batchGetEffectiveIamPoliciesSettings()

public UnaryCallSettings.Builder<BatchGetEffectiveIamPoliciesRequest,BatchGetEffectiveIamPoliciesResponse> batchGetEffectiveIamPoliciesSettings()

Returns the builder for the settings used for calls to batchGetEffectiveIamPolicies.

Returns
TypeDescription
Builder<BatchGetEffectiveIamPoliciesRequest,BatchGetEffectiveIamPoliciesResponse>

build()

public AssetServiceStubSettings build()
Returns
TypeDescription
AssetServiceStubSettings
Overrides Exceptions
TypeDescription
IOException

createFeedSettings()

public UnaryCallSettings.Builder<CreateFeedRequest,Feed> createFeedSettings()

Returns the builder for the settings used for calls to createFeed.

Returns
TypeDescription
Builder<CreateFeedRequest,Feed>

createSavedQuerySettings()

public UnaryCallSettings.Builder<CreateSavedQueryRequest,SavedQuery> createSavedQuerySettings()

Returns the builder for the settings used for calls to createSavedQuery.

Returns
TypeDescription
Builder<CreateSavedQueryRequest,SavedQuery>

deleteFeedSettings()

public UnaryCallSettings.Builder<DeleteFeedRequest,Empty> deleteFeedSettings()

Returns the builder for the settings used for calls to deleteFeed.

Returns
TypeDescription
Builder<DeleteFeedRequest,Empty>

deleteSavedQuerySettings()

public UnaryCallSettings.Builder<DeleteSavedQueryRequest,Empty> deleteSavedQuerySettings()

Returns the builder for the settings used for calls to deleteSavedQuery.

Returns
TypeDescription
Builder<DeleteSavedQueryRequest,Empty>

exportAssetsOperationSettings()

public OperationCallSettings.Builder<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest> exportAssetsOperationSettings()

Returns the builder for the settings used for calls to exportAssets.

Returns
TypeDescription
Builder<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest>

exportAssetsSettings()

public UnaryCallSettings.Builder<ExportAssetsRequest,Operation> exportAssetsSettings()

Returns the builder for the settings used for calls to exportAssets.

Returns
TypeDescription
Builder<ExportAssetsRequest,Operation>

getFeedSettings()

public UnaryCallSettings.Builder<GetFeedRequest,Feed> getFeedSettings()

Returns the builder for the settings used for calls to getFeed.

Returns
TypeDescription
Builder<GetFeedRequest,Feed>

getSavedQuerySettings()

public UnaryCallSettings.Builder<GetSavedQueryRequest,SavedQuery> getSavedQuerySettings()

Returns the builder for the settings used for calls to getSavedQuery.

Returns
TypeDescription
Builder<GetSavedQueryRequest,SavedQuery>

listAssetsSettings()

public PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,AssetServiceClient.ListAssetsPagedResponse> listAssetsSettings()

Returns the builder for the settings used for calls to listAssets.

Returns
TypeDescription
Builder<ListAssetsRequest,ListAssetsResponse,ListAssetsPagedResponse>

listFeedsSettings()

public UnaryCallSettings.Builder<ListFeedsRequest,ListFeedsResponse> listFeedsSettings()

Returns the builder for the settings used for calls to listFeeds.

Returns
TypeDescription
Builder<ListFeedsRequest,ListFeedsResponse>

listSavedQueriesSettings()

public PagedCallSettings.Builder<ListSavedQueriesRequest,ListSavedQueriesResponse,AssetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesSettings()

Returns the builder for the settings used for calls to listSavedQueries.

Returns
TypeDescription
Builder<ListSavedQueriesRequest,ListSavedQueriesResponse,ListSavedQueriesPagedResponse>

queryAssetsSettings()

public UnaryCallSettings.Builder<QueryAssetsRequest,QueryAssetsResponse> queryAssetsSettings()

Returns the builder for the settings used for calls to queryAssets.

Returns
TypeDescription
Builder<QueryAssetsRequest,QueryAssetsResponse>

searchAllIamPoliciesSettings()

public PagedCallSettings.Builder<SearchAllIamPoliciesRequest,SearchAllIamPoliciesResponse,AssetServiceClient.SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings()

Returns the builder for the settings used for calls to searchAllIamPolicies.

Returns
TypeDescription
Builder<SearchAllIamPoliciesRequest,SearchAllIamPoliciesResponse,SearchAllIamPoliciesPagedResponse>

searchAllResourcesSettings()

public PagedCallSettings.Builder<SearchAllResourcesRequest,SearchAllResourcesResponse,AssetServiceClient.SearchAllResourcesPagedResponse> searchAllResourcesSettings()

Returns the builder for the settings used for calls to searchAllResources.

Returns
TypeDescription
Builder<SearchAllResourcesRequest,SearchAllResourcesResponse,SearchAllResourcesPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateFeedSettings()

public UnaryCallSettings.Builder<UpdateFeedRequest,Feed> updateFeedSettings()

Returns the builder for the settings used for calls to updateFeed.

Returns
TypeDescription
Builder<UpdateFeedRequest,Feed>

updateSavedQuerySettings()

public UnaryCallSettings.Builder<UpdateSavedQueryRequest,SavedQuery> updateSavedQuerySettings()

Returns the builder for the settings used for calls to updateSavedQuery.

Returns
TypeDescription
Builder<UpdateSavedQueryRequest,SavedQuery>