Class TranslateTextResponse (2.9.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class TranslateTextResponse extends GeneratedMessageV3 implements TranslateTextResponseOrBuilder

Protobuf type google.cloud.translation.v3beta1.TranslateTextResponse

Static Fields

GLOSSARY_TRANSLATIONS_FIELD_NUMBER

public static final int GLOSSARY_TRANSLATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSLATIONS_FIELD_NUMBER

public static final int TRANSLATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TranslateTextResponse getDefaultInstance()
Returns
TypeDescription
TranslateTextResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TranslateTextResponse.Builder newBuilder()
Returns
TypeDescription
TranslateTextResponse.Builder

newBuilder(TranslateTextResponse prototype)

public static TranslateTextResponse.Builder newBuilder(TranslateTextResponse prototype)
Parameter
NameDescription
prototypeTranslateTextResponse
Returns
TypeDescription
TranslateTextResponse.Builder

parseDelimitedFrom(InputStream input)

public static TranslateTextResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TranslateTextResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TranslateTextResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslateTextResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TranslateTextResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TranslateTextResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TranslateTextResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslateTextResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TranslateTextResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TranslateTextResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TranslateTextResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TranslateTextResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TranslateTextResponse parseFrom(CodedInputStream input