org.onebusaway.transit_data_federation.services.service_alerts
Class ServiceAlerts.Consequence.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<ServiceAlerts.Consequence.Builder>
              extended by org.onebusaway.transit_data_federation.services.service_alerts.ServiceAlerts.Consequence.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ServiceAlerts.ConsequenceOrBuilder
Enclosing class:
ServiceAlerts.Consequence

public static final class ServiceAlerts.Consequence.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServiceAlerts.Consequence.Builder>
implements ServiceAlerts.ConsequenceOrBuilder


Method Summary
 ServiceAlerts.Consequence.Builder addAllDetourStopIds(Iterable<? extends ServiceAlerts.Id> values)
           
 ServiceAlerts.Consequence.Builder addDetourStopIds(int index, ServiceAlerts.Id.Builder builderForValue)
           
 ServiceAlerts.Consequence.Builder addDetourStopIds(int index, ServiceAlerts.Id value)
           
 ServiceAlerts.Consequence.Builder addDetourStopIds(ServiceAlerts.Id.Builder builderForValue)
           
 ServiceAlerts.Consequence.Builder addDetourStopIds(ServiceAlerts.Id value)
           
 ServiceAlerts.Id.Builder addDetourStopIdsBuilder()
           
 ServiceAlerts.Id.Builder addDetourStopIdsBuilder(int index)
           
 ServiceAlerts.Consequence build()
           
 ServiceAlerts.Consequence buildPartial()
           
 ServiceAlerts.Consequence.Builder clear()
           
 ServiceAlerts.Consequence.Builder clearDetourPath()
           
 ServiceAlerts.Consequence.Builder clearDetourStopIds()
           
 ServiceAlerts.Consequence.Builder clearEffect()
           
 ServiceAlerts.Consequence.Builder clone()
           
 ServiceAlerts.Consequence getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getDetourPath()
           
 ServiceAlerts.Id getDetourStopIds(int index)
           
 ServiceAlerts.Id.Builder getDetourStopIdsBuilder(int index)
           
 List<ServiceAlerts.Id.Builder> getDetourStopIdsBuilderList()
           
 int getDetourStopIdsCount()
           
 List<ServiceAlerts.Id> getDetourStopIdsList()
           
 ServiceAlerts.IdOrBuilder getDetourStopIdsOrBuilder(int index)
           
 List<? extends ServiceAlerts.IdOrBuilder> getDetourStopIdsOrBuilderList()
           
 ServiceAlerts.Consequence.Effect getEffect()
           
 boolean hasDetourPath()
           
 boolean hasEffect()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ServiceAlerts.Consequence.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ServiceAlerts.Consequence.Builder mergeFrom(com.google.protobuf.Message other)
           
 ServiceAlerts.Consequence.Builder mergeFrom(ServiceAlerts.Consequence other)
           
 ServiceAlerts.Consequence.Builder removeDetourStopIds(int index)
           
 ServiceAlerts.Consequence.Builder setDetourPath(String value)
           
 ServiceAlerts.Consequence.Builder setDetourStopIds(int index, ServiceAlerts.Id.Builder builderForValue)
           
 ServiceAlerts.Consequence.Builder setDetourStopIds(int index, ServiceAlerts.Id value)
           
 ServiceAlerts.Consequence.Builder setEffect(ServiceAlerts.Consequence.Effect value)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, 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
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ServiceAlerts.Consequence.Builder>

clear

public ServiceAlerts.Consequence.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.GeneratedMessage.Builder<ServiceAlerts.Consequence.Builder>

clone

public ServiceAlerts.Consequence.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<ServiceAlerts.Consequence.Builder>

getDescriptorForType

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

getDefaultInstanceForType

public ServiceAlerts.Consequence getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public ServiceAlerts.Consequence build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public ServiceAlerts.Consequence buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public ServiceAlerts.Consequence.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<ServiceAlerts.Consequence.Builder>

mergeFrom

