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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCity()required string city = 2;com.google.protobuf.ByteStringgetCityBytes()required string city = 2;LocalTimeProtocol.ContinentgetContinent()required .org.jboss.netty.example.localtime.Continent continent = 1;booleanhasCity()required string city = 2;booleanhasContinent()required .org.jboss.netty.example.localtime.Continent continent = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasContinent
boolean hasContinent()
required .org.jboss.netty.example.localtime.Continent continent = 1;- Returns:
- Whether the continent field is set.
-
getContinent
LocalTimeProtocol.Continent 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
java.lang.String getCity()
required string city = 2;- Returns:
- The city.
-
getCityBytes
com.google.protobuf.ByteString getCityBytes()
required string city = 2;- Returns:
- The bytes for city.
-
-