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 int
bitField0_
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.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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
LocalTimeProtocol.Locations
build()
LocalTimeProtocol.Locations
buildPartial()
LocalTimeProtocol.Locations.Builder
clear()
LocalTimeProtocol.Locations.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
LocalTimeProtocol.Locations.Builder
clearLocation()
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Locations.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
LocalTimeProtocol.Locations.Builder
clone()
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.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.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.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
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
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LocalTimeProtocol.Locations.Builder
removeLocation(int index)
repeated .org.jboss.netty.example.localtime.Location location = 1;
LocalTimeProtocol.Locations.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
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;
LocalTimeProtocol.Locations.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
LocalTimeProtocol.Locations.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
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.GeneratedMessageV3.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.GeneratedMessageV3.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
-
clone
public LocalTimeProtocol.Locations.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
clearField
public LocalTimeProtocol.Locations.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
clearOneof
public LocalTimeProtocol.Locations.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
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.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:
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.RepeatedFieldBuilderV3<LocalTimeProtocol.Location,LocalTimeProtocol.Location.Builder,LocalTimeProtocol.LocationOrBuilder> getLocationFieldBuilder()
-
setUnknownFields
public final LocalTimeProtocol.Locations.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
mergeUnknownFields
public final LocalTimeProtocol.Locations.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocalTimeProtocol.Locations.Builder>
-
-