public static final class ObjectDetectionPredictionResult.Entity.Builder extends GeneratedMessageV3.Builder<ObjectDetectionPredictionResult.Entity.Builder> implements ObjectDetectionPredictionResult.EntityOrBuilder
The entity info for annotations from object detection prediction result.
Protobuf type google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectDetectionPredictionResult.Entity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ObjectDetectionPredictionResult.Entity build()
buildPartial()
public ObjectDetectionPredictionResult.Entity buildPartial()
clear()
public ObjectDetectionPredictionResult.Entity.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ObjectDetectionPredictionResult.Entity.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLabelId()
public ObjectDetectionPredictionResult.Entity.Builder clearLabelId()
Label id.
int64 label_id = 1;
clearLabelString()
public ObjectDetectionPredictionResult.Entity.Builder clearLabelString()
Human readable string of the label.
string label_string = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectDetectionPredictionResult.Entity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ObjectDetectionPredictionResult.Entity.Builder clone()
Overrides
getDefaultInstanceForType()
public ObjectDetectionPredictionResult.Entity getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLabelId()
Label id.
int64 label_id = 1;
Returns |
Type |
Description |
long |
The labelId.
|
getLabelString()
public String getLabelString()
Human readable string of the label.
string label_string = 2;
Returns |
Type |
Description |
String |
The labelString.
|
getLabelStringBytes()
public ByteString getLabelStringBytes()
Human readable string of the label.
string label_string = 2;
Returns |
Type |
Description |
ByteString |
The bytes for labelString.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ObjectDetectionPredictionResult.Entity other)
public ObjectDetectionPredictionResult.Entity.Builder mergeFrom(ObjectDetectionPredictionResult.Entity other)
public ObjectDetectionPredictionResult.Entity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ObjectDetectionPredictionResult.Entity.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectDetectionPredictionResult.Entity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectDetectionPredictionResult.Entity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLabelId(long value)
public ObjectDetectionPredictionResult.Entity.Builder setLabelId(long value)
Label id.
int64 label_id = 1;
Parameter |
Name |
Description |
value |
long
The labelId to set.
|
setLabelString(String value)
public ObjectDetectionPredictionResult.Entity.Builder setLabelString(String value)
Human readable string of the label.
string label_string = 2;
Parameter |
Name |
Description |
value |
String
The labelString to set.
|
setLabelStringBytes(ByteString value)
public ObjectDetectionPredictionResult.Entity.Builder setLabelStringBytes(ByteString value)
Human readable string of the label.
string label_string = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for labelString to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectDetectionPredictionResult.Entity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectDetectionPredictionResult.Entity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides