Interface LocalTimeProtocol.LocationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LocalTimeProtocol.Location, LocalTimeProtocol.Location.Builder
Enclosing class:
LocalTimeProtocol

public static interface LocalTimeProtocol.LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    required string city = 2;
    com.google.protobuf.ByteString
    required string city = 2;
    required .org.jboss.netty.example.localtime.Continent continent = 1;
    boolean
    required string city = 2;
    boolean
    required .org.jboss.netty.example.localtime.Continent continent = 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

    • hasContinent

      boolean hasContinent()
      required .org.jboss.netty.example.localtime.Continent continent = 1;
      Returns:
      Whether the continent field is set.
    • getContinent

      required .org.jboss.netty.example.localtime.Continent continent = 1;
      Returns:
      The continent.
    • hasCity

      boolean hasCity()
      required string city = 2;
      Returns:
      Whether the city field is set.
    • getCity

      String getCity()
      required string city = 2;
      Returns:
      The city.
    • getCityBytes

      com.google.protobuf.ByteString getCityBytes()
      required string city = 2;
      Returns:
      The bytes for city.