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