com.google.transit.realtime
Class GtfsRealtime.Alert

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.Alert>
                  extended by com.google.transit.realtime.GtfsRealtime.Alert
All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.Alert>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GtfsRealtime.AlertOrBuilder, Serializable
Enclosing class:
GtfsRealtime

public static final class GtfsRealtime.Alert
extends com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.Alert>
implements GtfsRealtime.AlertOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class GtfsRealtime.Alert.Builder
           
static class GtfsRealtime.Alert.Cause
           
static class GtfsRealtime.Alert.Effect
           
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int ACTIVE_PERIOD_FIELD_NUMBER
           
static int CAUSE_FIELD_NUMBER
           
static int DESCRIPTION_TEXT_FIELD_NUMBER
           
static int EFFECT_FIELD_NUMBER
           
static int HEADER_TEXT_FIELD_NUMBER
           
static int INFORMED_ENTITY_FIELD_NUMBER
           
static int URL_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 GtfsRealtime.TimeRange getActivePeriod(int index)
           
 int getActivePeriodCount()
           
 List<GtfsRealtime.TimeRange> getActivePeriodList()
           
 GtfsRealtime.TimeRangeOrBuilder getActivePeriodOrBuilder(int index)
           
 List<? extends GtfsRealtime.TimeRangeOrBuilder> getActivePeriodOrBuilderList()
           
 GtfsRealtime.Alert.Cause getCause()
           
static GtfsRealtime.Alert getDefaultInstance()
           
 GtfsRealtime.Alert getDefaultInstanceForType()
           
 GtfsRealtime.TranslatedString getDescriptionText()
           
 GtfsRealtime.TranslatedStringOrBuilder getDescriptionTextOrBuilder()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 GtfsRealtime.Alert.Effect getEffect()
           
 GtfsRealtime.TranslatedString getHeaderText()
           
 GtfsRealtime.TranslatedStringOrBuilder getHeaderTextOrBuilder()
           
 GtfsRealtime.EntitySelector getInformedEntity(int index)
           
 int getInformedEntityCount()
           
 List<GtfsRealtime.EntitySelector> getInformedEntityList()
           
 GtfsRealtime.EntitySelectorOrBuilder getInformedEntityOrBuilder(int index)
           
 List<? extends GtfsRealtime.EntitySelectorOrBuilder> getInformedEntityOrBuilderList()
           
 int getSerializedSize()
           
 GtfsRealtime.TranslatedString getUrl()
           
 GtfsRealtime.TranslatedStringOrBuilder getUrlOrBuilder()
           
 boolean hasCause()
           
 boolean hasDescriptionText()
           
 boolean hasEffect()
           
 boolean hasHeaderText()
           
 boolean hasUrl()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static GtfsRealtime.Alert.Builder newBuilder()
           
static GtfsRealtime.Alert.Builder newBuilder(GtfsRealtime.Alert prototype)
           
 GtfsRealtime.Alert.Builder newBuilderForType()
           
protected  GtfsRealtime.Alert.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static GtfsRealtime.Alert parseDelimitedFrom(InputStream input)
           
static GtfsRealtime.Alert parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.Alert parseFrom(byte[] data)
           
static GtfsRealtime.Alert parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.Alert parseFrom(com.google.protobuf.ByteString data)
           
static GtfsRealtime.Alert parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.Alert parseFrom(com.google.protobuf.CodedInputStream input)
           
static GtfsRealtime.Alert parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.Alert parseFrom(InputStream input)
           
static GtfsRealtime.Alert parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 GtfsRealtime.Alert.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionWriter, newMessageSetExtensionWriter
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getDescriptorForType, getUnknownFields, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
 
Methods inherited from class com.google.protobuf.AbstractMessage
equals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

ACTIVE_PERIOD_FIELD_NUMBER

public static final int ACTIVE_PERIOD_FIELD_NUMBER
See Also:
Constant Field Values

INFORMED_ENTITY_FIELD_NUMBER

public static final int INFORMED_ENTITY_FIELD_NUMBER
See Also:
Constant Field Values

CAUSE_FIELD_NUMBER

public static final int CAUSE_FIELD_NUMBER
See Also:
Constant Field Values

EFFECT_FIELD_NUMBER

public static final int EFFECT_FIELD_NUMBER
See Also:
Constant Field Values

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
See Also:
Constant Field Values

HEADER_TEXT_FIELD_NUMBER

public static final int HEADER_TEXT_FIELD_NUMBER
See Also:
Constant Field Values

DESCRIPTION_TEXT_FIELD_NUMBER

public static final int DESCRIPTION_TEXT_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static GtfsRealtime.Alert getDefaultInstance()

getDefaultInstanceForType

public GtfsRealtime.Alert getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage

getActivePeriodList

public List<GtfsRealtime.TimeRange> getActivePeriodList()
Specified by:
getActivePeriodList in interface GtfsRealtime.AlertOrBuilder

getActivePeriodOrBuilderList

public List<? extends GtfsRealtime.TimeRangeOrBuilder> getActivePeriodOrBuilderList()
Specified by:
getActivePeriodOrBuilderList in interface GtfsRealtime.AlertOrBuilder

