Class HttpJsonAuthorizedCertificatesStub (2.4.0)

publicclass HttpJsonAuthorizedCertificatesStubextendsAuthorizedCertificatesStub

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)

publicstaticfinalHttpJsonAuthorizedCertificatesStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
Exceptions
Type Description

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

publicstaticfinalHttpJsonAuthorizedCertificatesStubcreate(ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
Exceptions
Type Description

create(AuthorizedCertificatesStubSettings settings)

publicstaticfinalHttpJsonAuthorizedCertificatesStubcreate(AuthorizedCertificatesStubSettingssettings)
Parameter
Name Description
Returns
Type Description
Exceptions
Type Description

getMethodDescriptors()

publicstaticList<ApiMethodDescriptor>getMethodDescriptors()
Returns
Type Description

Constructors

HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext)

protectedHttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettingssettings,ClientContextclientContext)

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
clientContext ClientContext

HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protectedHttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettingssettings,ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)

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
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
Exceptions
Type Description

close()

publicfinalvoidclose()
Overrides

createAuthorizedCertificateCallable()

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

deleteAuthorizedCertificateCallable()

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

getAuthorizedCertificateCallable()

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

isShutdown()

publicbooleanisShutdown()
Returns
Type Description

isTerminated()

publicbooleanisTerminated()
Returns
Type Description

listAuthorizedCertificatesCallable()

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

listAuthorizedCertificatesPagedCallable()

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

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

updateAuthorizedCertificateCallable()

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.