public final class SupportedLanguages extends GeneratedMessageV3 implements SupportedLanguagesOrBuilder
The response message for discovering supported languages.
Protobuf type google.cloud.translation.v3.SupportedLanguages
Static Fields
LANGUAGES_FIELD_NUMBER
public static final int LANGUAGES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SupportedLanguages getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SupportedLanguages.Builder newBuilder()
Returns
newBuilder(SupportedLanguages prototype)
public static SupportedLanguages.Builder newBuilder(SupportedLanguages prototype)
Parameter
Returns
public static SupportedLanguages parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SupportedLanguages parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SupportedLanguages parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SupportedLanguages parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SupportedLanguages parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SupportedLanguages parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SupportedLanguages parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SupportedLanguages parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SupportedLanguages parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SupportedLanguages parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SupportedLanguages parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SupportedLanguages parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SupportedLanguages> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SupportedLanguages getDefaultInstanceForType()
Returns
getLanguages(int index)
public SupportedLanguage getLanguages(int index)
A list of supported language responses. This list contains an entry
for each language the Translation API supports.
repeated .google.cloud.translation.v3.SupportedLanguage languages = 1;
Parameter
Returns
getLanguagesCount()
public int getLanguagesCount()
A list of supported language responses. This list contains an entry
for each language the Translation API supports.
repeated .google.cloud.translation.v3.SupportedLanguage languages = 1;
Returns
getLanguagesList()
public List<SupportedLanguage> getLanguagesList()
A list of supported language responses. This list contains an entry
for each language the Translation API supports.
repeated .google.cloud.translation.v3.SupportedLanguage languages = 1;
Returns
getLanguagesOrBuilder(int index)
public SupportedLanguageOrBuilder getLanguagesOrBuilder(int index)
A list of supported language responses. This list contains an entry
for each language the Translation API supports.
repeated .google.cloud.translation.v3.SupportedLanguage languages = 1;
Parameter
Returns
getLanguagesOrBuilderList()
public List<? extends SupportedLanguageOrBuilder> getLanguagesOrBuilderList()
A list of supported language responses. This list contains an entry
for each language the Translation API supports.
repeated .google.cloud.translation.v3.SupportedLanguage languages = 1;
Returns
Type | Description |
List<? extends com.google.cloud.translate.v3.SupportedLanguageOrBuilder> | |
getParserForType()
public Parser<SupportedLanguages> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SupportedLanguages.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SupportedLanguages.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SupportedLanguages.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions