com.google.transit.realtime
Interface GtfsRealtime.AlertOrBuilder

All Superinterfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.Alert>, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GtfsRealtime.Alert, GtfsRealtime.Alert.Builder
Enclosing class:
GtfsRealtime

public static interface GtfsRealtime.AlertOrBuilder
extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.Alert>


Method Summary
 GtfsRealtime.TimeRange getActivePeriod(int index)
          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.TranslatedString getDescriptionText()
          optional .transit_realtime.TranslatedString description_text = 11;
 GtfsRealtime.TranslatedStringOrBuilder getDescriptionTextOrBuilder()
          optional .transit_realtime.TranslatedString description_text = 11;
 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.TranslatedStringOrBuilder getHeaderTextOrBuilder()
          optional .transit_realtime.TranslatedString header_text = 10;
 GtfsRealtime.EntitySelector getInformedEntity(int index)
          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.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;
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

getActivePeriodList

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.
 


getActivePeriod

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.
 


getActivePeriodCount

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.
 


getActivePeriodOrBuilderList

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.
 


getActivePeriodOrBuilder

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.
 


getInformedEntityList

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


getInformedEntity

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


getInformedEntityCount

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


getInformedEntityOrBuilderList

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


getInformedEntityOrBuilder

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


hasCause

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


getCause

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


hasEffect

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


getEffect

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


hasUrl

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


getUrl

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


getUrlOrBuilder

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


hasHeaderText

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


getHeaderText

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


getHeaderTextOrBuilder

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


hasDescriptionText

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.
 


getDescriptionText

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.
 


getDescriptionTextOrBuilder

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.
 



Copyright © 2015. All Rights Reserved.