public final class

TimeProto.TimeSpec

extends <any>

implements TimeProto.TimeSpecOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.TimeProto.TimeSpec

Overview

Protobuf type androidx.health.platform.client.proto.TimeSpec

Summary

Fields
public static final intEND_LOCAL_DATE_TIME_FIELD_NUMBER

public static final intEND_TIME_EPOCH_MS_FIELD_NUMBER

public static final intSTART_LOCAL_DATE_TIME_FIELD_NUMBER

public static final intSTART_TIME_EPOCH_MS_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static TimeProto.TimeSpecgetDefaultInstance()

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;

public static TimeProto.TimeSpec.BuildernewBuilder()

public static TimeProto.TimeSpec.BuildernewBuilder(TimeProto.TimeSpec prototype)

public static TimeProto.TimeSpecparseDelimitedFrom(java.io.InputStream input)

public static TimeProto.TimeSpecparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpecparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpecparseFrom(java.nio.ByteBuffer data)

public static TimeProto.TimeSpecparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpecparseFrom(com.google.protobuf.ByteString data)

public static TimeProto.TimeSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpecparseFrom(com.google.protobuf.CodedInputStream input)

public static TimeProto.TimeSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpecparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int START_TIME_EPOCH_MS_FIELD_NUMBER

public static final int END_TIME_EPOCH_MS_FIELD_NUMBER

public static final int START_LOCAL_DATE_TIME_FIELD_NUMBER

public static final int END_LOCAL_DATE_TIME_FIELD_NUMBER

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.

public static TimeProto.TimeSpec parseFrom(java.nio.ByteBuffer data)

public static TimeProto.TimeSpec parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpec parseFrom(com.google.protobuf.ByteString data)

public static TimeProto.TimeSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpec parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpec parseDelimitedFrom(java.io.InputStream input)

public static TimeProto.TimeSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpec parseFrom(com.google.protobuf.CodedInputStream input)

public static TimeProto.TimeSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TimeProto.TimeSpec.Builder newBuilder()

public static TimeProto.TimeSpec.Builder newBuilder(TimeProto.TimeSpec prototype)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static TimeProto.TimeSpec getDefaultInstance()

public static <any> parser()