public static final class LabelSegment.Builder extends GeneratedMessageV3.Builder<LabelSegment.Builder> implements LabelSegmentOrBuilder
Video segment level annotation results for label detection.Protobuf type
google.cloud.videointelligence.v1p1beta1.LabelSegment
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<LabelSegment.Builder>
public LabelSegment.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public LabelSegment getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public LabelSegment build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public LabelSegment buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public LabelSegment.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public LabelSegment.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public LabelSegment.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public LabelSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public LabelSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public LabelSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public LabelSegment.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<LabelSegment.Builder>
public LabelSegment.Builder mergeFrom(LabelSegment other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public LabelSegment.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<LabelSegment.Builder>
java.io.IOException
public boolean hasSegment()
Video segment where a label was detected.
.google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1;
hasSegment
in interface LabelSegmentOrBuilder
public VideoSegment getSegment()
Video segment where a label was detected.
.google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1;
getSegment
in interface LabelSegmentOrBuilder
public LabelSegment.Builder setSegment(VideoSegment value)
Video segment where a label was detected.
.google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1;
public LabelSegment.Builder setSegment(VideoSegment.Builder builderForValue)
Video segment where a label was detected.
.google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1;
public LabelSegment.Builder mergeSegment(VideoSegment value)
Video segment where a label was detected.
.google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1;
public LabelSegment.Builder clearSegment()
Video segment where a label was detected.
.google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1;
public VideoSegment.Builder getSegmentBuilder()
Video segment where a label was detected.
.google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1;
public VideoSegmentOrBuilder getSegmentOrBuilder()
Video segment where a label was detected.
.google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1;
getSegmentOrBuilder
in interface LabelSegmentOrBuilder
public float getConfidence()
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
getConfidence
in interface LabelSegmentOrBuilder
public LabelSegment.Builder setConfidence(float value)
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
public LabelSegment.Builder clearConfidence()
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;
public final LabelSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<LabelSegment.Builder>
public final LabelSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<LabelSegment.Builder>