Class GrpcAuthorizedDomainsStub (2.3.1)

public class GrpcAuthorizedDomainsStub extends AuthorizedDomainsStub

gRPC stub implementation for the AuthorizedDomains service API.

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

Inheritance

java.lang.Object > AuthorizedDomainsStub > GrpcAuthorizedDomainsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAuthorizedDomainsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcAuthorizedDomainsStub
Exceptions
TypeDescription
IOException

create(AuthorizedDomainsStubSettings settings)

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

Constructors

GrpcAuthorizedDomainsStub(AuthorizedDomainsStubSettings settings, ClientContext clientContext)

protected GrpcAuthorizedDomainsStub(AuthorizedDomainsStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAuthorizedDomainsStub, 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

GrpcAuthorizedDomainsStub(AuthorizedDomainsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAuthorizedDomainsStub(AuthorizedDomainsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAuthorizedDomainsStub, 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
callableFactoryGrpcStubCallableFactory

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

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()