public static final class ObjectDetectionPredictionResult.Builder extends GeneratedMessageV3.Builder<ObjectDetectionPredictionResult.Builder> implements ObjectDetectionPredictionResultOrBuilder
Prediction output format for Generic Object Detection.
Protobuf type google.cloud.visionai.v1.ObjectDetectionPredictionResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllIdentifiedBoxes(Iterable<? extends ObjectDetectionPredictionResult.IdentifiedBox> values)
public ObjectDetectionPredictionResult.Builder addAllIdentifiedBoxes(Iterable<? extends ObjectDetectionPredictionResult.IdentifiedBox> values)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox>
|
addIdentifiedBoxes(ObjectDetectionPredictionResult.IdentifiedBox value)
public ObjectDetectionPredictionResult.Builder addIdentifiedBoxes(ObjectDetectionPredictionResult.IdentifiedBox value)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
addIdentifiedBoxes(ObjectDetectionPredictionResult.IdentifiedBox.Builder builderForValue)
public ObjectDetectionPredictionResult.Builder addIdentifiedBoxes(ObjectDetectionPredictionResult.IdentifiedBox.Builder builderForValue)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
addIdentifiedBoxes(int index, ObjectDetectionPredictionResult.IdentifiedBox value)
public ObjectDetectionPredictionResult.Builder addIdentifiedBoxes(int index, ObjectDetectionPredictionResult.IdentifiedBox value)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
addIdentifiedBoxes(int index, ObjectDetectionPredictionResult.IdentifiedBox.Builder builderForValue)
public ObjectDetectionPredictionResult.Builder addIdentifiedBoxes(int index, ObjectDetectionPredictionResult.IdentifiedBox.Builder builderForValue)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
addIdentifiedBoxesBuilder()
public ObjectDetectionPredictionResult.IdentifiedBox.Builder addIdentifiedBoxesBuilder()
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
addIdentifiedBoxesBuilder(int index)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder addIdentifiedBoxesBuilder(int index)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectDetectionPredictionResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ObjectDetectionPredictionResult build()
buildPartial()
public ObjectDetectionPredictionResult buildPartial()
clear()
public ObjectDetectionPredictionResult.Builder clear()
Overrides
clearCurrentTime()
public ObjectDetectionPredictionResult.Builder clearCurrentTime()
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
clearField(Descriptors.FieldDescriptor field)
public ObjectDetectionPredictionResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIdentifiedBoxes()
public ObjectDetectionPredictionResult.Builder clearIdentifiedBoxes()
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectDetectionPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ObjectDetectionPredictionResult.Builder clone()
Overrides
getCurrentTime()
public Timestamp getCurrentTime()
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
Returns |
Type |
Description |
Timestamp |
The currentTime.
|
getCurrentTimeBuilder()
public Timestamp.Builder getCurrentTimeBuilder()
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
getCurrentTimeOrBuilder()
public TimestampOrBuilder getCurrentTimeOrBuilder()
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
getDefaultInstanceForType()
public ObjectDetectionPredictionResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIdentifiedBoxes(int index)
public ObjectDetectionPredictionResult.IdentifiedBox getIdentifiedBoxes(int index)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Parameter |
Name |
Description |
index |
int
|
getIdentifiedBoxesBuilder(int index)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder getIdentifiedBoxesBuilder(int index)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Parameter |
Name |
Description |
index |
int
|
getIdentifiedBoxesBuilderList()
public List<ObjectDetectionPredictionResult.IdentifiedBox.Builder> getIdentifiedBoxesBuilderList()
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
getIdentifiedBoxesCount()
public int getIdentifiedBoxesCount()
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Returns |
Type |
Description |
int |
|
getIdentifiedBoxesList()
public List<ObjectDetectionPredictionResult.IdentifiedBox> getIdentifiedBoxesList()
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
getIdentifiedBoxesOrBuilder(int index)
public ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder getIdentifiedBoxesOrBuilder(int index)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Parameter |
Name |
Description |
index |
int
|
getIdentifiedBoxesOrBuilderList()
public List<? extends ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder> getIdentifiedBoxesOrBuilderList()
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder> |
|
hasCurrentTime()
public boolean hasCurrentTime()
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
Returns |
Type |
Description |
boolean |
Whether the currentTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCurrentTime(Timestamp value)
public ObjectDetectionPredictionResult.Builder mergeCurrentTime(Timestamp value)
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
mergeFrom(ObjectDetectionPredictionResult other)
public ObjectDetectionPredictionResult.Builder mergeFrom(ObjectDetectionPredictionResult other)
public ObjectDetectionPredictionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ObjectDetectionPredictionResult.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectDetectionPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeIdentifiedBoxes(int index)
public ObjectDetectionPredictionResult.Builder removeIdentifiedBoxes(int index)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Parameter |
Name |
Description |
index |
int
|
setCurrentTime(Timestamp value)
public ObjectDetectionPredictionResult.Builder setCurrentTime(Timestamp value)
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
setCurrentTime(Timestamp.Builder builderForValue)
public ObjectDetectionPredictionResult.Builder setCurrentTime(Timestamp.Builder builderForValue)
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectDetectionPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIdentifiedBoxes(int index, ObjectDetectionPredictionResult.IdentifiedBox value)
public ObjectDetectionPredictionResult.Builder setIdentifiedBoxes(int index, ObjectDetectionPredictionResult.IdentifiedBox value)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
setIdentifiedBoxes(int index, ObjectDetectionPredictionResult.IdentifiedBox.Builder builderForValue)
public ObjectDetectionPredictionResult.Builder setIdentifiedBoxes(int index, ObjectDetectionPredictionResult.IdentifiedBox.Builder builderForValue)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectDetectionPredictionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectDetectionPredictionResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides