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 TypeMethodDescriptiongetCity()required string city = 2;com.google.protobuf.ByteStringrequired string city = 2;required .org.jboss.netty.example.localtime.Continent continent = 1;booleanhasCity()required string city = 2;booleanrequired .org.jboss.netty.example.localtime.Continent continent = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
String getCity()required string city = 2;- Returns:
- The city.
-
getCityBytes
com.google.protobuf.ByteString getCityBytes()required string city = 2;- Returns:
- The bytes for city.
-