Package com.google.cloud.apihub.v1.stub
Class ProvisioningStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ProvisioningStubSettings,ProvisioningStubSettings.Builder>
com.google.cloud.apihub.v1.stub.ProvisioningStubSettings.Builder
- Enclosing class:
- ProvisioningStubSettings
public static class ProvisioningStubSettings.Builder
extends StubSettings.Builder<ProvisioningStubSettings,ProvisioningStubSettings.Builder>
Builder for ProvisioningStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ProvisioningStubSettings 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 createApiHubInstance.Returns the builder for the settings used for calls to createApiHubInstance.OperationCallSettings.Builder<DeleteApiHubInstanceRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteApiHubInstance.Returns the builder for the settings used for calls to deleteApiHubInstance.Returns the builder for the settings used for calls to getApiHubInstance.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, ProvisioningClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to lookupApiHubInstance.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 ProvisioningStubSettings.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() -
createApiHubInstanceSettings
public UnaryCallSettings.Builder<CreateApiHubInstanceRequest,Operation> createApiHubInstanceSettings()Returns the builder for the settings used for calls to createApiHubInstance. -
createApiHubInstanceOperationSettings
public OperationCallSettings.Builder<CreateApiHubInstanceRequest,ApiHubInstance, createApiHubInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createApiHubInstance. -
deleteApiHubInstanceSettings
public UnaryCallSettings.Builder<DeleteApiHubInstanceRequest,Operation> deleteApiHubInstanceSettings()Returns the builder for the settings used for calls to deleteApiHubInstance. -
deleteApiHubInstanceOperationSettings
public OperationCallSettings.Builder<DeleteApiHubInstanceRequest,com.google.protobuf.Empty, deleteApiHubInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteApiHubInstance. -
getApiHubInstanceSettings
public UnaryCallSettings.Builder<GetApiHubInstanceRequest,ApiHubInstance> getApiHubInstanceSettings()Returns the builder for the settings used for calls to getApiHubInstance. -
lookupApiHubInstanceSettings
public UnaryCallSettings.Builder<LookupApiHubInstanceRequest,LookupApiHubInstanceResponse> lookupApiHubInstanceSettings()Returns the builder for the settings used for calls to lookupApiHubInstance. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()ProvisioningClient.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<ProvisioningStubSettings,ProvisioningStubSettings.Builder> - Throws:
IOException
-