Class IrnProfile (0.2.0)

public final class IrnProfile extends GeneratedMessage implements IrnProfileOrBuilder

Irregular Rhythm Notifications (IRN) Profile details.

The Irregular Rhythm Notifications (IRN) feature checks for signs of atrial fibrillation (AFib). The IrnProfile details include information about the user's onboarding status, enrollment status, and the last update time of analyzable data for this feature.

Protobuf type google.devicesandservices.health.v4.IrnProfile

Implements

IrnProfileOrBuilder

Static Fields

ENROLLMENT_STATUS_FIELD_NUMBER

public static final int ENROLLMENT_STATUS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

ONBOARDING_STATUS_FIELD_NUMBER

public static final int ONBOARDING_STATUS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IrnProfile getDefaultInstance()
Returns
Type Description
IrnProfile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IrnProfile.Builder newBuilder()
Returns
Type Description
IrnProfile.Builder

newBuilder(IrnProfile prototype)

public static IrnProfile.Builder newBuilder(IrnProfile prototype)
Parameter
Name Description
prototype IrnProfile
Returns
Type Description
IrnProfile.Builder

parseDelimitedFrom(InputStream input)

public static IrnProfile parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IrnProfile
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IrnProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IrnProfile
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IrnProfile parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IrnProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IrnProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IrnProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IrnProfile parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IrnProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IrnProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IrnProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IrnProfile parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IrnProfile
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IrnProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IrnProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IrnProfile parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IrnProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IrnProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IrnProfile
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IrnProfile parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IrnProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IrnProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IrnProfile
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IrnProfile> parser()
Returns
Type Description
Parser<IrnProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public IrnProfile getDefaultInstanceForType()
Returns
Type Description
IrnProfile

getEnrollmentStatus()

public boolean getEnrollmentStatus()

Required. Whether or not the user is currently enrolled in having their data processed for IRN alerts.

bool enrollment_status = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The enrollmentStatus.

getName()

public String getName()

Identifier. The resource name of this IrnProfile resource.

Format: users/{user}/irnProfile Example: users/1234567890/irnProfile or users/me/irnProfile The {user} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal me can also be used to refer to the authenticated user.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of this IrnProfile resource.

Format: users/{user}/irnProfile Example: users/1234567890/irnProfile or users/me/irnProfile The {user} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal me can also be used to refer to the authenticated user.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getOnboardingStatus()

public boolean getOnboardingStatus()

Required. Whether or not the user has onboarded onto the IRN feature.

bool onboarding_status = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The onboardingStatus.

getParserForType()

public Parser<IrnProfile> getParserForType()
Returns
Type Description
Parser<IrnProfile>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The timestamp of the last piece of analyzable data synced by the user.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp of the last piece of analyzable data synced by the user.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The timestamp of the last piece of analyzable data synced by the user.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IrnProfile.Builder newBuilderForType()
Returns
Type Description
IrnProfile.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected IrnProfile.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IrnProfile.Builder
Overrides

toBuilder()

public IrnProfile.Builder toBuilder()
Returns
Type Description
IrnProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException