Interface ElectrocardiogramOrBuilder (0.2.0)

public interface ElectrocardiogramOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBeatsPerMinuteAvg()

public abstract long getBeatsPerMinuteAvg()

Optional. Average heart rate recorded during ECG reading in beats per minute.

optional int64 beats_per_minute_avg = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The beatsPerMinuteAvg.

getInterval()

public abstract SessionTimeInterval getInterval()

Required. Observed interval.

NOTE: Historical ECG data lacks timezone offsets, so start_utc_offset and end_utc_offset will be missing or default to zero. As a result, the civil time fields within this interval will default to UTC. It is recommended to use physical time fields instead for accurate time referencing.

NOTE: The start_time and end_time of the interval are equal, representing the reading time.

.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SessionTimeInterval

The interval.

getIntervalOrBuilder()

public abstract SessionTimeIntervalOrBuilder getIntervalOrBuilder()

Required. Observed interval.

NOTE: Historical ECG data lacks timezone offsets, so start_utc_offset and end_utc_offset will be missing or default to zero. As a result, the civil time fields within this interval will default to UTC. It is recommended to use physical time fields instead for accurate time referencing.

NOTE: The start_time and end_time of the interval are equal, representing the reading time.

.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SessionTimeIntervalOrBuilder

getLeadNumber()

public abstract int getLeadNumber()

Optional. The number of leads used for ECG reading.

optional int32 lead_number = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The leadNumber.

getMedicalDeviceInfo()

public abstract MedicalDeviceInfo getMedicalDeviceInfo()

Output only. The meta information for the compatible device used to conduct the measurement.

ECG measurements typically populate firmware_version, feature_version, and device_model.

.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MedicalDeviceInfo

The medicalDeviceInfo.

getMedicalDeviceInfoOrBuilder()

public abstract MedicalDeviceInfoOrBuilder getMedicalDeviceInfoOrBuilder()

Output only. The meta information for the compatible device used to conduct the measurement.

ECG measurements typically populate firmware_version, feature_version, and device_model.

.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MedicalDeviceInfoOrBuilder

getMillivoltsScalingFactor()

public abstract int getMillivoltsScalingFactor()

Optional. The factor by which to divide waveform samples to get voltage in millivolts: millivolts = waveform_sample / millivolts_scaling_factor.

optional int32 millivolts_scaling_factor = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The millivoltsScalingFactor.

getResultClassification()

public abstract Electrocardiogram.ResultClassification getResultClassification()

Optional. The result classification of the ECG reading.

.google.devicesandservices.health.v4.Electrocardiogram.ResultClassification result_classification = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Electrocardiogram.ResultClassification

The resultClassification.

getResultClassificationValue()

public abstract int getResultClassificationValue()

Optional. The result classification of the ECG reading.

.google.devicesandservices.health.v4.Electrocardiogram.ResultClassification result_classification = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for resultClassification.

getSamplingFrequencyHertz()

public abstract int getSamplingFrequencyHertz()

Optional. The sampling frequency of waveform samples in hertz.

optional int32 sampling_frequency_hertz = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The samplingFrequencyHertz.

getWaveformSamples(int index)

public abstract int getWaveformSamples(int index)

Optional. An array of voltage values representing lead I ECG values. Each sample represents voltage difference in ECG graph. The first value in array corresponds to the start of the reading.

repeated sint32 waveform_samples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The waveformSamples at the given index.

getWaveformSamplesCount()

public abstract int getWaveformSamplesCount()

Optional. An array of voltage values representing lead I ECG values. Each sample represents voltage difference in ECG graph. The first value in array corresponds to the start of the reading.

repeated sint32 waveform_samples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of waveformSamples.

getWaveformSamplesList()

public abstract List<Integer> getWaveformSamplesList()

Optional. An array of voltage values representing lead I ECG values. Each sample represents voltage difference in ECG graph. The first value in array corresponds to the start of the reading.

repeated sint32 waveform_samples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

A list containing the waveformSamples.

hasBeatsPerMinuteAvg()

public abstract boolean hasBeatsPerMinuteAvg()

Optional. Average heart rate recorded during ECG reading in beats per minute.

optional int64 beats_per_minute_avg = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the beatsPerMinuteAvg field is set.

hasInterval()

public abstract boolean hasInterval()

Required. Observed interval.

NOTE: Historical ECG data lacks timezone offsets, so start_utc_offset and end_utc_offset will be missing or default to zero. As a result, the civil time fields within this interval will default to UTC. It is recommended to use physical time fields instead for accurate time referencing.

NOTE: The start_time and end_time of the interval are equal, representing the reading time.

.google.devicesandservices.health.v4.SessionTimeInterval interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the interval field is set.

hasLeadNumber()

public abstract boolean hasLeadNumber()

Optional. The number of leads used for ECG reading.

optional int32 lead_number = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the leadNumber field is set.

hasMedicalDeviceInfo()

public abstract boolean hasMedicalDeviceInfo()

Output only. The meta information for the compatible device used to conduct the measurement.

ECG measurements typically populate firmware_version, feature_version, and device_model.

.google.devicesandservices.health.v4.MedicalDeviceInfo medical_device_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the medicalDeviceInfo field is set.

hasMillivoltsScalingFactor()

public abstract boolean hasMillivoltsScalingFactor()

Optional. The factor by which to divide waveform samples to get voltage in millivolts: millivolts = waveform_sample / millivolts_scaling_factor.

optional int32 millivolts_scaling_factor = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the millivoltsScalingFactor field is set.

hasSamplingFrequencyHertz()

public abstract boolean hasSamplingFrequencyHertz()

Optional. The sampling frequency of waveform samples in hertz.

optional int32 sampling_frequency_hertz = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the samplingFrequencyHertz field is set.