Class GrpcOsLoginServiceStub (2.13.0)

public class GrpcOsLoginServiceStub extends OsLoginServiceStub

gRPC stub implementation for the OsLoginService service API.

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

Inheritance

java.lang.Object > OsLoginServiceStub > GrpcOsLoginServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcOsLoginServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcOsLoginServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcOsLoginServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcOsLoginServiceStub
Exceptions
TypeDescription
IOException

create(OsLoginServiceStubSettings settings)

public static final GrpcOsLoginServiceStub create(OsLoginServiceStubSettings settings)
Parameter
NameDescription
settingsOsLoginServiceStubSettings
Returns
TypeDescription
GrpcOsLoginServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext)

protected GrpcOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcOsLoginServiceStub, 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
NameDescription
settingsOsLoginServiceStubSettings
clientContextClientContext

GrpcOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcOsLoginServiceStub, 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
NameDescription
settingsOsLoginServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createSshPublicKeyCallable()

public UnaryCallable<CreateSshPublicKeyRequest,OsLoginProto.SshPublicKey> createSshPublicKeyCallable()
Returns
TypeDescription
UnaryCallable<CreateSshPublicKeyRequest,SshPublicKey>
Overrides

deletePosixAccountCallable()

public UnaryCallable<DeletePosixAccountRequest,Empty> deletePosixAccountCallable()
Returns
TypeDescription
UnaryCallable<DeletePosixAccountRequest,Empty>
Overrides

deleteSshPublicKeyCallable()

public UnaryCallable<DeleteSshPublicKeyRequest,Empty> deleteSshPublicKeyCallable()
Returns
TypeDescription
UnaryCallable<DeleteSshPublicKeyRequest,Empty>
Overrides

getLoginProfileCallable()

public UnaryCallable<GetLoginProfileRequest,LoginProfile> getLoginProfileCallable()
Returns
TypeDescription
UnaryCallable<GetLoginProfileRequest,LoginProfile>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getSshPublicKeyCallable()

public UnaryCallable<GetSshPublicKeyRequest,OsLoginProto.SshPublicKey> getSshPublicKeyCallable()
Returns
TypeDescription
UnaryCallable<GetSshPublicKeyRequest,SshPublicKey>
Overrides

importSshPublicKeyCallable()

public UnaryCallable<ImportSshPublicKeyRequest,ImportSshPublicKeyResponse> importSshPublicKeyCallable()
Returns
TypeDescription
UnaryCallable<ImportSshPublicKeyRequest,ImportSshPublicKeyResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateSshPublicKeyCallable()

public UnaryCallable<UpdateSshPublicKeyRequest,OsLoginProto.SshPublicKey> updateSshPublicKeyCallable()
Returns
TypeDescription
UnaryCallable<UpdateSshPublicKeyRequest,SshPublicKey>
Overrides