Class DepServiceSettings.Builder (0.9.0)

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

Builder for DepServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DepServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DepServiceSettings settings)

protected Builder(DepServiceSettings settings)
Parameter
Name Description
settings DepServiceSettings

Builder(DepServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createLbRouteExtensionOperationSettings()

public OperationCallSettings.Builder<CreateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata> createLbRouteExtensionOperationSettings()

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

Returns
Type Description
Builder<CreateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata>

createLbRouteExtensionSettings()

public UnaryCallSettings.Builder<CreateLbRouteExtensionRequest,Operation> createLbRouteExtensionSettings()

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

Returns
Type Description
Builder<CreateLbRouteExtensionRequest,Operation>

createLbTrafficExtensionOperationSettings()

public OperationCallSettings.Builder<CreateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata> createLbTrafficExtensionOperationSettings()

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

Returns
Type Description
Builder<CreateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata>

createLbTrafficExtensionSettings()

public UnaryCallSettings.Builder<CreateLbTrafficExtensionRequest,Operation> createLbTrafficExtensionSettings()

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

Returns
Type Description
Builder<CreateLbTrafficExtensionRequest,Operation>

deleteLbRouteExtensionOperationSettings()

public OperationCallSettings.Builder<DeleteLbRouteExtensionRequest,Empty,OperationMetadata> deleteLbRouteExtensionOperationSettings()

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

Returns
Type Description
Builder<DeleteLbRouteExtensionRequest,Empty,OperationMetadata>

deleteLbRouteExtensionSettings()

public UnaryCallSettings.Builder<DeleteLbRouteExtensionRequest,Operation> deleteLbRouteExtensionSettings()

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

Returns
Type Description
Builder<DeleteLbRouteExtensionRequest,Operation>

deleteLbTrafficExtensionOperationSettings()

public OperationCallSettings.Builder<DeleteLbTrafficExtensionRequest,Empty,OperationMetadata> deleteLbTrafficExtensionOperationSettings()

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

Returns
Type Description
Builder<DeleteLbTrafficExtensionRequest,Empty,OperationMetadata>

deleteLbTrafficExtensionSettings()

public UnaryCallSettings.Builder<DeleteLbTrafficExtensionRequest,Operation> deleteLbTrafficExtensionSettings()

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

Returns
Type Description
Builder<DeleteLbTrafficExtensionRequest,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>

getLbRouteExtensionSettings()

public UnaryCallSettings.Builder<GetLbRouteExtensionRequest,LbRouteExtension> getLbRouteExtensionSettings()

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

Returns
Type Description
Builder<GetLbRouteExtensionRequest,LbRouteExtension>

getLbTrafficExtensionSettings()

public UnaryCallSettings.Builder<GetLbTrafficExtensionRequest,LbTrafficExtension> getLbTrafficExtensionSettings()

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

Returns
Type Description
Builder<GetLbTrafficExtensionRequest,LbTrafficExtension>

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 DepServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DepServiceStubSettings.Builder

listLbRouteExtensionsSettings()

public PagedCallSettings.Builder<ListLbRouteExtensionsRequest,ListLbRouteExtensionsResponse,DepServiceClient.ListLbRouteExtensionsPagedResponse> listLbRouteExtensionsSettings()

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

Returns
Type Description
Builder<ListLbRouteExtensionsRequest,ListLbRouteExtensionsResponse,ListLbRouteExtensionsPagedResponse>

listLbTrafficExtensionsSettings()

public PagedCallSettings.Builder<ListLbTrafficExtensionsRequest,ListLbTrafficExtensionsResponse,DepServiceClient.ListLbTrafficExtensionsPagedResponse> listLbTrafficExtensionsSettings()

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

Returns
Type Description
Builder<ListLbTrafficExtensionsRequest,ListLbTrafficExtensionsResponse,ListLbTrafficExtensionsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DepServiceClient.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>

updateLbRouteExtensionOperationSettings()

public OperationCallSettings.Builder<UpdateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata> updateLbRouteExtensionOperationSettings()

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

Returns
Type Description
Builder<UpdateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata>

updateLbRouteExtensionSettings()

public UnaryCallSettings.Builder<UpdateLbRouteExtensionRequest,Operation> updateLbRouteExtensionSettings()

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

Returns
Type Description
Builder<UpdateLbRouteExtensionRequest,Operation>

updateLbTrafficExtensionOperationSettings()

public OperationCallSettings.Builder<UpdateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata> updateLbTrafficExtensionOperationSettings()

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

Returns
Type Description
Builder<UpdateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata>

updateLbTrafficExtensionSettings()

public UnaryCallSettings.Builder<UpdateLbTrafficExtensionRequest,Operation> updateLbTrafficExtensionSettings()

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

Returns
Type Description
Builder<UpdateLbTrafficExtensionRequest,Operation>