Class RpcZonedDateTime
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.hansken.extraction.plugin.grpc.RpcZonedDateTime
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,RpcZonedDateTimeOrBuilder
public final class RpcZonedDateTime extends com.google.protobuf.GeneratedMessageV3 implements RpcZonedDateTimeOrBuilder
Message representing a timestamp in a specific zone with a specific offset. For a description of the valid values of these properties, such as the zone ID, refer to the ZonedDateTime JavaDoc: <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/ZonedDateTime.html"> ZonedDateTime JavaDoc</a>. <p> All fields are required.
Protobuf typeorg.hansken.extraction.plugin.grpc.RpcZonedDateTime- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRpcZonedDateTime.BuilderMessage representing a timestamp in a specific zone with a specific offset.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intEPOCHSECOND_FIELD_NUMBERstatic intNANOOFSECOND_FIELD_NUMBERstatic intZONEID_FIELD_NUMBERstatic intZONEOFFSET_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static RpcZonedDateTimegetDefaultInstance()RpcZonedDateTimegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetEpochSecond()number of seconds since 1970-01-01T00:00:00ZintgetNanoOfSecond()the sub-second time in nanosecondscom.google.protobuf.Parser<RpcZonedDateTime>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetZoneId()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/UTCinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RpcZonedDateTime.BuildernewBuilder()static RpcZonedDateTime.BuildernewBuilder(RpcZonedDateTime prototype)RpcZonedDateTime.BuildernewBuilderForType()protected RpcZonedDateTime.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RpcZonedDateTimeparseDelimitedFrom(InputStream input)static RpcZonedDateTimeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcZonedDateTimeparseFrom(byte[] data)static RpcZonedDateTimeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcZonedDateTimeparseFrom(com.google.protobuf.ByteString data)static RpcZonedDateTimeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcZonedDateTimeparseFrom(com.google.protobuf.CodedInputStream input)static RpcZonedDateTimeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcZonedDateTimeparseFrom(InputStream input)static RpcZonedDateTimeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcZonedDateTimeparseFrom(ByteBuffer data)static RpcZonedDateTimeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RpcZonedDateTime>parser()RpcZonedDateTime.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
EPOCHSECOND_FIELD_NUMBER
public static final int EPOCHSECOND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NANOOFSECOND_FIELD_NUMBER
public static final int NANOOFSECOND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONEOFFSET_FIELD_NUMBER
public static final int ZONEOFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONEID_FIELD_NUMBER
public static final int ZONEID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getEpochSecond
public long getEpochSecond()
number of seconds since 1970-01-01T00:00:00Z
int64 epochSecond = 1;- Specified by:
getEpochSecondin interfaceRpcZonedDateTimeOrBuilder- Returns:
- The epochSecond.
-
getNanoOfSecond
public int getNanoOfSecond()
the sub-second time in nanoseconds
int32 nanoOfSecond = 2;- Specified by:
getNanoOfSecondin interfaceRpcZonedDateTimeOrBuilder- Returns:
- The nanoOfSecond.
-
getZoneOffset
public String getZoneOffset()
the offset from Greenwich/UTC
string zoneOffset = 3;- Specified by:
getZoneOffsetin interfaceRpcZonedDateTimeOrBuilder- Returns:
- The zoneOffset.
-
getZoneOffsetBytes
public com.google.protobuf.ByteString getZoneOffsetBytes()
the offset from Greenwich/UTC
string zoneOffset = 3;- Specified by:
getZoneOffsetBytesin interfaceRpcZonedDateTimeOrBuilder- Returns:
- The bytes for zoneOffset.
-
getZoneId
public String getZoneId()
the zone id, for example 'Europe/Amsterdam'
string zoneId = 4;- Specified by:
getZoneIdin interfaceRpcZonedDateTimeOrBuilder- Returns:
- The zoneId.
-
getZoneIdBytes
public com.google.protobuf.ByteString getZoneIdBytes()
the zone id, for example 'Europe/Amsterdam'
string zoneId = 4;- Specified by:
getZoneIdBytesin interfaceRpcZonedDateTimeOrBuilder- Returns:
- The bytes for zoneId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RpcZonedDateTime parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcZonedDateTime parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcZonedDateTime parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcZonedDateTime parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcZonedDateTime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcZonedDateTime parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RpcZonedDateTime parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RpcZonedDateTime parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RpcZonedDateTime parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RpcZonedDateTime parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RpcZonedDateTime parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RpcZonedDateTime parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RpcZonedDateTime.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RpcZonedDateTime.Builder newBuilder()
-
newBuilder
public static RpcZonedDateTime.Builder newBuilder(RpcZonedDateTime prototype)
-
toBuilder
public RpcZonedDateTime.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RpcZonedDateTime.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RpcZonedDateTime getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RpcZonedDateTime> parser()
-
getParserForType
public com.google.protobuf.Parser<RpcZonedDateTime> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RpcZonedDateTime getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-