Package com.google.cloud.apihub.v1
Class ApiHubDiscoverySettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ApiHubDiscoverySettings,ApiHubDiscoverySettings.Builder>
com.google.cloud.apihub.v1.ApiHubDiscoverySettings.Builder
- Enclosing class:
- ApiHubDiscoverySettings
public static class ApiHubDiscoverySettings.Builder
extends ClientSettings.Builder<ApiHubDiscoverySettings,ApiHubDiscoverySettings.Builder>
Builder for ApiHubDiscoverySettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ApiHubDiscoverySettings settings) protectedBuilder(ApiHubDiscoveryStubSettings.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 getDiscoveredApiObservation.Returns the builder for the settings used for calls to getDiscoveredApi.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListDiscoveredApiObservationsRequest,ListDiscoveredApiObservationsResponse, ApiHubDiscoveryClient.ListDiscoveredApiObservationsPagedResponse> Returns the builder for the settings used for calls to listDiscoveredApiObservations.PagedCallSettings.Builder<ListDiscoveredApiOperationsRequest,ListDiscoveredApiOperationsResponse, ApiHubDiscoveryClient.ListDiscoveredApiOperationsPagedResponse> Returns the builder for the settings used for calls to listDiscoveredApiOperations.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, ApiHubDiscoveryClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.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 ApiHubDiscoverySettings.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.
-
listDiscoveredApiObservationsSettings
public PagedCallSettings.Builder<ListDiscoveredApiObservationsRequest,ListDiscoveredApiObservationsResponse, listDiscoveredApiObservationsSettings()ApiHubDiscoveryClient.ListDiscoveredApiObservationsPagedResponse> Returns the builder for the settings used for calls to listDiscoveredApiObservations. -
getDiscoveredApiObservationSettings
public UnaryCallSettings.Builder<GetDiscoveredApiObservationRequest,DiscoveredApiObservation> getDiscoveredApiObservationSettings()Returns the builder for the settings used for calls to getDiscoveredApiObservation. -
listDiscoveredApiOperationsSettings
public PagedCallSettings.Builder<ListDiscoveredApiOperationsRequest,ListDiscoveredApiOperationsResponse, listDiscoveredApiOperationsSettings()ApiHubDiscoveryClient.ListDiscoveredApiOperationsPagedResponse> Returns the builder for the settings used for calls to listDiscoveredApiOperations. -
getDiscoveredApiOperationSettings
public UnaryCallSettings.Builder<GetDiscoveredApiOperationRequest,DiscoveredApiOperation> getDiscoveredApiOperationSettings()Returns the builder for the settings used for calls to getDiscoveredApi. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()ApiHubDiscoveryClient.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<ApiHubDiscoverySettings,ApiHubDiscoverySettings.Builder> - Throws:
IOException
-