com.google.cloud.automl.v1beta1.DocumentOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-automl-v1beta1 Show documentation
Show all versions of proto-google-cloud-automl-v1beta1 Show documentation
PROTO library for proto-google-cloud-automl-v1beta1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/automl/v1beta1/data_items.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.automl.v1beta1;
public interface DocumentOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.Document)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* An input config specifying the content of the document.
*
*
* .google.cloud.automl.v1beta1.DocumentInputConfig input_config = 1;
*
* @return Whether the inputConfig field is set.
*/
boolean hasInputConfig();
/**
*
*
*
* An input config specifying the content of the document.
*
*
* .google.cloud.automl.v1beta1.DocumentInputConfig input_config = 1;
*
* @return The inputConfig.
*/
com.google.cloud.automl.v1beta1.DocumentInputConfig getInputConfig();
/**
*
*
*
* An input config specifying the content of the document.
*
*
* .google.cloud.automl.v1beta1.DocumentInputConfig input_config = 1;
*/
com.google.cloud.automl.v1beta1.DocumentInputConfigOrBuilder getInputConfigOrBuilder();
/**
*
*
*
* The plain text version of this document.
*
*
* .google.cloud.automl.v1beta1.TextSnippet document_text = 2;
*
* @return Whether the documentText field is set.
*/
boolean hasDocumentText();
/**
*
*
*
* The plain text version of this document.
*
*
* .google.cloud.automl.v1beta1.TextSnippet document_text = 2;
*
* @return The documentText.
*/
com.google.cloud.automl.v1beta1.TextSnippet getDocumentText();
/**
*
*
*
* The plain text version of this document.
*
*
* .google.cloud.automl.v1beta1.TextSnippet document_text = 2;
*/
com.google.cloud.automl.v1beta1.TextSnippetOrBuilder getDocumentTextOrBuilder();
/**
*
*
*
* Describes the layout of the document.
* Sorted by [page_number][].
*
*
* repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
*/
java.util.List getLayoutList();
/**
*
*
*
* Describes the layout of the document.
* Sorted by [page_number][].
*
*
* repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
*/
com.google.cloud.automl.v1beta1.Document.Layout getLayout(int index);
/**
*
*
*
* Describes the layout of the document.
* Sorted by [page_number][].
*
*
* repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
*/
int getLayoutCount();
/**
*
*
*
* Describes the layout of the document.
* Sorted by [page_number][].
*
*
* repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
*/
java.util.List extends com.google.cloud.automl.v1beta1.Document.LayoutOrBuilder>
getLayoutOrBuilderList();
/**
*
*
*
* Describes the layout of the document.
* Sorted by [page_number][].
*
*
* repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
*/
com.google.cloud.automl.v1beta1.Document.LayoutOrBuilder getLayoutOrBuilder(int index);
/**
*
*
*
* The dimensions of the page in the document.
*
*
* .google.cloud.automl.v1beta1.DocumentDimensions document_dimensions = 4;
*
* @return Whether the documentDimensions field is set.
*/
boolean hasDocumentDimensions();
/**
*
*
*
* The dimensions of the page in the document.
*
*
* .google.cloud.automl.v1beta1.DocumentDimensions document_dimensions = 4;
*
* @return The documentDimensions.
*/
com.google.cloud.automl.v1beta1.DocumentDimensions getDocumentDimensions();
/**
*
*
*
* The dimensions of the page in the document.
*
*
* .google.cloud.automl.v1beta1.DocumentDimensions document_dimensions = 4;
*/
com.google.cloud.automl.v1beta1.DocumentDimensionsOrBuilder getDocumentDimensionsOrBuilder();
/**
*
*
*
* Number of pages in the document.
*
*
* int32 page_count = 5;
*
* @return The pageCount.
*/
int getPageCount();
}