Class AssetServiceSettings.Builder (3.99.0)

public static class AssetServiceSettings.Builder extends ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>

Builder for AssetServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AssetServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(AssetServiceSettings settings)

protected Builder(AssetServiceSettings settings)
Parameter
Name Description
settings AssetServiceSettings

Builder(AssetServiceStubSettings.Builder stubSettings)

protected Builder(AssetServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AssetServiceStubSettings.Builder

Methods

analyzeIamPolicyLongrunningOperationSettings()

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

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

Returns
Type Description
Builder<AnalyzeIamPolicyLongrunningRequest,AnalyzeIamPolicyLongrunningResponse,AnalyzeIamPolicyLongrunningMetadata>

analyzeIamPolicyLongrunningSettings()

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

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

Returns
Type Description
Builder<AnalyzeIamPolicyLongrunningRequest,Operation>

analyzeIamPolicySettings()

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

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

Returns
Type Description
Builder<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse>

analyzeMoveSettings()

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

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

Returns
Type Description
Builder<AnalyzeMoveRequest,AnalyzeMoveResponse>

analyzeOrgPoliciesSettings()

public PagedCallSettings.Builder<AnalyzeOrgPoliciesRequest,AnalyzeOrgPoliciesResponse,AssetServiceClient.AnalyzeOrgPoliciesPagedResponse> analyzeOrgPoliciesSettings()

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

Returns
Type Description
Builder<AnalyzeOrgPoliciesRequest,AnalyzeOrgPoliciesResponse,AnalyzeOrgPoliciesPagedResponse>

analyzeOrgPolicyGovernedAssetsSettings()

public PagedCallSettings.Builder<AnalyzeOrgPolicyGovernedAssetsRequest,AnalyzeOrgPolicyGovernedAssetsResponse,AssetServiceClient.AnalyzeOrgPolicyGovernedAssetsPagedResponse> analyzeOrgPolicyGovernedAssetsSettings()

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

Returns
Type Description
Builder<AnalyzeOrgPolicyGovernedAssetsRequest,AnalyzeOrgPolicyGovernedAssetsResponse,AnalyzeOrgPolicyGovernedAssetsPagedResponse>

analyzeOrgPolicyGovernedContainersSettings()

public PagedCallSettings.Builder<AnalyzeOrgPolicyGovernedContainersRequest,AnalyzeOrgPolicyGovernedContainersResponse,AssetServiceClient.AnalyzeOrgPolicyGovernedContainersPagedResponse> analyzeOrgPolicyGovernedContainersSettings()

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

Returns
Type Description
Builder<AnalyzeOrgPolicyGovernedContainersRequest,AnalyzeOrgPolicyGovernedContainersResponse,AnalyzeOrgPolicyGovernedContainersPagedResponse>

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

public AssetServiceSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AssetServiceSettings.Builder

batchGetAssetsHistorySettings()

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

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

Returns
Type Description
Builder<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse>

batchGetEffectiveIamPoliciesSettings()

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

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

Returns
Type Description
Builder<BatchGetEffectiveIamPoliciesRequest,BatchGetEffectiveIamPoliciesResponse>

build()

public AssetServiceSettings build()
Returns
Type Description
AssetServiceSettings
Overrides
Exceptions
Type Description
IOException

createFeedSettings()

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

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

Returns
Type Description
Builder<CreateFeedRequest,Feed>

createSavedQuerySettings()

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

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

Returns
Type Description
Builder<CreateSavedQueryRequest,SavedQuery>

deleteFeedSettings()

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

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

Returns
Type Description
Builder<DeleteFeedRequest,Empty>

deleteSavedQuerySettings()

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

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

Returns
Type Description
Builder<DeleteSavedQueryRequest,Empty>

exportAssetsOperationSettings()

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

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

Returns
Type Description
Builder<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest>

exportAssetsSettings()

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

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

Returns
Type Description
Builder<ExportAssetsRequest,Operation>

getFeedSettings()

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

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

Returns
Type Description
Builder<GetFeedRequest,Feed>

getSavedQuerySettings()

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

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

Returns
Type Description
Builder<GetSavedQueryRequest,SavedQuery>

getStubSettingsBuilder()

public AssetServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AssetServiceStubSettings.Builder

listAssetsSettings()

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

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

Returns
Type Description
Builder<ListAssetsRequest,ListAssetsResponse,ListAssetsPagedResponse>

listFeedsSettings()

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

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

Returns
Type Description
Builder<ListFeedsRequest,ListFeedsResponse>

listSavedQueriesSettings()

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

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

Returns
Type Description
Builder<ListSavedQueriesRequest,ListSavedQueriesResponse,ListSavedQueriesPagedResponse>

queryAssetsSettings()

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

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

Returns
Type Description
Builder<QueryAssetsRequest,QueryAssetsResponse>

searchAllIamPoliciesSettings()

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

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

Returns
Type Description
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
Type Description
Builder<SearchAllResourcesRequest,SearchAllResourcesResponse,SearchAllResourcesPagedResponse>

updateFeedSettings()

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

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

Returns
Type Description
Builder<UpdateFeedRequest,Feed>

updateSavedQuerySettings()

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

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

Returns
Type Description
Builder<UpdateSavedQueryRequest,SavedQuery>