public static final class WorldClockProtocol.Location.Builder extends com.google.protobuf.GeneratedMessage.Builder<WorldClockProtocol.Location.Builder> implements WorldClockProtocol.LocationOrBuilder
io.netty.example.worldclock.Location
Modifier and Type | Method and Description |
---|---|
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() |
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 |
mergeFrom(WorldClockProtocol.Location other) |
WorldClockProtocol.Location.Builder |
setCity(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; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<WorldClockProtocol.Location.Builder>
public WorldClockProtocol.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<WorldClockProtocol.Location.Builder>
public WorldClockProtocol.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<WorldClockProtocol.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<WorldClockProtocol.Location.Builder>
public WorldClockProtocol.Location getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WorldClockProtocol.Location build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WorldClockProtocol.Location buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WorldClockProtocol.Location.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WorldClockProtocol.Location.Builder>
public WorldClockProtocol.Location.Builder mergeFrom(WorldClockProtocol.Location other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<WorldClockProtocol.Location.Builder>
public WorldClockProtocol.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<WorldClockProtocol.Location.Builder>
IOException
public boolean hasContinent()
required .io.netty.example.worldclock.Continent continent = 1;
hasContinent
in interface WorldClockProtocol.LocationOrBuilder
public WorldClockProtocol.Continent getContinent()
required .io.netty.example.worldclock.Continent continent = 1;
getContinent
in interface WorldClockProtocol.LocationOrBuilder
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
in interface WorldClockProtocol.LocationOrBuilder
public String getCity()
required string city = 2;
getCity
in interface WorldClockProtocol.LocationOrBuilder
public com.google.protobuf.ByteString getCityBytes()
required string city = 2;
getCityBytes
in interface WorldClockProtocol.LocationOrBuilder
public WorldClockProtocol.Location.Builder setCity(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;
Copyright © 2008–2017 The Netty Project. All rights reserved.