com.google.transit.realtime
Class GtfsRealtime.Alert.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<BuilderType>
              extended by com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>
                  extended by com.google.transit.realtime.GtfsRealtime.Alert.Builder
All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.Alert>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GtfsRealtime.AlertOrBuilder, Cloneable
Enclosing class:
GtfsRealtime.Alert

public static final class GtfsRealtime.Alert.Builder
extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>
implements GtfsRealtime.AlertOrBuilder

Protobuf type transit_realtime.Alert

 An alert, indicating some sort of incident in the public transit network.
 


Method Summary
 GtfsRealtime.Alert.Builder addActivePeriod(GtfsRealtime.TimeRange.Builder builderForValue)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Builder addActivePeriod(GtfsRealtime.TimeRange value)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Builder addActivePeriod(int index, GtfsRealtime.TimeRange.Builder builderForValue)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Builder addActivePeriod(int index, GtfsRealtime.TimeRange value)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.TimeRange.Builder addActivePeriodBuilder()
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.TimeRange.Builder addActivePeriodBuilder(int index)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Builder addAllActivePeriod(Iterable<? extends GtfsRealtime.TimeRange> values)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Builder addAllInformedEntity(Iterable<? extends GtfsRealtime.EntitySelector> values)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.Alert.Builder addInformedEntity(GtfsRealtime.EntitySelector.Builder builderForValue)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.Alert.Builder addInformedEntity(GtfsRealtime.EntitySelector value)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.Alert.Builder addInformedEntity(int index, GtfsRealtime.EntitySelector.Builder builderForValue)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.Alert.Builder addInformedEntity(int index, GtfsRealtime.EntitySelector value)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.EntitySelector.Builder addInformedEntityBuilder()
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.EntitySelector.Builder addInformedEntityBuilder(int index)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.Alert build()
           
 GtfsRealtime.Alert buildPartial()
           
 GtfsRealtime.Alert.Builder clear()
           
 GtfsRealtime.Alert.Builder clearActivePeriod()
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Builder clearCause()
          optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
 GtfsRealtime.Alert.Builder clearDescriptionText()
          optional .transit_realtime.TranslatedString description_text = 11;
 GtfsRealtime.Alert.Builder clearEffect()
          optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
 GtfsRealtime.Alert.Builder clearHeaderText()
          optional .transit_realtime.TranslatedString header_text = 10;
 GtfsRealtime.Alert.Builder clearInformedEntity()
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.Alert.Builder clearUrl()
          optional .transit_realtime.TranslatedString url = 8;
 GtfsRealtime.Alert.Builder clone()
           
 GtfsRealtime.TimeRange getActivePeriod(int index)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.TimeRange.Builder getActivePeriodBuilder(int index)
          repeated .transit_realtime.TimeRange active_period = 1;
 List<GtfsRealtime.TimeRange.Builder> getActivePeriodBuilderList()
          repeated .transit_realtime.TimeRange active_period = 1;
 int getActivePeriodCount()
          repeated .transit_realtime.TimeRange active_period = 1;
 List<GtfsRealtime.TimeRange> getActivePeriodList()
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.TimeRangeOrBuilder getActivePeriodOrBuilder(int index)
          repeated .transit_realtime.TimeRange active_period = 1;
 List<? extends GtfsRealtime.TimeRangeOrBuilder> getActivePeriodOrBuilderList()
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Cause getCause()
          optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
 GtfsRealtime.Alert getDefaultInstanceForType()
           
 GtfsRealtime.TranslatedString getDescriptionText()
          optional .transit_realtime.TranslatedString description_text = 11;
 GtfsRealtime.TranslatedString.Builder getDescriptionTextBuilder()
          optional .transit_realtime.TranslatedString description_text = 11;
 GtfsRealtime.TranslatedStringOrBuilder getDescriptionTextOrBuilder()
          optional .transit_realtime.TranslatedString description_text = 11;
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 GtfsRealtime.Alert.Effect getEffect()
          optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
 GtfsRealtime.TranslatedString getHeaderText()
          optional .transit_realtime.TranslatedString header_text = 10;
 GtfsRealtime.TranslatedString.Builder getHeaderTextBuilder()
          optional .transit_realtime.TranslatedString header_text = 10;
 GtfsRealtime.TranslatedStringOrBuilder getHeaderTextOrBuilder()
          optional .transit_realtime.TranslatedString header_text = 10;
 GtfsRealtime.EntitySelector getInformedEntity(int index)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.EntitySelector.Builder getInformedEntityBuilder(int index)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 List<GtfsRealtime.EntitySelector.Builder> getInformedEntityBuilderList()
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 int getInformedEntityCount()
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 List<GtfsRealtime.EntitySelector> getInformedEntityList()
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.EntitySelectorOrBuilder getInformedEntityOrBuilder(int index)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 List<? extends GtfsRealtime.EntitySelectorOrBuilder> getInformedEntityOrBuilderList()
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.TranslatedString getUrl()
          optional .transit_realtime.TranslatedString url = 8;
 GtfsRealtime.TranslatedString.Builder getUrlBuilder()
          optional .transit_realtime.TranslatedString url = 8;
 GtfsRealtime.TranslatedStringOrBuilder getUrlOrBuilder()
          optional .transit_realtime.TranslatedString url = 8;
 boolean hasCause()
          optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
 boolean hasDescriptionText()
          optional .transit_realtime.TranslatedString description_text = 11;
 boolean hasEffect()
          optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
 boolean hasHeaderText()
          optional .transit_realtime.TranslatedString header_text = 10;
 boolean hasUrl()
          optional .transit_realtime.TranslatedString url = 8;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 GtfsRealtime.Alert.Builder mergeDescriptionText(GtfsRealtime.TranslatedString value)
          optional .transit_realtime.TranslatedString description_text = 11;
 GtfsRealtime.Alert.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 GtfsRealtime.Alert.Builder mergeFrom(GtfsRealtime.Alert other)
           
 GtfsRealtime.Alert.Builder mergeFrom(com.google.protobuf.Message other)
           
 GtfsRealtime.Alert.Builder mergeHeaderText(GtfsRealtime.TranslatedString value)
          optional .transit_realtime.TranslatedString header_text = 10;
 GtfsRealtime.Alert.Builder mergeUrl(GtfsRealtime.TranslatedString value)
          optional .transit_realtime.TranslatedString url = 8;
 GtfsRealtime.Alert.Builder removeActivePeriod(int index)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Builder removeInformedEntity(int index)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.Alert.Builder setActivePeriod(int index, GtfsRealtime.TimeRange.Builder builderForValue)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Builder setActivePeriod(int index, GtfsRealtime.TimeRange value)
          repeated .transit_realtime.TimeRange active_period = 1;
 GtfsRealtime.Alert.Builder setCause(GtfsRealtime.Alert.Cause value)
          optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
 GtfsRealtime.Alert.Builder setDescriptionText(GtfsRealtime.TranslatedString.Builder builderForValue)
          optional .transit_realtime.TranslatedString description_text = 11;
 GtfsRealtime.Alert.Builder setDescriptionText(GtfsRealtime.TranslatedString value)
          optional .transit_realtime.TranslatedString description_text = 11;
 GtfsRealtime.Alert.Builder setEffect(GtfsRealtime.Alert.Effect value)
          optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
 GtfsRealtime.Alert.Builder setHeaderText(GtfsRealtime.TranslatedString.Builder builderForValue)
          optional .transit_realtime.TranslatedString header_text = 10;
 GtfsRealtime.Alert.Builder setHeaderText(GtfsRealtime.TranslatedString value)
          optional .transit_realtime.TranslatedString header_text = 10;
 GtfsRealtime.Alert.Builder setInformedEntity(int index, GtfsRealtime.EntitySelector.Builder builderForValue)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.Alert.Builder setInformedEntity(int index, GtfsRealtime.EntitySelector value)
          repeated .transit_realtime.EntitySelector informed_entity = 5;
 GtfsRealtime.Alert.Builder setUrl(GtfsRealtime.TranslatedString.Builder builderForValue)
          optional .transit_realtime.TranslatedString url = 8;
 GtfsRealtime.Alert.Builder setUrl(GtfsRealtime.TranslatedString value)
          optional .transit_realtime.TranslatedString url = 8;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setField, setRepeatedField
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
clearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 

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<GtfsRealtime.Alert.Builder>

