Class LanguageUsageStructure

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
uk.org.netex.www.netex.LanguageUsageStructure
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, LanguageUsageStructureOrBuilder

@Generated public final class LanguageUsageStructure extends com.google.protobuf.GeneratedMessage implements LanguageUsageStructureOrBuilder
 Type describing language usage properties.  [netex_framework/netex_utility/netex_utility_types.xsd at 215:49]
 
Protobuf type uk.org.netex.www.netex.LanguageUsageStructure
See Also:
  • Field Details

    • LANGUAGE_FIELD_NUMBER

      public static final int LANGUAGE_FIELD_NUMBER
      See Also:
    • LANGUAGE_USE_FIELD_NUMBER

      public static final int LANGUAGE_USE_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
    • getLanguage

      public String getLanguage()
       Language whose usage is described.  [netex_framework/netex_utility/netex_utility_types.xsd at 220:53]
       
      string language = 1;
      Specified by:
      getLanguage in interface LanguageUsageStructureOrBuilder
      Returns:
      The language.
    • getLanguageBytes

      public com.google.protobuf.ByteString getLanguageBytes()
       Language whose usage is described.  [netex_framework/netex_utility/netex_utility_types.xsd at 220:53]
       
      string language = 1;
      Specified by:
      getLanguageBytes in interface LanguageUsageStructureOrBuilder
      Returns:
      The bytes for language.
    • getLanguageUseList

      public List<LanguageUseEnumeration> getLanguageUseList()
       Usages of language supported. Based on UN terms.  [netex_framework/netex_utility/netex_utility_types.xsd at 225:73]
       
      repeated .uk.org.netex.www.netex.LanguageUseEnumeration language_use = 2 [packed = true];
      Specified by:
      getLanguageUseList in interface LanguageUsageStructureOrBuilder
      Returns:
      A list containing the languageUse.
    • getLanguageUseCount

      public int getLanguageUseCount()
       Usages of language supported. Based on UN terms.  [netex_framework/netex_utility/netex_utility_types.xsd at 225:73]
       
      repeated .uk.org.netex.www.netex.LanguageUseEnumeration language_use = 2 [packed = true];
      Specified by:
      getLanguageUseCount in interface LanguageUsageStructureOrBuilder
      Returns:
      The count of languageUse.
    • getLanguageUse

      public LanguageUseEnumeration getLanguageUse(int index)
       Usages of language supported. Based on UN terms.  [netex_framework/netex_utility/netex_utility_types.xsd at 225:73]
       
      repeated .uk.org.netex.www.netex.LanguageUseEnumeration language_use = 2 [packed = true];
      Specified by:
      getLanguageUse in interface LanguageUsageStructureOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The languageUse at the given index.
    • getLanguageUseValueList

      public List<Integer> getLanguageUseValueList()
       Usages of language supported. Based on UN terms.  [netex_framework/netex_utility/netex_utility_types.xsd at 225:73]
       
      repeated .uk.org.netex.www.netex.LanguageUseEnumeration language_use = 2 [packed = true];
      Specified by:
      getLanguageUseValueList in interface LanguageUsageStructureOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for languageUse.
    • getLanguageUseValue

      public int getLanguageUseValue(int index)
       Usages of language supported. Based on UN terms.  [netex_framework/netex_utility/netex_utility_types.xsd at 225:73]
       
      repeated .uk.org.netex.www.netex.LanguageUseEnumeration language_use = 2 [packed = true];
      Specified by:
      getLanguageUseValue in interface LanguageUsageStructureOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of languageUse at the given index.
    • 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 LanguageUsageStructure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static LanguageUsageStructure.Builder newBuilder()
    • newBuilder

      public static LanguageUsageStructure.Builder newBuilder(LanguageUsageStructure prototype)
    • toBuilder

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

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

      public static LanguageUsageStructure getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<LanguageUsageStructure> 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 LanguageUsageStructure getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder