Interface LabelSegmentOrBuilder (2.2.10)

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
TypeDescription
float

The confidence.

getSegment()

public abstract VideoSegment getSegment()

Video segment where a label was detected.

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

Returns
TypeDescription
VideoSegment

The segment.

getSegmentOrBuilder()

public abstract VideoSegmentOrBuilder getSegmentOrBuilder()

Video segment where a label was detected.

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

Returns
TypeDescription
VideoSegmentOrBuilder

hasSegment()

public abstract boolean hasSegment()

Video segment where a label was detected.

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

Returns
TypeDescription
boolean

Whether the segment field is set.