public interface

TimeProto.TimeSpecOrBuilder

 androidx.health.platform.client.proto.TimeProto.TimeSpecOrBuilder

Subclasses:

TimeProto.TimeSpec, TimeProto.TimeSpec.Builder

Summary

Methods
public java.lang.StringgetEndLocalDateTime()

optional string end_local_date_time = 4;

public com.google.protobuf.ByteStringgetEndLocalDateTimeBytes()

optional string end_local_date_time = 4;

public longgetEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

public java.lang.StringgetStartLocalDateTime()

optional string start_local_date_time = 3;

public com.google.protobuf.ByteStringgetStartLocalDateTimeBytes()

optional string start_local_date_time = 3;

public longgetStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

public booleanhasEndLocalDateTime()

optional string end_local_date_time = 4;

public booleanhasEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

public booleanhasStartLocalDateTime()

optional string start_local_date_time = 3;

public booleanhasStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

Methods

public boolean hasStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

Returns:

Whether the startTimeEpochMs field is set.

public long getStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

Returns:

The startTimeEpochMs.

public boolean hasEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

Returns:

Whether the endTimeEpochMs field is set.

public long getEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

Returns:

The endTimeEpochMs.

public boolean hasStartLocalDateTime()

optional string start_local_date_time = 3;

Returns:

Whether the startLocalDateTime field is set.

public java.lang.String getStartLocalDateTime()

optional string start_local_date_time = 3;

Returns:

The startLocalDateTime.

public com.google.protobuf.ByteString getStartLocalDateTimeBytes()

optional string start_local_date_time = 3;

Returns:

The bytes for startLocalDateTime.

public boolean hasEndLocalDateTime()

optional string end_local_date_time = 4;

Returns:

Whether the endLocalDateTime field is set.

public java.lang.String getEndLocalDateTime()

optional string end_local_date_time = 4;

Returns:

The endLocalDateTime.

public com.google.protobuf.ByteString getEndLocalDateTimeBytes()

optional string end_local_date_time = 4;

Returns:

The bytes for endLocalDateTime.