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 com.google.api.gax.rpc.StubSettings.Builder<ApiGatewayServiceStubSettings,ApiGatewayServiceStubSettings.Builder>
Builder for ApiGatewayServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ApiGatewayServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiGatewayServiceStubSettings.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.ApiGatewayServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ApiGatewayServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ApiGatewayServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 ApiGatewayServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ApiGatewayServiceStubSettings,ApiGatewayServiceStubSettings.Builder>
- Throws:
IOException
-
-