All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.language.v1.DocumentOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.50.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/language/v1/language_service.proto

package com.google.cloud.language.v1;

public interface DocumentOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.language.v1.Document)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Required. If the type is not set or is `TYPE_UNSPECIFIED`,
   * returns an `INVALID_ARGUMENT` error.
   * 
* * .google.cloud.language.v1.Document.Type type = 1; */ int getTypeValue(); /** *
   * Required. If the type is not set or is `TYPE_UNSPECIFIED`,
   * returns an `INVALID_ARGUMENT` error.
   * 
* * .google.cloud.language.v1.Document.Type type = 1; */ com.google.cloud.language.v1.Document.Type getType(); /** *
   * The content of the input in string format.
   * 
* * string content = 2; */ java.lang.String getContent(); /** *
   * The content of the input in string format.
   * 
* * string content = 2; */ com.google.protobuf.ByteString getContentBytes(); /** *
   * The Google Cloud Storage URI where the file content is located.
   * This URI must be of the form: gs://bucket_name/object_name. For more
   * details, see https://cloud.google.com/storage/docs/reference-uris.
   * NOTE: Cloud Storage object versioning is not supported.
   * 
* * string gcs_content_uri = 3; */ java.lang.String getGcsContentUri(); /** *
   * The Google Cloud Storage URI where the file content is located.
   * This URI must be of the form: gs://bucket_name/object_name. For more
   * details, see https://cloud.google.com/storage/docs/reference-uris.
   * NOTE: Cloud Storage object versioning is not supported.
   * 
* * string gcs_content_uri = 3; */ com.google.protobuf.ByteString getGcsContentUriBytes(); /** *
   * The language of the document (if not specified, the language is
   * automatically detected). Both ISO and BCP-47 language codes are
   * accepted.<br>
   * **Current Language Restrictions:**
   *  * Only English, Spanish, and Japanese textual content are supported.
   * If the language (either specified by the caller or automatically detected)
   * is not supported by the called API method, an `INVALID_ARGUMENT` error
   * is returned.
   * 
* * string language = 4; */ java.lang.String getLanguage(); /** *
   * The language of the document (if not specified, the language is
   * automatically detected). Both ISO and BCP-47 language codes are
   * accepted.<br>
   * **Current Language Restrictions:**
   *  * Only English, Spanish, and Japanese textual content are supported.
   * If the language (either specified by the caller or automatically detected)
   * is not supported by the called API method, an `INVALID_ARGUMENT` error
   * is returned.
   * 
* * string language = 4; */ com.google.protobuf.ByteString getLanguageBytes(); public com.google.cloud.language.v1.Document.SourceCase getSourceCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy