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
,java.io.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 class
LocalTimeProtocol.LocalTime.Builder
Protobuf typeorg.jboss.netty.example.localtime.LocalTime
-
Nested 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 extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private int
dayOfMonth_
static int
DAYOFMONTH_FIELD_NUMBER
private int
dayOfWeek_
static int
DAYOFWEEK_FIELD_NUMBER
private static LocalTimeProtocol.LocalTime
DEFAULT_INSTANCE
private int
hour_
static int
HOUR_FIELD_NUMBER
private byte
memoizedIsInitialized
private int
minute_
static int
MINUTE_FIELD_NUMBER
private int
month_
static int
MONTH_FIELD_NUMBER
private static com.google.protobuf.Parser<LocalTimeProtocol.LocalTime>
PARSER
private int
second_
static int
SECOND_FIELD_NUMBER
private static long
serialVersionUID
private int
year_
static int
YEAR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getDayOfMonth()
required uint32 dayOfMonth = 4;
LocalTimeProtocol.DayOfWeek
getDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
static LocalTimeProtocol.LocalTime
getDefaultInstance()
LocalTimeProtocol.LocalTime
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getHour()
required uint32 hour = 6;
int
getMinute()
required uint32 minute = 7;
int
getMonth()
required uint32 month = 2;
com.google.protobuf.Parser<LocalTimeProtocol.LocalTime>
getParserForType()
int
getSecond()
required uint32 second = 8;
int
getSerializedSize()
int
getYear()
required uint32 year = 1;
boolean
hasDayOfMonth()
required uint32 dayOfMonth = 4;
boolean
hasDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
int
hashCode()
boolean
hasHour()
required uint32 hour = 6;
boolean
hasMinute()
required uint32 minute = 7;
boolean
hasMonth()
required uint32 month = 2;
boolean
hasSecond()
required uint32 second = 8;
boolean
hasYear()
required uint32 year = 1;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static LocalTimeProtocol.LocalTime.Builder
newBuilder()
static LocalTimeProtocol.LocalTime.Builder
newBuilder(LocalTimeProtocol.LocalTime prototype)
LocalTimeProtocol.LocalTime.Builder
newBuilderForType()
protected LocalTimeProtocol.LocalTime.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static LocalTimeProtocol.LocalTime
parseDelimitedFrom(java.io.InputStream input)
static LocalTimeProtocol.LocalTime
parseDelimitedFrom(java.io.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(java.io.InputStream input)
static LocalTimeProtocol.LocalTime
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LocalTimeProtocol.LocalTime
parseFrom(java.nio.ByteBuffer data)
static LocalTimeProtocol.LocalTime
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<LocalTimeProtocol.LocalTime>
parser()
LocalTimeProtocol.LocalTime.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
YEAR_FIELD_NUMBER
public static final int YEAR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
year_
private int year_
-
MONTH_FIELD_NUMBER
public static final int MONTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
month_
private int month_
-
DAYOFMONTH_FIELD_NUMBER
public static final int DAYOFMONTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
dayOfMonth_
private int dayOfMonth_
-
DAYOFWEEK_FIELD_NUMBER
public static final int DAYOFWEEK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
dayOfWeek_
private int dayOfWeek_
-
HOUR_FIELD_NUMBER
public static final int HOUR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
hour_
private int hour_
-
MINUTE_FIELD_NUMBER
public static final int MINUTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
minute_
private int minute_
-
SECOND_FIELD_NUMBER
public static final int SECOND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
second_
private int second_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final LocalTimeProtocol.LocalTime DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<LocalTimeProtocol.LocalTime> PARSER
-
-
Method Detail
-
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
-
hasYear
public boolean hasYear()
required uint32 year = 1;
- Specified by:
hasYear
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- Whether the year field is set.
-
getYear
public int getYear()
required uint32 year = 1;
- Specified by:
getYear
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- The year.
-
hasMonth
public boolean hasMonth()
required uint32 month = 2;
- Specified by:
hasMonth
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- Whether the month field is set.
-
getMonth
public int getMonth()
required uint32 month = 2;
- Specified by:
getMonth
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- The month.
-
hasDayOfMonth
public boolean hasDayOfMonth()
required uint32 dayOfMonth = 4;
- Specified by:
hasDayOfMonth
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- Whether the dayOfMonth field is set.
-
getDayOfMonth
public int getDayOfMonth()
required uint32 dayOfMonth = 4;
- Specified by:
getDayOfMonth
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- The dayOfMonth.
-
hasDayOfWeek
public boolean hasDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
- Specified by:
hasDayOfWeek
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- Whether the dayOfWeek field is set.
-
getDayOfWeek
public LocalTimeProtocol.DayOfWeek getDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
- Specified by:
getDayOfWeek
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- The dayOfWeek.
-
hasHour
public boolean hasHour()
required uint32 hour = 6;
- Specified by:
hasHour
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- Whether the hour field is set.
-
getHour
public int getHour()
required uint32 hour = 6;
- Specified by:
getHour
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- The hour.
-
hasMinute
public boolean hasMinute()
required uint32 minute = 7;
- Specified by:
hasMinute
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- Whether the minute field is set.
-
getMinute
public int getMinute()
required uint32 minute = 7;
- Specified by:
getMinute
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- The minute.
-
hasSecond
public boolean hasSecond()
required uint32 second = 8;
- Specified by:
hasSecond
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- Whether the second field is set.
-
getSecond
public int getSecond()
required uint32 second = 8;
- Specified by:
getSecond
in interfaceLocalTimeProtocol.LocalTimeOrBuilder
- Returns:
- The second.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(java.nio.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
public static LocalTimeProtocol.LocalTime parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocalTimeProtocol.LocalTime parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocalTimeProtocol.LocalTime parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalTimeProtocol.LocalTime parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public LocalTimeProtocol.LocalTime.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LocalTimeProtocol.LocalTime.Builder newBuilder()
-
newBuilder
public static LocalTimeProtocol.LocalTime.Builder newBuilder(LocalTimeProtocol.LocalTime prototype)
-
toBuilder
public LocalTimeProtocol.LocalTime.Builder 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.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static LocalTimeProtocol.LocalTime getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LocalTimeProtocol.LocalTime> parser()
-
getParserForType
public com.google.protobuf.Parser<LocalTimeProtocol.LocalTime> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public LocalTimeProtocol.LocalTime getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-