Class ClientConnectorServicesServiceStubSettings.Builder (0.20.0)

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

Builder for ClientConnectorServicesServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ClientConnectorServicesServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ClientConnectorServicesServiceStubSettings settings)

protected Builder(ClientConnectorServicesServiceStubSettings settings)
Parameter
NameDescription
settingsClientConnectorServicesServiceStubSettings

Methods

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

public ClientConnectorServicesServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ClientConnectorServicesServiceStubSettings.Builder

build()

public ClientConnectorServicesServiceStubSettings build()
Returns
TypeDescription
ClientConnectorServicesServiceStubSettings
Overrides
Exceptions
TypeDescription
IOException

createClientConnectorServiceOperationSettings()

public OperationCallSettings.Builder<CreateClientConnectorServiceRequest,ClientConnectorService,ClientConnectorServiceOperationMetadata> createClientConnectorServiceOperationSettings()

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

Returns
TypeDescription
Builder<CreateClientConnectorServiceRequest,ClientConnectorService,ClientConnectorServiceOperationMetadata>

createClientConnectorServiceSettings()

public UnaryCallSettings.Builder<CreateClientConnectorServiceRequest,Operation> createClientConnectorServiceSettings()

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

Returns
TypeDescription
Builder<CreateClientConnectorServiceRequest,Operation>

deleteClientConnectorServiceOperationSettings()

public OperationCallSettings.Builder<DeleteClientConnectorServiceRequest,Empty,ClientConnectorServiceOperationMetadata> deleteClientConnectorServiceOperationSettings()

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

Returns
TypeDescription
Builder<DeleteClientConnectorServiceRequest,Empty,ClientConnectorServiceOperationMetadata>

deleteClientConnectorServiceSettings()

public UnaryCallSettings.Builder<DeleteClientConnectorServiceRequest,Operation> deleteClientConnectorServiceSettings()

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

Returns
TypeDescription
Builder<DeleteClientConnectorServiceRequest,Operation>

getClientConnectorServiceSettings()

public UnaryCallSettings.Builder<GetClientConnectorServiceRequest,ClientConnectorService> getClientConnectorServiceSettings()

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

Returns
TypeDescription
Builder<GetClientConnectorServiceRequest,ClientConnectorService>

getIamPolicySettings()

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

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

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

getLocationSettings()

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

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

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

listClientConnectorServicesSettings()

public PagedCallSettings.Builder<ListClientConnectorServicesRequest,ListClientConnectorServicesResponse,ClientConnectorServicesServiceClient.ListClientConnectorServicesPagedResponse> listClientConnectorServicesSettings()

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

Returns
TypeDescription
Builder<ListClientConnectorServicesRequest,ListClientConnectorServicesResponse,ListClientConnectorServicesPagedResponse>

listLocationsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

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

updateClientConnectorServiceOperationSettings()

public OperationCallSettings.Builder<UpdateClientConnectorServiceRequest,ClientConnectorService,ClientConnectorServiceOperationMetadata> updateClientConnectorServiceOperationSettings()

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

Returns
TypeDescription
Builder<UpdateClientConnectorServiceRequest,ClientConnectorService,ClientConnectorServiceOperationMetadata>

updateClientConnectorServiceSettings()

public UnaryCallSettings.Builder<UpdateClientConnectorServiceRequest,Operation> updateClientConnectorServiceSettings()

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

Returns
TypeDescription
Builder<UpdateClientConnectorServiceRequest,Operation>