@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcIamCredentialsStub extends IamCredentialsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcIamCredentialsStub(IamCredentialsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcIamCredentialsStub, using the given settings.
|
protected |
GrpcIamCredentialsStub(IamCredentialsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcIamCredentialsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcIamCredentialsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcIamCredentialsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcIamCredentialsStub |
create(IamCredentialsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> |
generateAccessTokenCallable() |
com.google.api.gax.rpc.UnaryCallable<GenerateIdTokenRequest,GenerateIdTokenResponse> |
generateIdTokenCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<SignBlobRequest,SignBlobResponse> |
signBlobCallable() |
com.google.api.gax.rpc.UnaryCallable<SignJwtRequest,SignJwtResponse> |
signJwtCallable() |
protected GrpcIamCredentialsStub(IamCredentialsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcIamCredentialsStub(IamCredentialsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcIamCredentialsStub create(IamCredentialsStubSettings settings) throws IOException
IOExceptionpublic static final GrpcIamCredentialsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcIamCredentialsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()
generateAccessTokenCallable in class IamCredentialsStubpublic com.google.api.gax.rpc.UnaryCallable<GenerateIdTokenRequest,GenerateIdTokenResponse> generateIdTokenCallable()
generateIdTokenCallable in class IamCredentialsStubpublic com.google.api.gax.rpc.UnaryCallable<SignBlobRequest,SignBlobResponse> signBlobCallable()
signBlobCallable in class IamCredentialsStubpublic com.google.api.gax.rpc.UnaryCallable<SignJwtRequest,SignJwtResponse> signJwtCallable()
signJwtCallable in class IamCredentialsStubpublic final void close()
close in interface AutoCloseableclose in class IamCredentialsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.