clear

public GtfsRealtime.Alert.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.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>

clone

public GtfsRealtime.Alert.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.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.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<GtfsRealtime.Alert.Builder>

getDefaultInstanceForType

public GtfsRealtime.Alert getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.Alert>
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public GtfsRealtime.Alert.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<GtfsRealtime.Alert.Builder>

mergeFrom

public GtfsRealtime.Alert.Builder mergeFrom(GtfsRealtime.Alert other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>

mergeFrom

public GtfsRealtime.Alert.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<GtfsRealtime.Alert.Builder>
Throws:
IOException

getActivePeriodList

public List<GtfsRealtime.TimeRange> getActivePeriodList()
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 

Specified by:
getActivePeriodList in interface GtfsRealtime.AlertOrBuilder

getActivePeriodCount

public int getActivePeriodCount()
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 

Specified by:
getActivePeriodCount in interface GtfsRealtime.AlertOrBuilder

getActivePeriod

public GtfsRealtime.TimeRange getActivePeriod(int index)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 

Specified by:
getActivePeriod in interface GtfsRealtime.AlertOrBuilder

setActivePeriod

public GtfsRealtime.Alert.Builder setActivePeriod(int index,
                                                  GtfsRealtime.TimeRange value)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


setActivePeriod

public GtfsRealtime.Alert.Builder setActivePeriod(int index,
                                                  GtfsRealtime.TimeRange.Builder builderForValue)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


addActivePeriod

public GtfsRealtime.Alert.Builder addActivePeriod(GtfsRealtime.TimeRange value)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


addActivePeriod

public GtfsRealtime.Alert.Builder addActivePeriod(int index,
                                                  GtfsRealtime.TimeRange value)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


addActivePeriod

public GtfsRealtime.Alert.Builder addActivePeriod(GtfsRealtime.TimeRange.Builder builderForValue)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


addActivePeriod

public GtfsRealtime.Alert.Builder addActivePeriod(int index,
                                                  GtfsRealtime.TimeRange.Builder builderForValue)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


addAllActivePeriod

public GtfsRealtime.Alert.Builder addAllActivePeriod(Iterable<? extends GtfsRealtime.TimeRange> values)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


clearActivePeriod

public GtfsRealtime.Alert.Builder clearActivePeriod()
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


removeActivePeriod

public GtfsRealtime.Alert.Builder removeActivePeriod(int index)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


getActivePeriodBuilder

public GtfsRealtime.TimeRange.Builder getActivePeriodBuilder(int index)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


getActivePeriodOrBuilder

public GtfsRealtime.TimeRangeOrBuilder getActivePeriodOrBuilder(int index)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 

Specified by:
getActivePeriodOrBuilder in interface GtfsRealtime.AlertOrBuilder

getActivePeriodOrBuilderList

public List<? extends GtfsRealtime.TimeRangeOrBuilder> getActivePeriodOrBuilderList()
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 

Specified by:
getActivePeriodOrBuilderList in interface GtfsRealtime.AlertOrBuilder

addActivePeriodBuilder

public GtfsRealtime.TimeRange.Builder addActivePeriodBuilder()
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


addActivePeriodBuilder

public GtfsRealtime.TimeRange.Builder addActivePeriodBuilder(int index)
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


getActivePeriodBuilderList

public List<GtfsRealtime.TimeRange.Builder> getActivePeriodBuilderList()
repeated .transit_realtime.TimeRange active_period = 1;
 Time when the alert should be shown to the user. If missing, the
 alert will be shown as long as it appears in the feed.
 If multiple ranges are given, the alert will be shown during all of them.
 


getInformedEntityList

public List<GtfsRealtime.EntitySelector> getInformedEntityList()
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 

Specified by:
getInformedEntityList in interface GtfsRealtime.AlertOrBuilder

getInformedEntityCount

public int getInformedEntityCount()
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 

Specified by:
getInformedEntityCount in interface GtfsRealtime.AlertOrBuilder

getInformedEntity

public GtfsRealtime.EntitySelector getInformedEntity(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 

Specified by:
getInformedEntity in interface GtfsRealtime.AlertOrBuilder

setInformedEntity

public GtfsRealtime.Alert.Builder setInformedEntity(int index,
                                                    GtfsRealtime.EntitySelector value)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


setInformedEntity

public GtfsRealtime.Alert.Builder setInformedEntity(int index,
                                                    GtfsRealtime.EntitySelector.Builder builderForValue)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


addInformedEntity

public GtfsRealtime.Alert.Builder addInformedEntity(GtfsRealtime.EntitySelector value)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


addInformedEntity

public GtfsRealtime.Alert.Builder addInformedEntity(int index,
                                                    GtfsRealtime.EntitySelector value)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


addInformedEntity

public GtfsRealtime.Alert.Builder addInformedEntity(GtfsRealtime.EntitySelector.Builder builderForValue)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


addInformedEntity

public GtfsRealtime.Alert.Builder addInformedEntity(int index,
                                                    GtfsRealtime.EntitySelector.Builder builderForValue)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


addAllInformedEntity

public GtfsRealtime.Alert.Builder addAllInformedEntity(Iterable<? extends GtfsRealtime.EntitySelector> values)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


clearInformedEntity

public GtfsRealtime.Alert.Builder clearInformedEntity()
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


removeInformedEntity

public GtfsRealtime.Alert.Builder removeInformedEntity(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


getInformedEntityBuilder

public GtfsRealtime.EntitySelector.Builder getInformedEntityBuilder(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


getInformedEntityOrBuilder

public GtfsRealtime.EntitySelectorOrBuilder getInformedEntityOrBuilder(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 

Specified by:
getInformedEntityOrBuilder in interface GtfsRealtime.AlertOrBuilder

getInformedEntityOrBuilderList

public List<? extends GtfsRealtime.EntitySelectorOrBuilder> getInformedEntityOrBuilderList()
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 

Specified by:
getInformedEntityOrBuilderList in interface GtfsRealtime.AlertOrBuilder

addInformedEntityBuilder

public GtfsRealtime.EntitySelector.Builder addInformedEntityBuilder()
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


addInformedEntityBuilder

public GtfsRealtime.EntitySelector.Builder addInformedEntityBuilder(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


getInformedEntityBuilderList

public List<GtfsRealtime.EntitySelector.Builder> getInformedEntityBuilderList()
repeated .transit_realtime.EntitySelector informed_entity = 5;
 Entities whose users we should notify of this alert.
 


hasCause

public boolean hasCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];

Specified by:
hasCause in interface GtfsRealtime.AlertOrBuilder

getCause

public GtfsRealtime.Alert.Cause getCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];

Specified by:
getCause in interface GtfsRealtime.AlertOrBuilder

setCause

public GtfsRealtime.Alert.Builder setCause(GtfsRealtime.Alert.Cause value)
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];


clearCause

public GtfsRealtime.Alert.Builder clearCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];


hasEffect

public boolean hasEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];

Specified by:
hasEffect in interface GtfsRealtime.AlertOrBuilder

getEffect

public GtfsRealtime.Alert.Effect getEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];

