Package com.google.cloud.apihub.v1.stub
Class HostProjectRegistrationServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<HostProjectRegistrationServiceStubSettings,HostProjectRegistrationServiceStubSettings.Builder>
com.google.cloud.apihub.v1.stub.HostProjectRegistrationServiceStubSettings.Builder
- Enclosing class:
- HostProjectRegistrationServiceStubSettings
public static class HostProjectRegistrationServiceStubSettings.Builder
extends StubSettings.Builder<HostProjectRegistrationServiceStubSettings,HostProjectRegistrationServiceStubSettings.Builder>
Builder for HostProjectRegistrationServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protected -
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 createHostProjectRegistration.Returns the builder for the settings used for calls to getHostProjectRegistration.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListHostProjectRegistrationsRequest,ListHostProjectRegistrationsResponse, HostProjectRegistrationServiceClient.ListHostProjectRegistrationsPagedResponse> Returns the builder for the settings used for calls to listHostProjectRegistrations.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, HostProjectRegistrationServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public HostProjectRegistrationServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
createHostProjectRegistrationSettings
public UnaryCallSettings.Builder<CreateHostProjectRegistrationRequest,HostProjectRegistration> createHostProjectRegistrationSettings()Returns the builder for the settings used for calls to createHostProjectRegistration. -
getHostProjectRegistrationSettings
public UnaryCallSettings.Builder<GetHostProjectRegistrationRequest,HostProjectRegistration> getHostProjectRegistrationSettings()Returns the builder for the settings used for calls to getHostProjectRegistration. -
listHostProjectRegistrationsSettings
public PagedCallSettings.Builder<ListHostProjectRegistrationsRequest,ListHostProjectRegistrationsResponse, listHostProjectRegistrationsSettings()HostProjectRegistrationServiceClient.ListHostProjectRegistrationsPagedResponse> Returns the builder for the settings used for calls to listHostProjectRegistrations. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()HostProjectRegistrationServiceClient.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 classStubSettings.Builder<HostProjectRegistrationServiceStubSettings,HostProjectRegistrationServiceStubSettings.Builder> - Throws:
IOException
-