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