public final class LabelFrame extends GeneratedMessageV3 implements LabelFrameOrBuilder
Video frame level annotation results for label detection.Protobuf type
google.cloud.videointelligence.v1beta2.LabelFrame| Modifier and Type | Class and Description |
|---|---|
static class |
LabelFrame.Builder
Video frame level annotation results for label detection.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIDENCE_FIELD_NUMBER |
static int |
TIME_OFFSET_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
float |
getConfidence()
Confidence that the label is accurate.
|
static LabelFrame |
getDefaultInstance() |
LabelFrame |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Parser<LabelFrame> |
getParserForType() |
int |
getSerializedSize() |
Duration |
getTimeOffset()
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.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static LabelFrame.Builder |
newBuilder() |
static LabelFrame.Builder |
newBuilder(LabelFrame prototype) |
LabelFrame.Builder |
newBuilderForType() |
protected LabelFrame.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static LabelFrame |
parseDelimitedFrom(java.io.InputStream input) |
static LabelFrame |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static LabelFrame |
parseFrom(byte[] data) |
static LabelFrame |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static LabelFrame |
parseFrom(java.nio.ByteBuffer data) |
static LabelFrame |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static LabelFrame |
parseFrom(ByteString data) |
static LabelFrame |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static LabelFrame |
parseFrom(CodedInputStream input) |
static LabelFrame |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static LabelFrame |
parseFrom(java.io.InputStream input) |
static LabelFrame |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<LabelFrame> |
parser() |
LabelFrame.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TIME_OFFSET_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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 LabelFrameOrBuilderpublic 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 LabelFrameOrBuilderpublic 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 LabelFrameOrBuilderpublic float getConfidence()
Confidence that the label is accurate. Range: [0, 1].
float confidence = 2;getConfidence in interface LabelFrameOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static LabelFrame parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelFrame parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelFrame parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelFrame parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelFrame parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LabelFrame parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LabelFrame parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LabelFrame parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LabelFrame parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LabelFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LabelFrame.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static LabelFrame.Builder newBuilder()
public static LabelFrame.Builder newBuilder(LabelFrame prototype)
public LabelFrame.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected LabelFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static LabelFrame getDefaultInstance()
public static Parser<LabelFrame> parser()
public Parser<LabelFrame> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public LabelFrame getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder