public final class AnalyzeEntitiesRequest extends GeneratedMessageV3 implements AnalyzeEntitiesRequestOrBuilder
The entity analysis request message.
Protobuf type google.cloud.language.v1.AnalyzeEntitiesRequest
Static Fields
DOCUMENT_FIELD_NUMBER
public static final int DOCUMENT_FIELD_NUMBER
Field Value
ENCODING_TYPE_FIELD_NUMBER
public static final int ENCODING_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AnalyzeEntitiesRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AnalyzeEntitiesRequest.Builder newBuilder()
Returns
newBuilder(AnalyzeEntitiesRequest prototype)
public static AnalyzeEntitiesRequest.Builder newBuilder(AnalyzeEntitiesRequest prototype)
Parameter
Returns
public static AnalyzeEntitiesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeEntitiesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AnalyzeEntitiesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeEntitiesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AnalyzeEntitiesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeEntitiesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeEntitiesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AnalyzeEntitiesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeEntitiesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeEntitiesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AnalyzeEntitiesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeEntitiesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AnalyzeEntitiesRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AnalyzeEntitiesRequest getDefaultInstanceForType()
Returns
getDocument()
public Document getDocument()
Input document.
.google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDocumentOrBuilder()
public DocumentOrBuilder getDocumentOrBuilder()
Input document.
.google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getEncodingType()
public EncodingType getEncodingType()
The encoding type used by the API to calculate offsets.
.google.cloud.language.v1.EncodingType encoding_type = 2;
Returns
getEncodingTypeValue()
public int getEncodingTypeValue()
The encoding type used by the API to calculate offsets.
.google.cloud.language.v1.EncodingType encoding_type = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for encodingType.
|
getParserForType()
public Parser<AnalyzeEntitiesRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDocument()
public boolean hasDocument()
Input document.
.google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the document field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AnalyzeEntitiesRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzeEntitiesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AnalyzeEntitiesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions