public static final class LabelFrame.Builder extends GeneratedMessageV3.Builder<LabelFrame.Builder> implements LabelFrameOrBuilder
Video frame level annotation results for label detection.Protobuf type
google.cloud.videointelligence.v1p1beta1.LabelFrame
Modifier and Type | Method and Description |
---|---|
LabelFrame.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
LabelFrame |
build() |
LabelFrame |
buildPartial() |
LabelFrame.Builder |
clear() |
LabelFrame.Builder |
clearConfidence()
Confidence that the label is accurate.
|
LabelFrame.Builder |
clearField(Descriptors.FieldDescriptor field) |
LabelFrame.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
LabelFrame.Builder |
clearTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
LabelFrame.Builder |
clone() |
float |
getConfidence()
Confidence that the label is accurate.
|
LabelFrame |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Duration |
getTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
Duration.Builder |
getTimeOffsetBuilder()
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
DurationOrBuilder |
getTimeOffsetOrBuilder()
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
boolean |
hasTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LabelFrame.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
LabelFrame.Builder |
mergeFrom(LabelFrame other) |
LabelFrame.Builder |
mergeFrom(Message other) |
LabelFrame.Builder |
mergeTimeOffset(Duration value)
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
LabelFrame.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
LabelFrame.Builder |
setConfidence(float value)
Confidence that the label is accurate.
|
LabelFrame.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
LabelFrame.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
LabelFrame.Builder |
setTimeOffset(Duration.Builder builderForValue)
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
LabelFrame.Builder |
setTimeOffset(Duration value)
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
LabelFrame.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public LabelFrame.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public LabelFrame getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public LabelFrame build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public LabelFrame buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public LabelFrame.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public LabelFrame.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public LabelFrame.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public LabelFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public LabelFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public LabelFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public LabelFrame.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<LabelFrame.Builder>
public LabelFrame.Builder mergeFrom(LabelFrame other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public LabelFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<LabelFrame.Builder>
java.io.IOException
public boolean hasTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;
hasTimeOffset
in interface LabelFrameOrBuilder
public Duration getTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;
getTimeOffset
in interface LabelFrameOrBuilder
public LabelFrame.Builder setTimeOffset(Duration value)
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;
public LabelFrame.Builder setTimeOffset(Duration.Builder builderForValue)
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;
public LabelFrame.Builder mergeTimeOffset(Duration value)
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;
public LabelFrame.Builder clearTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;
public Duration.Builder getTimeOffsetBuilder()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;
public DurationOrBuilder getTimeOffsetOrBuilder()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;
getTimeOffsetOrBuilder
in interface LabelFrameOrBuilder
public float getConfidence()
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
getConfidence
in interface LabelFrameOrBuilder
public LabelFrame.Builder setConfidence(float value)
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
public LabelFrame.Builder clearConfidence()
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
public final LabelFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<LabelFrame.Builder>
public final LabelFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<LabelFrame.Builder>