public ServiceAlerts.Consequence.Builder mergeFrom(ServiceAlerts.Consequence other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ServiceAlerts.Consequence.Builder>

mergeFrom

public ServiceAlerts.Consequence.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<ServiceAlerts.Consequence.Builder>
Throws:
IOException

hasEffect

public boolean hasEffect()
Specified by:
hasEffect in interface ServiceAlerts.ConsequenceOrBuilder

getEffect

public ServiceAlerts.Consequence.Effect getEffect()
Specified by:
getEffect in interface ServiceAlerts.ConsequenceOrBuilder

setEffect

public ServiceAlerts.Consequence.Builder setEffect(ServiceAlerts.Consequence.Effect value)

clearEffect

public ServiceAlerts.Consequence.Builder clearEffect()

hasDetourPath

public boolean hasDetourPath()
Specified by:
hasDetourPath in interface ServiceAlerts.ConsequenceOrBuilder

getDetourPath

public String getDetourPath()
Specified by:
getDetourPath in interface ServiceAlerts.ConsequenceOrBuilder

setDetourPath

public ServiceAlerts.Consequence.Builder setDetourPath(String value)

clearDetourPath

public ServiceAlerts.Consequence.Builder clearDetourPath()

getDetourStopIdsList

public List<ServiceAlerts.Id> getDetourStopIdsList()
Specified by:
getDetourStopIdsList in interface ServiceAlerts.ConsequenceOrBuilder

getDetourStopIdsCount

public int getDetourStopIdsCount()
Specified by:
getDetourStopIdsCount in interface ServiceAlerts.ConsequenceOrBuilder

getDetourStopIds

public ServiceAlerts.Id getDetourStopIds(int index)
Specified by:
getDetourStopIds in interface ServiceAlerts.ConsequenceOrBuilder

setDetourStopIds

public ServiceAlerts.Consequence.Builder setDetourStopIds(int index,
                                                          ServiceAlerts.Id value)

setDetourStopIds

public ServiceAlerts.Consequence.Builder setDetourStopIds(int index,
                                                          ServiceAlerts.Id.Builder builderForValue)

addDetourStopIds

public ServiceAlerts.Consequence.Builder addDetourStopIds(ServiceAlerts.Id value)

addDetourStopIds

public ServiceAlerts.Consequence.Builder addDetourStopIds(int index,
                                                          ServiceAlerts.Id value)

addDetourStopIds

public ServiceAlerts.Consequence.Builder addDetourStopIds(ServiceAlerts.Id.Builder builderForValue)

addDetourStopIds

public ServiceAlerts.Consequence.Builder addDetourStopIds(int index,
                                                          ServiceAlerts.Id.Builder builderForValue)

addAllDetourStopIds

public ServiceAlerts.Consequence.Builder addAllDetourStopIds(Iterable<? extends ServiceAlerts.Id> values)

clearDetourStopIds

public ServiceAlerts.Consequence.Builder clearDetourStopIds()

removeDetourStopIds

public ServiceAlerts.Consequence.Builder removeDetourStopIds(int index)

getDetourStopIdsBuilder

public ServiceAlerts.Id.Builder getDetourStopIdsBuilder(int index)

getDetourStopIdsOrBuilder

public ServiceAlerts.IdOrBuilder getDetourStopIdsOrBuilder(int index)
Specified by:
getDetourStopIdsOrBuilder in interface ServiceAlerts.ConsequenceOrBuilder

getDetourStopIdsOrBuilderList

public List<? extends ServiceAlerts.IdOrBuilder> getDetourStopIdsOrBuilderList()
Specified by:
getDetourStopIdsOrBuilderList in interface ServiceAlerts.ConsequenceOrBuilder

addDetourStopIdsBuilder

public ServiceAlerts.Id.Builder addDetourStopIdsBuilder()

addDetourStopIdsBuilder

public ServiceAlerts.Id.Builder addDetourStopIdsBuilder(int index)

getDetourStopIdsBuilderList

public List<ServiceAlerts.Id.Builder> getDetourStopIdsBuilderList()


Copyright © 2011 OneBusAway. All Rights Reserved.