Class CustomerRefs_RelStructure.Builder

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

public static final class CustomerRefs_RelStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomerRefs_RelStructure.Builder> implements CustomerRefs_RelStructureOrBuilder
 Type for a list of references to CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 77:52]
 
Protobuf type uk.org.netex.www.netex.CustomerRefs_RelStructure
  • 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<CustomerRefs_RelStructure.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<CustomerRefs_RelStructure.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<CustomerRefs_RelStructure.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CustomerRefs_RelStructure.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<CustomerRefs_RelStructure.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Specified by:
      getId in interface CustomerRefs_RelStructureOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Specified by:
      getIdBytes in interface CustomerRefs_RelStructureOrBuilder
      Returns:
      The bytes for id.
    • setId

       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public CustomerRefs_RelStructure.Builder setIdBytes(com.google.protobuf.ByteString value)
       Identifier of the relationship.  [netex_framework/netex_responsibility/netex_relationship.xsd at 172:50]
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getModificationSetValue

      public int getModificationSetValue()
       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Specified by:
      getModificationSetValue in interface CustomerRefs_RelStructureOrBuilder
      Returns:
      The enum numeric value on the wire for modificationSet.
    • setModificationSetValue

      public CustomerRefs_RelStructure.Builder setModificationSetValue(int value)
       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Parameters:
      value - The enum numeric value on the wire for modificationSet to set.
      Returns:
      This builder for chaining.
    • getModificationSet

      public ModificationSetEnumeration getModificationSet()
       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Specified by:
      getModificationSet in interface CustomerRefs_RelStructureOrBuilder
      Returns:
      The modificationSet.
    • setModificationSet

       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Parameters:
      value - The modificationSet to set.
      Returns:
      This builder for chaining.
    • clearModificationSet

      public CustomerRefs_RelStructure.Builder clearModificationSet()
       Whether this is a list of all (revise) or just changes.  [netex_framework/netex_responsibility/netex_relationship.xsd at 184:91]
       
      .uk.org.netex.www.netex.ModificationSetEnumeration modification_set = 2;
      Returns:
      This builder for chaining.
    • getCustomerRefList

      public List<VersionOfObjectRefStructure> getCustomerRefList()
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
      Specified by:
      getCustomerRefList in interface CustomerRefs_RelStructureOrBuilder
    • getCustomerRefCount

      public int getCustomerRefCount()
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
      Specified by:
      getCustomerRefCount in interface CustomerRefs_RelStructureOrBuilder
    • getCustomerRef

      public VersionOfObjectRefStructure getCustomerRef(int index)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
      Specified by:
      getCustomerRef in interface CustomerRefs_RelStructureOrBuilder
    • setCustomerRef

      public CustomerRefs_RelStructure.Builder setCustomerRef(int index, VersionOfObjectRefStructure value)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • setCustomerRef

      public CustomerRefs_RelStructure.Builder setCustomerRef(int index, VersionOfObjectRefStructure.Builder builderForValue)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • addCustomerRef

       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • addCustomerRef

      public CustomerRefs_RelStructure.Builder addCustomerRef(int index, VersionOfObjectRefStructure value)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • addCustomerRef

       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • addCustomerRef

      public CustomerRefs_RelStructure.Builder addCustomerRef(int index, VersionOfObjectRefStructure.Builder builderForValue)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • addAllCustomerRef

      public CustomerRefs_RelStructure.Builder addAllCustomerRef(Iterable<? extends VersionOfObjectRefStructure> values)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • clearCustomerRef

      public CustomerRefs_RelStructure.Builder clearCustomerRef()
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • removeCustomerRef

      public CustomerRefs_RelStructure.Builder removeCustomerRef(int index)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • getCustomerRefBuilder

      public VersionOfObjectRefStructure.Builder getCustomerRefBuilder(int index)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • getCustomerRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getCustomerRefOrBuilder(int index)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
      Specified by:
      getCustomerRefOrBuilder in interface CustomerRefs_RelStructureOrBuilder
    • getCustomerRefOrBuilderList

      public List<? extends VersionOfObjectRefStructureOrBuilder> getCustomerRefOrBuilderList()
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
      Specified by:
      getCustomerRefOrBuilderList in interface CustomerRefs_RelStructureOrBuilder
    • addCustomerRefBuilder

      public VersionOfObjectRefStructure.Builder addCustomerRefBuilder()
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • addCustomerRefBuilder

      public VersionOfObjectRefStructure.Builder addCustomerRefBuilder(int index)
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;
    • getCustomerRefBuilderList

      public List<VersionOfObjectRefStructure.Builder> getCustomerRefBuilderList()
       Reference to a CUSTOMER.  [netex_part_3/part3_salesTransactions/netex_salesContract_support.xsd at 95:101]
       
      repeated .uk.org.netex.www.netex.VersionOfObjectRefStructure customer_ref = 3;