Class LocalTimeProtocol.LocalTime
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,LocalTimeProtocol.LocalTimeOrBuilder
- Enclosing class:
- LocalTimeProtocol
public static final class LocalTimeProtocol.LocalTime extends com.google.protobuf.GeneratedMessage implements LocalTimeProtocol.LocalTimeOrBuilder
Protobuf typeorg.jboss.netty.example.localtime.LocalTime- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocalTimeProtocol.LocalTime.BuilderProtobuf typeorg.jboss.netty.example.localtime.LocalTime-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static intDAYOFMONTH_FIELD_NUMBERstatic intDAYOFWEEK_FIELD_NUMBERstatic intHOUR_FIELD_NUMBERstatic intMINUTE_FIELD_NUMBERstatic intMONTH_FIELD_NUMBERstatic com.google.protobuf.Parser<LocalTimeProtocol.LocalTime>PARSERstatic intSECOND_FIELD_NUMBERstatic intYEAR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDayOfMonth()required uint32 dayOfMonth = 4;LocalTimeProtocol.DayOfWeekgetDayOfWeek()required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;static LocalTimeProtocol.LocalTimegetDefaultInstance()LocalTimeProtocol.LocalTimegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetHour()required uint32 hour = 6;intgetMinute()required uint32 minute = 7;intgetMonth()required uint32 month = 2;com.google.protobuf.Parser<LocalTimeProtocol.LocalTime>getParserForType()intgetSecond()required uint32 second = 8;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetYear()required uint32 year = 1;booleanhasDayOfMonth()required uint32 dayOfMonth = 4;booleanhasDayOfWeek()required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;booleanhasHour()required uint32 hour = 6;booleanhasMinute()required uint32 minute = 7;booleanhasMonth()required uint32 month = 2;booleanhasSecond()required uint32 second = 8;booleanhasYear()required uint32 year = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LocalTimeProtocol.LocalTime.BuildernewBuilder()static LocalTimeProtocol.LocalTime.BuildernewBuilder(LocalTimeProtocol.LocalTime prototype)LocalTimeProtocol.LocalTime.BuildernewBuilderForType()protected LocalTimeProtocol.LocalTime.BuildernewBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)static LocalTimeProtocol.LocalTimeparseDelimitedFrom(InputStream input)static LocalTimeProtocol.LocalTimeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalTimeProtocol.LocalTimeparseFrom(byte[] data)static LocalTimeProtocol.LocalTimeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalTimeProtocol.LocalTimeparseFrom(com.google.protobuf.ByteString data)static LocalTimeProtocol.LocalTimeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalTimeProtocol.LocalTimeparseFrom(com.google.protobuf.CodedInputStream input)static LocalTimeProtocol.LocalTimeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalTimeProtocol.LocalTimeparseFrom(InputStream input)static LocalTimeProtocol.LocalTimeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LocalTimeProtocol.LocalTime.BuildertoBuilder()protected ObjectwriteReplace()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, 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
-
PARSER
public static com.google.protobuf.Parser<LocalTimeProtocol.LocalTime> PARSER
-
YEAR_FIELD_NUMBER
public static final int YEAR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MONTH_FIELD_NUMBER
public static final int MONTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DAYOFMONTH_FIELD_NUMBER
public static final int DAYOFMONTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DAYOFWEEK_FIELD_NUMBER
public static final int DAYOFWEEK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOUR_FIELD_NUMBER
public static final int HOUR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MINUTE_FIELD_NUMBER
public static final int MINUTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECOND_FIELD_NUMBER
public static final int SECOND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
public static LocalTimeProtocol.LocalTime getDefaultInstance()
-
getDefaultInstanceForType
public LocalTimeProtocol.LocalTime getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessage
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getParserForType
public com.google.protobuf.Parser<LocalTimeProtocol.LocalTime> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
hasYear
public boolean hasYear()
required uint32 year = 1;- Specified by:
hasYearin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getYear
public int getYear()
required uint32 year = 1;- Specified by:
getYearin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasMonth
public boolean hasMonth()
required uint32 month = 2;- Specified by:
hasMonthin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getMonth
public int getMonth()
required uint32 month = 2;- Specified by:
getMonthin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasDayOfMonth
public boolean hasDayOfMonth()
required uint32 dayOfMonth = 4;- Specified by:
hasDayOfMonthin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getDayOfMonth
public int getDayOfMonth()
required uint32 dayOfMonth = 4;- Specified by:
getDayOfMonthin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasDayOfWeek
public boolean hasDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;- Specified by:
hasDayOfWeekin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getDayOfWeek
public LocalTimeProtocol.DayOfWeek getDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;- Specified by:
getDayOfWeekin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasHour
public boolean hasHour()
required uint32 hour = 6;- Specified by:
hasHourin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getHour
public int getHour()
required uint32 hour = 6;- Specified by:
getHourin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasMinute
public boolean hasMinute()
required uint32 minute = 7;- Specified by:
hasMinutein interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getMinute
public int getMinute()
required uint32 minute = 7;- Specified by:
getMinutein interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasSecond
public boolean hasSecond()
required uint32 second = 8;- Specified by:
hasSecondin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getSecond
public int getSecond()
required uint32 second = 8;- Specified by:
getSecondin interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
writeReplace
protected Object writeReplace() throws ObjectStreamException
- Overrides:
writeReplacein classcom.google.protobuf.GeneratedMessage- Throws:
ObjectStreamException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static LocalTimeProtocol.LocalTime parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static LocalTimeProtocol.LocalTime parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilder
public static LocalTimeProtocol.LocalTime.Builder newBuilder()
-
newBuilderForType
public LocalTimeProtocol.LocalTime.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LocalTimeProtocol.LocalTime.Builder newBuilder(LocalTimeProtocol.LocalTime prototype)
-
toBuilder
public LocalTimeProtocol.LocalTime.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalTimeProtocol.LocalTime.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessage
-
-