Class HttpJsonOsConfigServiceStub (2.44.0)

public class HttpJsonOsConfigServiceStub extends OsConfigServiceStub

REST stub implementation for the OsConfigService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > OsConfigServiceStub > HttpJsonOsConfigServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonOsConfigServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonOsConfigServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonOsConfigServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonOsConfigServiceStub
Exceptions
Type Description
IOException

create(OsConfigServiceStubSettings settings)

public static final HttpJsonOsConfigServiceStub create(OsConfigServiceStubSettings settings)
Parameter
Name Description
settings OsConfigServiceStubSettings
Returns
Type Description
HttpJsonOsConfigServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonOsConfigServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings OsConfigServiceStubSettings
clientContext ClientContext

HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonOsConfigServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name