public static final class GtfsRealtime.Alert.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder> implements GtfsRealtime.AlertOrBuilder
An alert, indicating some sort of incident in the public transit network.Protobuf type
transit_realtime.Alert| Modifier and Type | Method and Description |
|---|---|
GtfsRealtime.Alert.Builder |
addActivePeriod(GtfsRealtime.TimeRange.Builder builderForValue)
Time when the alert should be shown to the user.
|
GtfsRealtime.Alert.Builder |
addActivePeriod(GtfsRealtime.TimeRange value)
Time when the alert should be shown to the user.
|
GtfsRealtime.Alert.Builder |
addActivePeriod(int index,
GtfsRealtime.TimeRange.Builder builderForValue)
Time when the alert should be shown to the user.
|
GtfsRealtime.Alert.Builder |
addActivePeriod(int index,
GtfsRealtime.TimeRange value)
Time when the alert should be shown to the user.
|
GtfsRealtime.TimeRange.Builder |
addActivePeriodBuilder()
Time when the alert should be shown to the user.
|
GtfsRealtime.TimeRange.Builder |
addActivePeriodBuilder(int index)
Time when the alert should be shown to the user.
|
GtfsRealtime.Alert.Builder |
addAllActivePeriod(Iterable<? extends GtfsRealtime.TimeRange> values)
Time when the alert should be shown to the user.
|
GtfsRealtime.Alert.Builder |
addAllInformedEntity(Iterable<? extends GtfsRealtime.EntitySelector> values)
Entities whose users we should notify of this alert.
|
<Type> GtfsRealtime.Alert.Builder |
addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.Alert,List<Type>> extension,
Type value) |
GtfsRealtime.Alert.Builder |
addInformedEntity(GtfsRealtime.EntitySelector.Builder builderForValue)
Entities whose users we should notify of this alert.
|
GtfsRealtime.Alert.Builder |
addInformedEntity(GtfsRealtime.EntitySelector value)
Entities whose users we should notify of this alert.
|
GtfsRealtime.Alert.Builder |
addInformedEntity(int index,
GtfsRealtime.EntitySelector.Builder builderForValue)
Entities whose users we should notify of this alert.
|
GtfsRealtime.Alert.Builder |
addInformedEntity(int index,
GtfsRealtime.EntitySelector value)
Entities whose users we should notify of this alert.
|
GtfsRealtime.EntitySelector.Builder |
addInformedEntityBuilder()
Entities whose users we should notify of this alert.
|
GtfsRealtime.EntitySelector.Builder |
addInformedEntityBuilder(int index)
Entities whose users we should notify of this alert.
|
GtfsRealtime.Alert.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GtfsRealtime.Alert |
build() |
GtfsRealtime.Alert |
buildPartial() |
GtfsRealtime.Alert.Builder |
clear() |
GtfsRealtime.Alert.Builder |
clearActivePeriod()
Time when the alert should be shown to the user.
|
GtfsRealtime.Alert.Builder |
clearCause()
optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE]; |
GtfsRealtime.Alert.Builder |
clearDescriptionText()
Full description for the alert as plain-text.
|
GtfsRealtime.Alert.Builder |
clearEffect()
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT]; |
<Type> GtfsRealtime.Alert.Builder |
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.Alert,?> extension) |
GtfsRealtime.Alert.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GtfsRealtime.Alert.Builder |
clearHeaderText()
Alert header.
|
GtfsRealtime.Alert.Builder |
clearInformedEntity()
Entities whose users we should notify of this alert.
|
GtfsRealtime.Alert.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GtfsRealtime.Alert.Builder |
clearSeverityLevel()
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY]; |
GtfsRealtime.Alert.Builder |
clearTtsDescriptionText()
Text for full description for the alert to be used in text-to-speech implementations.
|
GtfsRealtime.Alert.Builder |
clearTtsHeaderText()
Text for alert header to be used in text-to-speech implementations.
|
GtfsRealtime.Alert.Builder |
clearUrl()
The URL which provides additional information about the alert.
|
GtfsRealtime.Alert.Builder |
clone() |
GtfsRealtime.TimeRange |
getActivePeriod(int index)
Time when the alert should be shown to the user.
|
GtfsRealtime.TimeRange.Builder |
getActivePeriodBuilder(int index)
Time when the alert should be shown to the user.
|
List<GtfsRealtime.TimeRange.Builder> |
getActivePeriodBuilderList()
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.Alert |
getDefaultInstanceForType() |
GtfsRealtime.TranslatedString |
getDescriptionText()
Full description for the alert as plain-text.
|
GtfsRealtime.TranslatedString.Builder |
getDescriptionTextBuilder()
Full description for the alert as plain-text.
|
GtfsRealtime.TranslatedStringOrBuilder |
getDescriptionTextOrBuilder()
Full description for the alert as plain-text.
|
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()
Alert header.
|
GtfsRealtime.TranslatedString.Builder |
getHeaderTextBuilder()
Alert header.
|
GtfsRealtime.TranslatedStringOrBuilder |
getHeaderTextOrBuilder()
Alert header.
|
GtfsRealtime.EntitySelector |
getInformedEntity(int index)
Entities whose users we should notify of this alert.
|
GtfsRealtime.EntitySelector.Builder |
getInformedEntityBuilder(int index)
Entities whose users we should notify of this alert.
|
List<GtfsRealtime.EntitySelector.Builder> |
getInformedEntityBuilderList()
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.TranslatedString.Builder |
getTtsDescriptionTextBuilder()
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.TranslatedString.Builder |
getTtsHeaderTextBuilder()
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.TranslatedString.Builder |
getUrlBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GtfsRealtime.Alert.Builder |
mergeDescriptionText(GtfsRealtime.TranslatedString value)
Full description for the alert as plain-text.
|
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)
Alert header.
|
GtfsRealtime.Alert.Builder |
mergeTtsDescriptionText(GtfsRealtime.TranslatedString value)
Text for full description for the alert to be used in text-to-speech implementations.
|
GtfsRealtime.Alert.Builder |
mergeTtsHeaderText(GtfsRealtime.TranslatedString value)
Text for alert header to be used in text-to-speech implementations.
|
GtfsRealtime.Alert.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GtfsRealtime.Alert.Builder |
mergeUrl(GtfsRealtime.TranslatedString value)
The URL which provides additional information about the alert.
|
GtfsRealtime.Alert.Builder |
removeActivePeriod(int index)
Time when the alert should be shown to the user.
|
GtfsRealtime.Alert.Builder |
removeInformedEntity(int index)
Entities whose users we should notify of this alert.
|
GtfsRealtime.Alert.Builder |
setActivePeriod(int index,
GtfsRealtime.TimeRange.Builder builderForValue)
Time when the alert should be shown to the user.
|
GtfsRealtime.Alert.Builder |
setActivePeriod(int index,
GtfsRealtime.TimeRange value)
Time when the alert should be shown to the user.
|
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)
Full description for the alert as plain-text.
|
GtfsRealtime.Alert.Builder |
setDescriptionText(GtfsRealtime.TranslatedString value)
Full description for the alert as plain-text.
|
GtfsRealtime.Alert.Builder |
setEffect(GtfsRealtime.Alert.Effect value)
optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT]; |
<Type> GtfsRealtime.Alert.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.Alert,List<Type>> extension,
int index,
Type value) |
<Type> GtfsRealtime.Alert.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.Alert,Type> extension,
Type value) |
GtfsRealtime.Alert.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GtfsRealtime.Alert.Builder |
setHeaderText(GtfsRealtime.TranslatedString.Builder builderForValue)
Alert header.
|
GtfsRealtime.Alert.Builder |
setHeaderText(GtfsRealtime.TranslatedString value)
Alert header.
|
GtfsRealtime.Alert.Builder |
setInformedEntity(int index,
GtfsRealtime.EntitySelector.Builder builderForValue)
Entities whose users we should notify of this alert.
|
GtfsRealtime.Alert.Builder |
setInformedEntity(int index,
GtfsRealtime.EntitySelector value)
Entities whose users we should notify of this alert.
|
GtfsRealtime.Alert.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GtfsRealtime.Alert.Builder |
setSeverityLevel(GtfsRealtime.Alert.SeverityLevel value)
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY]; |
GtfsRealtime.Alert.Builder |
setTtsDescriptionText(GtfsRealtime.TranslatedString.Builder builderForValue)
Text for full description for the alert to be used in text-to-speech implementations.
|
GtfsRealtime.Alert.Builder |
setTtsDescriptionText(GtfsRealtime.TranslatedString value)
Text for full description for the alert to be used in text-to-speech implementations.
|
GtfsRealtime.Alert.Builder |
setTtsHeaderText(GtfsRealtime.TranslatedString.Builder builderForValue)
Text for alert header to be used in text-to-speech implementations.
|
GtfsRealtime.Alert.Builder |
setTtsHeaderText(GtfsRealtime.TranslatedString value)
Text for alert header to be used in text-to-speech implementations.
|
GtfsRealtime.Alert.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GtfsRealtime.Alert.Builder |
setUrl(GtfsRealtime.TranslatedString.Builder builderForValue)
The URL which provides additional information about the alert.
|
GtfsRealtime.Alert.Builder |
setUrl(GtfsRealtime.TranslatedString value)
The URL which provides additional information about the alert.
|
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, setExtension, setExtension, setExtension, setExtensiongetFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedFieldBuilder, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<GtfsRealtime.Alert.Builder>public GtfsRealtime.Alert getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.Alert.Builder>public GtfsRealtime.Alert.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>public GtfsRealtime.Alert.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>public GtfsRealtime.Alert.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.Alert.Builder>public GtfsRealtime.Alert.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>public GtfsRealtime.Alert.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>public <Type> GtfsRealtime.Alert.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.Alert,Type> extension, Type value)
setExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>public <Type> GtfsRealtime.Alert.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.Alert,List<Type>> extension, int index, Type value)
setExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>public <Type> GtfsRealtime.Alert.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.Alert,List<Type>> extension, Type value)
addExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>public <Type> GtfsRealtime.Alert.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<GtfsRealtime.Alert,?> extension)
clearExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<GtfsRealtime.Alert,GtfsRealtime.Alert.Builder>public 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.GeneratedMessageV3.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()
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;getActivePeriodList in interface GtfsRealtime.AlertOrBuilderpublic 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;getActivePeriodCount in interface GtfsRealtime.AlertOrBuilderpublic 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;getActivePeriod in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.Alert.Builder setActivePeriod(int index, GtfsRealtime.TimeRange value)
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;public GtfsRealtime.Alert.Builder setActivePeriod(int index, GtfsRealtime.TimeRange.Builder builderForValue)
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;public GtfsRealtime.Alert.Builder addActivePeriod(GtfsRealtime.TimeRange value)
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;public GtfsRealtime.Alert.Builder addActivePeriod(int index, GtfsRealtime.TimeRange value)
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;public GtfsRealtime.Alert.Builder addActivePeriod(GtfsRealtime.TimeRange.Builder builderForValue)
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;public GtfsRealtime.Alert.Builder addActivePeriod(int index, GtfsRealtime.TimeRange.Builder builderForValue)
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;public GtfsRealtime.Alert.Builder addAllActivePeriod(Iterable<? extends GtfsRealtime.TimeRange> values)
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;public GtfsRealtime.Alert.Builder clearActivePeriod()
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;public GtfsRealtime.Alert.Builder removeActivePeriod(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;public GtfsRealtime.TimeRange.Builder getActivePeriodBuilder(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;public 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;getActivePeriodOrBuilder in interface GtfsRealtime.AlertOrBuilderpublic 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;getActivePeriodOrBuilderList in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.TimeRange.Builder addActivePeriodBuilder()
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;public GtfsRealtime.TimeRange.Builder addActivePeriodBuilder(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;public List<GtfsRealtime.TimeRange.Builder> getActivePeriodBuilderList()
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;public List<GtfsRealtime.EntitySelector> getInformedEntityList()
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;getInformedEntityList in interface GtfsRealtime.AlertOrBuilderpublic int getInformedEntityCount()
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;getInformedEntityCount in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.EntitySelector getInformedEntity(int index)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;getInformedEntity in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.Alert.Builder setInformedEntity(int index, GtfsRealtime.EntitySelector value)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.Alert.Builder setInformedEntity(int index, GtfsRealtime.EntitySelector.Builder builderForValue)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.Alert.Builder addInformedEntity(GtfsRealtime.EntitySelector value)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.Alert.Builder addInformedEntity(int index, GtfsRealtime.EntitySelector value)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.Alert.Builder addInformedEntity(GtfsRealtime.EntitySelector.Builder builderForValue)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.Alert.Builder addInformedEntity(int index, GtfsRealtime.EntitySelector.Builder builderForValue)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.Alert.Builder addAllInformedEntity(Iterable<? extends GtfsRealtime.EntitySelector> values)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.Alert.Builder clearInformedEntity()
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.Alert.Builder removeInformedEntity(int index)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.EntitySelector.Builder getInformedEntityBuilder(int index)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.EntitySelectorOrBuilder getInformedEntityOrBuilder(int index)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;getInformedEntityOrBuilder in interface GtfsRealtime.AlertOrBuilderpublic List<? extends GtfsRealtime.EntitySelectorOrBuilder> getInformedEntityOrBuilderList()
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;getInformedEntityOrBuilderList in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.EntitySelector.Builder addInformedEntityBuilder()
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public GtfsRealtime.EntitySelector.Builder addInformedEntityBuilder(int index)
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;public List<GtfsRealtime.EntitySelector.Builder> getInformedEntityBuilderList()
Entities whose users we should notify of this alert.
repeated .transit_realtime.EntitySelector informed_entity = 5;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()
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;hasUrl in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.TranslatedString getUrl()
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;getUrl in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.Alert.Builder setUrl(GtfsRealtime.TranslatedString value)
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;public GtfsRealtime.Alert.Builder setUrl(GtfsRealtime.TranslatedString.Builder builderForValue)
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;public GtfsRealtime.Alert.Builder mergeUrl(GtfsRealtime.TranslatedString value)
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;public GtfsRealtime.Alert.Builder clearUrl()
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;public GtfsRealtime.TranslatedString.Builder getUrlBuilder()
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;public GtfsRealtime.TranslatedStringOrBuilder getUrlOrBuilder()
The URL which provides additional information about the alert.
optional .transit_realtime.TranslatedString url = 8;getUrlOrBuilder in interface GtfsRealtime.AlertOrBuilderpublic boolean hasHeaderText()
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;hasHeaderText in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.TranslatedString getHeaderText()
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;getHeaderText in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.Alert.Builder setHeaderText(GtfsRealtime.TranslatedString value)
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;public GtfsRealtime.Alert.Builder setHeaderText(GtfsRealtime.TranslatedString.Builder builderForValue)
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;public GtfsRealtime.Alert.Builder mergeHeaderText(GtfsRealtime.TranslatedString value)
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;public GtfsRealtime.Alert.Builder clearHeaderText()
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;public GtfsRealtime.TranslatedString.Builder getHeaderTextBuilder()
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;public GtfsRealtime.TranslatedStringOrBuilder getHeaderTextOrBuilder()
Alert header. Contains a short summary of the alert text as plain-text.
optional .transit_realtime.TranslatedString header_text = 10;getHeaderTextOrBuilder in interface GtfsRealtime.AlertOrBuilderpublic 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;hasDescriptionText in interface GtfsRealtime.AlertOrBuilderpublic 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;getDescriptionText in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.Alert.Builder setDescriptionText(GtfsRealtime.TranslatedString value)
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;public GtfsRealtime.Alert.Builder setDescriptionText(GtfsRealtime.TranslatedString.Builder builderForValue)
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;public GtfsRealtime.Alert.Builder mergeDescriptionText(GtfsRealtime.TranslatedString value)
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;public GtfsRealtime.Alert.Builder clearDescriptionText()
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;public GtfsRealtime.TranslatedString.Builder getDescriptionTextBuilder()
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;public 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;getDescriptionTextOrBuilder in interface GtfsRealtime.AlertOrBuilderpublic 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;hasTtsHeaderText in interface GtfsRealtime.AlertOrBuilderpublic 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;getTtsHeaderText in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.Alert.Builder setTtsHeaderText(GtfsRealtime.TranslatedString value)
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;public GtfsRealtime.Alert.Builder setTtsHeaderText(GtfsRealtime.TranslatedString.Builder builderForValue)
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;public GtfsRealtime.Alert.Builder mergeTtsHeaderText(GtfsRealtime.TranslatedString value)
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;public GtfsRealtime.Alert.Builder clearTtsHeaderText()
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;public GtfsRealtime.TranslatedString.Builder getTtsHeaderTextBuilder()
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;public 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;getTtsHeaderTextOrBuilder in interface GtfsRealtime.AlertOrBuilderpublic 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;hasTtsDescriptionText in interface GtfsRealtime.AlertOrBuilderpublic 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;getTtsDescriptionText in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.Alert.Builder setTtsDescriptionText(GtfsRealtime.TranslatedString value)
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;public GtfsRealtime.Alert.Builder setTtsDescriptionText(GtfsRealtime.TranslatedString.Builder builderForValue)
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;public GtfsRealtime.Alert.Builder mergeTtsDescriptionText(GtfsRealtime.TranslatedString value)
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;public GtfsRealtime.Alert.Builder clearTtsDescriptionText()
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;public GtfsRealtime.TranslatedString.Builder getTtsDescriptionTextBuilder()
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;public 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;getTtsDescriptionTextOrBuilder in interface GtfsRealtime.AlertOrBuilderpublic boolean hasSeverityLevel()
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];hasSeverityLevel in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.Alert.SeverityLevel getSeverityLevel()
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];getSeverityLevel in interface GtfsRealtime.AlertOrBuilderpublic GtfsRealtime.Alert.Builder setSeverityLevel(GtfsRealtime.Alert.SeverityLevel value)
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];public GtfsRealtime.Alert.Builder clearSeverityLevel()
optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];public final GtfsRealtime.Alert.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.Alert.Builder>public final GtfsRealtime.Alert.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GtfsRealtime.Alert.Builder>Copyright © 2019. All rights reserved.