public static final class OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder extends GeneratedMessageV3.Builder<OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder> implements OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder
Bounding Box in the normalized coordinates.
Protobuf type
google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
build()
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox build()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox |
buildPartial()
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox buildPartial()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox |
clear()
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clear()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
clearField(Descriptors.FieldDescriptor field)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
clearHeight()
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearHeight()
Height of the bounding box.
float height = 4;
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
clearWidth()
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearWidth()
Width of the bounding box.
float width = 3;
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
clearXmin()
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearXmin()
Min in x coordinate.
float xmin = 1;
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
clearYmin()
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearYmin()
Min in y coordinate.
float ymin = 2;
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
clone()
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clone()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
getDefaultInstanceForType()
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHeight()
public float getHeight()
Height of the bounding box.
float height = 4;
Returns | |
---|---|
Type | Description |
float |
The height. |
getWidth()
public float getWidth()
Width of the bounding box.
float width = 3;
Returns | |
---|---|
Type | Description |
float |
The width. |
getXmin()
public float getXmin()
Min in x coordinate.
float xmin = 1;
Returns | |
---|---|
Type | Description |
float |
The xmin. |
getYmin()
public float getYmin()
Min in y coordinate.
float ymin = 2;
Returns | |
---|---|
Type | Description |
float |
The ymin. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox other)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeFrom(OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox other)
Parameter | |
---|---|
Name | Description |
other |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
setHeight(float value)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setHeight(float value)
Height of the bounding box.
float height = 4;
Parameter | |
---|---|
Name | Description |
value |
float The height to set. |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
setWidth(float value)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setWidth(float value)
Width of the bounding box.
float width = 3;
Parameter | |
---|---|
Name | Description |
value |
float The width to set. |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
setXmin(float value)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setXmin(float value)
Min in x coordinate.
float xmin = 1;
Parameter | |
---|---|
Name | Description |
value |
float The xmin to set. |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
setYmin(float value)
public OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setYmin(float value)
Min in y coordinate.
float ymin = 2;
Parameter | |
---|---|
Name | Description |
value |
float The ymin to set. |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |