Class InterceptSettings.Builder (0.98.0)

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

Builder for InterceptSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > InterceptSettings.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(InterceptSettings settings)

protected Builder(InterceptSettings settings)
Parameter
Name Description
settings InterceptSettings

Builder(InterceptStubSettings.Builder stubSettings)

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

Methods

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

public InterceptSettings.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
InterceptSettings.Builder

build()

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

createInterceptDeploymentGroupOperationSettings()

public OperationCallSettings.Builder<CreateInterceptDeploymentGroupRequest,InterceptDeploymentGroup,OperationMetadata> createInterceptDeploymentGroupOperationSettings()

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

Returns
Type Description
Builder<CreateInterceptDeploymentGroupRequest,InterceptDeploymentGroup,OperationMetadata>

createInterceptDeploymentGroupSettings()

public UnaryCallSettings.Builder<CreateInterceptDeploymentGroupRequest,Operation> createInterceptDeploymentGroupSettings()

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

Returns
Type Description
Builder<CreateInterceptDeploymentGroupRequest,Operation>

createInterceptDeploymentOperationSettings()

public OperationCallSettings.Builder<CreateInterceptDeploymentRequest,InterceptDeployment,OperationMetadata> createInterceptDeploymentOperationSettings()

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

Returns
Type Description
Builder<CreateInterceptDeploymentRequest,InterceptDeployment,OperationMetadata>

createInterceptDeploymentSettings()

public UnaryCallSettings.Builder<CreateInterceptDeploymentRequest,Operation> createInterceptDeploymentSettings()

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

Returns
Type Description
Builder<CreateInterceptDeploymentRequest,Operation>

createInterceptEndpointGroupAssociationOperationSettings()

public OperationCallSettings.Builder<CreateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation,OperationMetadata> createInterceptEndpointGroupAssociationOperationSettings()

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

Returns
Type Description
Builder<CreateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation,OperationMetadata>

createInterceptEndpointGroupAssociationSettings()

public UnaryCallSettings.Builder<CreateInterceptEndpointGroupAssociationRequest,Operation> createInterceptEndpointGroupAssociationSettings()

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

Returns
Type Description
Builder<CreateInterceptEndpointGroupAssociationRequest,Operation>

createInterceptEndpointGroupOperationSettings()

public OperationCallSettings.Builder<CreateInterceptEndpointGroupRequest,InterceptEndpointGroup,OperationMetadata> createInterceptEndpointGroupOperationSettings()

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

Returns
Type Description
Builder<CreateInterceptEndpointGroupRequest,InterceptEndpointGroup,OperationMetadata>

createInterceptEndpointGroupSettings()

public UnaryCallSettings.Builder<CreateInterceptEndpointGroupRequest,Operation> createInterceptEndpointGroupSettings()

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

Returns
Type Description
Builder<CreateInterceptEndpointGroupRequest,Operation>

deleteInterceptDeploymentGroupOperationSettings()

public OperationCallSettings.Builder<DeleteInterceptDeploymentGroupRequest,Empty,OperationMetadata> deleteInterceptDeploymentGroupOperationSettings()

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

Returns
Type Description
Builder<DeleteInterceptDeploymentGroupRequest,Empty,OperationMetadata>

deleteInterceptDeploymentGroupSettings()

public UnaryCallSettings.Builder<DeleteInterceptDeploymentGroupRequest,Operation> deleteInterceptDeploymentGroupSettings()

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

Returns
Type Description
Builder<DeleteInterceptDeploymentGroupRequest,Operation>

deleteInterceptDeploymentOperationSettings()

public OperationCallSettings.Builder<DeleteInterceptDeploymentRequest,Empty,OperationMetadata> deleteInterceptDeploymentOperationSettings()

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

Returns
Type Description
Builder<DeleteInterceptDeploymentRequest,Empty,OperationMetadata>

deleteInterceptDeploymentSettings()

public UnaryCallSettings.Builder<DeleteInterceptDeploymentRequest,Operation> deleteInterceptDeploymentSettings()

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

Returns
Type Description
Builder<DeleteInterceptDeploymentRequest,Operation>

deleteInterceptEndpointGroupAssociationOperationSettings()

public OperationCallSettings.Builder<DeleteInterceptEndpointGroupAssociationRequest,Empty,OperationMetadata> deleteInterceptEndpointGroupAssociationOperationSettings()

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

Returns
Type Description
Builder<DeleteInterceptEndpointGroupAssociationRequest,Empty,OperationMetadata>

deleteInterceptEndpointGroupAssociationSettings()

public UnaryCallSettings.Builder<DeleteInterceptEndpointGroupAssociationRequest,Operation> deleteInterceptEndpointGroupAssociationSettings()

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

Returns
Type Description
Builder<DeleteInterceptEndpointGroupAssociationRequest,Operation>

deleteInterceptEndpointGroupOperationSettings()

public OperationCallSettings.Builder<DeleteInterceptEndpointGroupRequest,Empty,OperationMetadata> deleteInterceptEndpointGroupOperationSettings()

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

Returns
Type Description
Builder<DeleteInterceptEndpointGroupRequest,Empty,OperationMetadata>

deleteInterceptEndpointGroupSettings()

public UnaryCallSettings.Builder<DeleteInterceptEndpointGroupRequest,Operation> deleteInterceptEndpointGroupSettings()

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

Returns
Type Description
Builder<DeleteInterceptEndpointGroupRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getInterceptDeploymentGroupSettings()

