public static final class GtfsRealtime.Alert.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder> implements GtfsRealtime.AlertOrBuilder
transit_realtime.Alert
An alert, indicating some sort of incident in the public transit network.
Modifier and Type | Method and Description |
---|---|
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; |
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setField, setRepeatedField
clearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.Alert.Builder>
public GtfsRealtime.Alert.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>
public GtfsRealtime.Alert.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.Alert.Builder>
public GtfsRealtime.Alert getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.Alert>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GtfsRealtime.Alert build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.Alert buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.Alert.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.Alert.Builder>
public GtfsRealtime.Alert.Builder mergeFrom(GtfsRealtime.Alert other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>
public GtfsRealtime.Alert.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.Alert.Builder>
IOException
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.
getActivePeriodList
in interface GtfsRealtime.AlertOrBuilder
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.
getActivePeriodCount
in interface GtfsRealtime.AlertOrBuilder
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.
getActivePeriod
in interface GtfsRealtime.AlertOrBuilder
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
getActivePeriodOrBuilder
in interface GtfsRealtime.AlertOrBuilder
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.
getActivePeriodOrBuilderList
in interface GtfsRealtime.AlertOrBuilder
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.
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.
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.
public List<GtfsRealtime.EntitySelector> getInformedEntityList()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
getInformedEntityList
in interface GtfsRealtime.AlertOrBuilder
public int getInformedEntityCount()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
getInformedEntityCount
in interface GtfsRealtime.AlertOrBuilder
public GtfsRealtime.EntitySelector getInformedEntity(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
getInformedEntity
in interface GtfsRealtime.AlertOrBuilder
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.
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.
public GtfsRealtime.Alert.Builder addInformedEntity(GtfsRealtime.EntitySelector value)
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
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.
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.
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.
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.
public GtfsRealtime.Alert.Builder clearInformedEntity()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
public GtfsRealtime.Alert.Builder removeInformedEntity(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
public GtfsRealtime.EntitySelector.Builder getInformedEntityBuilder(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
public GtfsRealtime.EntitySelectorOrBuilder getInformedEntityOrBuilder(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
getInformedEntityOrBuilder
in interface GtfsRealtime.AlertOrBuilder
public List<? extends GtfsRealtime.EntitySelectorOrBuilder> getInformedEntityOrBuilderList()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
getInformedEntityOrBuilderList
in interface GtfsRealtime.AlertOrBuilder
public GtfsRealtime.EntitySelector.Builder addInformedEntityBuilder()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
public GtfsRealtime.EntitySelector.Builder addInformedEntityBuilder(int index)
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
public List<GtfsRealtime.EntitySelector.Builder> getInformedEntityBuilderList()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
public boolean hasCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
hasCause
in interface GtfsRealtime.AlertOrBuilder
public GtfsRealtime.Alert.Cause getCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
getCause
in interface GtfsRealtime.AlertOrBuilder
public GtfsRealtime.Alert.Builder setCause(GtfsRealtime.Alert.Cause value)
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
public GtfsRealtime.Alert.Builder clearCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
public boolean hasEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
hasEffect
in interface GtfsRealtime.AlertOrBuilder
public GtfsRealtime.Alert.Effect getEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
getEffect
in interface GtfsRealtime.AlertOrBuilder
public GtfsRealtime.Alert.Builder setEffect(GtfsRealtime.Alert.Effect value)
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
public GtfsRealtime.Alert.Builder clearEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
public boolean hasUrl()
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
hasUrl
in interface GtfsRealtime.AlertOrBuilder
public GtfsRealtime.TranslatedString getUrl()
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
getUrl
in interface GtfsRealtime.AlertOrBuilder
public GtfsRealtime.Alert.Builder setUrl(GtfsRealtime.TranslatedString value)
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
public GtfsRealtime.Alert.Builder setUrl(GtfsRealtime.TranslatedString.Builder builderForValue)
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
public GtfsRealtime.Alert.Builder mergeUrl(GtfsRealtime.TranslatedString value)
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
public GtfsRealtime.Alert.Builder clearUrl()
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
public GtfsRealtime.TranslatedString.Builder getUrlBuilder()
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
public GtfsRealtime.TranslatedStringOrBuilder getUrlOrBuilder()
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
getUrlOrBuilder
in interface GtfsRealtime.AlertOrBuilder
public boolean hasHeaderText()
optional .transit_realtime.TranslatedString header_text = 10;
Alert header. Contains a short summary of the alert text as plain-text.
hasHeaderText
in interface GtfsRealtime.AlertOrBuilder
public GtfsRealtime.TranslatedString getHeaderText()
optional .transit_realtime.TranslatedString header_text = 10;
Alert header. Contains a short summary of the alert text as plain-text.
getHeaderText
in interface GtfsRealtime.AlertOrBuilder
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.
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.
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.
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.
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.
public GtfsRealtime.TranslatedStringOrBuilder getHeaderTextOrBuilder()
optional .transit_realtime.TranslatedString header_text = 10;
Alert header. Contains a short summary of the alert text as plain-text.
getHeaderTextOrBuilder
in interface GtfsRealtime.AlertOrBuilder
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.
hasDescriptionText
in interface GtfsRealtime.AlertOrBuilder
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.
getDescriptionText
in interface GtfsRealtime.AlertOrBuilder
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.
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.
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.
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.
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.
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.
getDescriptionTextOrBuilder
in interface GtfsRealtime.AlertOrBuilder
Copyright © 2019. All rights reserved.