public final class DetectedLanguage extends GeneratedMessageV3 implements DetectedLanguageOrBuilder
The response message for language detection.
Protobuf type google.cloud.translation.v3beta1.DetectedLanguage
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DetectedLanguageImplements
DetectedLanguageOrBuilderStatic Fields
CONFIDENCE_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
Type | Description |
int |
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DetectedLanguage getDefaultInstance()
Type | Description |
DetectedLanguage |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static DetectedLanguage.Builder newBuilder()
Type | Description |
DetectedLanguage.Builder |
newBuilder(DetectedLanguage prototype)
public static DetectedLanguage.Builder newBuilder(DetectedLanguage prototype)
Name | Description |
prototype | DetectedLanguage |
Type | Description |
DetectedLanguage.Builder |
parseDelimitedFrom(InputStream input)
public static DetectedLanguage parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DetectedLanguage |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DetectedLanguage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DetectedLanguage |
Type | Description |
IOException |
parseFrom(byte[] data)
public static DetectedLanguage parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
DetectedLanguage |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DetectedLanguage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DetectedLanguage |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DetectedLanguage parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
DetectedLanguage |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DetectedLanguage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DetectedLanguage |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DetectedLanguage parseFrom(CodedInputStream input)
Name | Description |
input |
|