Class ApiGatewayServiceSettings.Builder (2.33.0)

publicstaticclass ApiGatewayServiceSettings.BuilderextendsClientSettings.Builder<ApiGatewayServiceSettings,ApiGatewayServiceSettings.Builder>

Builder for ApiGatewayServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ApiGatewayServiceSettings.Builder

Inherited Members

Constructors

Builder()

protectedBuilder()

Builder(ClientContext clientContext)

protectedBuilder(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ApiGatewayServiceSettings settings)

protectedBuilder(ApiGatewayServiceSettingssettings)
Parameter
Name Description
settings ApiGatewayServiceSettings

Builder(ApiGatewayServiceStubSettings.Builder stubSettings)

protectedBuilder(ApiGatewayServiceStubSettings.BuilderstubSettings)
Parameter
Name Description
stubSettings ApiGatewayServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

publicApiGatewayServiceSettings.BuilderapplyToAllUnaryMethods(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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ApiGatewayServiceSettings.Builder

build()

publicApiGatewayServiceSettingsbuild()
Returns
Type Description
ApiGatewayServiceSettings
Overrides
Exceptions
Type Description
IOException

createApiConfigOperationSettings()

publicOperationCallSettings.Builder<CreateApiConfigRequest,ApiConfig,OperationMetadata>createApiConfigOperationSettings()

Returns the builder for the settings used for calls to createApiConfig.

Returns
Type Description
Builder<CreateApiConfigRequest,ApiConfig,OperationMetadata>

createApiConfigSettings()

publicUnaryCallSettings.Builder<CreateApiConfigRequest,Operation>createApiConfigSettings()

Returns the builder for the settings used for calls to createApiConfig.

Returns
Type Description
Builder<CreateApiConfigRequest,Operation>

createApiOperationSettings()

publicOperationCallSettings.Builder<CreateApiRequest,Api,OperationMetadata>createApiOperationSettings()

Returns the builder for the settings used for calls to createApi.

Returns
Type Description
Builder<CreateApiRequest,Api,OperationMetadata>

createApiSettings()

publicUnaryCallSettings.Builder<CreateApiRequest,Operation>createApiSettings()

Returns the builder for the settings used for calls to createApi.

Returns
Type Description
Builder<CreateApiRequest,Operation>

createGatewayOperationSettings()

publicOperationCallSettings.Builder<CreateGatewayRequest,Gateway,OperationMetadata>createGatewayOperationSettings()

Returns the builder for the settings used for calls to createGateway.

Returns
Type Description
Builder<CreateGatewayRequest,Gateway,OperationMetadata>

createGatewaySettings()

publicUnaryCallSettings.Builder<CreateGatewayRequest,Operation>createGatewaySettings()

Returns the builder for the settings used for calls to createGateway.

Returns
Type Description
Builder<CreateGatewayRequest,Operation>

deleteApiConfigOperationSettings()

publicOperationCallSettings.Builder<DeleteApiConfigRequest,Empty,OperationMetadata>deleteApiConfigOperationSettings()

Returns the builder for the settings used for calls to deleteApiConfig.

Returns
Type Description
Builder<DeleteApiConfigRequest,Empty,OperationMetadata>

deleteApiConfigSettings()

publicUnaryCallSettings.Builder<DeleteApiConfigRequest,Operation>deleteApiConfigSettings()

Returns the builder for the settings used for calls to deleteApiConfig.

Returns
Type Description
Builder<DeleteApiConfigRequest,Operation>

deleteApiOperationSettings()

publicOperationCallSettings.Builder<DeleteApiRequest,Empty,OperationMetadata>deleteApiOperationSettings()

Returns the builder for the settings used for calls to deleteApi.

Returns
Type Description
Builder<DeleteApiRequest,Empty,OperationMetadata>

deleteApiSettings()

publicUnaryCallSettings.Builder<DeleteApiRequest,Operation>deleteApiSettings()

Returns the builder for the settings used for calls to deleteApi.

Returns
Type Description
Builder<DeleteApiRequest,Operation>

deleteGatewayOperationSettings()

publicOperationCallSettings.Builder<DeleteGatewayRequest,Empty,OperationMetadata>deleteGatewayOperationSettings()

Returns the builder for the settings used for calls to deleteGateway.

Returns
Type Description
Builder<DeleteGatewayRequest,Empty,OperationMetadata>

deleteGatewaySettings()

publicUnaryCallSettings.Builder<DeleteGatewayRequest,Operation>deleteGatewaySettings()

Returns the builder for the settings used for calls to deleteGateway.

Returns
Type Description
Builder<DeleteGatewayRequest,Operation>

getApiConfigSettings()

publicUnaryCallSettings.Builder<GetApiConfigRequest,ApiConfig>getApiConfigSettings()

Returns the builder for the settings used for calls to getApiConfig.

Returns
Type Description
Builder<GetApiConfigRequest,ApiConfig>

getApiSettings()

publicUnaryCallSettings.Builder<GetApiRequest,Api>getApiSettings()

Returns the builder for the settings used for calls to getApi.

Returns
Type Description
Builder<GetApiRequest,Api>

getGatewaySettings()

publicUnaryCallSettings.Builder<GetGatewayRequest,Gateway>getGatewaySettings()

Returns the builder for the settings used for calls to getGateway.

Returns
Type Description
Builder<GetGatewayRequest,Gateway>

getStubSettingsBuilder()

publicApiGatewayServiceStubSettings.BuildergetStubSettingsBuilder()
Returns
Type Description
ApiGatewayServiceStubSettings.Builder

listApiConfigsSettings()

publicPagedCallSettings.Builder<ListApiConfigsRequest,ListApiConfigsResponse,ApiGatewayServiceClient.ListApiConfigsPagedResponse>listApiConfigsSettings()

Returns the builder for the settings used for calls to listApiConfigs.

Returns
Type Description
Builder<ListApiConfigsRequest,ListApiConfigsResponse,ListApiConfigsPagedResponse>

listApisSettings()

publicPagedCallSettings.Builder<ListApisRequest,ListApisResponse,ApiGatewayServiceClient.ListApisPagedResponse>listApisSettings()

Returns the builder for the settings used for calls to listApis.

Returns
Type Description
Builder<ListApisRequest,ListApisResponse,ListApisPagedResponse>

listGatewaysSettings()

publicPagedCallSettings.Builder<ListGatewaysRequest,ListGatewaysResponse,ApiGatewayServiceClient.ListGatewaysPagedResponse>listGatewaysSettings()

Returns the builder for the settings used for calls to listGateways.

Returns
Type Description
Builder<ListGatewaysRequest,ListGatewaysResponse,ListGatewaysPagedResponse>

updateApiConfigOperationSettings()

publicOperationCallSettings.Builder<UpdateApiConfigRequest,ApiConfig,OperationMetadata>updateApiConfigOperationSettings()

Returns the builder for the settings used for calls to updateApiConfig.

Returns
Type Description
Builder<UpdateApiConfigRequest,ApiConfig,OperationMetadata>

updateApiConfigSettings()

publicUnaryCallSettings.Builder<UpdateApiConfigRequest,Operation>updateApiConfigSettings()

Returns the builder for the settings used for calls to updateApiConfig.

Returns
Type Description
Builder<UpdateApiConfigRequest,Operation>

updateApiOperationSettings()

publicOperationCallSettings.Builder<UpdateApiRequest,Api,OperationMetadata>updateApiOperationSettings()

Returns the builder for the settings used for calls to updateApi.

Returns
Type Description
Builder<UpdateApiRequest,Api,OperationMetadata>

updateApiSettings()

publicUnaryCallSettings.Builder<UpdateApiRequest,Operation>updateApiSettings()

Returns the builder for the settings used for calls to updateApi.

Returns
Type Description
Builder<UpdateApiRequest,Operation>

updateGatewayOperationSettings()

publicOperationCallSettings.Builder<UpdateGatewayRequest,Gateway,OperationMetadata>updateGatewayOperationSettings()

Returns the builder for the settings used for calls to updateGateway.

Returns
Type Description
Builder<UpdateGatewayRequest,Gateway,OperationMetadata>

updateGatewaySettings()

publicUnaryCallSettings.Builder<UpdateGatewayRequest,Operation>updateGatewaySettings()

Returns the builder for the settings used for calls to updateGateway.

Returns
Type Description
Builder<UpdateGatewayRequest,Operation>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.