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.v1beta2.LabelFrame
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LabelFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LabelFrame build()
buildPartial()
public LabelFrame buildPartial()
clear()
public LabelFrame.Builder clear()
Overrides
clearConfidence()
public LabelFrame.Builder clearConfidence()
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
clearField(Descriptors.FieldDescriptor field)
public LabelFrame.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LabelFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTimeOffset()
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;
clone()
public LabelFrame.Builder clone()
Overrides
getConfidence()
public float getConfidence()
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
Returns |
Type |
Description |
float |
The confidence.
|
getDefaultInstanceForType()
public LabelFrame getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTimeOffset()
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;
Returns |
Type |
Description |
Duration |
The timeOffset.
|
getTimeOffsetBuilder()
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;
getTimeOffsetOrBuilder()
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;
hasTimeOffset()
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;
Returns |
Type |
Description |
boolean |
Whether the timeOffset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LabelFrame other)
public LabelFrame.Builder mergeFrom(LabelFrame other)
public LabelFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LabelFrame.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeTimeOffset(Duration value)
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;
Parameter |
Name |
Description |
value |
Duration
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LabelFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConfidence(float value)
public LabelFrame.Builder setConfidence(float value)
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
Parameter |
Name |
Description |
value |
float
The confidence to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public LabelFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LabelFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTimeOffset(Duration value)
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;
Parameter |
Name |
Description |
value |
Duration
|
setTimeOffset(Duration.Builder builderForValue)
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;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final LabelFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides