Package com.google.cloud.translate.v3
Interface Glossary.LanguageCodesSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Glossary.LanguageCodesSet,Glossary.LanguageCodesSet.Builder
- Enclosing class:
- Glossary
public static interface Glossary.LanguageCodesSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLanguageCodes(int index) The ISO-639 language code(s) for terms defined in the glossary.com.google.protobuf.ByteStringgetLanguageCodesBytes(int index) The ISO-639 language code(s) for terms defined in the glossary.intThe ISO-639 language code(s) for terms defined in the glossary.The ISO-639 language code(s) for terms defined in the glossary.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;- Returns:
- A list containing the languageCodes.
-
getLanguageCodesCount
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;- Returns:
- The count of languageCodes.
-
getLanguageCodes
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 of the element to return.- Returns:
- The languageCodes at the given index.
-
getLanguageCodesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the languageCodes at the given index.
-