public static final class WorldClockProtocol.Location extends com.google.protobuf.GeneratedMessage implements WorldClockProtocol.LocationOrBuilder
io.netty.example.worldclock.Location
限定符和类型 | 类和说明 |
---|---|
static class |
WorldClockProtocol.Location.Builder
Protobuf type
io.netty.example.worldclock.Location |
限定符和类型 | 字段和说明 |
---|---|
static int |
CITY_FIELD_NUMBER |
static int |
CONTINENT_FIELD_NUMBER |
static <any> |
PARSER |
限定符和类型 | 方法和说明 |
---|---|
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; |
static WorldClockProtocol.Location |
getDefaultInstance() |
WorldClockProtocol.Location |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
static WorldClockProtocol.Location.Builder |
newBuilder() |
static WorldClockProtocol.Location.Builder |
newBuilder(WorldClockProtocol.Location prototype) |
WorldClockProtocol.Location.Builder |
newBuilderForType() |
protected WorldClockProtocol.Location.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static WorldClockProtocol.Location |
parseDelimitedFrom(java.io.InputStream input) |
static WorldClockProtocol.Location |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorldClockProtocol.Location |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorldClockProtocol.Location |
parseFrom(com.google.protobuf.ByteString data) |
static WorldClockProtocol.Location |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorldClockProtocol.Location |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WorldClockProtocol.Location |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorldClockProtocol.Location |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WorldClockProtocol.Location.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int CONTINENT_FIELD_NUMBER
public static final int CITY_FIELD_NUMBER
public static WorldClockProtocol.Location getDefaultInstance()
public WorldClockProtocol.Location getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public boolean hasContinent()
required .io.netty.example.worldclock.Continent continent = 1;
public WorldClockProtocol.Continent getContinent()
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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
public static WorldClockProtocol.Location parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorldClockProtocol.Location parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorldClockProtocol.Location parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorldClockProtocol.Location parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.Location parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.Location parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.Location parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WorldClockProtocol.Location.Builder newBuilder()
public WorldClockProtocol.Location.Builder newBuilderForType()
public static WorldClockProtocol.Location.Builder newBuilder(WorldClockProtocol.Location prototype)
public WorldClockProtocol.Location.Builder toBuilder()
protected WorldClockProtocol.Location.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)