Package com.google.appengine.v1.stub
Class HttpJsonAuthorizedCertificatesStub
- java.lang.Object
-
- com.google.appengine.v1.stub.AuthorizedCertificatesStub
-
- com.google.appengine.v1.stub.HttpJsonAuthorizedCertificatesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonAuthorizedCertificatesStub, using the given settings.protected
HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAuthorizedCertificatesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonAuthorizedCertificatesStub
protected HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
HttpJsonAuthorizedCertificatesStub
protected HttpJsonAuthorizedCertificatesStub(AuthorizedCertificatesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonAuthorizedCertificatesStub create(AuthorizedCertificatesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAuthorizedCertificatesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAuthorizedCertificatesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
listAuthorizedCertificatesCallable
public com.google.api.gax.rpc.UnaryCallable<ListAuthorizedCertificatesRequest,ListAuthorizedCertificatesResponse> listAuthorizedCertificatesCallable()
- Overrides:
listAuthorizedCertificatesCallable
in classAuthorizedCertificatesStub
-
listAuthorizedCertificatesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAuthorizedCertificatesRequest,AuthorizedCertificatesClient.ListAuthorizedCertificatesPagedResponse> listAuthorizedCertificatesPagedCallable()
- Overrides:
listAuthorizedCertificatesPagedCallable
in classAuthorizedCertificatesStub
-
getAuthorizedCertificateCallable
public com.google.api.gax.rpc.UnaryCallable<GetAuthorizedCertificateRequest,AuthorizedCertificate> getAuthorizedCertificateCallable()
- Overrides:
getAuthorizedCertificateCallable
in classAuthorizedCertificatesStub
-
createAuthorizedCertificateCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAuthorizedCertificateRequest,AuthorizedCertificate> createAuthorizedCertificateCallable()
- Overrides:
createAuthorizedCertificateCallable
in classAuthorizedCertificatesStub
-
updateAuthorizedCertificateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateAuthorizedCertificateRequest,AuthorizedCertificate> updateAuthorizedCertificateCallable()
- Overrides:
updateAuthorizedCertificateCallable
in classAuthorizedCertificatesStub
-
deleteAuthorizedCertificateCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAuthorizedCertificateRequest,com.google.protobuf.Empty> deleteAuthorizedCertificateCallable()
- Overrides:
deleteAuthorizedCertificateCallable
in classAuthorizedCertificatesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classAuthorizedCertificatesStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-