Package com.google.cloud.apihub.v1.stub
Class ApiHubStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ApiHubStubSettings,ApiHubStubSettings.Builder>
com.google.cloud.apihub.v1.stub.ApiHubStubSettings.Builder
- Enclosing class:
- ApiHubStubSettings
public static class ApiHubStubSettings.Builder
extends StubSettings.Builder<ApiHubStubSettings,ApiHubStubSettings.Builder>
Builder for ApiHubStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ApiHubStubSettings 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 createApi.Returns the builder for the settings used for calls to createApi.Returns the builder for the settings used for calls to createAttribute.Returns the builder for the settings used for calls to createDeployment.Returns the builder for the settings used for calls to createExternalApi.Returns the builder for the settings used for calls to createSpec.Returns the builder for the settings used for calls to createVersion.UnaryCallSettings.Builder<DeleteApiOperationRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteApi.UnaryCallSettings.Builder<DeleteApiRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteApi.UnaryCallSettings.Builder<DeleteAttributeRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteAttribute.UnaryCallSettings.Builder<DeleteDeploymentRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteDeployment.UnaryCallSettings.Builder<DeleteExternalApiRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteExternalApi.UnaryCallSettings.Builder<DeleteSpecRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteSpec.UnaryCallSettings.Builder<DeleteVersionRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteVersion.Returns the builder for the settings used for calls to getApi.Returns the builder for the settings used for calls to getApi.Returns the builder for the settings used for calls to getAttribute.Returns the builder for the settings used for calls to getDefinition.Returns the builder for the settings used for calls to getDeployment.Returns the builder for the settings used for calls to getExternalApi.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getSpecContents.Returns the builder for the settings used for calls to getSpec.Returns the builder for the settings used for calls to getVersion.PagedCallSettings.Builder<ListApiOperationsRequest,ListApiOperationsResponse, ApiHubClient.ListApiOperationsPagedResponse> Returns the builder for the settings used for calls to listApiOperations.Returns the builder for the settings used for calls to listApis.PagedCallSettings.Builder<ListAttributesRequest,ListAttributesResponse, ApiHubClient.ListAttributesPagedResponse> Returns the builder for the settings used for calls to listAttributes.PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse, ApiHubClient.ListDeploymentsPagedResponse> Returns the builder for the settings used for calls to listDeployments.PagedCallSettings.Builder<ListExternalApisRequest,ListExternalApisResponse, ApiHubClient.ListExternalApisPagedResponse> Returns the builder for the settings used for calls to listExternalApis.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, ApiHubClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to listSpecs.PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse, ApiHubClient.ListVersionsPagedResponse> Returns the builder for the settings used for calls to listVersions.PagedCallSettings.Builder<SearchResourcesRequest,SearchResourcesResponse, ApiHubClient.SearchResourcesPagedResponse> Returns the builder for the settings used for calls to searchResources.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateApi.Returns the builder for the settings used for calls to updateApi.Returns the builder for the settings used for calls to updateAttribute.Returns the builder for the settings used for calls to updateDeployment.Returns the builder for the settings used for calls to updateExternalApi.Returns the builder for the settings used for calls to updateSpec.Returns the builder for the settings used for calls to updateVersion.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 ApiHubStubSettings.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() -
createApiSettings
Returns the builder for the settings used for calls to createApi. -
getApiSettings
Returns the builder for the settings used for calls to getApi. -
listApisSettings
public PagedCallSettings.Builder<ListApisRequest,ListApisResponse, listApisSettings()ApiHubClient.ListApisPagedResponse> Returns the builder for the settings used for calls to listApis. -
updateApiSettings
Returns the builder for the settings used for calls to updateApi. -
deleteApiSettings
Returns the builder for the settings used for calls to deleteApi. -
createVersionSettings
Returns the builder for the settings used for calls to createVersion. -
getVersionSettings
Returns the builder for the settings used for calls to getVersion. -
listVersionsSettings
public PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse, listVersionsSettings()ApiHubClient.ListVersionsPagedResponse> Returns the builder for the settings used for calls to listVersions. -
updateVersionSettings
Returns the builder for the settings used for calls to updateVersion. -
deleteVersionSettings
public UnaryCallSettings.Builder<DeleteVersionRequest,com.google.protobuf.Empty> deleteVersionSettings()Returns the builder for the settings used for calls to deleteVersion. -
createSpecSettings
Returns the builder for the settings used for calls to createSpec. -
getSpecSettings
Returns the builder for the settings used for calls to getSpec. -
getSpecContentsSettings
Returns the builder for the settings used for calls to getSpecContents. -
listSpecsSettings
public PagedCallSettings.Builder<ListSpecsRequest,ListSpecsResponse, listSpecsSettings()ApiHubClient.ListSpecsPagedResponse> Returns the builder for the settings used for calls to listSpecs. -
updateSpecSettings
Returns the builder for the settings used for calls to updateSpec. -
deleteSpecSettings
Returns the builder for the settings used for calls to deleteSpec. -
createApiOperationSettings
public UnaryCallSettings.Builder<CreateApiOperationRequest,ApiOperation> createApiOperationSettings()Returns the builder for the settings used for calls to createApi. -
getApiOperationSettings
Returns the builder for the settings used for calls to getApi. -
listApiOperationsSettings
public PagedCallSettings.Builder<ListApiOperationsRequest,ListApiOperationsResponse, listApiOperationsSettings()ApiHubClient.ListApiOperationsPagedResponse> Returns the builder for the settings used for calls to listApiOperations. -
updateApiOperationSettings
public UnaryCallSettings.Builder<UpdateApiOperationRequest,ApiOperation> updateApiOperationSettings()Returns the builder for the settings used for calls to updateApi. -
deleteApiOperationSettings
public UnaryCallSettings.Builder<DeleteApiOperationRequest,com.google.protobuf.Empty> deleteApiOperationSettings()Returns the builder for the settings used for calls to deleteApi. -
getDefinitionSettings
Returns the builder for the settings used for calls to getDefinition. -
createDeploymentSettings
Returns the builder for the settings used for calls to createDeployment. -
getDeploymentSettings
Returns the builder for the settings used for calls to getDeployment. -
listDeploymentsSettings
public PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse, listDeploymentsSettings()ApiHubClient.ListDeploymentsPagedResponse> Returns the builder for the settings used for calls to listDeployments. -
updateDeploymentSettings
Returns the builder for the settings used for calls to updateDeployment. -
deleteDeploymentSettings
public UnaryCallSettings.Builder<DeleteDeploymentRequest,com.google.protobuf.Empty> deleteDeploymentSettings()Returns the builder for the settings used for calls to deleteDeployment. -
createAttributeSettings
Returns the builder for the settings used for calls to createAttribute. -
getAttributeSettings
Returns the builder for the settings used for calls to getAttribute. -
updateAttributeSettings
Returns the builder for the settings used for calls to updateAttribute. -
deleteAttributeSettings
public UnaryCallSettings.Builder<DeleteAttributeRequest,com.google.protobuf.Empty> deleteAttributeSettings()Returns the builder for the settings used for calls to deleteAttribute. -
listAttributesSettings
public PagedCallSettings.Builder<ListAttributesRequest,ListAttributesResponse, listAttributesSettings()ApiHubClient.ListAttributesPagedResponse> Returns the builder for the settings used for calls to listAttributes. -
searchResourcesSettings
public PagedCallSettings.Builder<SearchResourcesRequest,SearchResourcesResponse, searchResourcesSettings()ApiHubClient.SearchResourcesPagedResponse> Returns the builder for the settings used for calls to searchResources. -
createExternalApiSettings
Returns the builder for the settings used for calls to createExternalApi. -
getExternalApiSettings
Returns the builder for the settings used for calls to getExternalApi. -
updateExternalApiSettings
Returns the builder for the settings used for calls to updateExternalApi. -
deleteExternalApiSettings
public UnaryCallSettings.Builder<DeleteExternalApiRequest,com.google.protobuf.Empty> deleteExternalApiSettings()Returns the builder for the settings used for calls to deleteExternalApi. -
listExternalApisSettings
public PagedCallSettings.Builder<ListExternalApisRequest,ListExternalApisResponse, listExternalApisSettings()ApiHubClient.ListExternalApisPagedResponse> Returns the builder for the settings used for calls to listExternalApis. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()ApiHubClient.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<ApiHubStubSettings,ApiHubStubSettings.Builder> - Throws:
IOException
-