public static final class LocalTimeProtocol.Location.Builder extends com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Location.Builder> implements LocalTimeProtocol.LocationOrBuilder
org.jboss.netty.example.localtime.Location
Modifier and Type | Method and Description |
---|---|
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() |
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(LocalTimeProtocol.Location other) |
LocalTimeProtocol.Location.Builder |
mergeFrom(com.google.protobuf.Message other) |
LocalTimeProtocol.Location.Builder |
setCity(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; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Location.Builder>
public LocalTimeProtocol.Location.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Location.Builder>
public LocalTimeProtocol.Location.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Location.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Location.Builder>
public LocalTimeProtocol.Location getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LocalTimeProtocol.Location build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LocalTimeProtocol.Location buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LocalTimeProtocol.Location.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LocalTimeProtocol.Location.Builder>
public LocalTimeProtocol.Location.Builder mergeFrom(LocalTimeProtocol.Location other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Location.Builder>
public LocalTimeProtocol.Location.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LocalTimeProtocol.Location.Builder>
IOException
public boolean hasContinent()
required .org.jboss.netty.example.localtime.Continent continent = 1;
hasContinent
in interface LocalTimeProtocol.LocationOrBuilder
public LocalTimeProtocol.Continent getContinent()
required .org.jboss.netty.example.localtime.Continent continent = 1;
getContinent
in interface LocalTimeProtocol.LocationOrBuilder
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
in interface LocalTimeProtocol.LocationOrBuilder
public String getCity()
required string city = 2;
getCity
in interface LocalTimeProtocol.LocationOrBuilder
public com.google.protobuf.ByteString getCityBytes()
required string city = 2;
getCityBytes
in interface LocalTimeProtocol.LocationOrBuilder
public LocalTimeProtocol.Location.Builder setCity(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;
Copyright © 2008–2023 The Netty Project. All rights reserved.