Class HealthProfileServiceGrpc.HealthProfileServiceStub (0.2.0)

public static final class HealthProfileServiceGrpc.HealthProfileServiceStub extends AbstractAsyncStub<HealthProfileServiceGrpc.HealthProfileServiceStub>

A stub to allow clients to do asynchronous rpc calls to service HealthProfileService.

Health Profile Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > HealthProfileServiceGrpc.HealthProfileServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected HealthProfileServiceGrpc.HealthProfileServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
HealthProfileServiceGrpc.HealthProfileServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getIdentity(GetIdentityRequest request, StreamObserver<Identity> responseObserver)

public void getIdentity(GetIdentityRequest request, 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.

Parameters
Name Description
request GetIdentityRequest
responseObserver io.grpc.stub.StreamObserver<Identity>

getIrnProfile(GetIrnProfileRequest request, StreamObserver<IrnProfile> responseObserver)

public void getIrnProfile(GetIrnProfileRequest request, StreamObserver<IrnProfile> responseObserver)

Returns user's IRN Profile details.

Parameters
Name Description
request GetIrnProfileRequest
responseObserver io.grpc.stub.StreamObserver<IrnProfile>

getPairedDevice(GetPairedDeviceRequest request, StreamObserver<PairedDevice> responseObserver)

public void getPairedDevice(GetPairedDeviceRequest request, StreamObserver<PairedDevice> responseObserver)

Returns user's Device.

Parameters
Name Description
request GetPairedDeviceRequest
responseObserver io.grpc.stub.StreamObserver<PairedDevice>

getProfile(GetProfileRequest request, StreamObserver<Profile> responseObserver)

public void getProfile(GetProfileRequest request, StreamObserver<Profile> responseObserver)

Returns user Profile details.

Parameters
Name Description
request GetProfileRequest
responseObserver io.grpc.stub.StreamObserver<Profile>

getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

public void getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

Returns user settings details.

Parameters
Name Description
request GetSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>

listPairedDevices(ListPairedDevicesRequest request, StreamObserver<ListPairedDevicesResponse> responseObserver)

public void listPairedDevices(ListPairedDevicesRequest request, StreamObserver<ListPairedDevicesResponse> responseObserver)

Returns the user's list of paired 1P trackers and smartwatches.

Parameters
Name Description
request ListPairedDevicesRequest
responseObserver io.grpc.stub.StreamObserver<ListPairedDevicesResponse>

updateProfile(UpdateProfileRequest request, StreamObserver<Profile> responseObserver)

public void updateProfile(UpdateProfileRequest request, StreamObserver<Profile> responseObserver)

Updates the user's profile details.

Parameters
Name Description
request UpdateProfileRequest
responseObserver io.grpc.stub.StreamObserver<Profile>

updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

public void updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

Updates the user's settings details.

Parameters
Name Description
request UpdateSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>