public static class ApiHubStubSettings.Builder extends StubSettings.Builder<ApiHubStubSettings,ApiHubStubSettings.Builder>
Builder for ApiHubStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ApiHubStubSettings settings)
protected Builder(ApiHubStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
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.
build()
public ApiHubStubSettings build()
Overrides
createApiSettings()
public UnaryCallSettings.Builder<CreateApiRequest,Api> createApiSettings()
Returns the builder for the settings used for calls to createApi.
createAttributeSettings()
public UnaryCallSettings.Builder<CreateAttributeRequest,Attribute> createAttributeSettings()
Returns the builder for the settings used for calls to createAttribute.
createDeploymentSettings()
public UnaryCallSettings.Builder<CreateDeploymentRequest,Deployment> createDeploymentSettings()
Returns the builder for the settings used for calls to createDeployment.
createExternalApiSettings()
public UnaryCallSettings.Builder<CreateExternalApiRequest,ExternalApi> createExternalApiSettings()
Returns the builder for the settings used for calls to createExternalApi.
createSpecSettings()
public UnaryCallSettings.Builder<CreateSpecRequest,Spec> createSpecSettings()
Returns the builder for the settings used for calls to createSpec.
createVersionSettings()
public UnaryCallSettings.Builder<CreateVersionRequest,Version> createVersionSettings()
Returns the builder for the settings used for calls to createVersion.
deleteApiSettings()
public UnaryCallSettings.Builder<DeleteApiRequest,Empty> deleteApiSettings()
Returns the builder for the settings used for calls to deleteApi.
deleteAttributeSettings()
public UnaryCallSettings.Builder<DeleteAttributeRequest,Empty> deleteAttributeSettings()
Returns the builder for the settings used for calls to deleteAttribute.
deleteDeploymentSettings()
public UnaryCallSettings.Builder<DeleteDeploymentRequest,Empty> deleteDeploymentSettings()
Returns the builder for the settings used for calls to deleteDeployment.
deleteExternalApiSettings()
public UnaryCallSettings.Builder<DeleteExternalApiRequest,Empty> deleteExternalApiSettings()
Returns the builder for the settings used for calls to deleteExternalApi.
deleteSpecSettings()
public UnaryCallSettings.Builder<DeleteSpecRequest,Empty> deleteSpecSettings()
Returns the builder for the settings used for calls to deleteSpec.
deleteVersionSettings()
public UnaryCallSettings.Builder<DeleteVersionRequest,Empty> deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.
getApiOperationSettings()
public UnaryCallSettings.Builder<GetApiOperationRequest,ApiOperation> getApiOperationSettings()
Returns the builder for the settings used for calls to getApi.
getApiSettings()
public UnaryCallSettings.Builder<GetApiRequest,Api> getApiSettings()
Returns the builder for the settings used for calls to getApi.
getAttributeSettings()
public UnaryCallSettings.Builder<GetAttributeRequest,Attribute> getAttributeSettings()
Returns the builder for the settings used for calls to getAttribute.
getDefinitionSettings()
public UnaryCallSettings.Builder<GetDefinitionRequest,Definition> getDefinitionSettings()
Returns the builder for the settings used for calls to getDefinition.
getDeploymentSettings()
public UnaryCallSettings.Builder<GetDeploymentRequest,Deployment> getDeploymentSettings()
Returns the builder for the settings used for calls to getDeployment.
getExternalApiSettings()
public UnaryCallSettings.Builder<GetExternalApiRequest,ExternalApi> getExternalApiSettings()
Returns the builder for the settings used for calls to getExternalApi.
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getSpecContentsSettings()
public UnaryCallSettings.Builder<GetSpecContentsRequest,SpecContents> getSpecContentsSettings()
Returns the builder for the settings used for calls to getSpecContents.
getSpecSettings()
public UnaryCallSettings.Builder<GetSpecRequest,Spec> getSpecSettings()
Returns the builder for the settings used for calls to getSpec.
getVersionSettings()
public UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()
Returns the builder for the settings used for calls to getVersion.
listApiOperationsSettings()
public PagedCallSettings.Builder<ListApiOperationsRequest,ListApiOperationsResponse,ApiHubClient.ListApiOperationsPagedResponse> listApiOperationsSettings()
Returns the builder for the settings used for calls to listApiOperations.
listApisSettings()
public PagedCallSettings.Builder<ListApisRequest,ListApisResponse,ApiHubClient.ListApisPagedResponse> listApisSettings()
Returns the builder for the settings used for calls to listApis.
listAttributesSettings()
public PagedCallSettings.Builder<ListAttributesRequest,ListAttributesResponse,ApiHubClient.ListAttributesPagedResponse> listAttributesSettings()
Returns the builder for the settings used for calls to listAttributes.
listDeploymentsSettings()
public PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse,ApiHubClient.ListDeploymentsPagedResponse> listDeploymentsSettings()
Returns the builder for the settings used for calls to listDeployments.
listExternalApisSettings()
public PagedCallSettings.Builder<ListExternalApisRequest,ListExternalApisResponse,ApiHubClient.ListExternalApisPagedResponse> listExternalApisSettings()
Returns the builder for the settings used for calls to listExternalApis.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ApiHubClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listSpecsSettings()
public PagedCallSettings.Builder<ListSpecsRequest,ListSpecsResponse,ApiHubClient.ListSpecsPagedResponse> listSpecsSettings()
Returns the builder for the settings used for calls to listSpecs.
listVersionsSettings()
public PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,ApiHubClient.ListVersionsPagedResponse> listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.
searchResourcesSettings()
public PagedCallSettings.Builder<SearchResourcesRequest,SearchResourcesResponse,ApiHubClient.SearchResourcesPagedResponse> searchResourcesSettings()
Returns the builder for the settings used for calls to searchResources.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateApiSettings()
public UnaryCallSettings.Builder<UpdateApiRequest,Api> updateApiSettings()
Returns the builder for the settings used for calls to updateApi.
updateAttributeSettings()
public UnaryCallSettings.Builder<UpdateAttributeRequest,Attribute> updateAttributeSettings()
Returns the builder for the settings used for calls to updateAttribute.
updateDeploymentSettings()
public UnaryCallSettings.Builder<UpdateDeploymentRequest,Deployment> updateDeploymentSettings()
Returns the builder for the settings used for calls to updateDeployment.
updateExternalApiSettings()
public UnaryCallSettings.Builder<UpdateExternalApiRequest,ExternalApi> updateExternalApiSettings()
Returns the builder for the settings used for calls to updateExternalApi.
updateSpecSettings()
public UnaryCallSettings.Builder<UpdateSpecRequest,Spec> updateSpecSettings()
Returns the builder for the settings used for calls to updateSpec.
updateVersionSettings()
public UnaryCallSettings.Builder<UpdateVersionRequest,Version> updateVersionSettings()
Returns the builder for the settings used for calls to updateVersion.