Class AnalyzeSyntaxRequest (2.36.0)

public final class AnalyzeSyntaxRequest extends GeneratedMessageV3 implements AnalyzeSyntaxRequestOrBuilder

The syntax analysis request message.

Protobuf type google.cloud.language.v1beta2.AnalyzeSyntaxRequest

Static Fields

DOCUMENT_FIELD_NUMBER

public static final int DOCUMENT_FIELD_NUMBER
Field Value
TypeDescription
int

ENCODING_TYPE_FIELD_NUMBER

public static final int ENCODING_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalyzeSyntaxRequest getDefaultInstance()
Returns
TypeDescription
AnalyzeSyntaxRequest

getDescriptor()

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

newBuilder()

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

newBuilder(AnalyzeSyntaxRequest prototype)

public static AnalyzeSyntaxRequest.Builder newBuilder(AnalyzeSyntaxRequest prototype)
Parameter
NameDescription
prototypeAnalyzeSyntaxRequest
Returns
TypeDescription
AnalyzeSyntaxRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AnalyzeSyntaxRequest parseFrom(ByteString data)
Parameter
NameDescription
data