Class HttpJsonAuthorizedCertificatesStub (2.53.0)

public class HttpJsonAuthorizedCertificatesStub extends AuthorizedCertificatesStub

REST stub implementation for the AuthorizedCertificates service API.

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

Inheritance

java.lang.Object > AuthorizedCertificatesStub > HttpJsonAuthorizedCertificatesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(AuthorizedCertificatesStubSettings settings)

public static final HttpJsonAuthorizedCertificatesStub create(AuthorizedCertificatesStubSettings settings)
Parameter
Name Description
settings AuthorizedCertificatesStubSettings
Returns
Type Description
HttpJsonAuthorizedCertificatesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext)

protected HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext)

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

HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

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

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