Class ServiceNotAvailableErrorStructure.Builder

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

public static final class ServiceNotAvailableErrorStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServiceNotAvailableErrorStructure.Builder> implements ServiceNotAvailableErrorStructureOrBuilder
 Type for Service Not Available error.  [siri/siri_request_errorConditions-v2.0.xsd at 364:60]
 
Protobuf type uk.org.siri.www.siri.ServiceNotAvailableErrorStructure
  • 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<ServiceNotAvailableErrorStructure.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<ServiceNotAvailableErrorStructure.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<ServiceNotAvailableErrorStructure.Builder>
    • getDefaultInstanceForType

      public ServiceNotAvailableErrorStructure 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 ServiceNotAvailableErrorStructure buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ServiceNotAvailableErrorStructure.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<ServiceNotAvailableErrorStructure.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<ServiceNotAvailableErrorStructure.Builder>
    • mergeFrom

      public ServiceNotAvailableErrorStructure.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<ServiceNotAvailableErrorStructure.Builder>
      Throws:
      IOException
    • getNumber

      public int getNumber()
       Error code number associated with error.  [siri/siri_request_errorConditions-v2.0.xsd at 168:51]
       
      int32 number = 1;
      Specified by:
      getNumber in interface ServiceNotAvailableErrorStructureOrBuilder
      Returns:
      The number.
    • setNumber

      public ServiceNotAvailableErrorStructure.Builder setNumber(int value)
       Error code number associated with error.  [siri/siri_request_errorConditions-v2.0.xsd at 168:51]
       
      int32 number = 1;
      Parameters:
      value - The number to set.
      Returns:
      This builder for chaining.
    • clearNumber

       Error code number associated with error.  [siri/siri_request_errorConditions-v2.0.xsd at 168:51]
       
      int32 number = 1;
      Returns:
      This builder for chaining.
    • getErrorText

      public String getErrorText()
       Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition.  [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
       
      string error_text = 2;
      Specified by:
      getErrorText in interface ServiceNotAvailableErrorStructureOrBuilder
      Returns:
      The errorText.
    • getErrorTextBytes

      public com.google.protobuf.ByteString getErrorTextBytes()
       Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition.  [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
       
      string error_text = 2;
      Specified by:
      getErrorTextBytes in interface ServiceNotAvailableErrorStructureOrBuilder
      Returns:
      The bytes for errorText.
    • setErrorText

       Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition.  [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
       
      string error_text = 2;
      Parameters:
      value - The errorText to set.
      Returns:
      This builder for chaining.
    • clearErrorText

       Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition.  [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
       
      string error_text = 2;
      Returns:
      This builder for chaining.
    • setErrorTextBytes

      public ServiceNotAvailableErrorStructure.Builder setErrorTextBytes(com.google.protobuf.ByteString value)
       Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition.  [siri/siri_request_errorConditions-v2.0.xsd at 162:66]
       
      string error_text = 2;
      Parameters:
      value - The bytes for errorText to set.
      Returns:
      This builder for chaining.
    • hasExpectedRestartTime

      public boolean hasExpectedRestartTime()
       Expected time for reavailability of service.  +SIRI v2.0  [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
       
      .google.protobuf.Timestamp expected_restart_time = 21;
      Specified by:
      hasExpectedRestartTime in interface ServiceNotAvailableErrorStructureOrBuilder
      Returns:
      Whether the expectedRestartTime field is set.
    • getExpectedRestartTime

      public com.google.protobuf.Timestamp getExpectedRestartTime()
       Expected time for reavailability of service.  +SIRI v2.0  [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
       
      .google.protobuf.Timestamp expected_restart_time = 21;
      Specified by:
      getExpectedRestartTime in interface ServiceNotAvailableErrorStructureOrBuilder
      Returns:
      The expectedRestartTime.
    • setExpectedRestartTime

      public ServiceNotAvailableErrorStructure.Builder setExpectedRestartTime(com.google.protobuf.Timestamp value)
       Expected time for reavailability of service.  +SIRI v2.0  [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
       
      .google.protobuf.Timestamp expected_restart_time = 21;
    • setExpectedRestartTime

      public ServiceNotAvailableErrorStructure.Builder setExpectedRestartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Expected time for reavailability of service.  +SIRI v2.0  [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
       
      .google.protobuf.Timestamp expected_restart_time = 21;
    • mergeExpectedRestartTime

      public ServiceNotAvailableErrorStructure.Builder mergeExpectedRestartTime(com.google.protobuf.Timestamp value)
       Expected time for reavailability of service.  +SIRI v2.0  [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
       
      .google.protobuf.Timestamp expected_restart_time = 21;
    • clearExpectedRestartTime

      public ServiceNotAvailableErrorStructure.Builder clearExpectedRestartTime()
       Expected time for reavailability of service.  +SIRI v2.0  [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
       
      .google.protobuf.Timestamp expected_restart_time = 21;
    • getExpectedRestartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExpectedRestartTimeBuilder()
       Expected time for reavailability of service.  +SIRI v2.0  [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
       
      .google.protobuf.Timestamp expected_restart_time = 21;
    • getExpectedRestartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpectedRestartTimeOrBuilder()
       Expected time for reavailability of service.  +SIRI v2.0  [siri/siri_request_errorConditions-v2.0.xsd at 371:80]
       
      .google.protobuf.Timestamp expected_restart_time = 21;
      Specified by:
      getExpectedRestartTimeOrBuilder in interface ServiceNotAvailableErrorStructureOrBuilder