Interface LabelSegmentOrBuilder (2.44.0)

public interface LabelSegmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidence()

public abstract float getConfidence()

Confidence that the label is accurate. Range: [0, 1].

float confidence = 2;

Returns
Type Description
float

The confidence.

getSegment()

public abstract VideoSegment getSegment()

Video segment where a label was detected.

.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;

Returns
Type Description
VideoSegment

The segment.

getSegmentOrBuilder()

public abstract VideoSegmentOrBuilder getSegmentOrBuilder()

Video segment where a label was detected.

.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;

Returns
Type Description
VideoSegmentOrBuilder

hasSegment()

public abstract boolean hasSegment()

Video segment where a label was detected.

.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;

Returns
Type Description
boolean

Whether the segment field is set.