Class Partition.SpatialPartition (0.9.0)

public static final class Partition.SpatialPartition extends GeneratedMessageV3 implements Partition.SpatialPartitionOrBuilder

Partition of asset in space.

Protobuf type google.cloud.visionai.v1.Partition.SpatialPartition

Static Fields

X_MAX_FIELD_NUMBER

public static final int X_MAX_FIELD_NUMBER
Field Value
Type Description
int

X_MIN_FIELD_NUMBER

public static final int X_MIN_FIELD_NUMBER
Field Value
Type Description
int

Y_MAX_FIELD_NUMBER

public static final int Y_MAX_FIELD_NUMBER
Field Value
Type Description
int

Y_MIN_FIELD_NUMBER

public static final int Y_MIN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Partition.SpatialPartition getDefaultInstance()
Returns
Type Description
Partition.SpatialPartition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Partition.SpatialPartition.Builder newBuilder()
Returns
Type Description
Partition.SpatialPartition.Builder

newBuilder(Partition.SpatialPartition prototype)

public static Partition.SpatialPartition.Builder newBuilder(Partition.SpatialPartition prototype)
Parameter
Name Description
prototype Partition.SpatialPartition
Returns
Type Description
Partition.SpatialPartition.Builder

parseDelimitedFrom(InputStream input)

public static Partition.SpatialPartition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Partition.SpatialPartition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Partition.SpatialPartition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Partition.SpatialPartition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Partition.SpatialPartition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Partition.SpatialPartition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Partition.SpatialPartition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Partition.SpatialPartition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Partition.SpatialPartition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Partition.SpatialPartition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Partition.SpatialPartition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Partition.SpatialPartition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partition.SpatialPartition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Partition.SpatialPartition> parser()
Returns
Type Description
Parser<SpatialPartition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Partition.SpatialPartition getDefaultInstanceForType()
Returns
Type Description
Partition.SpatialPartition

getParserForType()

public Parser<Partition.SpatialPartition> getParserForType()
Returns
Type Description
Parser<SpatialPartition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getXMax()

public long getXMax()

The maximum x coordinate value.

optional int64 x_max = 3;

Returns
Type Description
long

The xMax.

getXMin()

public long getXMin()

The minimum x coordinate value.

optional int64 x_min = 1;

Returns
Type Description
long

The xMin.

getYMax()

public long getYMax()

The maximum y coordinate value.

optional int64 y_max = 4;

Returns
Type Description
long

The yMax.

getYMin()

public long getYMin()

The minimum y coordinate value.

optional int64 y_min = 2;

Returns
Type Description
long

The yMin.

hasXMax()

public boolean hasXMax()

The maximum x coordinate value.

optional int64 x_max = 3;

Returns
Type Description
boolean

Whether the xMax field is set.

hasXMin()

public boolean hasXMin()

The minimum x coordinate value.

optional int64 x_min = 1;

Returns
Type Description
boolean

Whether the xMin field is set.

hasYMax()

public boolean hasYMax()

The maximum y coordinate value.

optional int64 y_max = 4;

Returns
Type Description
boolean

Whether the yMax field is set.

hasYMin()

public boolean hasYMin()

The minimum y coordinate value.

optional int64 y_min = 2;

Returns
Type Description
boolean

Whether the yMin field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Partition.SpatialPartition.Builder newBuilderForType()
Returns
Type Description
Partition.SpatialPartition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Partition.SpatialPartition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Partition.SpatialPartition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Partition.SpatialPartition.Builder toBuilder()
Returns
Type Description
Partition.SpatialPartition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException