Package com.google.cloud
Class BaseService<OptionsT extends ServiceOptions<?,OptionsT>>
- java.lang.Object
-
- com.google.cloud.BaseService<OptionsT>
-
- Type Parameters:
OptionsT
- theServiceOptions
subclass corresponding to the service
- All Implemented Interfaces:
Service<OptionsT>
public abstract class BaseService<OptionsT extends ServiceOptions<?,OptionsT>> extends Object implements Service<OptionsT>
Base class for service objects.
-
-
Field Summary
Fields Modifier and Type Field Description static ExceptionHandler
EXCEPTION_HANDLER
static ExceptionHandler.Interceptor
EXCEPTION_HANDLER_INTERCEPTOR
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseService(OptionsT options)
-
-
-
Field Detail
-
EXCEPTION_HANDLER_INTERCEPTOR
public static final ExceptionHandler.Interceptor EXCEPTION_HANDLER_INTERCEPTOR
-
EXCEPTION_HANDLER
public static final ExceptionHandler EXCEPTION_HANDLER
-
-
Constructor Detail
-
BaseService
@InternalApi("This class should only be extended within google-cloud-java") protected BaseService(OptionsT options)
-
-
Method Detail
-
getOptions
public OptionsT getOptions()
- Specified by:
getOptions
in interfaceService<OptionsT extends ServiceOptions<?,OptionsT>>
-
-