public static final class IrnProfile.Builder extends GeneratedMessage.Builder<IrnProfile.Builder> implements IrnProfileOrBuilderIrregular 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IrnProfile.BuilderImplements
IrnProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public IrnProfile build()| Returns | |
|---|---|
| Type | Description |
IrnProfile |
|
buildPartial()
public IrnProfile buildPartial()| Returns | |
|---|---|
| Type | Description |
IrnProfile |
|
clear()
public IrnProfile.Builder clear()| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
|
clearEnrollmentStatus()
public IrnProfile.Builder clearEnrollmentStatus()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 |
IrnProfile.Builder |
This builder for chaining. |
clearName()
public IrnProfile.Builder clearName()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 |
IrnProfile.Builder |
This builder for chaining. |
clearOnboardingStatus()
public IrnProfile.Builder clearOnboardingStatus()Required. Whether or not the user has onboarded onto the IRN feature.
bool onboarding_status = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
This builder for chaining. |
clearUpdateTime()
public IrnProfile.Builder clearUpdateTime()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 |
IrnProfile.Builder |
|
getDefaultInstanceForType()
public IrnProfile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IrnProfile |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()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 |
Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IrnProfile other)
public IrnProfile.Builder mergeFrom(IrnProfile other)| Parameter | |
|---|---|
| Name | Description |
other |
IrnProfile |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IrnProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IrnProfile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
|
mergeUpdateTime(Timestamp value)
public IrnProfile.Builder mergeUpdateTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
|
setEnrollmentStatus(boolean value)
public IrnProfile.Builder setEnrollmentStatus(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enrollmentStatus to set. |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
This builder for chaining. |
setName(String value)
public IrnProfile.Builder setName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public IrnProfile.Builder setNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
This builder for chaining. |
setOnboardingStatus(boolean value)
public IrnProfile.Builder setOnboardingStatus(boolean value)Required. Whether or not the user has onboarded onto the IRN feature.
bool onboarding_status = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe onboardingStatus to set. |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public IrnProfile.Builder setUpdateTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public IrnProfile.Builder setUpdateTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
IrnProfile.Builder |
|