Interface Document.Page.DetectedBarcodeOrBuilder (2.50.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.v1.Barcode barcode = 2;

Returns
Type Description
Barcode

The barcode.

getBarcodeOrBuilder()

public abstract BarcodeOrBuilder getBarcodeOrBuilder()

Detailed barcode information of the DetectedBarcode.

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

Returns
Type Description
BarcodeOrBuilder

getLayout()

public abstract Document.Page.Layout getLayout()

Layout for DetectedBarcode.

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

Returns
Type Description
Document.Page.Layout

The layout.

getLayoutOrBuilder()

public abstract Document.Page.LayoutOrBuilder getLayoutOrBuilder()

Layout for DetectedBarcode.

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

Returns
Type Description
Document.Page.LayoutOrBuilder

hasBarcode()

public abstract boolean hasBarcode()

Detailed barcode information of the DetectedBarcode.

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

Returns
Type Description
boolean

Whether the barcode field is set.

hasLayout()

public abstract boolean hasLayout()

Layout for DetectedBarcode.

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

Returns
Type Description
boolean

Whether the layout field is set.