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, setRepeatedFieldclearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>public GtfsRealtime.Alert.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone 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.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType 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.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GtfsRealtime.Alert build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.Alert buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.Alert.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.Alert.Builder>IOExceptionpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic int getInformedEntityCount()
repeated .transit_realtime.EntitySelector informed_entity = 5;
Entities whose users we should notify of this alert.
getInformedEntityCount in interface GtfsRealtime.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic GtfsRealtime.Alert.Cause getCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];getCause in interface GtfsRealtime.AlertOrBuilderpublic 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.AlertOrBuilderpublic GtfsRealtime.Alert.Effect getEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];getEffect in interface GtfsRealtime.AlertOrBuilderpublic 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.AlertOrBuilderpublic GtfsRealtime.TranslatedString getUrl()
optional .transit_realtime.TranslatedString url = 8;
The URL which provides additional information about the alert.
getUrl in interface GtfsRealtime.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderpublic 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.AlertOrBuilderCopyright © 2018. All rights reserved.