public static final class LocalTimeProtocol.Location.Builder extendsimplements LocalTimeProtocol.LocationOrBuilder
org.jboss.netty.example.localtime.Location
限定符和类型 | 方法和说明 |
---|---|
LocalTimeProtocol.Location |
build() |
LocalTimeProtocol.Location |
buildPartial() |
LocalTimeProtocol.Location.Builder |
clear() |
LocalTimeProtocol.Location.Builder |
clearCity()
required string city = 2; |
LocalTimeProtocol.Location.Builder |
clearContinent()
required .org.jboss.netty.example.localtime.Continent continent = 1; |
LocalTimeProtocol.Location.Builder |
clone() |
java.lang.String |
getCity()
required string city = 2; |
com.google.protobuf.ByteString |
getCityBytes()
required string city = 2; |
LocalTimeProtocol.Continent |
getContinent()
required .org.jboss.netty.example.localtime.Continent continent = 1; |
LocalTimeProtocol.Location |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasCity()
required string city = 2; |
boolean |
hasContinent()
required .org.jboss.netty.example.localtime.Continent continent = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LocalTimeProtocol.Location.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LocalTimeProtocol.Location.Builder |
mergeFrom(com.google.protobuf.Message other) |
LocalTimeProtocol.Location.Builder |
setCity(java.lang.String value)
required string city = 2; |
LocalTimeProtocol.Location.Builder |
setCityBytes(com.google.protobuf.ByteString value)
required string city = 2; |
LocalTimeProtocol.Location.Builder |
setContinent(LocalTimeProtocol.Continent value)
required .org.jboss.netty.example.localtime.Continent continent = 1; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public LocalTimeProtocol.Location.Builder clear()
public LocalTimeProtocol.Location.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public LocalTimeProtocol.Location getDefaultInstanceForType()
public LocalTimeProtocol.Location build()
public LocalTimeProtocol.Location buildPartial()
public LocalTimeProtocol.Location.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public LocalTimeProtocol.Location.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasContinent()
required .org.jboss.netty.example.localtime.Continent continent = 1;
public LocalTimeProtocol.Continent getContinent()
required .org.jboss.netty.example.localtime.Continent continent = 1;
public LocalTimeProtocol.Location.Builder setContinent(LocalTimeProtocol.Continent value)
required .org.jboss.netty.example.localtime.Continent continent = 1;
public LocalTimeProtocol.Location.Builder clearContinent()
required .org.jboss.netty.example.localtime.Continent continent = 1;
public boolean hasCity()
required string city = 2;
hasCity
在接口中 LocalTimeProtocol.LocationOrBuilder
public java.lang.String getCity()
required string city = 2;
getCity
在接口中 LocalTimeProtocol.LocationOrBuilder
public com.google.protobuf.ByteString getCityBytes()
required string city = 2;
public LocalTimeProtocol.Location.Builder setCity(java.lang.String value)
required string city = 2;
public LocalTimeProtocol.Location.Builder clearCity()
required string city = 2;
public LocalTimeProtocol.Location.Builder setCityBytes(com.google.protobuf.ByteString value)
required string city = 2;