Class InternalRangeServiceStubSettings.Builder (1.69.0)

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

Builder for InternalRangeServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InternalRangeServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InternalRangeServiceStubSettings settings)

protected Builder(InternalRangeServiceStubSettings settings)
Parameter
Name Description
settings InternalRangeServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

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>