public static interface GtfsRealtime.AlertOrBuilder extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.Alert>
Modifier and Type | Method and Description |
---|---|
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; |
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
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.
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.
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.
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.
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.
List<GtfsRealtime.EntitySelector> getInformedEntityList()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
GtfsRealtime.EntitySelector getInformedEntity(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
int getInformedEntityCount()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
List<? extends GtfsRealtime.EntitySelectorOrBuilder> getInformedEntityOrBuilderList()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
GtfsRealtime.EntitySelectorOrBuilder getInformedEntityOrBuilder(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
boolean hasCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
GtfsRealtime.Alert.Cause getCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
boolean hasEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
GtfsRealtime.Alert.Effect getEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
boolean hasUrl()
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
GtfsRealtime.TranslatedString getUrl()
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
GtfsRealtime.TranslatedStringOrBuilder getUrlOrBuilder()
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
boolean hasHeaderText()
optional .transit_realtime.TranslatedString header_text = 10;
Alert header. Contains a short summary of the alert text as plain-text.
GtfsRealtime.TranslatedString getHeaderText()
optional .transit_realtime.TranslatedString header_text = 10;
Alert header. Contains a short summary of the alert text as plain-text.
GtfsRealtime.TranslatedStringOrBuilder getHeaderTextOrBuilder()
optional .transit_realtime.TranslatedString header_text = 10;
Alert header. Contains a short summary of the alert text as plain-text.
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.
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.
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 © 2018. All rights reserved.