Class DepServiceStubSettings.Builder (0.2.0)

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

Builder for DepServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DepServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DepServiceStubSettings settings)

protected Builder(DepServiceStubSettings settings)
Parameter
Name Description
settings DepServiceStubSettings

Methods

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

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

build()

public DepServiceStubSettings build()
Returns
Type Description
DepServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

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>