public static class ApiGatewayServiceStubSettings . Builder extends StubSettings . Builder<ApiGatewayServiceStubSettings , ApiGatewayServiceStubSettings . Builder >
Builder for ApiGatewayServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(ApiGatewayServiceStubSettings settings)
protected Builder ( ApiGatewayServiceStubSettings settings )
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.
build()
public ApiGatewayServiceStubSettings build ()
Overrides
createApiConfigOperationSettings()
public OperationCallSettings . Builder<CreateApiConfigRequest , ApiConfig , OperationMetadata > createApiConfigOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createApiConfig.
createApiConfigSettings()
public UnaryCallSettings . Builder<CreateApiConfigRequest , Operation > createApiConfigSettings ()
Returns the builder for the settings used for calls to createApiConfig.
createApiOperationSettings()
public OperationCallSettings . Builder<CreateApiRequest , Api , OperationMetadata > createApiOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createApi.
createApiSettings()
public UnaryCallSettings . Builder<CreateApiRequest , Operation > createApiSettings ()
Returns the builder for the settings used for calls to createApi.
createGatewayOperationSettings()
public OperationCallSettings . Builder<CreateGatewayRequest , Gateway , OperationMetadata > createGatewayOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createGateway.
createGatewaySettings()
public UnaryCallSettings . Builder<CreateGatewayRequest , Operation > createGatewaySettings ()
Returns the builder for the settings used for calls to createGateway.
deleteApiConfigOperationSettings()
public OperationCallSettings . Builder<DeleteApiConfigRequest , Empty , OperationMetadata > deleteApiConfigOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteApiConfig.
deleteApiConfigSettings()
public UnaryCallSettings . Builder<DeleteApiConfigRequest , Operation > deleteApiConfigSettings ()
Returns the builder for the settings used for calls to deleteApiConfig.
deleteApiOperationSettings()
public OperationCallSettings . Builder<DeleteApiRequest , Empty , OperationMetadata > deleteApiOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteApi.
deleteApiSettings()
public UnaryCallSettings . Builder<DeleteApiRequest , Operation > deleteApiSettings ()
Returns the builder for the settings used for calls to deleteApi.
deleteGatewayOperationSettings()
public OperationCallSettings . Builder<DeleteGatewayRequest , Empty , OperationMetadata > deleteGatewayOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteGateway.
deleteGatewaySettings()
public UnaryCallSettings . Builder<DeleteGatewayRequest , Operation > deleteGatewaySettings ()
Returns the builder for the settings used for calls to deleteGateway.
getApiConfigSettings()
public UnaryCallSettings . Builder<GetApiConfigRequest , ApiConfig > getApiConfigSettings ()
Returns the builder for the settings used for calls to getApiConfig.
getApiSettings()
public UnaryCallSettings . Builder<GetApiRequest , Api > getApiSettings ()
Returns the builder for the settings used for calls to getApi.
getEndpoint()
public String getEndpoint ()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getGatewaySettings()
public UnaryCallSettings . Builder<GetGatewayRequest , Gateway > getGatewaySettings ()
Returns the builder for the settings used for calls to getGateway.
listApiConfigsSettings()
public PagedCallSettings . Builder<ListApiConfigsRequest , ListApiConfigsResponse , ApiGatewayServiceClient . ListApiConfigsPagedResponse > listApiConfigsSettings ()
Returns the builder for the settings used for calls to listApiConfigs.
listApisSettings()
public PagedCallSettings . Builder<ListApisRequest , ListApisResponse , ApiGatewayServiceClient . ListApisPagedResponse > listApisSettings ()
Returns the builder for the settings used for calls to listApis.
listGatewaysSettings()
public PagedCallSettings . Builder<ListGatewaysRequest , ListGatewaysResponse , ApiGatewayServiceClient . ListGatewaysPagedResponse > listGatewaysSettings ()
Returns the builder for the settings used for calls to listGateways.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateApiConfigOperationSettings()
public OperationCallSettings . Builder<UpdateApiConfigRequest , ApiConfig , OperationMetadata > updateApiConfigOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateApiConfig.
updateApiConfigSettings()
public UnaryCallSettings . Builder<UpdateApiConfigRequest , Operation > updateApiConfigSettings ()
Returns the builder for the settings used for calls to updateApiConfig.
updateApiOperationSettings()
public OperationCallSettings . Builder<UpdateApiRequest , Api , OperationMetadata > updateApiOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateApi.
updateApiSettings()
public UnaryCallSettings . Builder<UpdateApiRequest , Operation > updateApiSettings ()
Returns the builder for the settings used for calls to updateApi.
updateGatewayOperationSettings()
public OperationCallSettings . Builder<UpdateGatewayRequest , Gateway , OperationMetadata > updateGatewayOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateGateway.
updateGatewaySettings()
public UnaryCallSettings . Builder<UpdateGatewayRequest , Operation > updateGatewaySettings ()
Returns the builder for the settings used for calls to updateGateway.