org.jboss.netty.example.localtime
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
- Enclosing class:
- LocalTimeProtocol
public static final class LocalTimeProtocol.LocalTime
- extends com.google.protobuf.GeneratedMessage
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type> |
Methods inherited from class com.google.protobuf.GeneratedMessage |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension |
Methods inherited from class com.google.protobuf.AbstractMessage |
equals, hashCode, toString |
Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
Methods inherited from interface com.google.protobuf.MessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
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
getDefaultInstance
public static LocalTimeProtocol.LocalTime getDefaultInstance()
getDefaultInstanceForType
public LocalTimeProtocol.LocalTime getDefaultInstanceForType()
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
hasYear
public boolean hasYear()
getYear
public int getYear()
hasMonth
public boolean hasMonth()
getMonth
public int getMonth()
hasDayOfMonth
public boolean hasDayOfMonth()
getDayOfMonth
public int getDayOfMonth()
hasDayOfWeek
public boolean hasDayOfWeek()
getDayOfWeek
public LocalTimeProtocol.DayOfWeek getDayOfWeek()
hasHour
public boolean hasHour()
getHour
public int getHour()
hasMinute
public boolean hasMinute()
getMinute
public int getMinute()
hasSecond
public boolean hasSecond()
getSecond
public int getSecond()
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interface com.google.protobuf.MessageLite
- Overrides:
isInitialized
in class com.google.protobuf.GeneratedMessage
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeTo
in interface com.google.protobuf.MessageLite
- Overrides:
writeTo
in class com.google.protobuf.AbstractMessage
- Throws:
IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interface com.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in class com.google.protobuf.AbstractMessage
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()
newBuilder
public static LocalTimeProtocol.LocalTime.Builder newBuilder(LocalTimeProtocol.LocalTime prototype)
toBuilder
public LocalTimeProtocol.LocalTime.Builder toBuilder()
Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.