Class ApiGatewayServiceSettings.Builder (2.37.0)

public static class ApiGatewayServiceSettings.Builder extends ClientSettings.Builder<ApiGatewayServiceSettings,ApiGatewayServiceSettings.Builder>

Builder for ApiGatewayServiceSettings.

Inheritance

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ApiGatewayServiceSettings settings)

protected Builder(ApiGatewayServiceSettings settings)
Parameter
NameDescription
settingsApiGatewayServiceSettings

Builder(ApiGatewayServiceStubSettings.Builder stubSettings)

protected Builder(ApiGatewayServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsApiGatewayServiceStubSettings.Builder

Methods

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

public ApiGatewayServiceSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ApiGatewayServiceSettings.Builder

build()

public ApiGatewayServiceSettings build()
Returns
TypeDescription
ApiGatewayServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createApiConfigOperationSettings()

public OperationCallSettings.Builder<CreateApiConfigRequest,ApiConfig,OperationMetadata> createApiConfigOperationSettings()

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

Returns
TypeDescription
Builder<CreateApiConfigRequest,ApiConfig,OperationMetadata>

createApiConfigSettings()

public UnaryCallSettings.Builder<CreateApiConfigRequest,Operation> createApiConfigSettings()

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

Returns
TypeDescription
Builder<CreateApiConfigRequest,Operation>

createApiOperationSettings()

public OperationCallSettings.Builder<CreateApiRequest,Api,OperationMetadata> createApiOperationSettings()

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

Returns
TypeDescription
Builder<CreateApiRequest,Api,OperationMetadata>

createApiSettings()

public UnaryCallSettings.Builder<CreateApiRequest,Operation> createApiSettings()

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

Returns
TypeDescription
Builder<CreateApiRequest,Operation>

createGatewayOperationSettings()

public OperationCallSettings.Builder<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationSettings()

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

Returns
TypeDescription
Builder<CreateGatewayRequest,Gateway,OperationMetadata>

createGatewaySettings()

public UnaryCallSettings.Builder<CreateGatewayRequest,Operation> createGatewaySettings()

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

Returns
TypeDescription
Builder<CreateGatewayRequest,Operation>

deleteApiConfigOperationSettings()

public OperationCallSettings.Builder<DeleteApiConfigRequest,Empty,OperationMetadata> deleteApiConfigOperationSettings()

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

Returns
TypeDescription
Builder<DeleteApiConfigRequest,Empty,OperationMetadata>

deleteApiConfigSettings()

public UnaryCallSettings.Builder<DeleteApiConfigRequest,Operation> deleteApiConfigSettings()

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

Returns
TypeDescription
Builder<DeleteApiConfigRequest,Operation>

deleteApiOperationSettings()

public OperationCallSettings.Builder<DeleteApiRequest,Empty,OperationMetadata> deleteApiOperationSettings()

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

Returns
TypeDescription
Builder<DeleteApiRequest,Empty,OperationMetadata>

deleteApiSettings()

public UnaryCallSettings.Builder<DeleteApiRequest,Operation> deleteApiSettings()

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

Returns
TypeDescription
Builder<DeleteApiRequest,Operation>

deleteGatewayOperationSettings()

public OperationCallSettings.Builder<DeleteGatewayRequest,Empty,OperationMetadata> deleteGatewayOperationSettings()

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

Returns
TypeDescription
Builder<DeleteGatewayRequest,Empty,OperationMetadata>

deleteGatewaySettings()

public UnaryCallSettings.Builder<DeleteGatewayRequest,Operation> deleteGatewaySettings()

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

Returns
TypeDescription
Builder<DeleteGatewayRequest,Operation>

getApiConfigSettings()

public UnaryCallSettings.Builder<GetApiConfigRequest,ApiConfig> getApiConfigSettings()

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

Returns
TypeDescription
Builder<GetApiConfigRequest,ApiConfig>

getApiSettings()

public UnaryCallSettings.Builder<GetApiRequest,Api> getApiSettings()

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

Returns
TypeDescription
Builder<GetApiRequest,Api>

getGatewaySettings()

public UnaryCallSettings.Builder<GetGatewayRequest,Gateway> getGatewaySettings()

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

Returns
TypeDescription
Builder<GetGatewayRequest,Gateway>

getStubSettingsBuilder()

public ApiGatewayServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ApiGatewayServiceStubSettings.Builder

listApiConfigsSettings()

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

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

Returns
TypeDescription
Builder<ListApiConfigsRequest,ListApiConfigsResponse,ListApiConfigsPagedResponse>

listApisSettings()

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

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

Returns
TypeDescription
Builder<ListApisRequest,ListApisResponse,ListApisPagedResponse>

listGatewaysSettings()

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

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

Returns
TypeDescription
Builder<ListGatewaysRequest,ListGatewaysResponse,ListGatewaysPagedResponse>

updateApiConfigOperationSettings()

public OperationCallSettings.Builder<UpdateApiConfigRequest,ApiConfig,OperationMetadata> updateApiConfigOperationSettings()

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

Returns
TypeDescription
Builder<UpdateApiConfigRequest,ApiConfig,OperationMetadata>

updateApiConfigSettings()

public UnaryCallSettings.Builder<UpdateApiConfigRequest,Operation> updateApiConfigSettings()

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

Returns
TypeDescription
Builder<UpdateApiConfigRequest,Operation>

updateApiOperationSettings()

public OperationCallSettings.Builder<UpdateApiRequest,Api,OperationMetadata> updateApiOperationSettings()

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

Returns
TypeDescription
Builder<UpdateApiRequest,Api,OperationMetadata>

updateApiSettings()

public UnaryCallSettings.Builder<UpdateApiRequest,Operation> updateApiSettings()

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

Returns
TypeDescription
Builder<UpdateApiRequest,Operation>

updateGatewayOperationSettings()

public OperationCallSettings.Builder<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationSettings()

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

Returns
TypeDescription
Builder<UpdateGatewayRequest,Gateway,OperationMetadata>

updateGatewaySettings()

public UnaryCallSettings.Builder<UpdateGatewayRequest,Operation> updateGatewaySettings()

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

Returns
TypeDescription
Builder<UpdateGatewayRequest,Operation>