Class GrpcAuthorizedCertificatesStub (2.53.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcAuthorizedCertificatesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(AuthorizedCertificatesStubSettings settings)

public static final GrpcAuthorizedCertificatesStub create(AuthorizedCertificatesStubSettings settings)
Parameter
Name Description
settings AuthorizedCertificatesStubSettings
Returns
Type Description
GrpcAuthorizedCertificatesStub
Exceptions
Type Description
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
Name Description
settings AuthorizedCertificatesStubSettings
clientContext ClientContext

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
Name Description
settings AuthorizedCertificatesStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createAuthorizedCertificateCallable()

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

deleteAuthorizedCertificateCallable()

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

getAuthorizedCertificateCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAuthorizedCertificatesCallable()

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

listAuthorizedCertificatesPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAuthorizedCertificateCallable()

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