Class GrpcOsLoginServiceStub (2.50.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcOsLoginServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcOsLoginServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcOsLoginServiceStub
Exceptions
Type Description
IOException

create(OsLoginServiceStubSettings settings)

public static final GrpcOsLoginServiceStub create(OsLoginServiceStubSettings settings)
Parameter
Name Description
settings OsLoginServiceStubSettings
Returns
Type Description
GrpcOsLoginServiceStub
Exceptions
Type Description
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
Name Description
settings OsLoginServiceStubSettings
clientContext ClientContext

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
Name Description
settings OsLoginServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createSshPublicKeyCallable()

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

deletePosixAccountCallable()

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

deleteSshPublicKeyCallable()

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

getLoginProfileCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getSshPublicKeyCallable()

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

importSshPublicKeyCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateSshPublicKeyCallable()

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