Package com.cognite.client.dto
Class Annotation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
- com.cognite.client.dto.Annotation.Builder
-
- All Implemented Interfaces:
AnnotationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Annotation
public static final class Annotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder> implements AnnotationOrBuilder
Protobuf typecom.cognite.beam.proto.Annotation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotation.BuilderaddAllEntities(Iterable<? extends Struct> values)repeated .google.protobuf.Struct entities = 3;Annotation.BuilderaddEntities(int index, Struct value)repeated .google.protobuf.Struct entities = 3;Annotation.BuilderaddEntities(int index, Struct.Builder builderForValue)repeated .google.protobuf.Struct entities = 3;Annotation.BuilderaddEntities(Struct value)repeated .google.protobuf.Struct entities = 3;Annotation.BuilderaddEntities(Struct.Builder builderForValue)repeated .google.protobuf.Struct entities = 3;Struct.BuilderaddEntitiesBuilder()repeated .google.protobuf.Struct entities = 3;Struct.BuilderaddEntitiesBuilder(int index)repeated .google.protobuf.Struct entities = 3;Annotation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Annotationbuild()AnnotationbuildPartial()Annotation.Builderclear()Annotation.BuilderclearBoundingBox().com.cognite.beam.proto.BoundingBox boundingBox = 1;Annotation.BuilderclearConfidence().google.protobuf.DoubleValue confidence = 4;Annotation.BuilderclearEntities()repeated .google.protobuf.Struct entities = 3;Annotation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Annotation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Annotation.BuilderclearText().google.protobuf.StringValue text = 2;Annotation.BuilderclearType().google.protobuf.StringValue type = 5;Annotation.Builderclone()BoundingBoxgetBoundingBox().com.cognite.beam.proto.BoundingBox boundingBox = 1;BoundingBox.BuildergetBoundingBoxBuilder().com.cognite.beam.proto.BoundingBox boundingBox = 1;BoundingBoxOrBuildergetBoundingBoxOrBuilder().com.cognite.beam.proto.BoundingBox boundingBox = 1;DoubleValuegetConfidence().google.protobuf.DoubleValue confidence = 4;DoubleValue.BuildergetConfidenceBuilder().google.protobuf.DoubleValue confidence = 4;DoubleValueOrBuildergetConfidenceOrBuilder().google.protobuf.DoubleValue confidence = 4;AnnotationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StructgetEntities(int index)repeated .google.protobuf.Struct entities = 3;Struct.BuildergetEntitiesBuilder(int index)repeated .google.protobuf.Struct entities = 3;List<Struct.Builder>getEntitiesBuilderList()repeated .google.protobuf.Struct entities = 3;intgetEntitiesCount()repeated .google.protobuf.Struct entities = 3;List<Struct>getEntitiesList()repeated .google.protobuf.Struct entities = 3;StructOrBuildergetEntitiesOrBuilder(int index)repeated .google.protobuf.Struct entities = 3;List<? extends StructOrBuilder>getEntitiesOrBuilderList()repeated .google.protobuf.Struct entities = 3;StringValuegetText().google.protobuf.StringValue text = 2;StringValue.BuildergetTextBuilder().google.protobuf.StringValue text = 2;StringValueOrBuildergetTextOrBuilder().google.protobuf.StringValue text = 2;StringValuegetType().google.protobuf.StringValue type = 5;StringValue.BuildergetTypeBuilder().google.protobuf.StringValue type = 5;StringValueOrBuildergetTypeOrBuilder().google.protobuf.StringValue type = 5;booleanhasBoundingBox().com.cognite.beam.proto.BoundingBox boundingBox = 1;booleanhasConfidence().google.protobuf.DoubleValue confidence = 4;booleanhasText().google.protobuf.StringValue text = 2;booleanhasType().google.protobuf.StringValue type = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Annotation.BuildermergeBoundingBox(BoundingBox value).com.cognite.beam.proto.BoundingBox boundingBox = 1;Annotation.BuildermergeConfidence(DoubleValue value).google.protobuf.DoubleValue confidence = 4;Annotation.BuildermergeFrom(Annotation other)Annotation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Annotation.BuildermergeFrom(com.google.protobuf.Message other)Annotation.BuildermergeText(StringValue value).google.protobuf.StringValue text = 2;Annotation.BuildermergeType(StringValue value).google.protobuf.StringValue type = 5;Annotation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Annotation.BuilderremoveEntities(int index)repeated .google.protobuf.Struct entities = 3;Annotation.BuildersetBoundingBox(BoundingBox value).com.cognite.beam.proto.BoundingBox boundingBox = 1;Annotation.BuildersetBoundingBox(BoundingBox.Builder builderForValue).com.cognite.beam.proto.BoundingBox boundingBox = 1;Annotation.BuildersetConfidence(DoubleValue value).google.protobuf.DoubleValue confidence = 4;Annotation.BuildersetConfidence(DoubleValue.Builder builderForValue).google.protobuf.DoubleValue confidence = 4;Annotation.BuildersetEntities(int index, Struct value)repeated .google.protobuf.Struct entities = 3;Annotation.BuildersetEntities(int index, Struct.Builder builderForValue)repeated .google.protobuf.Struct entities = 3;Annotation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Annotation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Annotation.BuildersetText(StringValue value).google.protobuf.StringValue text = 2;Annotation.BuildersetText(StringValue.Builder builderForValue).google.protobuf.StringValue text = 2;Annotation.BuildersetType(StringValue value).google.protobuf.StringValue type = 5;Annotation.BuildersetType(StringValue.Builder builderForValue).google.protobuf.StringValue type = 5;Annotation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<Annotation.Builder>
-
clear
public Annotation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
getDefaultInstanceForType
public Annotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Annotation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Annotation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Annotation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
setField
public Annotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
clearField
public Annotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
clearOneof
public Annotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
setRepeatedField
public Annotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
addRepeatedField
public Annotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
mergeFrom
public Annotation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Annotation.Builder>
-
mergeFrom
public Annotation.Builder mergeFrom(Annotation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
mergeFrom
public Annotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Annotation.Builder>- Throws:
IOException
-
hasBoundingBox
public boolean hasBoundingBox()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;- Specified by:
hasBoundingBoxin interfaceAnnotationOrBuilder- Returns:
- Whether the boundingBox field is set.
-
getBoundingBox
public BoundingBox getBoundingBox()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;- Specified by:
getBoundingBoxin interfaceAnnotationOrBuilder- Returns:
- The boundingBox.
-
setBoundingBox
public Annotation.Builder setBoundingBox(BoundingBox value)
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
-
setBoundingBox
public Annotation.Builder setBoundingBox(BoundingBox.Builder builderForValue)
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
-
mergeBoundingBox
public Annotation.Builder mergeBoundingBox(BoundingBox value)
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
-
clearBoundingBox
public Annotation.Builder clearBoundingBox()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
-
getBoundingBoxBuilder
public BoundingBox.Builder getBoundingBoxBuilder()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;
-
getBoundingBoxOrBuilder
public BoundingBoxOrBuilder getBoundingBoxOrBuilder()
.com.cognite.beam.proto.BoundingBox boundingBox = 1;- Specified by:
getBoundingBoxOrBuilderin interfaceAnnotationOrBuilder
-
hasText
public boolean hasText()
.google.protobuf.StringValue text = 2;- Specified by:
hasTextin interfaceAnnotationOrBuilder- Returns:
- Whether the text field is set.
-
getText
public StringValue getText()
.google.protobuf.StringValue text = 2;- Specified by:
getTextin interfaceAnnotationOrBuilder- Returns:
- The text.
-
setText
public Annotation.Builder setText(StringValue value)
.google.protobuf.StringValue text = 2;
-
setText
public Annotation.Builder setText(StringValue.Builder builderForValue)
.google.protobuf.StringValue text = 2;
-
mergeText
public Annotation.Builder mergeText(StringValue value)
.google.protobuf.StringValue text = 2;
-
clearText
public Annotation.Builder clearText()
.google.protobuf.StringValue text = 2;
-
getTextBuilder
public StringValue.Builder getTextBuilder()
.google.protobuf.StringValue text = 2;
-
getTextOrBuilder
public StringValueOrBuilder getTextOrBuilder()
.google.protobuf.StringValue text = 2;- Specified by:
getTextOrBuilderin interfaceAnnotationOrBuilder
-
getEntitiesList
public List<Struct> getEntitiesList()
repeated .google.protobuf.Struct entities = 3;- Specified by:
getEntitiesListin interfaceAnnotationOrBuilder
-
getEntitiesCount
public int getEntitiesCount()
repeated .google.protobuf.Struct entities = 3;- Specified by:
getEntitiesCountin interfaceAnnotationOrBuilder
-
getEntities
public Struct getEntities(int index)
repeated .google.protobuf.Struct entities = 3;- Specified by:
getEntitiesin interfaceAnnotationOrBuilder
-
setEntities
public Annotation.Builder setEntities(int index, Struct value)
repeated .google.protobuf.Struct entities = 3;
-
setEntities
public Annotation.Builder setEntities(int index, Struct.Builder builderForValue)
repeated .google.protobuf.Struct entities = 3;
-
addEntities
public Annotation.Builder addEntities(Struct value)
repeated .google.protobuf.Struct entities = 3;
-
addEntities
public Annotation.Builder addEntities(int index, Struct value)
repeated .google.protobuf.Struct entities = 3;
-
addEntities
public Annotation.Builder addEntities(Struct.Builder builderForValue)
repeated .google.protobuf.Struct entities = 3;
-
addEntities
public Annotation.Builder addEntities(int index, Struct.Builder builderForValue)
repeated .google.protobuf.Struct entities = 3;
-
addAllEntities
public Annotation.Builder addAllEntities(Iterable<? extends Struct> values)
repeated .google.protobuf.Struct entities = 3;
-
clearEntities
public Annotation.Builder clearEntities()
repeated .google.protobuf.Struct entities = 3;
-
removeEntities
public Annotation.Builder removeEntities(int index)
repeated .google.protobuf.Struct entities = 3;
-
getEntitiesBuilder
public Struct.Builder getEntitiesBuilder(int index)
repeated .google.protobuf.Struct entities = 3;
-
getEntitiesOrBuilder
public StructOrBuilder getEntitiesOrBuilder(int index)
repeated .google.protobuf.Struct entities = 3;- Specified by:
getEntitiesOrBuilderin interfaceAnnotationOrBuilder
-
getEntitiesOrBuilderList
public List<? extends StructOrBuilder> getEntitiesOrBuilderList()
repeated .google.protobuf.Struct entities = 3;- Specified by:
getEntitiesOrBuilderListin interfaceAnnotationOrBuilder
-
addEntitiesBuilder
public Struct.Builder addEntitiesBuilder()
repeated .google.protobuf.Struct entities = 3;
-
addEntitiesBuilder
public Struct.Builder addEntitiesBuilder(int index)
repeated .google.protobuf.Struct entities = 3;
-
getEntitiesBuilderList
public List<Struct.Builder> getEntitiesBuilderList()
repeated .google.protobuf.Struct entities = 3;
-
hasConfidence
public boolean hasConfidence()
.google.protobuf.DoubleValue confidence = 4;- Specified by:
hasConfidencein interfaceAnnotationOrBuilder- Returns:
- Whether the confidence field is set.
-
getConfidence
public DoubleValue getConfidence()
.google.protobuf.DoubleValue confidence = 4;- Specified by:
getConfidencein interfaceAnnotationOrBuilder- Returns:
- The confidence.
-
setConfidence
public Annotation.Builder setConfidence(DoubleValue value)
.google.protobuf.DoubleValue confidence = 4;
-
setConfidence
public Annotation.Builder setConfidence(DoubleValue.Builder builderForValue)
.google.protobuf.DoubleValue confidence = 4;
-
mergeConfidence
public Annotation.Builder mergeConfidence(DoubleValue value)
.google.protobuf.DoubleValue confidence = 4;
-
clearConfidence
public Annotation.Builder clearConfidence()
.google.protobuf.DoubleValue confidence = 4;
-
getConfidenceBuilder
public DoubleValue.Builder getConfidenceBuilder()
.google.protobuf.DoubleValue confidence = 4;
-
getConfidenceOrBuilder
public DoubleValueOrBuilder getConfidenceOrBuilder()
.google.protobuf.DoubleValue confidence = 4;- Specified by:
getConfidenceOrBuilderin interfaceAnnotationOrBuilder
-
hasType
public boolean hasType()
.google.protobuf.StringValue type = 5;- Specified by:
hasTypein interfaceAnnotationOrBuilder- Returns:
- Whether the type field is set.
-
getType
public StringValue getType()
.google.protobuf.StringValue type = 5;- Specified by:
getTypein interfaceAnnotationOrBuilder- Returns:
- The type.
-
setType
public Annotation.Builder setType(StringValue value)
.google.protobuf.StringValue type = 5;
-
setType
public Annotation.Builder setType(StringValue.Builder builderForValue)
.google.protobuf.StringValue type = 5;
-
mergeType
public Annotation.Builder mergeType(StringValue value)
.google.protobuf.StringValue type = 5;
-
clearType
public Annotation.Builder clearType()
.google.protobuf.StringValue type = 5;
-
getTypeBuilder
public StringValue.Builder getTypeBuilder()
.google.protobuf.StringValue type = 5;
-
getTypeOrBuilder
public StringValueOrBuilder getTypeOrBuilder()
.google.protobuf.StringValue type = 5;- Specified by:
getTypeOrBuilderin interfaceAnnotationOrBuilder
-
setUnknownFields
public final Annotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
mergeUnknownFields
public final Annotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
-
-