org.onebusaway.transit_data_federation.services.service_alerts
Class ServiceAlerts.ServiceAlert
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.onebusaway.transit_data_federation.services.service_alerts.ServiceAlerts.ServiceAlert
- All Implemented Interfaces:
- com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, ServiceAlerts.ServiceAlertOrBuilder
- Enclosing class:
- ServiceAlerts
public static final class ServiceAlerts.ServiceAlert
- extends com.google.protobuf.GeneratedMessage
- implements ServiceAlerts.ServiceAlertOrBuilder
- See Also:
- Serialized Form
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> |
Fields inherited from class com.google.protobuf.GeneratedMessage |
alwaysUseFieldBuilders |
Methods inherited from class com.google.protobuf.GeneratedMessage |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, 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 interface com.google.protobuf.MessageOrBuilder |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
Methods inherited from interface com.google.protobuf.MessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
CREATIONTIME_FIELD_NUMBER
public static final int CREATIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
MODIFIEDTIME_FIELD_NUMBER
public static final int MODIFIEDTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
ACTIVEWINDOW_FIELD_NUMBER
public static final int ACTIVEWINDOW_FIELD_NUMBER
- See Also:
- Constant Field Values
PUBLICATIONWINDOW_FIELD_NUMBER
public static final int PUBLICATIONWINDOW_FIELD_NUMBER
- See Also:
- Constant Field Values
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
- See Also:
- Constant Field Values
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
CAUSE_FIELD_NUMBER
public static final int CAUSE_FIELD_NUMBER
- See Also:
- Constant Field Values
AFFECTS_FIELD_NUMBER
public static final int AFFECTS_FIELD_NUMBER
- See Also:
- Constant Field Values
CONSEQUENCE_FIELD_NUMBER
public static final int CONSEQUENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
- See Also:
- Constant Field Values
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static ServiceAlerts.ServiceAlert getDefaultInstance()
getDefaultInstanceForType
public ServiceAlerts.ServiceAlert 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
hasId
public boolean hasId()
- Specified by:
hasId
in interface ServiceAlerts.ServiceAlertOrBuilder
getId
public ServiceAlerts.Id getId()
- Specified by:
getId
in interface ServiceAlerts.ServiceAlertOrBuilder
getIdOrBuilder
public ServiceAlerts.IdOrBuilder getIdOrBuilder()
- Specified by:
getIdOrBuilder
in interface ServiceAlerts.ServiceAlertOrBuilder
hasCreationTime
public boolean hasCreationTime()
- Specified by:
hasCreationTime
in interface ServiceAlerts.ServiceAlertOrBuilder
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime
in interface ServiceAlerts.ServiceAlertOrBuilder
hasModifiedTime
public boolean hasModifiedTime()
- Specified by:
hasModifiedTime
in interface ServiceAlerts.ServiceAlertOrBuilder
getModifiedTime
public long getModifiedTime()
- Specified by:
getModifiedTime
in interface ServiceAlerts.ServiceAlertOrBuilder
getActiveWindowList
public List<ServiceAlerts.TimeRange> getActiveWindowList()
- Specified by:
getActiveWindowList
in interface ServiceAlerts.ServiceAlertOrBuilder
getActiveWindowOrBuilderList
public List<? extends ServiceAlerts.TimeRangeOrBuilder> getActiveWindowOrBuilderList()
- Specified by:
getActiveWindowOrBuilderList
in interface ServiceAlerts.ServiceAlertOrBuilder
getActiveWindowCount
public int getActiveWindowCount()
- Specified by:
getActiveWindowCount
in interface ServiceAlerts.ServiceAlertOrBuilder
getActiveWindow
public ServiceAlerts.TimeRange getActiveWindow(int index)
- Specified by:
getActiveWindow
in interface ServiceAlerts.ServiceAlertOrBuilder
getActiveWindowOrBuilder
public ServiceAlerts.TimeRangeOrBuilder getActiveWindowOrBuilder(int index)
- Specified by:
getActiveWindowOrBuilder
in interface ServiceAlerts.ServiceAlertOrBuilder
getPublicationWindowList
public List<ServiceAlerts.TimeRange> getPublicationWindowList()
- Specified by:
getPublicationWindowList
in interface ServiceAlerts.ServiceAlertOrBuilder
getPublicationWindowOrBuilderList
public List<? extends ServiceAlerts.TimeRangeOrBuilder> getPublicationWindowOrBuilderList()
- Specified by:
getPublicationWindowOrBuilderList
in interface ServiceAlerts.ServiceAlertOrBuilder
getPublicationWindowCount
public int getPublicationWindowCount()
- Specified by:
getPublicationWindowCount
in interface ServiceAlerts.ServiceAlertOrBuilder
getPublicationWindow
public ServiceAlerts.TimeRange getPublicationWindow(int index)
- Specified by:
getPublicationWindow
in interface ServiceAlerts.ServiceAlertOrBuilder
getPublicationWindowOrBuilder
public ServiceAlerts.TimeRangeOrBuilder getPublicationWindowOrBuilder(int index)
- Specified by:
getPublicationWindowOrBuilder
in interface ServiceAlerts.ServiceAlertOrBuilder
hasSummary
public boolean hasSummary()
- Specified by:
hasSummary
in interface ServiceAlerts.ServiceAlertOrBuilder
getSummary
public ServiceAlerts.TranslatedString getSummary()
- Specified by:
getSummary
in interface ServiceAlerts.ServiceAlertOrBuilder
getSummaryOrBuilder
public ServiceAlerts.TranslatedStringOrBuilder getSummaryOrBuilder()
- Specified by:
getSummaryOrBuilder
in interface ServiceAlerts.ServiceAlertOrBuilder
hasDescription
public boolean hasDescription()
- Specified by:
hasDescription
in interface ServiceAlerts.ServiceAlertOrBuilder
getDescription
public ServiceAlerts.TranslatedString getDescription()
- Specified by:
getDescription
in interface ServiceAlerts.ServiceAlertOrBuilder
getDescriptionOrBuilder
public ServiceAlerts.TranslatedStringOrBuilder getDescriptionOrBuilder()
- Specified by:
getDescriptionOrBuilder
in interface ServiceAlerts.ServiceAlertOrBuilder
hasCause
public boolean hasCause()
- Specified by:
hasCause
in interface ServiceAlerts.ServiceAlertOrBuilder
getCause
public ServiceAlerts.ServiceAlert.Cause getCause()
- Specified by:
getCause
in interface ServiceAlerts.ServiceAlertOrBuilder
getAffectsList
public List<ServiceAlerts.Affects> getAffectsList()
- Specified by:
getAffectsList
in interface ServiceAlerts.ServiceAlertOrBuilder
getAffectsOrBuilderList
public List<? extends ServiceAlerts.AffectsOrBuilder> getAffectsOrBuilderList()
- Specified by:
getAffectsOrBuilderList
in interface ServiceAlerts.ServiceAlertOrBuilder
getAffectsCount
public int getAffectsCount()
- Specified by:
getAffectsCount
in interface ServiceAlerts.ServiceAlertOrBuilder
getAffects
public ServiceAlerts.Affects getAffects(int index)
- Specified by:
getAffects
in interface ServiceAlerts.ServiceAlertOrBuilder
getAffectsOrBuilder
public ServiceAlerts.AffectsOrBuilder getAffectsOrBuilder(int index)
- Specified by:
getAffectsOrBuilder
in interface ServiceAlerts.ServiceAlertOrBuilder
getConsequenceList
public List<ServiceAlerts.Consequence> getConsequenceList()
- Specified by:
getConsequenceList
in interface ServiceAlerts.ServiceAlertOrBuilder
getConsequenceOrBuilderList
public List<? extends ServiceAlerts.ConsequenceOrBuilder> getConsequenceOrBuilderList()
- Specified by:
getConsequenceOrBuilderList
in interface ServiceAlerts.ServiceAlertOrBuilder
getConsequenceCount
public int getConsequenceCount()
- Specified by:
getConsequenceCount
in interface ServiceAlerts.ServiceAlertOrBuilder
getConsequence
public ServiceAlerts.Consequence getConsequence(int index)
- Specified by:
getConsequence
in interface ServiceAlerts.ServiceAlertOrBuilder
getConsequenceOrBuilder
public ServiceAlerts.ConsequenceOrBuilder getConsequenceOrBuilder(int index)
- Specified by:
getConsequenceOrBuilder
in interface ServiceAlerts.ServiceAlertOrBuilder
hasSeverity
public boolean hasSeverity()
- Specified by:
hasSeverity
in interface ServiceAlerts.ServiceAlertOrBuilder
getSeverity
public ServiceAlerts.ServiceAlert.Severity getSeverity()
- Specified by:
getSeverity
in interface ServiceAlerts.ServiceAlertOrBuilder
hasUrl
public boolean hasUrl()
- Specified by:
hasUrl
in interface ServiceAlerts.ServiceAlertOrBuilder
getUrl
public ServiceAlerts.TranslatedString getUrl()
- Specified by:
getUrl
in interface ServiceAlerts.ServiceAlertOrBuilder
getUrlOrBuilder
public ServiceAlerts.TranslatedStringOrBuilder getUrlOrBuilder()
- Specified by:
getUrlOrBuilder
in interface ServiceAlerts.ServiceAlertOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in class com.google.protobuf.GeneratedMessage
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 ServiceAlerts.ServiceAlert parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ServiceAlerts.ServiceAlert parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ServiceAlerts.ServiceAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ServiceAlerts.ServiceAlert parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ServiceAlerts.ServiceAlert parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static ServiceAlerts.ServiceAlert parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static ServiceAlerts.ServiceAlert parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static ServiceAlerts.ServiceAlert parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static ServiceAlerts.ServiceAlert parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static ServiceAlerts.ServiceAlert parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static ServiceAlerts.ServiceAlert.Builder newBuilder()
newBuilderForType
public ServiceAlerts.ServiceAlert.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interface com.google.protobuf.Message
- Specified by:
newBuilderForType
in interface com.google.protobuf.MessageLite
newBuilder
public static ServiceAlerts.ServiceAlert.Builder newBuilder(ServiceAlerts.ServiceAlert prototype)
toBuilder
public ServiceAlerts.ServiceAlert.Builder toBuilder()
- Specified by:
toBuilder
in interface com.google.protobuf.Message
- Specified by:
toBuilder
in interface com.google.protobuf.MessageLite
newBuilderForType
protected ServiceAlerts.ServiceAlert.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2012 OneBusAway. All Rights Reserved.