Interface RpcZonedDateTimeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RpcZonedDateTime,RpcZonedDateTime.Builder
public interface RpcZonedDateTimeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongnumber of seconds since 1970-01-01T00:00:00Zintthe sub-second time in nanosecondsthe zone id, for example 'Europe/Amsterdam'com.google.protobuf.ByteStringthe zone id, for example 'Europe/Amsterdam'the offset from Greenwich/UTCcom.google.protobuf.ByteStringthe offset from Greenwich/UTCMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEpochSecond
long getEpochSecond()number of seconds since 1970-01-01T00:00:00Z
int64 epochSecond = 1;- Returns:
- The epochSecond.
-
getNanoOfSecond
int getNanoOfSecond()the sub-second time in nanoseconds
int32 nanoOfSecond = 2;- Returns:
- The nanoOfSecond.
-
getZoneOffset
String getZoneOffset()the offset from Greenwich/UTC
string zoneOffset = 3;- Returns:
- The zoneOffset.
-
getZoneOffsetBytes
com.google.protobuf.ByteString getZoneOffsetBytes()the offset from Greenwich/UTC
string zoneOffset = 3;- Returns:
- The bytes for zoneOffset.
-
getZoneId
String getZoneId()the zone id, for example 'Europe/Amsterdam'
string zoneId = 4;- Returns:
- The zoneId.
-
getZoneIdBytes
com.google.protobuf.ByteString getZoneIdBytes()the zone id, for example 'Europe/Amsterdam'
string zoneId = 4;- Returns:
- The bytes for zoneId.
-