Class UnknownExtensionsErrorStructure.Builder

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

public static final class UnknownExtensionsErrorStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<UnknownExtensionsErrorStructure.Builder> implements UnknownExtensionsErrorStructureOrBuilder
 Type for Unknown Extensions Error:. +SIRI v2.0.  [siri/siri_request_errorConditions-v2.0.xsd at 495:58]
 
Protobuf type uk.org.siri.www.siri.UnknownExtensionsErrorStructure
  • 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<UnknownExtensionsErrorStructure.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<UnknownExtensionsErrorStructure.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<UnknownExtensionsErrorStructure.Builder>
    • getDefaultInstanceForType

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

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

      public UnknownExtensionsErrorStructure.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<UnknownExtensionsErrorStructure.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 UnknownExtensionsErrorStructureOrBuilder
      Returns:
      The number.
    • setNumber

      public UnknownExtensionsErrorStructure.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 UnknownExtensionsErrorStructureOrBuilder
      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 UnknownExtensionsErrorStructureOrBuilder
      Returns:
      The bytes for errorText.
    • setErrorText

      public UnknownExtensionsErrorStructure.Builder setErrorText(String 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 errorText to set.
      Returns:
      This builder for chaining.
    • clearErrorText

      public UnknownExtensionsErrorStructure.Builder 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 UnknownExtensionsErrorStructure.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.
    • getExtensionNameList

      public com.google.protobuf.ProtocolStringList getExtensionNameList()
       Name of the unknown encountered extensions.  [siri/siri_request_errorConditions-v2.0.xsd at 502:94]
       
      repeated string extension_name = 21;
      Specified by:
      getExtensionNameList in interface UnknownExtensionsErrorStructureOrBuilder
      Returns:
      A list containing the extensionName.
    • getExtensionNameCount

      public int getExtensionNameCount()
       Name of the unknown encountered extensions.  [siri/siri_request_errorConditions-v2.0.xsd at 502:94]
       
      repeated string extension_name = 21;
      Specified by:
      getExtensionNameCount in interface UnknownExtensionsErrorStructureOrBuilder
      Returns:
      The count of extensionName.
    • getExtensionName

      public String getExtensionName(int index)
       Name of the unknown encountered extensions.  [siri/siri_request_errorConditions-v2.0.xsd at 502:94]
       
      repeated string extension_name = 21;
      Specified by:
      getExtensionName in interface UnknownExtensionsErrorStructureOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The extensionName at the given index.
    • getExtensionNameBytes

      public com.google.protobuf.ByteString getExtensionNameBytes(int index)
       Name of the unknown encountered extensions.  [siri/siri_request_errorConditions-v2.0.xsd at 502:94]
       
      repeated string extension_name = 21;
      Specified by:
      getExtensionNameBytes in interface UnknownExtensionsErrorStructureOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the extensionName at the given index.
    • setExtensionName

      public UnknownExtensionsErrorStructure.Builder setExtensionName(int index, String value)
       Name of the unknown encountered extensions.  [siri/siri_request_errorConditions-v2.0.xsd at 502:94]
       
      repeated string extension_name = 21;
      Parameters:
      index - The index to set the value at.
      value - The extensionName to set.
      Returns:
      This builder for chaining.
    • addExtensionName

      public UnknownExtensionsErrorStructure.Builder addExtensionName(String value)
       Name of the unknown encountered extensions.  [siri/siri_request_errorConditions-v2.0.xsd at 502:94]
       
      repeated string extension_name = 21;
      Parameters:
      value - The extensionName to add.
      Returns:
      This builder for chaining.
    • addAllExtensionName

      public UnknownExtensionsErrorStructure.Builder addAllExtensionName(Iterable<String> values)
       Name of the unknown encountered extensions.  [siri/siri_request_errorConditions-v2.0.xsd at 502:94]
       
      repeated string extension_name = 21;
      Parameters:
      values - The extensionName to add.
      Returns:
      This builder for chaining.
    • clearExtensionName

      public UnknownExtensionsErrorStructure.Builder clearExtensionName()
       Name of the unknown encountered extensions.  [siri/siri_request_errorConditions-v2.0.xsd at 502:94]
       
      repeated string extension_name = 21;
      Returns:
      This builder for chaining.
    • addExtensionNameBytes

      public UnknownExtensionsErrorStructure.Builder addExtensionNameBytes(com.google.protobuf.ByteString value)
       Name of the unknown encountered extensions.  [siri/siri_request_errorConditions-v2.0.xsd at 502:94]
       
      repeated string extension_name = 21;
      Parameters:
      value - The bytes of the extensionName to add.
      Returns:
      This builder for chaining.