public static class ApiGatewayServiceStubSettings.Builder extends StubSettings.Builder<ApiGatewayServiceStubSettings,ApiGatewayServiceStubSettings.Builder>
Builder for ApiGatewayServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(ApiGatewayServiceStubSettings settings)
protected Builder(ApiGatewayServiceStubSettings settings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
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.
Parameter
Returns
build()
public ApiGatewayServiceStubSettings build()
Returns
Overrides
Exceptions
createApiConfigOperationSettings()
public OperationCallSettings.Builder<CreateApiConfigRequest,ApiConfig,OperationMetadata> createApiConfigOperationSettings()
Returns the builder for the settings used for calls to createApiConfig.
Returns
createApiConfigSettings()
public UnaryCallSettings.Builder<CreateApiConfigRequest,Operation> createApiConfigSettings()
Returns the builder for the settings used for calls to createApiConfig.
Returns
createApiOperationSettings()
public OperationCallSettings.Builder<CreateApiRequest,Api,OperationMetadata> createApiOperationSettings()
Returns the builder for the settings used for calls to createApi.
Returns
createApiSettings()
public UnaryCallSettings.Builder<CreateApiRequest,Operation> createApiSettings()
Returns the builder for the settings used for calls to createApi.
Returns
createGatewayOperationSettings()
public OperationCallSettings.Builder<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationSettings()
Returns the builder for the settings used for calls to createGateway.
Returns
createGatewaySettings()
public UnaryCallSettings.Builder<CreateGatewayRequest,Operation> createGatewaySettings()
Returns the builder for the settings used for calls to createGateway.
Returns
deleteApiConfigOperationSettings()
public OperationCallSettings.Builder<DeleteApiConfigRequest,Empty,OperationMetadata> deleteApiConfigOperationSettings()
Returns the builder for the settings used for calls to deleteApiConfig.
Returns
deleteApiConfigSettings()
public UnaryCallSettings.Builder<DeleteApiConfigRequest,Operation> deleteApiConfigSettings()
Returns the builder for the settings used for calls to deleteApiConfig.
Returns
deleteApiOperationSettings()
public OperationCallSettings.Builder<DeleteApiRequest,Empty,OperationMetadata> deleteApiOperationSettings()
Returns the builder for the settings used for calls to deleteApi.
Returns
deleteApiSettings()
public UnaryCallSettings.Builder<DeleteApiRequest,Operation> deleteApiSettings()
Returns the builder for the settings used for calls to deleteApi.
Returns
deleteGatewayOperationSettings()
public OperationCallSettings.Builder<DeleteGatewayRequest,Empty,OperationMetadata> deleteGatewayOperationSettings()
Returns the builder for the settings used for calls to deleteGateway.
Returns
deleteGatewaySettings()
public UnaryCallSettings.Builder<DeleteGatewayRequest,Operation> deleteGatewaySettings()
Returns the builder for the settings used for calls to deleteGateway.
Returns
getApiConfigSettings()
public UnaryCallSettings.Builder<GetApiConfigRequest,ApiConfig> getApiConfigSettings()
Returns the builder for the settings used for calls to getApiConfig.
Returns
getApiSettings()
public UnaryCallSettings.Builder<GetApiRequest,Api> getApiSettings()
Returns the builder for the settings used for calls to getApi.
Returns
getGatewaySettings()
public UnaryCallSettings.Builder<GetGatewayRequest,Gateway> getGatewaySettings()
Returns the builder for the settings used for calls to getGateway.
Returns
listApiConfigsSettings()
public PagedCallSettings.Builder<ListApiConfigsRequest,ListApiConfigsResponse,ApiGatewayServiceClient.ListApiConfigsPagedResponse> listApiConfigsSettings()
Returns the builder for the settings used for calls to listApiConfigs.
Returns
listApisSettings()
public PagedCallSettings.Builder<ListApisRequest,ListApisResponse,ApiGatewayServiceClient.ListApisPagedResponse> listApisSettings()
Returns the builder for the settings used for calls to listApis.
Returns
listGatewaysSettings()
public PagedCallSettings.Builder<ListGatewaysRequest,ListGatewaysResponse,ApiGatewayServiceClient.ListGatewaysPagedResponse> listGatewaysSettings()
Returns the builder for the settings used for calls to listGateways.
Returns
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updateApiConfigOperationSettings()
public OperationCallSettings.Builder<UpdateApiConfigRequest,ApiConfig,OperationMetadata> updateApiConfigOperationSettings()
Returns the builder for the settings used for calls to updateApiConfig.
Returns
updateApiConfigSettings()
public UnaryCallSettings.Builder<UpdateApiConfigRequest,Operation> updateApiConfigSettings()
Returns the builder for the settings used for calls to updateApiConfig.
Returns
updateApiOperationSettings()
public OperationCallSettings.Builder<UpdateApiRequest,Api,OperationMetadata> updateApiOperationSettings()
Returns the builder for the settings used for calls to updateApi.
Returns
updateApiSettings()
public UnaryCallSettings.Builder<UpdateApiRequest,Operation> updateApiSettings()
Returns the builder for the settings used for calls to updateApi.
Returns
updateGatewayOperationSettings()
public OperationCallSettings.Builder<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationSettings()
Returns the builder for the settings used for calls to updateGateway.
Returns
updateGatewaySettings()
public UnaryCallSettings.Builder<UpdateGatewayRequest,Operation> updateGatewaySettings()
Returns the builder for the settings used for calls to updateGateway.
Returns