getActivePeriodCount

public int getActivePeriodCount()
Specified by:
getActivePeriodCount in interface GtfsRealtime.AlertOrBuilder

getActivePeriod

public GtfsRealtime.TimeRange getActivePeriod(int index)
Specified by:
getActivePeriod in interface GtfsRealtime.AlertOrBuilder

getActivePeriodOrBuilder

public GtfsRealtime.TimeRangeOrBuilder getActivePeriodOrBuilder(int index)
Specified by:
getActivePeriodOrBuilder in interface GtfsRealtime.AlertOrBuilder

getInformedEntityList

public List<GtfsRealtime.EntitySelector> getInformedEntityList()
Specified by:
getInformedEntityList in interface GtfsRealtime.AlertOrBuilder

getInformedEntityOrBuilderList

public List<? extends GtfsRealtime.EntitySelectorOrBuilder> getInformedEntityOrBuilderList()
Specified by:
getInformedEntityOrBuilderList in interface GtfsRealtime.AlertOrBuilder

getInformedEntityCount

public int getInformedEntityCount()
Specified by:
getInformedEntityCount in interface GtfsRealtime.AlertOrBuilder

getInformedEntity

public GtfsRealtime.EntitySelector getInformedEntity(int index)
Specified by:
getInformedEntity in interface GtfsRealtime.AlertOrBuilder

getInformedEntityOrBuilder

public GtfsRealtime.EntitySelectorOrBuilder getInformedEntityOrBuilder(int index)
Specified by:
getInformedEntityOrBuilder in interface GtfsRealtime.AlertOrBuilder

hasCause

public boolean hasCause()
Specified by:
hasCause in interface GtfsRealtime.AlertOrBuilder

getCause

public GtfsRealtime.Alert.Cause getCause()
Specified by:
getCause in interface GtfsRealtime.AlertOrBuilder

hasEffect

public boolean hasEffect()
Specified by:
hasEffect in interface GtfsRealtime.AlertOrBuilder

getEffect

public GtfsRealtime.Alert.Effect getEffect()
Specified by:
getEffect in interface GtfsRealtime.AlertOrBuilder

hasUrl

public boolean hasUrl()
Specified by:
hasUrl in interface GtfsRealtime.AlertOrBuilder

getUrl

public GtfsRealtime.TranslatedString getUrl()
Specified by:
getUrl in interface GtfsRealtime.AlertOrBuilder

getUrlOrBuilder

public GtfsRealtime.TranslatedStringOrBuilder getUrlOrBuilder()
Specified by:
getUrlOrBuilder in interface GtfsRealtime.AlertOrBuilder

hasHeaderText

public boolean hasHeaderText()
Specified by:
hasHeaderText in interface GtfsRealtime.AlertOrBuilder

getHeaderText

public GtfsRealtime.TranslatedString getHeaderText()
Specified by:
getHeaderText in interface GtfsRealtime.AlertOrBuilder

getHeaderTextOrBuilder

public GtfsRealtime.TranslatedStringOrBuilder getHeaderTextOrBuilder()
Specified by:
getHeaderTextOrBuilder in interface GtfsRealtime.AlertOrBuilder

hasDescriptionText

public boolean hasDescriptionText()
Specified by:
hasDescriptionText in interface GtfsRealtime.AlertOrBuilder

getDescriptionText

public GtfsRealtime.TranslatedString getDescriptionText()
Specified by:
getDescriptionText in interface GtfsRealtime.AlertOrBuilder

getDescriptionTextOrBuilder

public GtfsRealtime.TranslatedStringOrBuilder getDescriptionTextOrBuilder()
Specified by:
getDescriptionTextOrBuilder in interface GtfsRealtime.AlertOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.Alert>

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

parseFrom

public static GtfsRealtime.Alert parseFrom(com.google.protobuf.ByteString data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.Alert parseFrom(com.google.protobuf.ByteString data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.Alert parseFrom(byte[] data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.Alert parseFrom(byte[] data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.Alert parseFrom(InputStream input)
                                    throws IOException
Throws:
IOException

parseFrom

public static GtfsRealtime.Alert parseFrom(InputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
Throws:
IOException

parseDelimitedFrom

public static GtfsRealtime.Alert parseDelimitedFrom(InputStream input)
                                             throws IOException
Throws:
IOException

parseDelimitedFrom

public static GtfsRealtime.Alert parseDelimitedFrom(InputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
Throws:
IOException

parseFrom

public static GtfsRealtime.Alert parseFrom(com.google.protobuf.CodedInputStream input)
                                    throws IOException
Throws:
IOException

parseFrom

public static GtfsRealtime.Alert parseFrom(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
Throws:
IOException

newBuilder

public static GtfsRealtime.Alert.Builder newBuilder()

newBuilderForType

public GtfsRealtime.Alert.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static GtfsRealtime.Alert.Builder newBuilder(GtfsRealtime.Alert prototype)

toBuilder

public GtfsRealtime.Alert.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected GtfsRealtime.Alert.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2012 OneBusAway. All Rights Reserved.