Package com.google.cloud.apigateway.v1
Class ApiGatewayServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ApiGatewayServiceSettings,ApiGatewayServiceSettings.Builder>
-
- com.google.cloud.apigateway.v1.ApiGatewayServiceSettings.Builder
-
- Enclosing class:
- ApiGatewayServiceSettings
public static class ApiGatewayServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ApiGatewayServiceSettings,ApiGatewayServiceSettings.Builder>
Builder for ApiGatewayServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ApiGatewayServiceSettings settings)
protected
Builder(ApiGatewayServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiGatewayServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ApiGatewayServiceSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateApiConfigRequest,ApiConfig,OperationMetadata>
createApiConfigOperationSettings()
Returns the builder for the settings used for calls to createApiConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateApiConfigRequest,com.google.longrunning.Operation>
createApiConfigSettings()
Returns the builder for the settings used for calls to createApiConfig.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateApiRequest,Api,OperationMetadata>
createApiOperationSettings()
Returns the builder for the settings used for calls to createApi.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateApiRequest,com.google.longrunning.Operation>
createApiSettings()
Returns the builder for the settings used for calls to createApi.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateGatewayRequest,Gateway,OperationMetadata>
createGatewayOperationSettings()
Returns the builder for the settings used for calls to createGateway.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateGatewayRequest,com.google.longrunning.Operation>
createGatewaySettings()
Returns the builder for the settings used for calls to createGateway.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteApiConfigRequest,com.google.protobuf.Empty,OperationMetadata>
deleteApiConfigOperationSettings()
Returns the builder for the settings used for calls to deleteApiConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteApiConfigRequest,com.google.longrunning.Operation>
deleteApiConfigSettings()
Returns the builder for the settings used for calls to deleteApiConfig.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteApiRequest,com.google.protobuf.Empty,OperationMetadata>
deleteApiOperationSettings()
Returns the builder for the settings used for calls to deleteApi.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteApiRequest,com.google.longrunning.Operation>
deleteApiSettings()
Returns the builder for the settings used for calls to deleteApi.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteGatewayRequest,com.google.protobuf.Empty,OperationMetadata>
deleteGatewayOperationSettings()
Returns the builder for the settings used for calls to deleteGateway.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGatewayRequest,com.google.longrunning.Operation>
deleteGatewaySettings()
Returns the builder for the settings used for calls to deleteGateway.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetApiConfigRequest,ApiConfig>
getApiConfigSettings()
Returns the builder for the settings used for calls to getApiConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetApiRequest,Api>
getApiSettings()
Returns the builder for the settings used for calls to getApi.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGatewayRequest,Gateway>
getGatewaySettings()
Returns the builder for the settings used for calls to getGateway.ApiGatewayServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListApiConfigsRequest,ListApiConfigsResponse,ApiGatewayServiceClient.ListApiConfigsPagedResponse>
listApiConfigsSettings()
Returns the builder for the settings used for calls to listApiConfigs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListApisRequest,ListApisResponse,ApiGatewayServiceClient.ListApisPagedResponse>
listApisSettings()
Returns the builder for the settings used for calls to listApis.com.google.api.gax.rpc.PagedCallSettings.Builder<ListGatewaysRequest,ListGatewaysResponse,ApiGatewayServiceClient.ListGatewaysPagedResponse>
listGatewaysSettings()
Returns the builder for the settings used for calls to listGateways.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateApiConfigRequest,ApiConfig,OperationMetadata>
updateApiConfigOperationSettings()
Returns the builder for the settings used for calls to updateApiConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateApiConfigRequest,com.google.longrunning.Operation>
updateApiConfigSettings()
Returns the builder for the settings used for calls to updateApiConfig.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateApiRequest,Api,OperationMetadata>
updateApiOperationSettings()
Returns the builder for the settings used for calls to updateApi.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateApiRequest,com.google.longrunning.Operation>
updateApiSettings()
Returns the builder for the settings used for calls to updateApi.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateGatewayRequest,Gateway,OperationMetadata>
updateGatewayOperationSettings()
Returns the builder for the settings used for calls to updateGateway.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGatewayRequest,com.google.longrunning.Operation>
updateGatewaySettings()
Returns the builder for the settings used for calls to updateGateway.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ApiGatewayServiceSettings settings)
-
Builder
protected Builder(ApiGatewayServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ApiGatewayServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ApiGatewayServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
listGatewaysSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListGatewaysRequest,ListGatewaysResponse,ApiGatewayServiceClient.ListGatewaysPagedResponse> listGatewaysSettings()
Returns the builder for the settings used for calls to listGateways.
-
getGatewaySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGatewayRequest,Gateway> getGatewaySettings()
Returns the builder for the settings used for calls to getGateway.
-
createGatewaySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateGatewayRequest,com.google.longrunning.Operation> createGatewaySettings()
Returns the builder for the settings used for calls to createGateway.
-
createGatewayOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationSettings()
Returns the builder for the settings used for calls to createGateway.
-
updateGatewaySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGatewayRequest,com.google.longrunning.Operation> updateGatewaySettings()
Returns the builder for the settings used for calls to updateGateway.
-
updateGatewayOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationSettings()
Returns the builder for the settings used for calls to updateGateway.
-
deleteGatewaySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGatewayRequest,com.google.longrunning.Operation> deleteGatewaySettings()
Returns the builder for the settings used for calls to deleteGateway.
-
deleteGatewayOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteGatewayRequest,com.google.protobuf.Empty,OperationMetadata> deleteGatewayOperationSettings()
Returns the builder for the settings used for calls to deleteGateway.
-
listApisSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListApisRequest,ListApisResponse,ApiGatewayServiceClient.ListApisPagedResponse> listApisSettings()
Returns the builder for the settings used for calls to listApis.
-
getApiSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetApiRequest,Api> getApiSettings()
Returns the builder for the settings used for calls to getApi.
-
createApiSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateApiRequest,com.google.longrunning.Operation> createApiSettings()
Returns the builder for the settings used for calls to createApi.
-
createApiOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateApiRequest,Api,OperationMetadata> createApiOperationSettings()
Returns the builder for the settings used for calls to createApi.
-
updateApiSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateApiRequest,com.google.longrunning.Operation> updateApiSettings()
Returns the builder for the settings used for calls to updateApi.
-
updateApiOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateApiRequest,Api,OperationMetadata> updateApiOperationSettings()
Returns the builder for the settings used for calls to updateApi.
-
deleteApiSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteApiRequest,com.google.longrunning.Operation> deleteApiSettings()
Returns the builder for the settings used for calls to deleteApi.
-
deleteApiOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteApiRequest,com.google.protobuf.Empty,OperationMetadata> deleteApiOperationSettings()
Returns the builder for the settings used for calls to deleteApi.
-
listApiConfigsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListApiConfigsRequest,ListApiConfigsResponse,ApiGatewayServiceClient.ListApiConfigsPagedResponse> listApiConfigsSettings()
Returns the builder for the settings used for calls to listApiConfigs.
-
getApiConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetApiConfigRequest,ApiConfig> getApiConfigSettings()
Returns the builder for the settings used for calls to getApiConfig.
-
createApiConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateApiConfigRequest,com.google.longrunning.Operation> createApiConfigSettings()
Returns the builder for the settings used for calls to createApiConfig.
-
createApiConfigOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateApiConfigRequest,ApiConfig,OperationMetadata> createApiConfigOperationSettings()
Returns the builder for the settings used for calls to createApiConfig.
-
updateApiConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateApiConfigRequest,com.google.longrunning.Operation> updateApiConfigSettings()
Returns the builder for the settings used for calls to updateApiConfig.
-
updateApiConfigOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateApiConfigRequest,ApiConfig,OperationMetadata> updateApiConfigOperationSettings()
Returns the builder for the settings used for calls to updateApiConfig.
-
deleteApiConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteApiConfigRequest,com.google.longrunning.Operation> deleteApiConfigSettings()
Returns the builder for the settings used for calls to deleteApiConfig.
-
deleteApiConfigOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteApiConfigRequest,com.google.protobuf.Empty,OperationMetadata> deleteApiConfigOperationSettings()
Returns the builder for the settings used for calls to deleteApiConfig.
-
build
public ApiGatewayServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ApiGatewayServiceSettings,ApiGatewayServiceSettings.Builder>
- Throws:
IOException
-
-