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.v1.NormalizedBoundingBox
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 NormalizedBoundingBox.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NormalizedBoundingBox build()
buildPartial()
public NormalizedBoundingBox buildPartial()
clear()
public NormalizedBoundingBox.Builder clear()
Overrides
clearBottom()
public NormalizedBoundingBox.Builder clearBottom()
Bottom Y coordinate.
float bottom = 4;
clearField(Descriptors.FieldDescriptor field)
public NormalizedBoundingBox.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLeft()
public NormalizedBoundingBox.Builder clearLeft()
Left X coordinate.
float left = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public NormalizedBoundingBox.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRight()
public NormalizedBoundingBox.Builder clearRight()
Right X coordinate.
float right = 3;
clearTop()
public NormalizedBoundingBox.Builder clearTop()
Top Y coordinate.
float top = 2;
clone()
public NormalizedBoundingBox.Builder clone()
Overrides
getBottom()
Bottom Y coordinate.
float bottom = 4;
Returns |
---|
Type | Description |
float | The bottom.
|
getDefaultInstanceForType()
public NormalizedBoundingBox getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NormalizedBoundingBox other)
public NormalizedBoundingBox.Builder mergeFrom(NormalizedBoundingBox other)
public NormalizedBoundingBox.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NormalizedBoundingBox.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedBoundingBox.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public NormalizedBoundingBox.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NormalizedBoundingBox.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setTop(float value)
public NormalizedBoundingBox.Builder setTop(float value)
Top Y coordinate.
float top = 2;
Parameter |
---|
Name | Description |
value | float
The top to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedBoundingBox.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides