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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLanguageCodes(int index)
The ISO-639 language code(s) for terms defined in the glossary.com.google.protobuf.ByteString
getLanguageCodesBytes(int index)
The ISO-639 language code(s) for terms defined in the glossary.int
getLanguageCodesCount()
The ISO-639 language code(s) for terms defined in the glossary.List<String>
getLanguageCodesList()
The ISO-639 language code(s) for terms defined in the glossary.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLanguageCodesList
List<String> 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
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;
- 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.
-
-