Package com.google.cloud.apihub.v1.stub
Class ApiHubCurateStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ApiHubCurateStubSettings,ApiHubCurateStubSettings.Builder>
com.google.cloud.apihub.v1.stub.ApiHubCurateStubSettings.Builder
- Enclosing class:
- ApiHubCurateStubSettings
public static class ApiHubCurateStubSettings.Builder
extends StubSettings.Builder<ApiHubCurateStubSettings,ApiHubCurateStubSettings.Builder>
Builder for ApiHubCurateStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ApiHubCurateStubSettings 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 createCuration.UnaryCallSettings.Builder<DeleteCurationRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteCuration.Returns the builder for the settings used for calls to getCuration.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListCurationsRequest,ListCurationsResponse, ApiHubCurateClient.ListCurationsPagedResponse> Returns the builder for the settings used for calls to listCurations.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, ApiHubCurateClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateCuration.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 ApiHubCurateStubSettings.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() -
createCurationSettings
Returns the builder for the settings used for calls to createCuration. -
getCurationSettings
Returns the builder for the settings used for calls to getCuration. -
listCurationsSettings
public PagedCallSettings.Builder<ListCurationsRequest,ListCurationsResponse, listCurationsSettings()ApiHubCurateClient.ListCurationsPagedResponse> Returns the builder for the settings used for calls to listCurations. -
updateCurationSettings
Returns the builder for the settings used for calls to updateCuration. -
deleteCurationSettings
public UnaryCallSettings.Builder<DeleteCurationRequest,com.google.protobuf.Empty> deleteCurationSettings()Returns the builder for the settings used for calls to deleteCuration. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()ApiHubCurateClient.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<ApiHubCurateStubSettings,ApiHubCurateStubSettings.Builder> - Throws:
IOException
-