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 class
Protobuf 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> Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
static final int
private LocalTimeProtocol.DayOfWeek
static final int
private static final LocalTimeProtocol.LocalTime
private int
static final int
private byte
private int
private int
static final int
private int
static final int
static com.google.protobuf.Parser<LocalTimeProtocol.LocalTime>
private int
static final int
private static final long
private final com.google.protobuf.UnknownFieldSet
private int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
required uint32 dayOfMonth = 4;
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
static LocalTimeProtocol.LocalTime
static final com.google.protobuf.Descriptors.Descriptor
int
getHour()
required uint32 hour = 6;
int
required uint32 minute = 7;
int
getMonth()
required uint32 month = 2;
com.google.protobuf.Parser<LocalTimeProtocol.LocalTime>
int
required uint32 second = 8;
int
final com.google.protobuf.UnknownFieldSet
int
getYear()
required uint32 year = 1;
boolean
required uint32 dayOfMonth = 4;
boolean
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
boolean
hasHour()
required uint32 hour = 6;
boolean
required uint32 minute = 7;
boolean
hasMonth()
required uint32 month = 2;
boolean
required uint32 second = 8;
boolean
hasYear()
required uint32 year = 1;
private void
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
newBuilder
(LocalTimeProtocol.LocalTime prototype) protected LocalTimeProtocol.LocalTime.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessage.BuilderParent parent) static LocalTimeProtocol.LocalTime
parseDelimitedFrom
(InputStream input) static LocalTimeProtocol.LocalTime
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalTimeProtocol.LocalTime
parseFrom
(byte[] data) static LocalTimeProtocol.LocalTime
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalTimeProtocol.LocalTime
parseFrom
(com.google.protobuf.ByteString data) static LocalTimeProtocol.LocalTime
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalTimeProtocol.LocalTime
parseFrom
(com.google.protobuf.CodedInputStream input) static LocalTimeProtocol.LocalTime
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalTimeProtocol.LocalTime
parseFrom
(InputStream input) static LocalTimeProtocol.LocalTime
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) protected Object
void
writeTo
(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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
defaultInstance
-
unknownFields
private final com.google.protobuf.UnknownFieldSet unknownFields -
PARSER
-
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_
-
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 -
memoizedSerializedSize
private int memoizedSerializedSize -
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
LocalTime
private LocalTime(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
LocalTime
private LocalTime(boolean noInit) -
LocalTime
private LocalTime(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
-
Method Details
-
getDefaultInstance
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessage
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
hasYear
public boolean hasYear()required uint32 year = 1;
- Specified by:
hasYear
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getYear
public int getYear()required uint32 year = 1;
- Specified by:
getYear
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasMonth
public boolean hasMonth()required uint32 month = 2;
- Specified by:
hasMonth
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getMonth
public int getMonth()required uint32 month = 2;
- Specified by:
getMonth
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasDayOfMonth
public boolean hasDayOfMonth()required uint32 dayOfMonth = 4;
- Specified by:
hasDayOfMonth
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getDayOfMonth
public int getDayOfMonth()required uint32 dayOfMonth = 4;
- Specified by:
getDayOfMonth
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasDayOfWeek
public boolean hasDayOfWeek()required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
- Specified by:
hasDayOfWeek
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getDayOfWeek
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
- Specified by:
getDayOfWeek
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasHour
public boolean hasHour()required uint32 hour = 6;
- Specified by:
hasHour
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getHour
public int getHour()required uint32 hour = 6;
- Specified by:
getHour
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasMinute
public boolean hasMinute()required uint32 minute = 7;
- Specified by:
hasMinute
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getMinute
public int getMinute()required uint32 minute = 7;
- Specified by:
getMinute
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
hasSecond
public boolean hasSecond()required uint32 second = 8;
- Specified by:
hasSecond
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
getSecond
public int getSecond()required uint32 second = 8;
- Specified by:
getSecond
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
-
initFields
private void initFields() -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
writeReplace
- Overrides:
writeReplace
in 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
- 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
-
newBuilder
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalTimeProtocol.LocalTime.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessage
-