Class ServiceDeliveryBodyStructure.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ServiceDeliveryBodyStructure.Builder>
com.google.protobuf.GeneratedMessage.Builder<ServiceDeliveryBodyStructure.Builder>
uk.org.siri.www.siri.ServiceDeliveryBodyStructure.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ServiceDeliveryBodyStructureOrBuilder
Enclosing class:
ServiceDeliveryBodyStructure

public static final class ServiceDeliveryBodyStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServiceDeliveryBodyStructure.Builder> implements ServiceDeliveryBodyStructureOrBuilder
 Type for SIRI Service Delivery type.  [siri/siri_base-v2.0.xsd at 226:55]
 
Protobuf type uk.org.siri.www.siri.ServiceDeliveryBodyStructure
  • 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.Builder<ServiceDeliveryBodyStructure.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ServiceDeliveryBodyStructure.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ServiceDeliveryBodyStructure.Builder>
    • getDefaultInstanceForType

      public ServiceDeliveryBodyStructure getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ServiceDeliveryBodyStructure buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ServiceDeliveryBodyStructure.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceDeliveryBodyStructure.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ServiceDeliveryBodyStructure.Builder>
    • mergeFrom

      public ServiceDeliveryBodyStructure.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceDeliveryBodyStructure.Builder>
      Throws:
      IOException
    • getSrsName

      public String getSrsName()
       Default gml coordinate format for eny location elements in response; applies if Coordinates element is used to specify points. May be overridden on individual points.  [siri/siri_base-v2.0.xsd at 233:52]
       
      string srs_name = 1 [(.buf.validate.field) = { ... }
      Specified by:
      getSrsName in interface ServiceDeliveryBodyStructureOrBuilder
      Returns:
      The srsName.
    • getSrsNameBytes

      public com.google.protobuf.ByteString getSrsNameBytes()
       Default gml coordinate format for eny location elements in response; applies if Coordinates element is used to specify points. May be overridden on individual points.  [siri/siri_base-v2.0.xsd at 233:52]
       
      string srs_name = 1 [(.buf.validate.field) = { ... }
      Specified by:
      getSrsNameBytes in interface ServiceDeliveryBodyStructureOrBuilder
      Returns:
      The bytes for srsName.
    • setSrsName

      public ServiceDeliveryBodyStructure.Builder setSrsName(String value)
       Default gml coordinate format for eny location elements in response; applies if Coordinates element is used to specify points. May be overridden on individual points.  [siri/siri_base-v2.0.xsd at 233:52]
       
      string srs_name = 1 [(.buf.validate.field) = { ... }
      Parameters:
      value - The srsName to set.
      Returns:
      This builder for chaining.
    • clearSrsName

      public ServiceDeliveryBodyStructure.Builder clearSrsName()
       Default gml coordinate format for eny location elements in response; applies if Coordinates element is used to specify points. May be overridden on individual points.  [siri/siri_base-v2.0.xsd at 233:52]
       
      string srs_name = 1 [(.buf.validate.field) = { ... }
      Returns:
      This builder for chaining.
    • setSrsNameBytes

      public ServiceDeliveryBodyStructure.Builder setSrsNameBytes(com.google.protobuf.ByteString value)
       Default gml coordinate format for eny location elements in response; applies if Coordinates element is used to specify points. May be overridden on individual points.  [siri/siri_base-v2.0.xsd at 233:52]
       
      string srs_name = 1 [(.buf.validate.field) = { ... }
      Parameters:
      value - The bytes for srsName to set.
      Returns:
      This builder for chaining.
    • getStatus

      public boolean getStatus()
       Whether the complerte request could be processed successfully or not. Default is 'true'. If any of the individual requests within the delivery failed, should be set to ' false'.  [siri/siri_requests-v2.0.xsd at 364:79]
       
      bool status = 2;
      Specified by:
      getStatus in interface ServiceDeliveryBodyStructureOrBuilder
      Returns:
      The status.
    • setStatus

      public ServiceDeliveryBodyStructure.Builder setStatus(boolean value)
       Whether the complerte request could be processed successfully or not. Default is 'true'. If any of the individual requests within the delivery failed, should be set to ' false'.  [siri/siri_requests-v2.0.xsd at 364:79]
       
      bool status = 2;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

       Whether the complerte request could be processed successfully or not. Default is 'true'. If any of the individual requests within the delivery failed, should be set to ' false'.  [siri/siri_requests-v2.0.xsd at 364:79]
       
      bool status = 2;
      Returns:
      This builder for chaining.
    • hasErrorCondition

      public boolean hasErrorCondition()
       Description of any error or warning conditions that appluy to the overall request. More Specific error conditions should be included on each request that fails.  [siri/siri_requests-v2.0.xsd at 369:53]
       
      .uk.org.siri.www.siri.ServiceDeliveryBodyStructure.ErrorConditionType error_condition = 3;
      Specified by:
      hasErrorCondition in interface ServiceDeliveryBodyStructureOrBuilder
      Returns:
      Whether the errorCondition field is set.
    • getErrorCondition

       Description of any error or warning conditions that appluy to the overall request. More Specific error conditions should be included on each request that fails.  [siri/siri_requests-v2.0.xsd at 369:53]
       
      .uk.org.siri.www.siri.ServiceDeliveryBodyStructure.ErrorConditionType error_condition = 3;
      Specified by:
      getErrorCondition in interface ServiceDeliveryBodyStructureOrBuilder
      Returns:
      The errorCondition.
    • setErrorCondition

       Description of any error or warning conditions that appluy to the overall request. More Specific error conditions should be included on each request that fails.  [siri/siri_requests-v2.0.xsd at 369:53]
       
      .uk.org.siri.www.siri.ServiceDeliveryBodyStructure.ErrorConditionType error_condition = 3;
    • setErrorCondition

       Description of any error or warning conditions that appluy to the overall request. More Specific error conditions should be included on each request that fails.  [siri/siri_requests-v2.0.xsd at 369:53]
       
      .uk.org.siri.www.siri.ServiceDeliveryBodyStructure.ErrorConditionType error_condition = 3;
    • mergeErrorCondition

       Description of any error or warning conditions that appluy to the overall request. More Specific error conditions should be included on each request that fails.  [siri/siri_requests-v2.0.xsd at 369:53]
       
      .uk.org.siri.www.siri.ServiceDeliveryBodyStructure.ErrorConditionType error_condition = 3;
    • clearErrorCondition

      public ServiceDeliveryBodyStructure.Builder clearErrorCondition()
       Description of any error or warning conditions that appluy to the overall request. More Specific error conditions should be included on each request that fails.  [siri/siri_requests-v2.0.xsd at 369:53]
       
      .uk.org.siri.www.siri.ServiceDeliveryBodyStructure.ErrorConditionType error_condition = 3;
    • getErrorConditionBuilder

       Description of any error or warning conditions that appluy to the overall request. More Specific error conditions should be included on each request that fails.  [siri/siri_requests-v2.0.xsd at 369:53]
       
      .uk.org.siri.www.siri.ServiceDeliveryBodyStructure.ErrorConditionType error_condition = 3;
    • getErrorConditionOrBuilder

      public ServiceDeliveryBodyStructure.ErrorConditionTypeOrBuilder getErrorConditionOrBuilder()
       Description of any error or warning conditions that appluy to the overall request. More Specific error conditions should be included on each request that fails.  [siri/siri_requests-v2.0.xsd at 369:53]
       
      .uk.org.siri.www.siri.ServiceDeliveryBodyStructure.ErrorConditionType error_condition = 3;
      Specified by:
      getErrorConditionOrBuilder in interface ServiceDeliveryBodyStructureOrBuilder
    • getMoreData

      public boolean getMoreData()
       Whether there is a further delvery message with more current updates that follows this one. Default is 'false'.  [siri/siri_base-v2.0.xsd at 245:82]
       
      bool more_data = 11;
      Specified by:
      getMoreData in interface ServiceDeliveryBodyStructureOrBuilder
      Returns:
      The moreData.
    • setMoreData

      public ServiceDeliveryBodyStructure.Builder setMoreData(boolean value)
       Whether there is a further delvery message with more current updates that follows this one. Default is 'false'.  [siri/siri_base-v2.0.xsd at 245:82]
       
      bool more_data = 11;
      Parameters:
      value - The moreData to set.
      Returns:
      This builder for chaining.
    • clearMoreData

      public ServiceDeliveryBodyStructure.Builder clearMoreData()
       Whether there is a further delvery message with more current updates that follows this one. Default is 'false'.  [siri/siri_base-v2.0.xsd at 245:82]
       
      bool more_data = 11;
      Returns:
      This builder for chaining.
    • getAbstractFunctionalServiceDeliveryList

      public List<ChoiceWrapper_AbstractServiceDeliveryStructure> getAbstractFunctionalServiceDeliveryList()
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
      Specified by:
      getAbstractFunctionalServiceDeliveryList in interface ServiceDeliveryBodyStructureOrBuilder
    • getAbstractFunctionalServiceDeliveryCount

      public int getAbstractFunctionalServiceDeliveryCount()
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
      Specified by:
      getAbstractFunctionalServiceDeliveryCount in interface ServiceDeliveryBodyStructureOrBuilder
    • getAbstractFunctionalServiceDelivery

      public ChoiceWrapper_AbstractServiceDeliveryStructure getAbstractFunctionalServiceDelivery(int index)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
      Specified by:
      getAbstractFunctionalServiceDelivery in interface ServiceDeliveryBodyStructureOrBuilder
    • setAbstractFunctionalServiceDelivery

      public ServiceDeliveryBodyStructure.Builder setAbstractFunctionalServiceDelivery(int index, ChoiceWrapper_AbstractServiceDeliveryStructure value)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • setAbstractFunctionalServiceDelivery

      public ServiceDeliveryBodyStructure.Builder setAbstractFunctionalServiceDelivery(int index, ChoiceWrapper_AbstractServiceDeliveryStructure.Builder builderForValue)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • addAbstractFunctionalServiceDelivery

      public ServiceDeliveryBodyStructure.Builder addAbstractFunctionalServiceDelivery(ChoiceWrapper_AbstractServiceDeliveryStructure value)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • addAbstractFunctionalServiceDelivery

      public ServiceDeliveryBodyStructure.Builder addAbstractFunctionalServiceDelivery(int index, ChoiceWrapper_AbstractServiceDeliveryStructure value)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • addAbstractFunctionalServiceDelivery

      public ServiceDeliveryBodyStructure.Builder addAbstractFunctionalServiceDelivery(ChoiceWrapper_AbstractServiceDeliveryStructure.Builder builderForValue)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • addAbstractFunctionalServiceDelivery

      public ServiceDeliveryBodyStructure.Builder addAbstractFunctionalServiceDelivery(int index, ChoiceWrapper_AbstractServiceDeliveryStructure.Builder builderForValue)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • addAllAbstractFunctionalServiceDelivery

      public ServiceDeliveryBodyStructure.Builder addAllAbstractFunctionalServiceDelivery(Iterable<? extends ChoiceWrapper_AbstractServiceDeliveryStructure> values)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • clearAbstractFunctionalServiceDelivery

      public ServiceDeliveryBodyStructure.Builder clearAbstractFunctionalServiceDelivery()
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • removeAbstractFunctionalServiceDelivery

      public ServiceDeliveryBodyStructure.Builder removeAbstractFunctionalServiceDelivery(int index)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • getAbstractFunctionalServiceDeliveryBuilder

      public ChoiceWrapper_AbstractServiceDeliveryStructure.Builder getAbstractFunctionalServiceDeliveryBuilder(int index)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • getAbstractFunctionalServiceDeliveryOrBuilder

      public ChoiceWrapper_AbstractServiceDeliveryStructureOrBuilder getAbstractFunctionalServiceDeliveryOrBuilder(int index)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
      Specified by:
      getAbstractFunctionalServiceDeliveryOrBuilder in interface ServiceDeliveryBodyStructureOrBuilder
    • getAbstractFunctionalServiceDeliveryOrBuilderList

      public List<? extends ChoiceWrapper_AbstractServiceDeliveryStructureOrBuilder> getAbstractFunctionalServiceDeliveryOrBuilderList()
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
      Specified by:
      getAbstractFunctionalServiceDeliveryOrBuilderList in interface ServiceDeliveryBodyStructureOrBuilder
    • addAbstractFunctionalServiceDeliveryBuilder

      public ChoiceWrapper_AbstractServiceDeliveryStructure.Builder addAbstractFunctionalServiceDeliveryBuilder()
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • addAbstractFunctionalServiceDeliveryBuilder

      public ChoiceWrapper_AbstractServiceDeliveryStructure.Builder addAbstractFunctionalServiceDeliveryBuilder(int index)
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;
    • getAbstractFunctionalServiceDeliveryBuilderList

      public List<ChoiceWrapper_AbstractServiceDeliveryStructure.Builder> getAbstractFunctionalServiceDeliveryBuilderList()
       Subsititutable type for a SIRI Functional Service Deivery.  [siri/siri_requests-v2.0.xsd at 434:149]
       
      repeated .uk.org.siri.www.siri.ChoiceWrapper_AbstractServiceDeliveryStructure abstract_functional_service_delivery = 12;