Class HttpJsonAuthorizedDomainsStub (2.8.0)

public class HttpJsonAuthorizedDomainsStub extends AuthorizedDomainsStub

REST stub implementation for the AuthorizedDomains service API.

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

Inheritance

java.lang.Object > AuthorizedDomainsStub > HttpJsonAuthorizedDomainsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonAuthorizedDomainsStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonAuthorizedDomainsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonAuthorizedDomainsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonAuthorizedDomainsStub
Exceptions
TypeDescription
IOException

create(AuthorizedDomainsStubSettings settings)

public static final HttpJsonAuthorizedDomainsStub create(AuthorizedDomainsStubSettings settings)
Parameter
NameDescription
settingsAuthorizedDomainsStubSettings
Returns
TypeDescription
HttpJsonAuthorizedDomainsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonAuthorizedDomainsStub(AuthorizedDomainsStubSettings settings, ClientContext clientContext)

protected HttpJsonAuthorizedDomainsStub(AuthorizedDomainsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonAuthorizedDomainsStub, 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
NameDescription
settingsAuthorizedDomainsStubSettings
clientContextClientContext

HttpJsonAuthorizedDomainsStub(AuthorizedDomainsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonAuthorizedDomainsStub(AuthorizedDomainsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonAuthorizedDomainsStub, 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
NameDescription
settingsAuthorizedDomainsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAuthorizedDomainsCallable()

public UnaryCallable<ListAuthorizedDomainsRequest,ListAuthorizedDomainsResponse> listAuthorizedDomainsCallable()
Returns
TypeDescription
UnaryCallable<ListAuthorizedDomainsRequest,ListAuthorizedDomainsResponse>
Overrides

listAuthorizedDomainsPagedCallable()

public UnaryCallable<ListAuthorizedDomainsRequest,AuthorizedDomainsClient.ListAuthorizedDomainsPagedResponse> listAuthorizedDomainsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAuthorizedDomainsRequest,ListAuthorizedDomainsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()