Package com.google.cloud.apihub.v1.stub
Class ApiHubDiscoveryStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ApiHubDiscoveryStubSettings,ApiHubDiscoveryStubSettings.Builder>
com.google.cloud.apihub.v1.stub.ApiHubDiscoveryStubSettings.Builder
- Enclosing class:
- ApiHubDiscoveryStubSettings
public static class ApiHubDiscoveryStubSettings.Builder
extends StubSettings.Builder<ApiHubDiscoveryStubSettings,ApiHubDiscoveryStubSettings.Builder>
Builder for ApiHubDiscoveryStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ApiHubDiscoveryStubSettings settings) -
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.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 ApiHubDiscoveryStubSettings.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() -
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 classStubSettings.Builder<ApiHubDiscoveryStubSettings,ApiHubDiscoveryStubSettings.Builder> - Throws:
IOException
-