org.jboss.netty.example.localtime
Class LocalTimeProtocol.Locations.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>
              extended by org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, Cloneable
Enclosing class:
LocalTimeProtocol.Locations

public static final class LocalTimeProtocol.Locations.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>


Method Summary
 LocalTimeProtocol.Locations.Builder addAllLocation(Iterable<? extends LocalTimeProtocol.Location> values)
           
 LocalTimeProtocol.Locations.Builder addLocation(LocalTimeProtocol.Location.Builder builderForValue)
           
 LocalTimeProtocol.Locations.Builder addLocation(LocalTimeProtocol.Location value)
           
 LocalTimeProtocol.Locations build()
           
 LocalTimeProtocol.Locations buildPartial()
           
 LocalTimeProtocol.Locations.Builder clear()
           
 LocalTimeProtocol.Locations.Builder clearLocation()
           
 LocalTimeProtocol.Locations.Builder clone()
           
 LocalTimeProtocol.Locations getDefaultInstanceForType()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 LocalTimeProtocol.Location getLocation(int index)
           
 int getLocationCount()
           
 List<LocalTimeProtocol.Location> getLocationList()
           
protected  LocalTimeProtocol.Locations internalGetResult()
           
 boolean isInitialized()
           
 LocalTimeProtocol.Locations.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 LocalTimeProtocol.Locations.Builder mergeFrom(LocalTimeProtocol.Locations other)
           
 LocalTimeProtocol.Locations.Builder mergeFrom(com.google.protobuf.Message other)
           
 LocalTimeProtocol.Locations.Builder setLocation(int index, LocalTimeProtocol.Location.Builder builderForValue)
           
 LocalTimeProtocol.Locations.Builder setLocation(int index, LocalTimeProtocol.Location value)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, mergeUnknownFields, newBuilderForField, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

internalGetResult

protected LocalTimeProtocol.Locations internalGetResult()
Specified by:
internalGetResult in class com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>

clear

public LocalTimeProtocol.Locations.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.AbstractMessage.Builder<LocalTimeProtocol.Locations.Builder>

clone

public LocalTimeProtocol.Locations.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>

getDefaultInstanceForType

public LocalTimeProtocol.Locations getDefaultInstanceForType()

isInitialized

public boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLite.Builder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<LocalTimeProtocol.Locations.Builder>

build

public LocalTimeProtocol.Locations build()

buildPartial

public LocalTimeProtocol.Locations buildPartial()

mergeFrom

public LocalTimeProtocol.Locations.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocalTimeProtocol.Locations.Builder>

mergeFrom

public LocalTimeProtocol.Locations.Builder mergeFrom(LocalTimeProtocol.Locations other)

mergeFrom

public LocalTimeProtocol.Locations.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocalTimeProtocol.Locations.Builder>
Throws:
IOException

getLocationList

public List<LocalTimeProtocol.Location> getLocationList()

getLocationCount

public int getLocationCount()

getLocation

public LocalTimeProtocol.Location getLocation(int index)

setLocation

public LocalTimeProtocol.Locations.Builder setLocation(int index,
                                                       LocalTimeProtocol.Location value)

setLocation

public LocalTimeProtocol.Locations.Builder setLocation(int index,
                                                       LocalTimeProtocol.Location.Builder builderForValue)

addLocation

public LocalTimeProtocol.Locations.Builder addLocation(LocalTimeProtocol.Location value)

addLocation

public LocalTimeProtocol.Locations.Builder addLocation(LocalTimeProtocol.Location.Builder builderForValue)

addAllLocation

public LocalTimeProtocol.Locations.Builder addAllLocation(Iterable<? extends LocalTimeProtocol.Location> values)

clearLocation

public LocalTimeProtocol.Locations.Builder clearLocation()


Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.