Class HealthProfileServiceGrpc.HealthProfileServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<HealthProfileServiceGrpc.HealthProfileServiceBlockingV2Stub>
com.google.devicesandservices.health.v4.HealthProfileServiceGrpc.HealthProfileServiceBlockingV2Stub
- Enclosing class:
- HealthProfileServiceGrpc
public static final class HealthProfileServiceGrpc.HealthProfileServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<HealthProfileServiceGrpc.HealthProfileServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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) getIdentity(GetIdentityRequest request) Gets the user's identity.getProfile(GetProfileRequest request) Returns user Profile details.getSettings(GetSettingsRequest request) Returns user settings details.updateProfile(UpdateProfileRequest request) Updates the user's profile details.updateSettings(UpdateSettingsRequest request) Updates the user's settings details.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.HealthProfileServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<HealthProfileServiceGrpc.HealthProfileServiceBlockingV2Stub>
-
getProfile
Returns user Profile details.
- Throws:
io.grpc.StatusException
-
updateProfile
Updates the user's profile details.
- Throws:
io.grpc.StatusException
-
getSettings
Returns user settings details.
- Throws:
io.grpc.StatusException
-
updateSettings
Updates the user's settings details.
- Throws:
io.grpc.StatusException
-
getIdentity
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.
- Throws:
io.grpc.StatusException
-