Class Glossary.LanguageCodesSet.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Glossary.LanguageCodesSet.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.GeneratedMessageV3.Builder<Glossary.LanguageCodesSet.Builder>
      • getDefaultInstanceForType

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

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

        public Glossary.LanguageCodesSet buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Glossary.LanguageCodesSet.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Glossary.LanguageCodesSet.Builder>
      • isInitialized

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

        public Glossary.LanguageCodesSet.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<Glossary.LanguageCodesSet.Builder>
        Throws:
        IOException
      • getLanguageCodesList

        public com.google.protobuf.ProtocolStringList getLanguageCodesList()
         The ISO-639 language code(s) for terms defined in the glossary.
         All entries are unique. The list contains at least two entries.
         Expected to be an exact match for GlossaryTerm.language_code.
         
        repeated string language_codes = 1;
        Specified by:
        getLanguageCodesList in interface Glossary.LanguageCodesSetOrBuilder
        Returns:
        A list containing the languageCodes.
      • getLanguageCodesCount

        public int getLanguageCodesCount()
         The ISO-639 language code(s) for terms defined in the glossary.
         All entries are unique. The list contains at least two entries.
         Expected to be an exact match for GlossaryTerm.language_code.
         
        repeated string language_codes = 1;
        Specified by:
        getLanguageCodesCount in interface Glossary.LanguageCodesSetOrBuilder
        Returns:
        The count of languageCodes.
      • getLanguageCodes

        public String getLanguageCodes​(int index)
         The ISO-639 language code(s) for terms defined in the glossary.
         All entries are unique. The list contains at least two entries.
         Expected to be an exact match for GlossaryTerm.language_code.
         
        repeated string language_codes = 1;
        Specified by:
        getLanguageCodes in interface Glossary.LanguageCodesSetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The languageCodes at the given index.
      • getLanguageCodesBytes

        public com.google.protobuf.ByteString getLanguageCodesBytes​(int index)
         The ISO-639 language code(s) for terms defined in the glossary.
         All entries are unique. The list contains at least two entries.
         Expected to be an exact match for GlossaryTerm.language_code.
         
        repeated string language_codes = 1;
        Specified by:
        getLanguageCodesBytes in interface Glossary.LanguageCodesSetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the languageCodes at the given index.
      • setLanguageCodes

        public Glossary.LanguageCodesSet.Builder setLanguageCodes​(int index,
                                                                  String value)
         The ISO-639 language code(s) for terms defined in the glossary.
         All entries are unique. The list contains at least two entries.
         Expected to be an exact match for GlossaryTerm.language_code.
         
        repeated string language_codes = 1;
        Parameters:
        index - The index to set the value at.
        value - The languageCodes to set.
        Returns:
        This builder for chaining.
      • addLanguageCodes

        public Glossary.LanguageCodesSet.Builder addLanguageCodes​(String value)
         The ISO-639 language code(s) for terms defined in the glossary.
         All entries are unique. The list contains at least two entries.
         Expected to be an exact match for GlossaryTerm.language_code.
         
        repeated string language_codes = 1;
        Parameters:
        value - The languageCodes to add.
        Returns:
        This builder for chaining.
      • addAllLanguageCodes

        public Glossary.LanguageCodesSet.Builder addAllLanguageCodes​(Iterable<String> values)
         The ISO-639 language code(s) for terms defined in the glossary.
         All entries are unique. The list contains at least two entries.
         Expected to be an exact match for GlossaryTerm.language_code.
         
        repeated string language_codes = 1;
        Parameters:
        values - The languageCodes to add.
        Returns:
        This builder for chaining.
      • clearLanguageCodes

        public Glossary.LanguageCodesSet.Builder clearLanguageCodes()
         The ISO-639 language code(s) for terms defined in the glossary.
         All entries are unique. The list contains at least two entries.
         Expected to be an exact match for GlossaryTerm.language_code.
         
        repeated string language_codes = 1;
        Returns:
        This builder for chaining.
      • addLanguageCodesBytes

        public Glossary.LanguageCodesSet.Builder addLanguageCodesBytes​(com.google.protobuf.ByteString value)
         The ISO-639 language code(s) for terms defined in the glossary.
         All entries are unique. The list contains at least two entries.
         Expected to be an exact match for GlossaryTerm.language_code.
         
        repeated string language_codes = 1;
        Parameters:
        value - The bytes of the languageCodes to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Glossary.LanguageCodesSet.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Glossary.LanguageCodesSet.Builder>
      • mergeUnknownFields

        public final Glossary.LanguageCodesSet.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Glossary.LanguageCodesSet.Builder>