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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetEpochSecond()number of seconds since 1970-01-01T00:00:00ZintgetNanoOfSecond()the sub-second time in nanosecondsStringgetZoneId()the zone id, for example 'Europe/Amsterdam'com.google.protobuf.ByteStringgetZoneIdBytes()the zone id, for example 'Europe/Amsterdam'StringgetZoneOffset()the offset from Greenwich/UTCcom.google.protobuf.ByteStringgetZoneOffsetBytes()the offset from Greenwich/UTC-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-