Interface LocalTimeProtocol.LocalTimeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocalTimeProtocol.LocalTime,LocalTimeProtocol.LocalTime.Builder
- Enclosing class:
- LocalTimeProtocol
public static interface LocalTimeProtocol.LocalTimeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDayOfMonth()required uint32 dayOfMonth = 4;LocalTimeProtocol.DayOfWeekgetDayOfWeek()required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;intgetHour()required uint32 hour = 6;intgetMinute()required uint32 minute = 7;intgetMonth()required uint32 month = 2;intgetSecond()required uint32 second = 8;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;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasYear
boolean hasYear()
required uint32 year = 1;- Returns:
- Whether the year field is set.
-
getYear
int getYear()
required uint32 year = 1;- Returns:
- The year.
-
hasMonth
boolean hasMonth()
required uint32 month = 2;- Returns:
- Whether the month field is set.
-
getMonth
int getMonth()
required uint32 month = 2;- Returns:
- The month.
-
hasDayOfMonth
boolean hasDayOfMonth()
required uint32 dayOfMonth = 4;- Returns:
- Whether the dayOfMonth field is set.
-
getDayOfMonth
int getDayOfMonth()
required uint32 dayOfMonth = 4;- Returns:
- The dayOfMonth.
-
hasDayOfWeek
boolean hasDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;- Returns:
- Whether the dayOfWeek field is set.
-
getDayOfWeek
LocalTimeProtocol.DayOfWeek getDayOfWeek()
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;- Returns:
- The dayOfWeek.
-
hasHour
boolean hasHour()
required uint32 hour = 6;- Returns:
- Whether the hour field is set.
-
getHour
int getHour()
required uint32 hour = 6;- Returns:
- The hour.
-
hasMinute
boolean hasMinute()
required uint32 minute = 7;- Returns:
- Whether the minute field is set.
-
getMinute
int getMinute()
required uint32 minute = 7;- Returns:
- The minute.
-
hasSecond
boolean hasSecond()
required uint32 second = 8;- Returns:
- Whether the second field is set.
-
getSecond
int getSecond()
required uint32 second = 8;- Returns:
- The second.
-
-