Class LocalTimeProtocol.Locations.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
- org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,LocalTimeProtocol.LocationsOrBuilder
- Enclosing class:
- LocalTimeProtocol.Locations
public static final class LocalTimeProtocol.Locations.Builder extends com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder> implements LocalTimeProtocol.LocationsOrBuilder
Protobuf typeorg.jboss.netty.example.localtime.Locations
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private java.util.List<LocalTimeProtocol.Location>location_private com.google.protobuf.RepeatedFieldBuilder<LocalTimeProtocol.Location,LocalTimeProtocol.Location.Builder,LocalTimeProtocol.LocationOrBuilder>locationBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalTimeProtocol.Locations.BuilderaddAllLocation(java.lang.Iterable<? extends LocalTimeProtocol.Location> values)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Locations.BuilderaddLocation(int index, LocalTimeProtocol.Location value)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Locations.BuilderaddLocation(int index, LocalTimeProtocol.Location.Builder builderForValue)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Locations.BuilderaddLocation(LocalTimeProtocol.Location value)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Locations.BuilderaddLocation(LocalTimeProtocol.Location.Builder builderForValue)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Location.BuilderaddLocationBuilder()repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Location.BuilderaddLocationBuilder(int index)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Locationsbuild()LocalTimeProtocol.LocationsbuildPartial()private voidbuildPartial0(LocalTimeProtocol.Locations result)private voidbuildPartialRepeatedFields(LocalTimeProtocol.Locations result)LocalTimeProtocol.Locations.Builderclear()LocalTimeProtocol.Locations.BuilderclearLocation()repeated .org.jboss.netty.example.localtime.Location location = 1;private voidensureLocationIsMutable()LocalTimeProtocol.LocationsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LocalTimeProtocol.LocationgetLocation(int index)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Location.BuildergetLocationBuilder(int index)repeated .org.jboss.netty.example.localtime.Location location = 1;java.util.List<LocalTimeProtocol.Location.Builder>getLocationBuilderList()repeated .org.jboss.netty.example.localtime.Location location = 1;intgetLocationCount()repeated .org.jboss.netty.example.localtime.Location location = 1;private com.google.protobuf.RepeatedFieldBuilder<LocalTimeProtocol.Location,LocalTimeProtocol.Location.Builder,LocalTimeProtocol.LocationOrBuilder>getLocationFieldBuilder()java.util.List<LocalTimeProtocol.Location>getLocationList()repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.LocationOrBuildergetLocationOrBuilder(int index)repeated .org.jboss.netty.example.localtime.Location location = 1;java.util.List<? extends LocalTimeProtocol.LocationOrBuilder>getLocationOrBuilderList()repeated .org.jboss.netty.example.localtime.Location location = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()LocalTimeProtocol.Locations.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LocalTimeProtocol.Locations.BuildermergeFrom(com.google.protobuf.Message other)LocalTimeProtocol.Locations.BuildermergeFrom(LocalTimeProtocol.Locations other)LocalTimeProtocol.Locations.BuilderremoveLocation(int index)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Locations.BuildersetLocation(int index, LocalTimeProtocol.Location value)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Locations.BuildersetLocation(int index, LocalTimeProtocol.Location.Builder builderForValue)repeated .org.jboss.netty.example.localtime.Location location = 1;-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
location_
private java.util.List<LocalTimeProtocol.Location> location_
-
locationBuilder_
private com.google.protobuf.RepeatedFieldBuilder<LocalTimeProtocol.Location,LocalTimeProtocol.Location.Builder,LocalTimeProtocol.LocationOrBuilder> locationBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
clear
public LocalTimeProtocol.Locations.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
getDefaultInstanceForType
public LocalTimeProtocol.Locations getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LocalTimeProtocol.Locations build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LocalTimeProtocol.Locations buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(LocalTimeProtocol.Locations result)
-
buildPartial0
private void buildPartial0(LocalTimeProtocol.Locations result)
-
mergeFrom
public LocalTimeProtocol.Locations.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
mergeFrom
public LocalTimeProtocol.Locations.Builder mergeFrom(LocalTimeProtocol.Locations other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
mergeFrom
public LocalTimeProtocol.Locations.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LocalTimeProtocol.Locations.Builder>- Throws:
java.io.IOException
-
ensureLocationIsMutable
private void ensureLocationIsMutable()
-
getLocationList
public java.util.List<LocalTimeProtocol.Location> getLocationList()
repeated .org.jboss.netty.example.localtime.Location location = 1;- Specified by:
getLocationListin interfaceLocalTimeProtocol.LocationsOrBuilder
-
getLocationCount
public int getLocationCount()
repeated .org.jboss.netty.example.localtime.Location location = 1;- Specified by:
getLocationCountin interfaceLocalTimeProtocol.LocationsOrBuilder
-
getLocation
public LocalTimeProtocol.Location getLocation(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;- Specified by:
getLocationin interfaceLocalTimeProtocol.LocationsOrBuilder
-
setLocation
public LocalTimeProtocol.Locations.Builder setLocation(int index, LocalTimeProtocol.Location value)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
setLocation
public LocalTimeProtocol.Locations.Builder setLocation(int index, LocalTimeProtocol.Location.Builder builderForValue)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
addLocation
public LocalTimeProtocol.Locations.Builder addLocation(LocalTimeProtocol.Location value)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
addLocation
public LocalTimeProtocol.Locations.Builder addLocation(int index, LocalTimeProtocol.Location value)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
addLocation
public LocalTimeProtocol.Locations.Builder addLocation(LocalTimeProtocol.Location.Builder builderForValue)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
addLocation
public LocalTimeProtocol.Locations.Builder addLocation(int index, LocalTimeProtocol.Location.Builder builderForValue)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
addAllLocation
public LocalTimeProtocol.Locations.Builder addAllLocation(java.lang.Iterable<? extends LocalTimeProtocol.Location> values)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
clearLocation
public LocalTimeProtocol.Locations.Builder clearLocation()
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
removeLocation
public LocalTimeProtocol.Locations.Builder removeLocation(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
getLocationBuilder
public LocalTimeProtocol.Location.Builder getLocationBuilder(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
getLocationOrBuilder
public LocalTimeProtocol.LocationOrBuilder getLocationOrBuilder(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;- Specified by:
getLocationOrBuilderin interfaceLocalTimeProtocol.LocationsOrBuilder
-
getLocationOrBuilderList
public java.util.List<? extends LocalTimeProtocol.LocationOrBuilder> getLocationOrBuilderList()
repeated .org.jboss.netty.example.localtime.Location location = 1;- Specified by:
getLocationOrBuilderListin interfaceLocalTimeProtocol.LocationsOrBuilder
-
addLocationBuilder
public LocalTimeProtocol.Location.Builder addLocationBuilder()
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
addLocationBuilder
public LocalTimeProtocol.Location.Builder addLocationBuilder(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
getLocationBuilderList
public java.util.List<LocalTimeProtocol.Location.Builder> getLocationBuilderList()
repeated .org.jboss.netty.example.localtime.Location location = 1;
-
getLocationFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<LocalTimeProtocol.Location,LocalTimeProtocol.Location.Builder,LocalTimeProtocol.LocationOrBuilder> getLocationFieldBuilder()
-
-