public static final class IrregularRhythmNotification.Builder extends GeneratedMessage.Builder<IrregularRhythmNotification.Builder> implements IrregularRhythmNotificationOrBuilderRepresents an Irregular Rhythm Notification alert, indicating a potential sign of atrial fibrillation (AFib). This data type is based on SaMD feature and any changes to it may require additional review.
Protobuf type google.devicesandservices.health.v4.IrregularRhythmNotification
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IrregularRhythmNotification.BuilderImplements
IrregularRhythmNotificationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAlertWindows(IrregularRhythmNotification.AlertWindow value)
public IrregularRhythmNotification.Builder addAlertWindows(IrregularRhythmNotification.AlertWindow value)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
IrregularRhythmNotification.AlertWindow |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
addAlertWindows(IrregularRhythmNotification.AlertWindow.Builder builderForValue)
public IrregularRhythmNotification.Builder addAlertWindows(IrregularRhythmNotification.AlertWindow.Builder builderForValue)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
IrregularRhythmNotification.AlertWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
addAlertWindows(int index, IrregularRhythmNotification.AlertWindow value)
public IrregularRhythmNotification.Builder addAlertWindows(int index, IrregularRhythmNotification.AlertWindow value)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
IrregularRhythmNotification.AlertWindow |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
addAlertWindows(int index, IrregularRhythmNotification.AlertWindow.Builder builderForValue)
public IrregularRhythmNotification.Builder addAlertWindows(int index, IrregularRhythmNotification.AlertWindow.Builder builderForValue)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
IrregularRhythmNotification.AlertWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
addAlertWindowsBuilder()
public IrregularRhythmNotification.AlertWindow.Builder addAlertWindowsBuilder()Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.AlertWindow.Builder |
|
addAlertWindowsBuilder(int index)
public IrregularRhythmNotification.AlertWindow.Builder addAlertWindowsBuilder(int index)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.AlertWindow.Builder |
|
addAllAlertWindows(Iterable<? extends IrregularRhythmNotification.AlertWindow> values)
public IrregularRhythmNotification.Builder addAllAlertWindows(Iterable<? extends IrregularRhythmNotification.AlertWindow> values)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow> |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
build()
public IrregularRhythmNotification build()| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification |
|
buildPartial()
public IrregularRhythmNotification buildPartial()| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification |
|
clear()
public IrregularRhythmNotification.Builder clear()| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
clearAlertWindows()
public IrregularRhythmNotification.Builder clearAlertWindows()Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
clearInterval()
public IrregularRhythmNotification.Builder clearInterval()Required. Observed interval.
.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
clearMedicalDeviceInfo()
public IrregularRhythmNotification.Builder clearMedicalDeviceInfo()Output only. The meta information for the compatible device used to conduct the measurement.
Irregular Rhythm Notification measurements typically populate
algorithm_version, service_version, and device_model.
.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
getAlertWindows(int index)
public IrregularRhythmNotification.AlertWindow getAlertWindows(int index)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.AlertWindow |
|
getAlertWindowsBuilder(int index)
public IrregularRhythmNotification.AlertWindow.Builder getAlertWindowsBuilder(int index)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.AlertWindow.Builder |
|
getAlertWindowsBuilderList()
public List<IrregularRhythmNotification.AlertWindow.Builder> getAlertWindowsBuilderList()Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAlertWindowsCount()
public int getAlertWindowsCount()Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAlertWindowsList()
public List<IrregularRhythmNotification.AlertWindow> getAlertWindowsList()Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AlertWindow> |
|
getAlertWindowsOrBuilder(int index)
public IrregularRhythmNotification.AlertWindowOrBuilder getAlertWindowsOrBuilder(int index)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.AlertWindowOrBuilder |
|
getAlertWindowsOrBuilderList()
public List<? extends IrregularRhythmNotification.AlertWindowOrBuilder> getAlertWindowsOrBuilderList()Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindowOrBuilder> |
|
getDefaultInstanceForType()
public IrregularRhythmNotification getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInterval()
public SessionTimeInterval getInterval()Required. Observed interval.
.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SessionTimeInterval |
The interval. |
getIntervalBuilder()
public SessionTimeInterval.Builder getIntervalBuilder()Required. Observed interval.
.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SessionTimeInterval.Builder |
|
getIntervalOrBuilder()
public SessionTimeIntervalOrBuilder getIntervalOrBuilder()Required. Observed interval.
.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SessionTimeIntervalOrBuilder |
|
getMedicalDeviceInfo()
public MedicalDeviceInfo getMedicalDeviceInfo()Output only. The meta information for the compatible device used to conduct the measurement.
Irregular Rhythm Notification measurements typically populate
algorithm_version, service_version, and device_model.
.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo |
The medicalDeviceInfo. |
getMedicalDeviceInfoBuilder()
public MedicalDeviceInfo.Builder getMedicalDeviceInfoBuilder()Output only. The meta information for the compatible device used to conduct the measurement.
Irregular Rhythm Notification measurements typically populate
algorithm_version, service_version, and device_model.
.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
|
getMedicalDeviceInfoOrBuilder()
public MedicalDeviceInfoOrBuilder getMedicalDeviceInfoOrBuilder()Output only. The meta information for the compatible device used to conduct the measurement.
Irregular Rhythm Notification measurements typically populate
algorithm_version, service_version, and device_model.
.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfoOrBuilder |
|
hasInterval()
public boolean hasInterval()Required. Observed interval.
.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the interval field is set. |
hasMedicalDeviceInfo()
public boolean hasMedicalDeviceInfo()Output only. The meta information for the compatible device used to conduct the measurement.
Irregular Rhythm Notification measurements typically populate
algorithm_version, service_version, and device_model.
.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the medicalDeviceInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IrregularRhythmNotification other)
public IrregularRhythmNotification.Builder mergeFrom(IrregularRhythmNotification other)| Parameter | |
|---|---|
| Name | Description |
other |
IrregularRhythmNotification |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IrregularRhythmNotification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IrregularRhythmNotification.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
mergeInterval(SessionTimeInterval value)
public IrregularRhythmNotification.Builder mergeInterval(SessionTimeInterval value)Required. Observed interval.
.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SessionTimeInterval |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
mergeMedicalDeviceInfo(MedicalDeviceInfo value)
public IrregularRhythmNotification.Builder mergeMedicalDeviceInfo(MedicalDeviceInfo value)Output only. The meta information for the compatible device used to conduct the measurement.
Irregular Rhythm Notification measurements typically populate
algorithm_version, service_version, and device_model.
.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
MedicalDeviceInfo |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
removeAlertWindows(int index)
public IrregularRhythmNotification.Builder removeAlertWindows(int index)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
setAlertWindows(int index, IrregularRhythmNotification.AlertWindow value)
public IrregularRhythmNotification.Builder setAlertWindows(int index, IrregularRhythmNotification.AlertWindow value)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
IrregularRhythmNotification.AlertWindow |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
setAlertWindows(int index, IrregularRhythmNotification.AlertWindow.Builder builderForValue)
public IrregularRhythmNotification.Builder setAlertWindows(int index, IrregularRhythmNotification.AlertWindow.Builder builderForValue)Optional. The overlapping analysis windows that were used to evaluate rhythm for potential AFib, containing specific information about the user's heart rhythm.
repeated .google.devicesandservices.health.v4.IrregularRhythmNotification.AlertWindow alert_windows = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
IrregularRhythmNotification.AlertWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
setInterval(SessionTimeInterval value)
public IrregularRhythmNotification.Builder setInterval(SessionTimeInterval value)Required. Observed interval.
.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SessionTimeInterval |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
setInterval(SessionTimeInterval.Builder builderForValue)
public IrregularRhythmNotification.Builder setInterval(SessionTimeInterval.Builder builderForValue)Required. Observed interval.
.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SessionTimeInterval.Builder |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
setMedicalDeviceInfo(MedicalDeviceInfo value)
public IrregularRhythmNotification.Builder setMedicalDeviceInfo(MedicalDeviceInfo value)Output only. The meta information for the compatible device used to conduct the measurement.
Irregular Rhythm Notification measurements typically populate
algorithm_version, service_version, and device_model.
.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
MedicalDeviceInfo |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|
setMedicalDeviceInfo(MedicalDeviceInfo.Builder builderForValue)
public IrregularRhythmNotification.Builder setMedicalDeviceInfo(MedicalDeviceInfo.Builder builderForValue)Output only. The meta information for the compatible device used to conduct the measurement.
Irregular Rhythm Notification measurements typically populate
algorithm_version, service_version, and device_model.
.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MedicalDeviceInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
IrregularRhythmNotification.Builder |
|