Interface LocalTimeProtocol.LocalTimeOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getDayOfMonth()
      required uint32 dayOfMonth = 4;
      LocalTimeProtocol.DayOfWeek getDayOfWeek()
      required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
      int getHour()
      required uint32 hour = 6;
      int getMinute()
      required uint32 minute = 7;
      int getMonth()
      required uint32 month = 2;
      int getSecond()
      required uint32 second = 8;
      int getYear()
      required uint32 year = 1;
      boolean hasDayOfMonth()
      required uint32 dayOfMonth = 4;
      boolean hasDayOfWeek()
      required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
      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;
      • 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 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.