- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Timestamp,Timestamp.Builder
@Generated
public interface TimestampOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetNanos()* The number of nanoseconds after the start of the second referenced in `seconds`.long* The number of complete seconds since the start of the epoch.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getSeconds
long getSeconds()* The number of complete seconds since the start of the epoch. <p> For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.<br/> This value MUST be greater than 0.<br/> This value SHOULD be strictly greater than `946684800`.
int64 seconds = 1;- Returns:
- The seconds.
-
getNanos
int getNanos()* The number of nanoseconds after the start of the second referenced in `seconds`. <p> This value MUST be greater than or equal to 0.<br/> This value MUST be strictly less than 1,000,000,000.
int32 nanos = 2;- Returns:
- The nanos.
-