public interface LabelLocationOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
float |
getConfidence()
Confidence that the label is accurate.
|
LabelLevel |
getLevel()
Label level.
|
int |
getLevelValue()
Label level.
|
VideoSegment |
getSegment()
Video segment.
|
VideoSegmentOrBuilder |
getSegmentOrBuilder()
Video segment.
|
boolean |
hasSegment()
Video segment.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasSegment()
Video segment. Set to [-1, -1] for video-level labels. Set to [timestamp, timestamp] for frame-level labels. Otherwise, corresponds to one of `AnnotateSpec.segments` (if specified) or to shot boundaries (if requested).
.google.cloud.videointelligence.v1beta1.VideoSegment segment = 1;
VideoSegment getSegment()
Video segment. Set to [-1, -1] for video-level labels. Set to [timestamp, timestamp] for frame-level labels. Otherwise, corresponds to one of `AnnotateSpec.segments` (if specified) or to shot boundaries (if requested).
.google.cloud.videointelligence.v1beta1.VideoSegment segment = 1;
VideoSegmentOrBuilder getSegmentOrBuilder()
Video segment. Set to [-1, -1] for video-level labels. Set to [timestamp, timestamp] for frame-level labels. Otherwise, corresponds to one of `AnnotateSpec.segments` (if specified) or to shot boundaries (if requested).
.google.cloud.videointelligence.v1beta1.VideoSegment segment = 1;
float getConfidence()
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
int getLevelValue()
Label level.
.google.cloud.videointelligence.v1beta1.LabelLevel level = 3;
LabelLevel getLevel()
Label level.
.google.cloud.videointelligence.v1beta1.LabelLevel level = 3;