Specified by:
getEffect in interface GtfsRealtime.AlertOrBuilder

setEffect

public GtfsRealtime.Alert.Builder setEffect(GtfsRealtime.Alert.Effect value)
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];


clearEffect

public GtfsRealtime.Alert.Builder clearEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];


hasUrl

public boolean hasUrl()
optional .transit_realtime.TranslatedString url = 8;
 The URL which provides additional information about the alert.
 

Specified by:
hasUrl in interface GtfsRealtime.AlertOrBuilder

getUrl

public GtfsRealtime.TranslatedString getUrl()
optional .transit_realtime.TranslatedString url = 8;
 The URL which provides additional information about the alert.
 

Specified by:
getUrl in interface GtfsRealtime.AlertOrBuilder

setUrl

public GtfsRealtime.Alert.Builder setUrl(GtfsRealtime.TranslatedString value)
optional .transit_realtime.TranslatedString url = 8;
 The URL which provides additional information about the alert.
 


setUrl

public GtfsRealtime.Alert.Builder setUrl(GtfsRealtime.TranslatedString.Builder builderForValue)
optional .transit_realtime.TranslatedString url = 8;
 The URL which provides additional information about the alert.
 


mergeUrl

public GtfsRealtime.Alert.Builder mergeUrl(GtfsRealtime.TranslatedString value)
optional .transit_realtime.TranslatedString url = 8;
 The URL which provides additional information about the alert.
 


clearUrl

public GtfsRealtime.Alert.Builder clearUrl()
optional .transit_realtime.TranslatedString url = 8;
 The URL which provides additional information about the alert.
 


getUrlBuilder

public GtfsRealtime.TranslatedString.Builder getUrlBuilder()
optional .transit_realtime.TranslatedString url = 8;
 The URL which provides additional information about the alert.
 


getUrlOrBuilder

public GtfsRealtime.TranslatedStringOrBuilder getUrlOrBuilder()
optional .transit_realtime.TranslatedString url = 8;
 The URL which provides additional information about the alert.
 

Specified by:
getUrlOrBuilder in interface GtfsRealtime.AlertOrBuilder

hasHeaderText

public boolean hasHeaderText()
optional .transit_realtime.TranslatedString header_text = 10;
 Alert header. Contains a short summary of the alert text as plain-text.
 

Specified by:
hasHeaderText in interface GtfsRealtime.AlertOrBuilder

getHeaderText

public GtfsRealtime.TranslatedString getHeaderText()
optional .transit_realtime.TranslatedString header_text = 10;
 Alert header. Contains a short summary of the alert text as plain-text.
 

Specified by:
getHeaderText in interface GtfsRealtime.AlertOrBuilder

setHeaderText

public GtfsRealtime.Alert.Builder setHeaderText(GtfsRealtime.TranslatedString value)
optional .transit_realtime.TranslatedString header_text = 10;
 Alert header. Contains a short summary of the alert text as plain-text.
 


