Annotation Type ServiceClientDescriptor
-
@Retention(RUNTIME) @Target(METHOD) public @interface ServiceClientDescriptorDeclares a factory method for building service clients. The return type of the method should be the service client class. The service client must support a method create(ClientSettings).
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends com.google.api.gax.rpc.ClientSettings>settingsClassSpecifies the instance of ClientSettings to use with the service client returned by the annotated method.
-
-
-
Element Detail
-
settingsClass
java.lang.Class<? extends com.google.api.gax.rpc.ClientSettings> settingsClass
Specifies the instance of ClientSettings to use with the service client returned by the annotated method. The instance must support a static method newBuilder() which returns ClientSettings.Builder.
-
-