Package com.cognite.client.dto
Interface AnnotationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Annotation
,Annotation.Builder
public interface AnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BoundingBox
getBoundingBox()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
BoundingBoxOrBuilder
getBoundingBoxOrBuilder()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
DoubleValue
getConfidence()
.google.protobuf.DoubleValue confidence = 4;
DoubleValueOrBuilder
getConfidenceOrBuilder()
.google.protobuf.DoubleValue confidence = 4;
Struct
getEntities(int index)
repeated .google.protobuf.Struct entities = 3;
int
getEntitiesCount()
repeated .google.protobuf.Struct entities = 3;
List<Struct>
getEntitiesList()
repeated .google.protobuf.Struct entities = 3;
StructOrBuilder
getEntitiesOrBuilder(int index)
repeated .google.protobuf.Struct entities = 3;
List<? extends StructOrBuilder>
getEntitiesOrBuilderList()
repeated .google.protobuf.Struct entities = 3;
StringValue
getText()
.google.protobuf.StringValue text = 2;
StringValueOrBuilder
getTextOrBuilder()
.google.protobuf.StringValue text = 2;
StringValue
getType()
.google.protobuf.StringValue type = 5;
StringValueOrBuilder
getTypeOrBuilder()
.google.protobuf.StringValue type = 5;
boolean
hasBoundingBox()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
boolean
hasConfidence()
.google.protobuf.DoubleValue confidence = 4;
boolean
hasText()
.google.protobuf.StringValue text = 2;
boolean
hasType()
.google.protobuf.StringValue type = 5;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBoundingBox
boolean hasBoundingBox()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
- Returns:
- Whether the boundingBox field is set.
-
getBoundingBox
BoundingBox getBoundingBox()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
- Returns:
- The boundingBox.
-
getBoundingBoxOrBuilder
BoundingBoxOrBuilder getBoundingBoxOrBuilder()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
-
hasText
boolean hasText()
.google.protobuf.StringValue text = 2;
- Returns:
- Whether the text field is set.
-
getText
StringValue getText()
.google.protobuf.StringValue text = 2;
- Returns:
- The text.
-
getTextOrBuilder
StringValueOrBuilder getTextOrBuilder()
.google.protobuf.StringValue text = 2;
-
getEntities
Struct getEntities(int index)
repeated .google.protobuf.Struct entities = 3;
-
getEntitiesCount
int getEntitiesCount()
repeated .google.protobuf.Struct entities = 3;
-
getEntitiesOrBuilderList
List<? extends StructOrBuilder> getEntitiesOrBuilderList()
repeated .google.protobuf.Struct entities = 3;
-
getEntitiesOrBuilder
StructOrBuilder getEntitiesOrBuilder(int index)
repeated .google.protobuf.Struct entities = 3;
-
hasConfidence
boolean hasConfidence()
.google.protobuf.DoubleValue confidence = 4;
- Returns:
- Whether the confidence field is set.
-
getConfidence
DoubleValue getConfidence()
.google.protobuf.DoubleValue confidence = 4;
- Returns:
- The confidence.
-
getConfidenceOrBuilder
DoubleValueOrBuilder getConfidenceOrBuilder()
.google.protobuf.DoubleValue confidence = 4;
-
hasType
boolean hasType()
.google.protobuf.StringValue type = 5;
- Returns:
- Whether the type field is set.
-
getType
StringValue getType()
.google.protobuf.StringValue type = 5;
- Returns:
- The type.
-
getTypeOrBuilder
StringValueOrBuilder getTypeOrBuilder()
.google.protobuf.StringValue type = 5;
-
-