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 type
org.jboss.netty.example.localtime.LocalTime- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.jboss.netty.example.localtime.LocalTimeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intstatic final intprivate intstatic final intprivate static final LocalTimeProtocol.LocalTimeprivate intstatic final intprivate byteprivate intstatic final intprivate intstatic final intprivate static final com.google.protobuf.Parser<LocalTimeProtocol.LocalTime> private intstatic final intprivate static final longprivate intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintrequired uint32 dayOfMonth = 4;required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;static LocalTimeProtocol.LocalTimestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintgetHour()required uint32 hour = 6;intrequired uint32 minute = 7;intgetMonth()required uint32 month = 2;com.google.protobuf.Parser<LocalTimeProtocol.LocalTime> intrequired uint32 second = 8;intintgetYear()required uint32 year = 1;booleanrequired uint32 dayOfMonth = 4;booleanrequired .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;inthashCode()booleanhasHour()required uint32 hour = 6;booleanrequired uint32 minute = 7;booleanhasMonth()required uint32 month = 2;booleanrequired uint32 second = 8;booleanhasYear()required uint32 year = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(LocalTimeProtocol.LocalTime prototype) protected LocalTimeProtocol.LocalTime.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.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) static LocalTimeProtocol.LocalTimeparseFrom(ByteBuffer data) static LocalTimeProtocol.LocalTimeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LocalTimeProtocol.LocalTime> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
YEAR_FIELD_NUMBER
public static final int YEAR_FIELD_NUMBER- See Also:
-
year_
private int year_ -
MONTH_FIELD_NUMBER
public static final int MONTH_FIELD_NUMBER- See Also:
-
month_
private int month_ -
DAYOFMONTH_FIELD_NUMBER
public static final int DAYOFMONTH_FIELD_NUMBER- See Also:
-
dayOfMonth_
private int dayOfMonth_ -
DAYOFWEEK_FIELD_NUMBER
public static final int DAYOFWEEK_FIELD_NUMBER- See Also:
-
dayOfWeek_
private int dayOfWeek_ -
HOUR_FIELD_NUMBER
public static final int HOUR_FIELD_NUMBER- See Also:
-
hour_
private int hour_ -
MINUTE_FIELD_NUMBER
public static final int MINUTE_FIELD_NUMBER- See Also:
-
minute_
private int minute_ -
SECOND_FIELD_NUMBER
public static final int SECOND_FIELD_NUMBER- See Also:
-
second_
private int second_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
LocalTime
private LocalTime(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
LocalTime
private LocalTime()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasYear
public boolean hasYear()required uint32 year = 1;- Specified by:
hasYearin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- Whether the year field is set.
-
getYear
public int getYear()required uint32 year = 1;- Specified by:
getYearin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- The year.
-
hasMonth
public boolean hasMonth()required uint32 month = 2;- Specified by:
hasMonthin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- Whether the month field is set.
-
getMonth
public int getMonth()required uint32 month = 2;- Specified by:
getMonthin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- The month.
-
hasDayOfMonth
public boolean hasDayOfMonth()required uint32 dayOfMonth = 4;- Specified by:
hasDayOfMonthin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- Whether the dayOfMonth field is set.
-
getDayOfMonth
public int getDayOfMonth()required uint32 dayOfMonth = 4;- Specified by:
getDayOfMonthin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- The dayOfMonth.
-
hasDayOfWeek
public boolean hasDayOfWeek()required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;- Specified by:
hasDayOfWeekin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- Whether the dayOfWeek field is set.
-
getDayOfWeek
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;- Specified by:
getDayOfWeekin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- The dayOfWeek.
-
hasHour
public boolean hasHour()required uint32 hour = 6;- Specified by:
hasHourin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- Whether the hour field is set.
-
getHour
public int getHour()required uint32 hour = 6;- Specified by:
getHourin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- The hour.
-
hasMinute
public boolean hasMinute()required uint32 minute = 7;- Specified by:
hasMinutein interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- Whether the minute field is set.
-
getMinute
public int getMinute()required uint32 minute = 7;- Specified by:
getMinutein interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- The minute.
-
hasSecond
public boolean hasSecond()required uint32 second = 8;- Specified by:
hasSecondin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- Whether the second field is set.
-
getSecond
public int getSecond()required uint32 second = 8;- Specified by:
getSecondin interfaceLocalTimeProtocol.LocalTimeOrBuilder- Returns:
- The second.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- 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
-
equals
- 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 LocalTimeProtocol.LocalTime parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
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
- Throws:
IOException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalTimeProtocol.LocalTime.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-