Class InternalRangeServiceSettings.Builder (1.94.0)

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

Builder for InternalRangeServiceSettings.

Inheritance

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

protected Builder(InternalRangeServiceSettings settings)
Parameter
Name Description
settings InternalRangeServiceSettings

Builder(InternalRangeServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createInternalRangeOperationSettings()

public OperationCallSettings.Builder<CreateInternalRangeRequest,InternalRange,OperationMetadata> createInternalRangeOperationSettings()

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

Returns
Type Description
Builder<CreateInternalRangeRequest,InternalRange,OperationMetadata>

createInternalRangeSettings()

public UnaryCallSettings.Builder<CreateInternalRangeRequest,Operation> createInternalRangeSettings()

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

Returns
Type Description
Builder<CreateInternalRangeRequest,Operation>

deleteInternalRangeOperationSettings()

public OperationCallSettings.Builder<DeleteInternalRangeRequest,Empty,OperationMetadata> deleteInternalRangeOperationSettings()

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

Returns
Type Description
Builder<DeleteInternalRangeRequest,Empty,OperationMetadata>

deleteInternalRangeSettings()

public UnaryCallSettings.Builder<DeleteInternalRangeRequest,Operation> deleteInternalRangeSettings()

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

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

getInternalRangeSettings()

public UnaryCallSettings.Builder<GetInternalRangeRequest,InternalRange> getInternalRangeSettings()

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

Returns
Type Description
Builder<GetInternalRangeRequest,InternalRange>

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

listInternalRangesSettings()

public PagedCallSettings.Builder<ListInternalRangesRequest,ListInternalRangesResponse,InternalRangeServiceClient.ListInternalRangesPagedResponse> listInternalRangesSettings()

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

Returns
Type Description
Builder<ListInternalRangesRequest,ListInternalRangesResponse,ListInternalRangesPagedResponse>

listLocationsSettings()

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

updateInternalRangeOperationSettings()

public OperationCallSettings.Builder<UpdateInternalRangeRequest,InternalRange,OperationMetadata> updateInternalRangeOperationSettings()

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

Returns
Type Description
Builder<UpdateInternalRangeRequest,InternalRange,OperationMetadata>

updateInternalRangeSettings()

public UnaryCallSettings.Builder<UpdateInternalRangeRequest,Operation> updateInternalRangeSettings()

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

Returns
Type Description
Builder<UpdateInternalRangeRequest,Operation>