Interface Document.Page.DetectedBarcodeOrBuilder (2.18.0)

public static interface Document.Page.DetectedBarcodeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBarcode()

public abstract Barcode getBarcode()

Detailed barcode information of the DetectedBarcode.

.google.cloud.documentai.v1beta3.Barcode barcode = 2;

Returns
TypeDescription
Barcode

The barcode.

getBarcodeOrBuilder()

public abstract BarcodeOrBuilder getBarcodeOrBuilder()

Detailed barcode information of the DetectedBarcode.

.google.cloud.documentai.v1beta3.Barcode barcode = 2;

Returns
TypeDescription
BarcodeOrBuilder

getLayout()

public abstract Document.Page.Layout getLayout()

Layout for DetectedBarcode.

.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;

Returns
TypeDescription
Document.Page.Layout

The layout.

getLayoutOrBuilder()

public abstract Document.Page.LayoutOrBuilder getLayoutOrBuilder()

Layout for DetectedBarcode.

.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;

Returns
TypeDescription
Document.Page.LayoutOrBuilder

hasBarcode()

public abstract boolean hasBarcode()

Detailed barcode information of the DetectedBarcode.

.google.cloud.documentai.v1beta3.Barcode barcode = 2;

Returns
TypeDescription
boolean

Whether the barcode field is set.

hasLayout()

public abstract boolean hasLayout()

Layout for DetectedBarcode.

.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;

Returns
TypeDescription
boolean

Whether the layout field is set.