public static final class Glossary.LanguageCodesSet extends GeneratedMessageV3 implements Glossary.LanguageCodesSetOrBuilder
Used with equivalent term set glossaries.
Protobuf type google.cloud.translation.v3beta1.Glossary.LanguageCodesSet
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
LANGUAGE_CODES_FIELD_NUMBER
public static final int LANGUAGE_CODES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Glossary.LanguageCodesSet getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Glossary.LanguageCodesSet.Builder newBuilder()
newBuilder(Glossary.LanguageCodesSet prototype)
public static Glossary.LanguageCodesSet.Builder newBuilder(Glossary.LanguageCodesSet prototype)
public static Glossary.LanguageCodesSet parseDelimitedFrom(InputStream input)
public static Glossary.LanguageCodesSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Glossary.LanguageCodesSet parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Glossary.LanguageCodesSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Glossary.LanguageCodesSet parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Glossary.LanguageCodesSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Glossary.LanguageCodesSet parseFrom(CodedInputStream input)
public static Glossary.LanguageCodesSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Glossary.LanguageCodesSet parseFrom(InputStream input)
public static Glossary.LanguageCodesSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Glossary.LanguageCodesSet parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Glossary.LanguageCodesSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Glossary.LanguageCodesSet> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Glossary.LanguageCodesSet getDefaultInstanceForType()
getLanguageCodes(int index)
public String getLanguageCodes(int index)
The BCP-47 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;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The languageCodes at the given index.
|
getLanguageCodesBytes(int index)
public ByteString getLanguageCodesBytes(int index)
The BCP-47 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;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the languageCodes at the given index.
|
getLanguageCodesCount()
public int getLanguageCodesCount()
The BCP-47 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 |
---|
Type | Description |
int | The count of languageCodes.
|
getLanguageCodesList()
public ProtocolStringList getLanguageCodesList()
The BCP-47 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;
getParserForType()
public Parser<Glossary.LanguageCodesSet> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Glossary.LanguageCodesSet.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Glossary.LanguageCodesSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Glossary.LanguageCodesSet.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides