Class BaseService<OptionsT> (2.20.1)

publicabstractclassBaseService<OptionsT>implementsService<OptionsT>

Base class for service objects.

Inheritance

java.lang.Object >BaseService<OptionsT>

Implements

com.google.cloud.Service<OptionsT>

Type Parameter

NameDescription
OptionsT

Static Fields

EXCEPTION_HANDLER

publicstaticfinalExceptionHandlerEXCEPTION_HANDLER
Field Value
TypeDescription
ExceptionHandler

EXCEPTION_HANDLER_INTERCEPTOR

publicstaticfinalExceptionHandler.InterceptorEXCEPTION_HANDLER_INTERCEPTOR
Field Value
TypeDescription
ExceptionHandler.Interceptor

Constructors

BaseService(OptionsT options)

protectedBaseService(OptionsToptions)
Parameter
NameDescription
optionsOptionsT

Methods

getOptions()

publicOptionsTgetOptions()
Returns
TypeDescription
OptionsT

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

Last updated 2026-01-31 UTC.