Class RegistrationServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<RegistrationServiceSettings,RegistrationServiceSettings.Builder>
com.google.cloud.servicedirectory.v1beta1.RegistrationServiceSettings.Builder
- Enclosing class:
- RegistrationServiceSettings
public static class RegistrationServiceSettings.Builder
extends ClientSettings.Builder<RegistrationServiceSettings,RegistrationServiceSettings.Builder>
Builder for RegistrationServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(RegistrationServiceSettings settings) protectedBuilder(RegistrationServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createEndpoint.Returns the builder for the settings used for calls to createNamespace.Returns the builder for the settings used for calls to createService.UnaryCallSettings.Builder<DeleteEndpointRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteEndpoint.UnaryCallSettings.Builder<DeleteNamespaceRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteNamespace.UnaryCallSettings.Builder<DeleteServiceRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteService.Returns the builder for the settings used for calls to getEndpoint.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getNamespace.Returns the builder for the settings used for calls to getService.PagedCallSettings.Builder<ListEndpointsRequest,ListEndpointsResponse, RegistrationServiceClient.ListEndpointsPagedResponse> Returns the builder for the settings used for calls to listEndpoints.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, RegistrationServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListNamespacesRequest,ListNamespacesResponse, RegistrationServiceClient.ListNamespacesPagedResponse> Returns the builder for the settings used for calls to listNamespaces.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse, RegistrationServiceClient.ListServicesPagedResponse> Returns the builder for the settings used for calls to listServices.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateEndpoint.Returns the builder for the settings used for calls to updateNamespace.Returns the builder for the settings used for calls to updateService.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public RegistrationServiceSettings.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.
-
createNamespaceSettings
Returns the builder for the settings used for calls to createNamespace. -
listNamespacesSettings
public PagedCallSettings.Builder<ListNamespacesRequest,ListNamespacesResponse, listNamespacesSettings()RegistrationServiceClient.ListNamespacesPagedResponse> Returns the builder for the settings used for calls to listNamespaces. -
getNamespaceSettings
Returns the builder for the settings used for calls to getNamespace. -
updateNamespaceSettings
Returns the builder for the settings used for calls to updateNamespace. -
deleteNamespaceSettings
public UnaryCallSettings.Builder<DeleteNamespaceRequest,com.google.protobuf.Empty> deleteNamespaceSettings()Returns the builder for the settings used for calls to deleteNamespace. -
createServiceSettings
Returns the builder for the settings used for calls to createService. -
listServicesSettings
public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse, listServicesSettings()RegistrationServiceClient.ListServicesPagedResponse> Returns the builder for the settings used for calls to listServices. -
getServiceSettings
Returns the builder for the settings used for calls to getService. -
updateServiceSettings
Returns the builder for the settings used for calls to updateService. -
deleteServiceSettings
public UnaryCallSettings.Builder<DeleteServiceRequest,com.google.protobuf.Empty> deleteServiceSettings()Returns the builder for the settings used for calls to deleteService. -
createEndpointSettings
Returns the builder for the settings used for calls to createEndpoint. -
listEndpointsSettings
public PagedCallSettings.Builder<ListEndpointsRequest,ListEndpointsResponse, listEndpointsSettings()RegistrationServiceClient.ListEndpointsPagedResponse> Returns the builder for the settings used for calls to listEndpoints. -
getEndpointSettings
Returns the builder for the settings used for calls to getEndpoint. -
updateEndpointSettings
Returns the builder for the settings used for calls to updateEndpoint. -
deleteEndpointSettings
public UnaryCallSettings.Builder<DeleteEndpointRequest,com.google.protobuf.Empty> deleteEndpointSettings()Returns the builder for the settings used for calls to deleteEndpoint. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()RegistrationServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<RegistrationServiceSettings,RegistrationServiceSettings.Builder> - Throws:
IOException
-