Class GrpcAuthorizedCertificatesStub (2.5.0)

public class GrpcAuthorizedCertificatesStub extends AuthorizedCertificatesStub

gRPC stub implementation for the AuthorizedCertificates service API.

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

Inheritance

java.lang.Object > AuthorizedCertificatesStub > GrpcAuthorizedCertificatesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(AuthorizedCertificatesStubSettings settings)

public static final GrpcAuthorizedCertificatesStub create(AuthorizedCertificatesStubSettings settings)
Parameter
NameDescription
settingsAuthorizedCertificatesStubSettings
Returns
TypeDescription
GrpcAuthorizedCertificatesStub
Exceptions
TypeDescription
IOException

Constructors

GrpcAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext)

protected GrpcAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAuthorizedCertificatesStub, 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
settingsAuthorizedCertificatesStubSettings
clientContextClientContext

GrpcAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

createAuthorizedCertificateCallable()

public UnaryCallable<CreateAuthorizedCertificateRequest,AuthorizedCertificate> createAuthorizedCertificateCallable()
Returns
TypeDescription
UnaryCallable<CreateAuthorizedCertificateRequest,AuthorizedCertificate>
Overrides

deleteAuthorizedCertificateCallable()

public UnaryCallable<DeleteAuthorizedCertificateRequest,Empty> deleteAuthorizedCertificateCallable()
Returns
TypeDescription
UnaryCallable<DeleteAuthorizedCertificateRequest,Empty>
Overrides

getAuthorizedCertificateCallable()

public UnaryCallable<GetAuthorizedCertificateRequest,AuthorizedCertificate> getAuthorizedCertificateCallable()
Returns
TypeDescription
UnaryCallable<GetAuthorizedCertificateRequest,AuthorizedCertificate>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAuthorizedCertificatesCallable()

public UnaryCallable<ListAuthorizedCertificatesRequest,ListAuthorizedCertificatesResponse> listAuthorizedCertificatesCallable()
Returns
TypeDescription
UnaryCallable<ListAuthorizedCertificatesRequest,ListAuthorizedCertificatesResponse>
Overrides

listAuthorizedCertificatesPagedCallable()

public UnaryCallable<ListAuthorizedCertificatesRequest,AuthorizedCertificatesClient.ListAuthorizedCertificatesPagedResponse> listAuthorizedCertificatesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAuthorizedCertificatesRequest,ListAuthorizedCertificatesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAuthorizedCertificateCallable()

public UnaryCallable<UpdateAuthorizedCertificateRequest,AuthorizedCertificate> updateAuthorizedCertificateCallable()
Returns
TypeDescription
UnaryCallable<UpdateAuthorizedCertificateRequest,AuthorizedCertificate>
Overrides