Class ApiGatewayServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ApiGatewayServiceStubSettings,ApiGatewayServiceStubSettings.Builder>
com.google.cloud.apigateway.v1.stub.ApiGatewayServiceStubSettings.Builder
- Enclosing class:
- ApiGatewayServiceStubSettings
public static class ApiGatewayServiceStubSettings.Builder
extends StubSettings.Builder<ApiGatewayServiceStubSettings,ApiGatewayServiceStubSettings.Builder>
Builder for ApiGatewayServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ApiGatewayServiceStubSettings 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 createApiConfig.Returns the builder for the settings used for calls to createApiConfig.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 createGateway.Returns the builder for the settings used for calls to createGateway.OperationCallSettings.Builder<DeleteApiConfigRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteApiConfig.Returns the builder for the settings used for calls to deleteApiConfig.OperationCallSettings.Builder<DeleteApiRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteApi.Returns the builder for the settings used for calls to deleteApi.OperationCallSettings.Builder<DeleteGatewayRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteGateway.Returns the builder for the settings used for calls to deleteGateway.Returns the builder for the settings used for calls to getApiConfig.Returns the builder for the settings used for calls to getApi.Returns the builder for the settings used for calls to getGateway.PagedCallSettings.Builder<ListApiConfigsRequest,ListApiConfigsResponse, ApiGatewayServiceClient.ListApiConfigsPagedResponse> Returns the builder for the settings used for calls to listApiConfigs.PagedCallSettings.Builder<ListApisRequest,ListApisResponse, ApiGatewayServiceClient.ListApisPagedResponse> Returns the builder for the settings used for calls to listApis.PagedCallSettings.Builder<ListGatewaysRequest,ListGatewaysResponse, ApiGatewayServiceClient.ListGatewaysPagedResponse> Returns the builder for the settings used for calls to listGateways.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateApiConfig.Returns the builder for the settings used for calls to updateApiConfig.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 updateGateway.Returns the builder for the settings used for calls to updateGateway.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 ApiGatewayServiceStubSettings.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() -
listGatewaysSettings
public PagedCallSettings.Builder<ListGatewaysRequest,ListGatewaysResponse, listGatewaysSettings()ApiGatewayServiceClient.ListGatewaysPagedResponse> Returns the builder for the settings used for calls to listGateways. -
getGatewaySettings
Returns the builder for the settings used for calls to getGateway. -
createGatewaySettings
Returns the builder for the settings used for calls to createGateway. -
createGatewayOperationSettings
public OperationCallSettings.Builder<CreateGatewayRequest,Gateway, createGatewayOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createGateway. -
updateGatewaySettings
Returns the builder for the settings used for calls to updateGateway. -
updateGatewayOperationSettings
public OperationCallSettings.Builder<UpdateGatewayRequest,Gateway, updateGatewayOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateGateway. -
deleteGatewaySettings
Returns the builder for the settings used for calls to deleteGateway. -
deleteGatewayOperationSettings
public OperationCallSettings.Builder<DeleteGatewayRequest,com.google.protobuf.Empty, deleteGatewayOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteGateway. -
listApisSettings
public PagedCallSettings.Builder<ListApisRequest,ListApisResponse, listApisSettings()ApiGatewayServiceClient.ListApisPagedResponse> Returns the builder for the settings used for calls to listApis. -
getApiSettings
Returns the builder for the settings used for calls to getApi. -
createApiSettings
Returns the builder for the settings used for calls to createApi. -
createApiOperationSettings
public OperationCallSettings.Builder<CreateApiRequest,Api, createApiOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createApi. -
updateApiSettings
Returns the builder for the settings used for calls to updateApi. -
updateApiOperationSettings
public OperationCallSettings.Builder<UpdateApiRequest,Api, updateApiOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateApi. -
deleteApiSettings
Returns the builder for the settings used for calls to deleteApi. -
deleteApiOperationSettings
public OperationCallSettings.Builder<DeleteApiRequest,com.google.protobuf.Empty, deleteApiOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteApi. -
listApiConfigsSettings
public PagedCallSettings.Builder<ListApiConfigsRequest,ListApiConfigsResponse, listApiConfigsSettings()ApiGatewayServiceClient.ListApiConfigsPagedResponse> Returns the builder for the settings used for calls to listApiConfigs. -
getApiConfigSettings
Returns the builder for the settings used for calls to getApiConfig. -
createApiConfigSettings
Returns the builder for the settings used for calls to createApiConfig. -
createApiConfigOperationSettings
public OperationCallSettings.Builder<CreateApiConfigRequest,ApiConfig, createApiConfigOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createApiConfig. -
updateApiConfigSettings
Returns the builder for the settings used for calls to updateApiConfig. -
updateApiConfigOperationSettings
public OperationCallSettings.Builder<UpdateApiConfigRequest,ApiConfig, updateApiConfigOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateApiConfig. -
deleteApiConfigSettings
Returns the builder for the settings used for calls to deleteApiConfig. -
deleteApiConfigOperationSettings
public OperationCallSettings.Builder<DeleteApiConfigRequest,com.google.protobuf.Empty, deleteApiConfigOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteApiConfig. -
build
- Specified by:
buildin classStubSettings.Builder<ApiGatewayServiceStubSettings,ApiGatewayServiceStubSettings.Builder> - Throws:
IOException
-