public UnaryCallSettings.Builder<GetInterceptDeploymentGroupRequest,InterceptDeploymentGroup> getInterceptDeploymentGroupSettings()

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

Returns
Type Description
Builder<GetInterceptDeploymentGroupRequest,InterceptDeploymentGroup>

getInterceptDeploymentSettings()

public UnaryCallSettings.Builder<GetInterceptDeploymentRequest,InterceptDeployment> getInterceptDeploymentSettings()

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

Returns
Type Description
Builder<GetInterceptDeploymentRequest,InterceptDeployment>

getInterceptEndpointGroupAssociationSettings()

public UnaryCallSettings.Builder<GetInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation> getInterceptEndpointGroupAssociationSettings()

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

Returns
Type Description
Builder<GetInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation>

getInterceptEndpointGroupSettings()

public UnaryCallSettings.Builder<GetInterceptEndpointGroupRequest,InterceptEndpointGroup> getInterceptEndpointGroupSettings()

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

Returns
Type Description
Builder<GetInterceptEndpointGroupRequest,InterceptEndpointGroup>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

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

listInterceptDeploymentGroupsSettings()

public PagedCallSettings.Builder<ListInterceptDeploymentGroupsRequest,ListInterceptDeploymentGroupsResponse,InterceptClient.ListInterceptDeploymentGroupsPagedResponse> listInterceptDeploymentGroupsSettings()

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

Returns
Type Description
Builder<ListInterceptDeploymentGroupsRequest,ListInterceptDeploymentGroupsResponse,ListInterceptDeploymentGroupsPagedResponse>

listInterceptDeploymentsSettings()

public PagedCallSettings.Builder<ListInterceptDeploymentsRequest,ListInterceptDeploymentsResponse,InterceptClient.ListInterceptDeploymentsPagedResponse> listInterceptDeploymentsSettings()

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

Returns
Type Description
Builder<ListInterceptDeploymentsRequest,ListInterceptDeploymentsResponse,ListInterceptDeploymentsPagedResponse>

listInterceptEndpointGroupAssociationsSettings()

public PagedCallSettings.Builder<ListInterceptEndpointGroupAssociationsRequest,ListInterceptEndpointGroupAssociationsResponse,InterceptClient.ListInterceptEndpointGroupAssociationsPagedResponse> listInterceptEndpointGroupAssociationsSettings()

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

Returns
Type Description
Builder<ListInterceptEndpointGroupAssociationsRequest,ListInterceptEndpointGroupAssociationsResponse,ListInterceptEndpointGroupAssociationsPagedResponse>

listInterceptEndpointGroupsSettings()

public PagedCallSettings.Builder<ListInterceptEndpointGroupsRequest,ListInterceptEndpointGroupsResponse,InterceptClient.ListInterceptEndpointGroupsPagedResponse> listInterceptEndpointGroupsSettings()

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

Returns
Type Description
Builder<ListInterceptEndpointGroupsRequest,ListInterceptEndpointGroupsResponse,ListInterceptEndpointGroupsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,InterceptClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateInterceptDeploymentGroupOperationSettings()

public OperationCallSettings.Builder<UpdateInterceptDeploymentGroupRequest,InterceptDeploymentGroup,OperationMetadata> updateInterceptDeploymentGroupOperationSettings()

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

Returns
Type Description
Builder<UpdateInterceptDeploymentGroupRequest,InterceptDeploymentGroup,OperationMetadata>

updateInterceptDeploymentGroupSettings()

public UnaryCallSettings.Builder<UpdateInterceptDeploymentGroupRequest,Operation> updateInterceptDeploymentGroupSettings()

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

Returns
Type Description
Builder<UpdateInterceptDeploymentGroupRequest,Operation>

updateInterceptDeploymentOperationSettings()

public OperationCallSettings.Builder<UpdateInterceptDeploymentRequest,InterceptDeployment,OperationMetadata> updateInterceptDeploymentOperationSettings()

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

Returns
Type Description
Builder<UpdateInterceptDeploymentRequest,InterceptDeployment,OperationMetadata>

updateInterceptDeploymentSettings()

public UnaryCallSettings.Builder<UpdateInterceptDeploymentRequest,Operation> updateInterceptDeploymentSettings()

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

Returns
Type Description
Builder<UpdateInterceptDeploymentRequest,Operation>

updateInterceptEndpointGroupAssociationOperationSettings()

public OperationCallSettings.Builder<UpdateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation,OperationMetadata> updateInterceptEndpointGroupAssociationOperationSettings()

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

Returns
Type Description
Builder<UpdateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation,OperationMetadata>

updateInterceptEndpointGroupAssociationSettings()

public UnaryCallSettings.Builder<UpdateInterceptEndpointGroupAssociationRequest,Operation> updateInterceptEndpointGroupAssociationSettings()

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

Returns
Type Description
Builder<UpdateInterceptEndpointGroupAssociationRequest,Operation>

updateInterceptEndpointGroupOperationSettings()

public OperationCallSettings.Builder<UpdateInterceptEndpointGroupRequest,InterceptEndpointGroup,OperationMetadata> updateInterceptEndpointGroupOperationSettings()

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

Returns
Type Description
Builder<UpdateInterceptEndpointGroupRequest,InterceptEndpointGroup,OperationMetadata>

updateInterceptEndpointGroupSettings()

public UnaryCallSettings.Builder<UpdateInterceptEndpointGroupRequest,Operation> updateInterceptEndpointGroupSettings()

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

Returns
Type Description
Builder<UpdateInterceptEndpointGroupRequest,Operation>