Class AbstractDiscoveryDeliveryStructure

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
uk.org.siri.www.siri.AbstractDiscoveryDeliveryStructure
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, AbstractDiscoveryDeliveryStructureOrBuilder

public final class AbstractDiscoveryDeliveryStructure extends com.google.protobuf.GeneratedMessage implements AbstractDiscoveryDeliveryStructureOrBuilder
 Abstract supertype fro discovery responses.  [siri/siri_requests-v2.0.xsd at 1063:61]
 
Protobuf type uk.org.siri.www.siri.AbstractDiscoveryDeliveryStructure
See Also:
  • Field Details

    • RESPONSE_TIMESTAMP_FIELD_NUMBER

      public static final int RESPONSE_TIMESTAMP_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • ERROR_CONDITION_FIELD_NUMBER

      public static final int ERROR_CONDITION_FIELD_NUMBER
      See Also:
    • VALID_UNTIL_FIELD_NUMBER

      public static final int VALID_UNTIL_FIELD_NUMBER
      See Also:
    • SHORTEST_POSSIBLE_CYCLE_FIELD_NUMBER

      public static final int SHORTEST_POSSIBLE_CYCLE_FIELD_NUMBER
      See Also:
  • Method Details

    • 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
    • hasResponseTimestamp

      public boolean hasResponseTimestamp()
       Time individual response element was created.  [siri/siri_request_support-v2.0.xsd at 121:60]
       
      .google.protobuf.Timestamp response_timestamp = 1;
      Specified by:
      hasResponseTimestamp in interface AbstractDiscoveryDeliveryStructureOrBuilder
      Returns:
      Whether the responseTimestamp field is set.
    • getResponseTimestamp

      public com.google.protobuf.Timestamp getResponseTimestamp()
       Time individual response element was created.  [siri/siri_request_support-v2.0.xsd at 121:60]
       
      .google.protobuf.Timestamp response_timestamp = 1;
      Specified by:
      getResponseTimestamp in interface AbstractDiscoveryDeliveryStructureOrBuilder
      Returns:
      The responseTimestamp.
    • getResponseTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getResponseTimestampOrBuilder()
       Time individual response element was created.  [siri/siri_request_support-v2.0.xsd at 121:60]
       
      .google.protobuf.Timestamp response_timestamp = 1;
      Specified by:
      getResponseTimestampOrBuilder in interface AbstractDiscoveryDeliveryStructureOrBuilder
    • getStatus

      public boolean getStatus()
       Whether the request was processed successfully or not. Default is 'true'.  [siri/siri_requests-v2.0.xsd at 541:63]
       
      bool status = 21;
      Specified by:
      getStatus in interface AbstractDiscoveryDeliveryStructureOrBuilder
      Returns:
      The status.
    • hasErrorCondition

      public boolean hasErrorCondition()
       Description of any error or warning condition.  [siri/siri_requests-v2.0.xsd at 417:99]
       
      .uk.org.siri.www.siri.ServiceDeliveryErrorConditionStructure error_condition = 22;
      Specified by:
      hasErrorCondition in interface AbstractDiscoveryDeliveryStructureOrBuilder
      Returns:
      Whether the errorCondition field is set.
    • getErrorCondition

      public ServiceDeliveryErrorConditionStructure getErrorCondition()
       Description of any error or warning condition.  [siri/siri_requests-v2.0.xsd at 417:99]
       
      .uk.org.siri.www.siri.ServiceDeliveryErrorConditionStructure error_condition = 22;
      Specified by:
      getErrorCondition in interface AbstractDiscoveryDeliveryStructureOrBuilder
      Returns:
      The errorCondition.
    • getErrorConditionOrBuilder

      public ServiceDeliveryErrorConditionStructureOrBuilder getErrorConditionOrBuilder()
       Description of any error or warning condition.  [siri/siri_requests-v2.0.xsd at 417:99]
       
      .uk.org.siri.www.siri.ServiceDeliveryErrorConditionStructure error_condition = 22;
      Specified by:
      getErrorConditionOrBuilder in interface AbstractDiscoveryDeliveryStructureOrBuilder
    • hasValidUntil

      public boolean hasValidUntil()
       End of data horizon of the data producer.  [siri/siri_request_errorConditions-v2.0.xsd at 109:69]
       
      .google.protobuf.Timestamp valid_until = 23;
      Specified by:
      hasValidUntil in interface AbstractDiscoveryDeliveryStructureOrBuilder
      Returns:
      Whether the validUntil field is set.
    • getValidUntil

      public com.google.protobuf.Timestamp getValidUntil()
       End of data horizon of the data producer.  [siri/siri_request_errorConditions-v2.0.xsd at 109:69]
       
      .google.protobuf.Timestamp valid_until = 23;
      Specified by:
      getValidUntil in interface AbstractDiscoveryDeliveryStructureOrBuilder
      Returns:
      The validUntil.
    • getValidUntilOrBuilder

      public com.google.protobuf.TimestampOrBuilder getValidUntilOrBuilder()
       End of data horizon of the data producer.  [siri/siri_request_errorConditions-v2.0.xsd at 109:69]
       
      .google.protobuf.Timestamp valid_until = 23;
      Specified by:
      getValidUntilOrBuilder in interface AbstractDiscoveryDeliveryStructureOrBuilder
    • hasShortestPossibleCycle

      public boolean hasShortestPossibleCycle()
       Minimum interval at which updates can be sent.  [siri/siri_request_errorConditions-v2.0.xsd at 114:88]
       
      .google.protobuf.Duration shortest_possible_cycle = 24;
      Specified by:
      hasShortestPossibleCycle in interface AbstractDiscoveryDeliveryStructureOrBuilder
      Returns:
      Whether the shortestPossibleCycle field is set.
    • getShortestPossibleCycle

      public com.google.protobuf.Duration getShortestPossibleCycle()
       Minimum interval at which updates can be sent.  [siri/siri_request_errorConditions-v2.0.xsd at 114:88]
       
      .google.protobuf.Duration shortest_possible_cycle = 24;
      Specified by:
      getShortestPossibleCycle in interface AbstractDiscoveryDeliveryStructureOrBuilder
      Returns:
      The shortestPossibleCycle.
    • getShortestPossibleCycleOrBuilder

      public com.google.protobuf.DurationOrBuilder getShortestPossibleCycleOrBuilder()
       Minimum interval at which updates can be sent.  [siri/siri_request_errorConditions-v2.0.xsd at 114:88]
       
      .google.protobuf.Duration shortest_possible_cycle = 24;
      Specified by:
      getShortestPossibleCycleOrBuilder in interface AbstractDiscoveryDeliveryStructureOrBuilder
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

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

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AbstractDiscoveryDeliveryStructure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AbstractDiscoveryDeliveryStructure parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AbstractDiscoveryDeliveryStructure parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

      public static AbstractDiscoveryDeliveryStructure parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AbstractDiscoveryDeliveryStructure parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AbstractDiscoveryDeliveryStructure parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AbstractDiscoveryDeliveryStructure parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AbstractDiscoveryDeliveryStructure parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AbstractDiscoveryDeliveryStructure parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AbstractDiscoveryDeliveryStructure.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AbstractDiscoveryDeliveryStructure.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AbstractDiscoveryDeliveryStructure.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AbstractDiscoveryDeliveryStructure getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AbstractDiscoveryDeliveryStructure> parser()
    • getParserForType

      public com.google.protobuf.Parser<AbstractDiscoveryDeliveryStructure> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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