public static final class LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest
extends com.google.protobuf.GeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest.Builder |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
HEADERS_FIELD_NUMBER |
static int |
TEXTBYTES_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension, newRepeatedGeneratedExtensiontoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int HEADERS_FIELD_NUMBER
public static final int TEXTBYTES_FIELD_NUMBER
public static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest getDefaultInstance()
public LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest getDefaultInstanceForType()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic List<CommonProtos.Header> getHeadersList()
public int getHeadersCount()
public CommonProtos.Header getHeaders(int index)
public boolean hasTextBytes()
public com.google.protobuf.ByteString getTextBytes()
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest.Builder newBuilder()
public LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest.Builder newBuilderForType()
public static LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest.Builder newBuilder(LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest prototype)
public LanguageIdentificationProtos.IdentifyLanguageAndEncodingRequest.Builder toBuilder()