Package | Description |
---|---|
com.google.cloud.language.v1 |
A client to Cloud Natural Language API
|
Modifier and Type | Method and Description |
---|---|
Document.Builder |
Document.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Document.Builder |
Document.Builder.clear() |
Document.Builder |
Document.Builder.clearContent()
The content of the input in string format.
|
Document.Builder |
Document.Builder.clearField(Descriptors.FieldDescriptor field) |
Document.Builder |
Document.Builder.clearGcsContentUri()
The Google Cloud Storage URI where the file content is located.
|
Document.Builder |
Document.Builder.clearLanguage()
The language of the document (if not specified, the language is
automatically detected).
|
Document.Builder |
Document.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
Document.Builder |
Document.Builder.clearSource() |
Document.Builder |
Document.Builder.clearType()
Required.
|
Document.Builder |
Document.Builder.clone() |
Document.Builder |
AnalyzeSentimentRequest.Builder.getDocumentBuilder()
Required.
|
Document.Builder |
AnalyzeEntitiesRequest.Builder.getDocumentBuilder()
Required.
|
Document.Builder |
AnalyzeEntitySentimentRequest.Builder.getDocumentBuilder()
Required.
|
Document.Builder |
ClassifyTextRequest.Builder.getDocumentBuilder()
Required.
|
Document.Builder |
AnnotateTextRequest.Builder.getDocumentBuilder()
Required.
|
Document.Builder |
AnalyzeSyntaxRequest.Builder.getDocumentBuilder()
Required.
|
Document.Builder |
Document.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Document.Builder |
Document.Builder.mergeFrom(Document other) |
Document.Builder |
Document.Builder.mergeFrom(Message other) |
Document.Builder |
Document.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static Document.Builder |
Document.newBuilder() |
static Document.Builder |
Document.newBuilder(Document prototype) |
Document.Builder |
Document.newBuilderForType() |
protected Document.Builder |
Document.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
Document.Builder |
Document.Builder.setContent(String value)
The content of the input in string format.
|
Document.Builder |
Document.Builder.setContentBytes(ByteString value)
The content of the input in string format.
|
Document.Builder |
Document.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
Document.Builder |
Document.Builder.setGcsContentUri(String value)
The Google Cloud Storage URI where the file content is located.
|
Document.Builder |
Document.Builder.setGcsContentUriBytes(ByteString value)
The Google Cloud Storage URI where the file content is located.
|
Document.Builder |
Document.Builder.setLanguage(String value)
The language of the document (if not specified, the language is
automatically detected).
|
Document.Builder |
Document.Builder.setLanguageBytes(ByteString value)
The language of the document (if not specified, the language is
automatically detected).
|
Document.Builder |
Document.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Document.Builder |
Document.Builder.setType(Document.Type value)
Required.
|
Document.Builder |
Document.Builder.setTypeValue(int value)
Required.
|
Document.Builder |
Document.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
Document.Builder |
Document.toBuilder() |
Modifier and Type | Method and Description |
---|---|
AnalyzeSentimentRequest.Builder |
AnalyzeSentimentRequest.Builder.setDocument(Document.Builder builderForValue)
Required.
|
AnalyzeEntitiesRequest.Builder |
AnalyzeEntitiesRequest.Builder.setDocument(Document.Builder builderForValue)
Required.
|
AnalyzeEntitySentimentRequest.Builder |
AnalyzeEntitySentimentRequest.Builder.setDocument(Document.Builder builderForValue)
Required.
|
ClassifyTextRequest.Builder |
ClassifyTextRequest.Builder.setDocument(Document.Builder builderForValue)
Required.
|
AnnotateTextRequest.Builder |
AnnotateTextRequest.Builder.setDocument(Document.Builder builderForValue)
Required.
|
AnalyzeSyntaxRequest.Builder |
AnalyzeSyntaxRequest.Builder.setDocument(Document.Builder builderForValue)
Required.
|
Copyright © 2022 Google LLC. All rights reserved.