Class HealthProfileServiceGrpc.HealthProfileServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<HealthProfileServiceGrpc.HealthProfileServiceStub>
com.google.devicesandservices.health.v4.HealthProfileServiceGrpc.HealthProfileServiceStub
- Enclosing class:
- HealthProfileServiceGrpc
public static final class HealthProfileServiceGrpc.HealthProfileServiceStub
extends io.grpc.stub.AbstractAsyncStub<HealthProfileServiceGrpc.HealthProfileServiceStub>
A stub to allow clients to do asynchronous rpc calls to service HealthProfileService.
Health Profile Service
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgetIdentity(GetIdentityRequest request, io.grpc.stub.StreamObserver<Identity> responseObserver) Gets the user's identity.voidgetProfile(GetProfileRequest request, io.grpc.stub.StreamObserver<Profile> responseObserver) Returns user Profile details.voidgetSettings(GetSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver) Returns user settings details.voidupdateProfile(UpdateProfileRequest request, io.grpc.stub.StreamObserver<Profile> responseObserver) Updates the user's profile details.voidupdateSettings(UpdateSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver) Updates the user's settings details.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected HealthProfileServiceGrpc.HealthProfileServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<HealthProfileServiceGrpc.HealthProfileServiceStub>
-
getProfile
public void getProfile(GetProfileRequest request, io.grpc.stub.StreamObserver<Profile> responseObserver) Returns user Profile details.
-
updateProfile
public void updateProfile(UpdateProfileRequest request, io.grpc.stub.StreamObserver<Profile> responseObserver) Updates the user's profile details.
-
getSettings
public void getSettings(GetSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver) Returns user settings details.
-
updateSettings
public void updateSettings(UpdateSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver) Updates the user's settings details.
-
getIdentity
public void getIdentity(GetIdentityRequest request, io.grpc.stub.StreamObserver<Identity> responseObserver) Gets the user's identity. It includes the legacy Fitbit user ID and the Google user ID and it can be used by migrating clients to map identifiers between the two systems.
-