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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int TIME_OFFSET_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static LabelFrame parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelFrame parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelFrame parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelFrame parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelFrame parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LabelFrame parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LabelFrame parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LabelFrame parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LabelFrame parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LabelFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LabelFrame.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static LabelFrame.Builder newBuilder()
public static LabelFrame.Builder newBuilder(LabelFrame prototype)
public LabelFrame.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected LabelFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static LabelFrame getDefaultInstance()
public static Parser<LabelFrame> parser()
public Parser<LabelFrame> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public LabelFrame getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder