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
Modifier and TypeMethodDescriptionint
required uint32 dayOfMonth = 4;
required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
int
getHour()
required uint32 hour = 6;
int
required uint32 minute = 7;
int
getMonth()
required uint32 month = 2;
int
required uint32 second = 8;
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;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-