Package com.cognite.client.dto
Class Annotation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.cognite.client.dto.Annotation
-
- All Implemented Interfaces:
AnnotationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Annotation extends com.google.protobuf.GeneratedMessageV3 implements AnnotationOrBuilder
Protobuf typecom.cognite.beam.proto.Annotation- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotation.BuilderProtobuf typecom.cognite.beam.proto.Annotationstatic classAnnotation.RegionProtobuf typecom.cognite.beam.proto.Annotation.Regionstatic interfaceAnnotation.RegionOrBuilderstatic classAnnotation.VertexProtobuf typecom.cognite.beam.proto.Annotation.Vertexstatic interfaceAnnotation.VertexOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONFIDENCE_FIELD_NUMBERstatic intENTITIES_FIELD_NUMBERstatic intREGION_FIELD_NUMBERstatic intTEXT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)doublegetConfidence()optional double confidence = 2;static AnnotationgetDefaultInstance()AnnotationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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;com.google.protobuf.Parser<Annotation>getParserForType()Annotation.RegiongetRegion().com.cognite.beam.proto.Annotation.Region region = 3;Annotation.RegionOrBuildergetRegionOrBuilder().com.cognite.beam.proto.Annotation.Region region = 3;intgetSerializedSize()StringgetText()optional string text = 1;com.google.protobuf.ByteStringgetTextBytes()optional string text = 1;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasConfidence()optional double confidence = 2;inthashCode()booleanhasRegion().com.cognite.beam.proto.Annotation.Region region = 3;booleanhasText()optional string text = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Annotation.BuildernewBuilder()static Annotation.BuildernewBuilder(Annotation prototype)Annotation.BuildernewBuilderForType()protected Annotation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AnnotationparseDelimitedFrom(InputStream input)static AnnotationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotationparseFrom(byte[] data)static AnnotationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotationparseFrom(com.google.protobuf.ByteString data)static AnnotationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotationparseFrom(com.google.protobuf.CodedInputStream input)static AnnotationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotationparseFrom(InputStream input)static AnnotationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnnotationparseFrom(ByteBuffer data)static AnnotationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Annotation>parser()Annotation.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIDENCE_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITIES_FIELD_NUMBER
public static final int ENTITIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasText
public boolean hasText()
optional string text = 1;- Specified by:
hasTextin interfaceAnnotationOrBuilder- Returns:
- Whether the text field is set.
-
getText
public String getText()
optional string text = 1;- Specified by:
getTextin interfaceAnnotationOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()
optional string text = 1;- Specified by:
getTextBytesin interfaceAnnotationOrBuilder- Returns:
- The bytes for text.
-
hasConfidence
public boolean hasConfidence()
optional double confidence = 2;- Specified by:
hasConfidencein interfaceAnnotationOrBuilder- Returns:
- Whether the confidence field is set.
-
getConfidence
public double getConfidence()
optional double confidence = 2;- Specified by:
getConfidencein interfaceAnnotationOrBuilder- Returns:
- The confidence.
-
hasRegion
public boolean hasRegion()
.com.cognite.beam.proto.Annotation.Region region = 3;- Specified by:
hasRegionin interfaceAnnotationOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public Annotation.Region getRegion()
.com.cognite.beam.proto.Annotation.Region region = 3;- Specified by:
getRegionin interfaceAnnotationOrBuilder- Returns:
- The region.
-
getRegionOrBuilder
public Annotation.RegionOrBuilder getRegionOrBuilder()
.com.cognite.beam.proto.Annotation.Region region = 3;- Specified by:
getRegionOrBuilderin interfaceAnnotationOrBuilder
-
getEntitiesList
public List<com.google.protobuf.Struct> getEntitiesList()
repeated .google.protobuf.Struct entities = 4;- Specified by:
getEntitiesListin interfaceAnnotationOrBuilder
-
getEntitiesOrBuilderList
public List<? extends com.google.protobuf.StructOrBuilder> getEntitiesOrBuilderList()
repeated .google.protobuf.Struct entities = 4;- Specified by:
getEntitiesOrBuilderListin interfaceAnnotationOrBuilder
-
getEntitiesCount
public int getEntitiesCount()
repeated .google.protobuf.Struct entities = 4;- Specified by:
getEntitiesCountin interfaceAnnotationOrBuilder
-
getEntities
public com.google.protobuf.Struct getEntities(int index)
repeated .google.protobuf.Struct entities = 4;- Specified by:
getEntitiesin interfaceAnnotationOrBuilder
-
getEntitiesOrBuilder
public com.google.protobuf.StructOrBuilder getEntitiesOrBuilder(int index)
repeated .google.protobuf.Struct entities = 4;- Specified by:
getEntitiesOrBuilderin interfaceAnnotationOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Annotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Annotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Annotation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Annotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Annotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Annotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Annotation.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Annotation.Builder newBuilder()
-
newBuilder
public static Annotation.Builder newBuilder(Annotation prototype)
-
toBuilder
public Annotation.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Annotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Annotation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Annotation> parser()
-
getParserForType
public com.google.protobuf.Parser<Annotation> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Annotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-