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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    getIdentity(GetIdentityRequest request, io.grpc.stub.StreamObserver<Identity> responseObserver)
    Gets the user's identity.
    void
    getProfile(GetProfileRequest request, io.grpc.stub.StreamObserver<Profile> responseObserver)
    Returns user Profile details.
    void
    getSettings(GetSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver)
    Returns user settings details.
    void
    updateProfile(UpdateProfileRequest request, io.grpc.stub.StreamObserver<Profile> responseObserver)
    Updates the user's profile details.
    void
    updateSettings(UpdateSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver)
    Updates the user's settings details.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected HealthProfileServiceGrpc.HealthProfileServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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.