setHeaderText

public GtfsRealtime.Alert.Builder setHeaderText(GtfsRealtime.TranslatedString.Builder builderForValue)
optional .transit_realtime.TranslatedString header_text = 10;
 Alert header. Contains a short summary of the alert text as plain-text.
 


mergeHeaderText

public GtfsRealtime.Alert.Builder mergeHeaderText(GtfsRealtime.TranslatedString value)
optional .transit_realtime.TranslatedString header_text = 10;
 Alert header. Contains a short summary of the alert text as plain-text.
 


clearHeaderText

public GtfsRealtime.Alert.Builder clearHeaderText()
optional .transit_realtime.TranslatedString header_text = 10;
 Alert header. Contains a short summary of the alert text as plain-text.
 


getHeaderTextBuilder

public GtfsRealtime.TranslatedString.Builder getHeaderTextBuilder()
optional .transit_realtime.TranslatedString header_text = 10;
 Alert header. Contains a short summary of the alert text as plain-text.
 


getHeaderTextOrBuilder

public GtfsRealtime.TranslatedStringOrBuilder getHeaderTextOrBuilder()
optional .transit_realtime.TranslatedString header_text = 10;
 Alert header. Contains a short summary of the alert text as plain-text.
 

Specified by:
getHeaderTextOrBuilder in interface GtfsRealtime.AlertOrBuilder

hasDescriptionText

public boolean hasDescriptionText()
optional .transit_realtime.TranslatedString description_text = 11;
 Full description for the alert as plain-text. The information in the
 description should add to the information of the header.
 

Specified by:
hasDescriptionText in interface GtfsRealtime.AlertOrBuilder

getDescriptionText

public GtfsRealtime.TranslatedString getDescriptionText()
optional .transit_realtime.TranslatedString description_text = 11;
 Full description for the alert as plain-text. The information in the
 description should add to the information of the header.
 

Specified by:
getDescriptionText in interface GtfsRealtime.AlertOrBuilder

setDescriptionText

public GtfsRealtime.Alert.Builder setDescriptionText(GtfsRealtime.TranslatedString value)
optional .transit_realtime.TranslatedString description_text = 11;
 Full description for the alert as plain-text. The information in the
 description should add to the information of the header.
 


setDescriptionText

public GtfsRealtime.Alert.Builder setDescriptionText(GtfsRealtime.TranslatedString.Builder builderForValue)
optional .transit_realtime.TranslatedString description_text = 11;
 Full description for the alert as plain-text. The information in the
 description should add to the information of the header.
 


mergeDescriptionText

public GtfsRealtime.Alert.Builder mergeDescriptionText(GtfsRealtime.TranslatedString value)
optional .transit_realtime.TranslatedString description_text = 11;
 Full description for the alert as plain-text. The information in the
 description should add to the information of the header.
 


clearDescriptionText

public GtfsRealtime.Alert.Builder clearDescriptionText()
optional .transit_realtime.TranslatedString description_text = 11;
 Full description for the alert as plain-text. The information in the
 description should add to the information of the header.
 


getDescriptionTextBuilder

public GtfsRealtime.TranslatedString.Builder getDescriptionTextBuilder()
optional .transit_realtime.TranslatedString description_text = 11;
 Full description for the alert as plain-text. The information in the
 description should add to the information of the header.
 


getDescriptionTextOrBuilder

public GtfsRealtime.TranslatedStringOrBuilder getDescriptionTextOrBuilder()
optional .transit_realtime.TranslatedString description_text = 11;
 Full description for the alert as plain-text. The information in the
 description should add to the information of the header.
 

Specified by:
getDescriptionTextOrBuilder in interface GtfsRealtime.AlertOrBuilder


Copyright © 2015. All Rights Reserved.