public static interface GtfsRealtime.AlertOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<GtfsRealtime.Alert>
| Modifier and Type | Method and Description |
|---|---|
GtfsRealtime.TimeRange |
getActivePeriod(int index)
Time when the alert should be shown to the user.
|
int |
getActivePeriodCount()
Time when the alert should be shown to the user.
|
List<GtfsRealtime.TimeRange> |
getActivePeriodList()
Time when the alert should be shown to the user.
|
GtfsRealtime.TimeRangeOrBuilder |
getActivePeriodOrBuilder(int index)
Time when the alert should be shown to the user.
|
List<? extends GtfsRealtime.TimeRangeOrBuilder> |
getActivePeriodOrBuilderList()
Time when the alert should be shown to the user.
|
GtfsRealtime.Alert.Cause |
getCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE]; |
GtfsRealtime.TranslatedString |
getDescriptionText()
Full description for the alert as plain-text.
|
GtfsRealtime.TranslatedStringOrBuilder |
getDescriptionTextOrBuilder()
Full description for the alert as plain-text.
|
GtfsRealtime.Alert.Effect |
getEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT]; |
GtfsRealtime.TranslatedString |
getHeaderText()
Alert header.
|
GtfsRealtime.TranslatedStringOrBuilder |
getHeaderTextOrBuilder()
Alert header.
|
GtfsRealtime.EntitySelector |
getInformedEntity(int index)
Entities whose users we should notify of this alert.
|
int |
getInformedEntityCount()
Entities whose users we should notify of this alert.
|
List<GtfsRealtime.EntitySelector> |
getInformedEntityList()
Entities whose users we should notify of this alert.
|
GtfsRealtime.EntitySelectorOrBuilder |
getInformedEntityOrBuilder(int index)
Entities whose users we should notify of this alert.
|
List<? extends GtfsRealtime.EntitySelectorOrBuilder> |
getInformedEntityOrBuilderList()
Entities whose users we should notify of this alert.
|
GtfsRealtime.Alert.SeverityLevel |
getSeverityLevel()
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY]; |
GtfsRealtime.TranslatedString |
getTtsDescriptionText()
Text for full description for the alert to be used in text-to-speech implementations.
|
GtfsRealtime.TranslatedStringOrBuilder |
getTtsDescriptionTextOrBuilder()
Text for full description for the alert to be used in text-to-speech implementations.
|
GtfsRealtime.TranslatedString |
getTtsHeaderText()
Text for alert header to be used in text-to-speech implementations.
|
GtfsRealtime.TranslatedStringOrBuilder |
getTtsHeaderTextOrBuilder()
Text for alert header to be used in text-to-speech implementations.
|
GtfsRealtime.TranslatedString |
getUrl()
The URL which provides additional information about the alert.
|
GtfsRealtime.TranslatedStringOrBuilder |
getUrlOrBuilder()
The URL which provides additional information about the alert.
|
boolean |
hasCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE]; |
boolean |
hasDescriptionText()
Full description for the alert as plain-text.
|
boolean |
hasEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT]; |
boolean |
hasHeaderText()
Alert header.
|
boolean |
hasSeverityLevel()
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY]; |
boolean |
hasTtsDescriptionText()
Text for full description for the alert to be used in text-to-speech implementations.
|
boolean |
hasTtsHeaderText()
Text for alert header to be used in text-to-speech implementations.
|
boolean |
hasUrl()
The URL which provides additional information about the alert.
|
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionList<GtfsRealtime.TimeRange> getActivePeriodList()
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.
repeated .transit_realtime.TimeRange active_period = 1;GtfsRealtime.TimeRange getActivePeriod(int index)
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.
repeated .transit_realtime.TimeRange active_period = 1;int getActivePeriodCount()
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.
repeated .transit_realtime.TimeRange active_period = 1;List<? extends GtfsRealtime.TimeRangeOrBuilder> getActivePeriodOrBuilderList()
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.
repeated .transit_realtime.TimeRange active_period = 1;GtfsRealtime.TimeRangeOrBuilder getActivePeriodOrBuilder(int index)
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.
repeated .transit_realtime.TimeRange active_period = 1;List<GtfsRealtime.EntitySelector> getInformedEntityList()
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;GtfsRealtime.EntitySelector getInformedEntity(int index)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;int getInformedEntityCount()
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;List<? extends GtfsRealtime.EntitySelectorOrBuilder> getInformedEntityOrBuilderList()
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;GtfsRealtime.EntitySelectorOrBuilder getInformedEntityOrBuilder(int index)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;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()
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;GtfsRealtime.TranslatedString getUrl()
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;GtfsRealtime.TranslatedStringOrBuilder getUrlOrBuilder()
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;boolean hasHeaderText()
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;GtfsRealtime.TranslatedString getHeaderText()
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;GtfsRealtime.TranslatedStringOrBuilder getHeaderTextOrBuilder()
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;boolean hasDescriptionText()
Full description for the alert as plain-text. The information in the description should add to the information of the header.
optional .transit_realtime.TranslatedString description_text = 11;GtfsRealtime.TranslatedString getDescriptionText()
Full description for the alert as plain-text. The information in the description should add to the information of the header.
optional .transit_realtime.TranslatedString description_text = 11;GtfsRealtime.TranslatedStringOrBuilder getDescriptionTextOrBuilder()
Full description for the alert as plain-text. The information in the description should add to the information of the header.
optional .transit_realtime.TranslatedString description_text = 11;boolean hasTtsHeaderText()
Text for alert header to be used in text-to-speech implementations. This field is the text-to-speech version of header_text. This field is still experimental, and subject to change. It may be formally adopted in the future.
optional .transit_realtime.TranslatedString tts_header_text = 12;GtfsRealtime.TranslatedString getTtsHeaderText()
Text for alert header to be used in text-to-speech implementations. This field is the text-to-speech version of header_text. This field is still experimental, and subject to change. It may be formally adopted in the future.
optional .transit_realtime.TranslatedString tts_header_text = 12;GtfsRealtime.TranslatedStringOrBuilder getTtsHeaderTextOrBuilder()
Text for alert header to be used in text-to-speech implementations. This field is the text-to-speech version of header_text. This field is still experimental, and subject to change. It may be formally adopted in the future.
optional .transit_realtime.TranslatedString tts_header_text = 12;boolean hasTtsDescriptionText()
Text for full description for the alert to be used in text-to-speech implementations. This field is the text-to-speech version of description_text. This field is still experimental, and subject to change. It may be formally adopted in the future.
optional .transit_realtime.TranslatedString tts_description_text = 13;GtfsRealtime.TranslatedString getTtsDescriptionText()
Text for full description for the alert to be used in text-to-speech implementations. This field is the text-to-speech version of description_text. This field is still experimental, and subject to change. It may be formally adopted in the future.
optional .transit_realtime.TranslatedString tts_description_text = 13;GtfsRealtime.TranslatedStringOrBuilder getTtsDescriptionTextOrBuilder()
Text for full description for the alert to be used in text-to-speech implementations. This field is the text-to-speech version of description_text. This field is still experimental, and subject to change. It may be formally adopted in the future.
optional .transit_realtime.TranslatedString tts_description_text = 13;boolean hasSeverityLevel()
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];GtfsRealtime.Alert.SeverityLevel getSeverityLevel()
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];Copyright © 2019. All rights reserved.