public static final class NormalizedBoundingBox.Builder extends GeneratedMessageV3.Builder<NormalizedBoundingBox.Builder> implements NormalizedBoundingBoxOrBuilder
Normalized bounding box.
The normalized vertex coordinates are relative to the original image.
Range: [0, 1].
Protobuf type google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NormalizedBoundingBox.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NormalizedBoundingBox build()
Returns
buildPartial()
public NormalizedBoundingBox buildPartial()
Returns
clear()
public NormalizedBoundingBox.Builder clear()
Returns
Overrides
clearBottom()
public NormalizedBoundingBox.Builder clearBottom()
Bottom Y coordinate.
float bottom = 4;
Returns
clearField(Descriptors.FieldDescriptor field)
public NormalizedBoundingBox.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLeft()
public NormalizedBoundingBox.Builder clearLeft()
Left X coordinate.
float left = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NormalizedBoundingBox.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRight()
public NormalizedBoundingBox.Builder clearRight()
Right X coordinate.
float right = 3;
Returns
clearTop()
public NormalizedBoundingBox.Builder clearTop()
Top Y coordinate.
float top = 2;
Returns
clone()
public NormalizedBoundingBox.Builder clone()
Returns
Overrides
getBottom()
Bottom Y coordinate.
float bottom = 4;
Returns
Type | Description |
float | The bottom.
|
getDefaultInstanceForType()
public NormalizedBoundingBox getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLeft()
Left X coordinate.
float left = 1;
Returns
Type | Description |
float | The left.
|
getRight()
Right X coordinate.
float right = 3;
Returns
Type | Description |
float | The right.
|
getTop()
Top Y coordinate.
float top = 2;
Returns
Type | Description |
float | The top.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NormalizedBoundingBox other)
public NormalizedBoundingBox.Builder mergeFrom(NormalizedBoundingBox other)
Parameter
Returns
public NormalizedBoundingBox.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NormalizedBoundingBox.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedBoundingBox.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBottom(float value)
public NormalizedBoundingBox.Builder setBottom(float value)
Bottom Y coordinate.
float bottom = 4;
Parameter
Name | Description |
value | float
The bottom to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NormalizedBoundingBox.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLeft(float value)
public NormalizedBoundingBox.Builder setLeft(float value)
Left X coordinate.
float left = 1;
Parameter
Name | Description |
value | float
The left to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NormalizedBoundingBox.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRight(float value)
public NormalizedBoundingBox.Builder setRight(float value)
Right X coordinate.
float right = 3;
Parameter
Name | Description |
value | float
The right to set.
|
Returns
setTop(float value)
public NormalizedBoundingBox.Builder setTop(float value)
Top Y coordinate.
float top = 2;
Parameter
Name | Description |
value | float
The top to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedBoundingBox.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides