Class LocalTimeProtocol.Locations

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.jboss.netty.example.localtime.LocalTimeProtocol.Locations
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, LocalTimeProtocol.LocationsOrBuilder
Enclosing class:
LocalTimeProtocol

public static final class LocalTimeProtocol.Locations extends com.google.protobuf.GeneratedMessage implements LocalTimeProtocol.LocationsOrBuilder
Protobuf type org.jboss.netty.example.localtime.Locations
See Also:
  • Field Details

  • Constructor Details

    • Locations

      private Locations(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • Locations

      private Locations(boolean noInit)
    • Locations

      private Locations(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
  • Method Details

    • getDefaultInstance

      public static LocalTimeProtocol.Locations getDefaultInstance()
    • getDefaultInstanceForType

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

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessage
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getParserForType

      public com.google.protobuf.Parser<LocalTimeProtocol.Locations> 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.GeneratedMessage
    • getLocationList

      public List<LocalTimeProtocol.Location> getLocationList()
      repeated .org.jboss.netty.example.localtime.Location location = 1;
      Specified by:
      getLocationList in interface LocalTimeProtocol.LocationsOrBuilder
    • getLocationOrBuilderList

      public List<? extends LocalTimeProtocol.LocationOrBuilder> getLocationOrBuilderList()
      repeated .org.jboss.netty.example.localtime.Location location = 1;
      Specified by:
      getLocationOrBuilderList in interface LocalTimeProtocol.LocationsOrBuilder
    • getLocationCount

      public int getLocationCount()
      repeated .org.jboss.netty.example.localtime.Location location = 1;
      Specified by:
      getLocationCount in interface LocalTimeProtocol.LocationsOrBuilder
    • getLocation

      public LocalTimeProtocol.Location getLocation(int index)
      repeated .org.jboss.netty.example.localtime.Location location = 1;
      Specified by:
      getLocation in interface LocalTimeProtocol.LocationsOrBuilder
    • getLocationOrBuilder

      public LocalTimeProtocol.LocationOrBuilder getLocationOrBuilder(int index)
      repeated .org.jboss.netty.example.localtime.Location location = 1;
      Specified by:
      getLocationOrBuilder in interface LocalTimeProtocol.LocationsOrBuilder
    • initFields

      private void initFields()
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

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

      protected Object writeReplace() throws ObjectStreamException
      Overrides:
      writeReplace in class com.google.protobuf.GeneratedMessage
      Throws:
      ObjectStreamException
    • parseFrom

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

      public static LocalTimeProtocol.Locations 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.Locations parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LocalTimeProtocol.Locations parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LocalTimeProtocol.Locations parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static LocalTimeProtocol.Locations parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static LocalTimeProtocol.Locations parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LocalTimeProtocol.Locations parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static LocalTimeProtocol.Locations.Builder newBuilder()
    • newBuilderForType

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

    • toBuilder

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

      protected LocalTimeProtocol.Locations.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessage