class TextAnnotation_DetectedBreak extends Message

Detected start or end of a structural component.

Protobuf type Google\Cloud\Vision\V1\TextAnnotation\DetectedBreak

Methods

__construct()

No description

int
getType()

Generated from protobuf field .google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;

setType(int $var)

Generated from protobuf field .google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;

bool
getIsPrefix()

True if break prepends the element.

setIsPrefix(bool $var)

True if break prepends the element.

Details

at line 29
__construct()

at line 38
int getType()

Generated from protobuf field .google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;

Return Value

int

at line 47
setType(int $var)

Generated from protobuf field .google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;

Parameters

int $var

at line 59
bool getIsPrefix()

True if break prepends the element.

Generated from protobuf field bool is_prefix = 2;

Return Value

bool

at line 70
setIsPrefix(bool $var)

True if break prepends the element.

Generated from protobuf field bool is_prefix = 2;

Parameters

bool $var