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 int
bitField0_
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.Builder
addAllLocation(java.lang.Iterable<? extends LocalTimeProtocol.Location> values)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Locations.Builder
addLocation(int index, LocalTimeProtocol.Location value)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Locations.Builder
addLocation(int index, LocalTimeProtocol.Location.Builder builderForValue)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Locations.Builder
addLocation(LocalTimeProtocol.Location value)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Locations.Builder
addLocation(LocalTimeProtocol.Location.Builder builderForValue)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Location.Builder
addLocationBuilder()
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Location.Builder
addLocationBuilder(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Locations
build()
LocalTimeProtocol.Locations
buildPartial()
private void
buildPartial0(LocalTimeProtocol.Locations result)
private void
buildPartialRepeatedFields(LocalTimeProtocol.Locations result)
LocalTimeProtocol.Locations.Builder
clear()
LocalTimeProtocol.Locations.Builder
clearLocation()
repeated .org.jboss.netty.example.localtime.Location location = 1;
private void
ensureLocationIsMutable()
LocalTimeProtocol.Locations
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
LocalTimeProtocol.Location
getLocation(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Location.Builder
getLocationBuilder(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;
int
getLocationCount()
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.LocationOrBuilder
getLocationOrBuilder(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.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LocalTimeProtocol.Locations.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LocalTimeProtocol.Locations.Builder
mergeFrom(com.google.protobuf.Message other)
LocalTimeProtocol.Locations.Builder
mergeFrom(LocalTimeProtocol.Locations other)
LocalTimeProtocol.Locations.Builder
removeLocation(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Locations.Builder
setLocation(int index, LocalTimeProtocol.Location value)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Locations.Builder
setLocation(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
clear
public LocalTimeProtocol.Locations.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
getDefaultInstanceForType
public LocalTimeProtocol.Locations getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LocalTimeProtocol.Locations build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LocalTimeProtocol.Locations buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LocalTimeProtocol.Locations.Builder>
-
mergeFrom
public LocalTimeProtocol.Locations.Builder mergeFrom(LocalTimeProtocol.Locations other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getLocationList
in interfaceLocalTimeProtocol.LocationsOrBuilder
-
getLocationCount
public int getLocationCount()
repeated .org.jboss.netty.example.localtime.Location location = 1;
- Specified by:
getLocationCount
in interfaceLocalTimeProtocol.LocationsOrBuilder
-
getLocation
public LocalTimeProtocol.Location getLocation(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;
- Specified by:
getLocation
in 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:
getLocationOrBuilder
in interfaceLocalTimeProtocol.LocationsOrBuilder
-
getLocationOrBuilderList
public java.util.List<? extends LocalTimeProtocol.LocationOrBuilder> getLocationOrBuilderList()
repeated .org.jboss.netty.example.localtime.Location location = 1;
- Specified by:
getLocationOrBuilderList
in 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()
-
-