Class LocalTimeProtocol.LocalTime

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
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.GeneratedMessageV3 implements LocalTimeProtocol.LocalTimeOrBuilder
Protobuf type org.jboss.netty.example.localtime.LocalTime
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • 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_

      private int 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
    • DEFAULT_INSTANCE

      private static final LocalTimeProtocol.LocalTime DEFAULT_INSTANCE
    • PARSER

      @Deprecated public static final com.google.protobuf.Parser<LocalTimeProtocol.LocalTime> PARSER
      Deprecated.
  • Constructor Details

    • LocalTime

      private LocalTime(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
    • LocalTime

      private LocalTime()
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasYear

      public boolean hasYear()
      required uint32 year = 1;
      Specified by:
      hasYear in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      Whether the year field is set.
    • getYear

      public int getYear()
      required uint32 year = 1;
      Specified by:
      getYear in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      The year.
    • hasMonth

      public boolean hasMonth()
      required uint32 month = 2;
      Specified by:
      hasMonth in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      Whether the month field is set.
    • getMonth

      public int getMonth()
      required uint32 month = 2;
      Specified by:
      getMonth in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      The month.
    • hasDayOfMonth

      public boolean hasDayOfMonth()
      required uint32 dayOfMonth = 4;
      Specified by:
      hasDayOfMonth in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      Whether the dayOfMonth field is set.
    • getDayOfMonth

      public int getDayOfMonth()
      required uint32 dayOfMonth = 4;
      Specified by:
      getDayOfMonth in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      The dayOfMonth.
    • hasDayOfWeek

      public boolean hasDayOfWeek()
      required .org.jboss.netty.example.localtime.DayOfWeek dayOfWeek = 5;
      Specified by:
      hasDayOfWeek in interface LocalTimeProtocol.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 interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      The dayOfWeek.
    • hasHour

      public boolean hasHour()
      required uint32 hour = 6;
      Specified by:
      hasHour in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      Whether the hour field is set.
    • getHour

      public int getHour()
      required uint32 hour = 6;
      Specified by:
      getHour in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      The hour.
    • hasMinute

      public boolean hasMinute()
      required uint32 minute = 7;
      Specified by:
      hasMinute in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      Whether the minute field is set.
    • getMinute

      public int getMinute()
      required uint32 minute = 7;
      Specified by:
      getMinute in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      The minute.
    • hasSecond

      public boolean hasSecond()
      required uint32 second = 8;
      Specified by:
      hasSecond in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      Whether the second field is set.
    • getSecond

      public int getSecond()
      required uint32 second = 8;
      Specified by:
      getSecond in interface LocalTimeProtocol.LocalTimeOrBuilder
      Returns:
      The second.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static LocalTimeProtocol.LocalTime parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LocalTimeProtocol.LocalTime parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LocalTimeProtocol.LocalTime parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LocalTimeProtocol.LocalTime parseDelimitedFrom(InputStream input) throws IOException
      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
    • newBuilderForType

      public LocalTimeProtocol.LocalTime.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static LocalTimeProtocol.LocalTime.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LocalTimeProtocol.LocalTime.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public LocalTimeProtocol.LocalTime getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder