public class HttpJsonOsLoginServiceStub extends OsLoginServiceStub
REST stub implementation for the OsLoginService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonOsLoginServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonOsLoginServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(OsLoginServiceStubSettings settings)
public static final HttpJsonOsLoginServiceStub create(OsLoginServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonOsLoginServiceStub, 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.
HttpJsonOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonOsLoginServiceStub(OsLoginServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonOsLoginServiceStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createSshPublicKeyCallable()
public UnaryCallable<CreateSshPublicKeyRequest,OsLoginProto.SshPublicKey> createSshPublicKeyCallable()
Overrides
deletePosixAccountCallable()
public UnaryCallable<DeletePosixAccountRequest,Empty> deletePosixAccountCallable()
Overrides
deleteSshPublicKeyCallable()
public UnaryCallable<DeleteSshPublicKeyRequest,Empty> deleteSshPublicKeyCallable()
Overrides
getLoginProfileCallable()
public UnaryCallable<GetLoginProfileRequest,LoginProfile> getLoginProfileCallable()
Overrides
getSshPublicKeyCallable()
public UnaryCallable<GetSshPublicKeyRequest,OsLoginProto.SshPublicKey> getSshPublicKeyCallable()
Overrides
importSshPublicKeyCallable()
public UnaryCallable<ImportSshPublicKeyRequest,ImportSshPublicKeyResponse> importSshPublicKeyCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
shutdown()
shutdownNow()
public void shutdownNow()
updateSshPublicKeyCallable()
public UnaryCallable<UpdateSshPublicKeyRequest,OsLoginProto.SshPublicKey> updateSshPublicKeyCallable()
Overrides