Uses of Class
com.google.cloud.language.v1beta2.Document.Builder
-
Uses of Document.Builder in com.google.cloud.language.v1beta2
Methods in com.google.cloud.language.v1beta2 that return Document.BuilderModifier and TypeMethodDescriptionDocument.Builder.clear()Document.Builder.clearBoilerplateHandling()Indicates how detected boilerplate(e.g. advertisements, copyright declarations, banners) should be handled for this document.Document.Builder.clearContent()The content of the input in string format.Document.Builder.clearGcsContentUri()The Google Cloud Storage URI where the file content is located.Document.Builder.clearLanguage()The language of the document (if not specified, the language is automatically detected).Document.Builder.clearReferenceWebUri()The web URI where the document comes from.Document.Builder.clearSource()Document.Builder.clearType()Required.AnalyzeEntitiesRequest.Builder.getDocumentBuilder()Required.AnalyzeEntitySentimentRequest.Builder.getDocumentBuilder()Required.AnalyzeSentimentRequest.Builder.getDocumentBuilder()Required.AnalyzeSyntaxRequest.Builder.getDocumentBuilder()Required.AnnotateTextRequest.Builder.getDocumentBuilder()Required.ClassifyTextRequest.Builder.getDocumentBuilder()Required.ModerateTextRequest.Builder.getDocumentBuilder()Required.Document.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Document.Builder.mergeFrom(com.google.protobuf.Message other) static Document.BuilderDocument.newBuilder()static Document.BuilderDocument.newBuilder(Document prototype) Document.newBuilderForType()protected Document.BuilderDocument.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Document.Builder.setBoilerplateHandling(Document.BoilerplateHandling value) Indicates how detected boilerplate(e.g. advertisements, copyright declarations, banners) should be handled for this document.Document.Builder.setBoilerplateHandlingValue(int value) Indicates how detected boilerplate(e.g. advertisements, copyright declarations, banners) should be handled for this document.Document.Builder.setContent(String value) The content of the input in string format.Document.Builder.setContentBytes(com.google.protobuf.ByteString value) The content of the input in string format.Document.Builder.setGcsContentUri(String value) The Google Cloud Storage URI where the file content is located.Document.Builder.setGcsContentUriBytes(com.google.protobuf.ByteString value) The Google Cloud Storage URI where the file content is located.Document.Builder.setLanguage(String value) The language of the document (if not specified, the language is automatically detected).Document.Builder.setLanguageBytes(com.google.protobuf.ByteString value) The language of the document (if not specified, the language is automatically detected).Document.Builder.setReferenceWebUri(String value) The web URI where the document comes from.Document.Builder.setReferenceWebUriBytes(com.google.protobuf.ByteString value) The web URI where the document comes from.Document.Builder.setType(Document.Type value) Required.Document.Builder.setTypeValue(int value) Required.Document.toBuilder()Methods in com.google.cloud.language.v1beta2 with parameters of type Document.BuilderModifier and TypeMethodDescriptionAnalyzeEntitiesRequest.Builder.setDocument(Document.Builder builderForValue) Required.AnalyzeEntitySentimentRequest.Builder.setDocument(Document.Builder builderForValue) Required.AnalyzeSentimentRequest.Builder.setDocument(Document.Builder builderForValue) Required.AnalyzeSyntaxRequest.Builder.setDocument(Document.Builder builderForValue) Required.AnnotateTextRequest.Builder.setDocument(Document.Builder builderForValue) Required.ClassifyTextRequest.Builder.setDocument(Document.Builder builderForValue) Required.ModerateTextRequest.Builder.setDocument(Document.Builder builderForValue) Required.