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 doublegetConfidence()optional double confidence = 2;com.google.protobuf.StructgetEntities(int index)repeated .google.protobuf.Struct entities = 4;intgetEntitiesCount()repeated .google.protobuf.Struct entities = 4;List<com.google.protobuf.Struct>getEntitiesList()repeated .google.protobuf.Struct entities = 4;com.google.protobuf.StructOrBuildergetEntitiesOrBuilder(int index)repeated .google.protobuf.Struct entities = 4;List<? extends com.google.protobuf.StructOrBuilder>getEntitiesOrBuilderList()repeated .google.protobuf.Struct entities = 4;Annotation.RegiongetRegion().com.cognite.beam.proto.Annotation.Region region = 3;Annotation.RegionOrBuildergetRegionOrBuilder().com.cognite.beam.proto.Annotation.Region region = 3;StringgetText()optional string text = 1;com.google.protobuf.ByteStringgetTextBytes()optional string text = 1;booleanhasConfidence()optional double confidence = 2;booleanhasRegion().com.cognite.beam.proto.Annotation.Region region = 3;booleanhasText()optional string text = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasText
boolean hasText()
optional string text = 1;- Returns:
- Whether the text field is set.
-
getText
String getText()
optional string text = 1;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
optional string text = 1;- Returns:
- The bytes for text.
-
hasConfidence
boolean hasConfidence()
optional double confidence = 2;- Returns:
- Whether the confidence field is set.
-
getConfidence
double getConfidence()
optional double confidence = 2;- Returns:
- The confidence.
-
hasRegion
boolean hasRegion()
.com.cognite.beam.proto.Annotation.Region region = 3;- Returns:
- Whether the region field is set.
-
getRegion
Annotation.Region getRegion()
.com.cognite.beam.proto.Annotation.Region region = 3;- Returns:
- The region.
-
getRegionOrBuilder
Annotation.RegionOrBuilder getRegionOrBuilder()
.com.cognite.beam.proto.Annotation.Region region = 3;
-
getEntitiesList
List<com.google.protobuf.Struct> getEntitiesList()
repeated .google.protobuf.Struct entities = 4;
-
getEntities
com.google.protobuf.Struct getEntities(int index)
repeated .google.protobuf.Struct entities = 4;
-
getEntitiesCount
int getEntitiesCount()
repeated .google.protobuf.Struct entities = 4;
-
getEntitiesOrBuilderList
List<? extends com.google.protobuf.StructOrBuilder> getEntitiesOrBuilderList()
repeated .google.protobuf.Struct entities = 4;
-
getEntitiesOrBuilder
com.google.protobuf.StructOrBuilder getEntitiesOrBuilder(int index)
repeated .google.protobuf.Struct entities = 4;
-
-