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