@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcOsLoginServiceStub extends OsLoginServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcOsLoginServiceStub(OsLoginServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcOsLoginServiceStub, using the given settings.
|
protected |
GrpcOsLoginServiceStub(OsLoginServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcOsLoginServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcOsLoginServiceStub |
create(ClientContext clientContext) |
static GrpcOsLoginServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcOsLoginServiceStub |
create(OsLoginServiceStubSettings settings) |
UnaryCallable<com.google.cloud.oslogin.v1.DeletePosixAccountRequest,Empty> |
deletePosixAccountCallable() |
UnaryCallable<com.google.cloud.oslogin.v1.DeleteSshPublicKeyRequest,Empty> |
deleteSshPublicKeyCallable() |
UnaryCallable<com.google.cloud.oslogin.v1.GetLoginProfileRequest,com.google.cloud.oslogin.v1.LoginProfile> |
getLoginProfileCallable() |
UnaryCallable<com.google.cloud.oslogin.v1.GetSshPublicKeyRequest,com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey> |
getSshPublicKeyCallable() |
UnaryCallable<com.google.cloud.oslogin.v1.ImportSshPublicKeyRequest,com.google.cloud.oslogin.v1.ImportSshPublicKeyResponse> |
importSshPublicKeyCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.oslogin.v1.UpdateSshPublicKeyRequest,com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey> |
updateSshPublicKeyCallable() |
protected GrpcOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcOsLoginServiceStub create(OsLoginServiceStubSettings settings) throws IOException
IOException
public static final GrpcOsLoginServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcOsLoginServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.cloud.oslogin.v1.DeletePosixAccountRequest,Empty> deletePosixAccountCallable()
deletePosixAccountCallable
in class OsLoginServiceStub
public UnaryCallable<com.google.cloud.oslogin.v1.DeleteSshPublicKeyRequest,Empty> deleteSshPublicKeyCallable()
deleteSshPublicKeyCallable
in class OsLoginServiceStub
public UnaryCallable<com.google.cloud.oslogin.v1.GetLoginProfileRequest,com.google.cloud.oslogin.v1.LoginProfile> getLoginProfileCallable()
getLoginProfileCallable
in class OsLoginServiceStub
public UnaryCallable<com.google.cloud.oslogin.v1.GetSshPublicKeyRequest,com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey> getSshPublicKeyCallable()
getSshPublicKeyCallable
in class OsLoginServiceStub
public UnaryCallable<com.google.cloud.oslogin.v1.ImportSshPublicKeyRequest,com.google.cloud.oslogin.v1.ImportSshPublicKeyResponse> importSshPublicKeyCallable()
importSshPublicKeyCallable
in class OsLoginServiceStub
public UnaryCallable<com.google.cloud.oslogin.v1.UpdateSshPublicKeyRequest,com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey> updateSshPublicKeyCallable()
updateSshPublicKeyCallable
in class OsLoginServiceStub
public final void close()
close
in interface AutoCloseable
close
in class OsLoginServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.