Class LocalTimeProtocol.Locations.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.RepeatedFieldBuilderV3<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.Locations.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)LocalTimeProtocol.Locationsbuild()LocalTimeProtocol.LocationsbuildPartial()LocalTimeProtocol.Locations.Builderclear()LocalTimeProtocol.Locations.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)LocalTimeProtocol.Locations.BuilderclearLocation()repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Locations.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)LocalTimeProtocol.Locations.Builderclone()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.RepeatedFieldBuilderV3<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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()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.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LocalTimeProtocol.Locations.BuilderremoveLocation(int index)repeated .org.jboss.netty.example.localtime.Location location = 1;LocalTimeProtocol.Locations.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)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;LocalTimeProtocol.Locations.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)LocalTimeProtocol.Locations.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
location_
private java.util.List<LocalTimeProtocol.Location> location_
-
locationBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
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.GeneratedMessageV3.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.GeneratedMessageV3.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
-
clone
public LocalTimeProtocol.Locations.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
setField
public LocalTimeProtocol.Locations.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
clearField
public LocalTimeProtocol.Locations.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
clearOneof
public LocalTimeProtocol.Locations.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
setRepeatedField
public LocalTimeProtocol.Locations.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
addRepeatedField
public LocalTimeProtocol.Locations.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
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.GeneratedMessageV3.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.RepeatedFieldBuilderV3<LocalTimeProtocol.Location,LocalTimeProtocol.Location.Builder,LocalTimeProtocol.LocationOrBuilder> getLocationFieldBuilder()
-
setUnknownFields
public final LocalTimeProtocol.Locations.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
mergeUnknownFields
public final LocalTimeProtocol.Locations.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
-