Class OccupancyCountingPredictionResult.Stats.CrossingLineCount (0.11.0)

public static final class OccupancyCountingPredictionResult.Stats.CrossingLineCount extends GeneratedMessageV3 implements OccupancyCountingPredictionResult.Stats.CrossingLineCountOrBuilder

Message for Crossing line count.

Protobuf type google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OccupancyCountingPredictionResult.Stats.CrossingLineCount

Static Fields

ACCUMULATED_NEGATIVE_DIRECTION_COUNTS_FIELD_NUMBER

public static final int ACCUMULATED_NEGATIVE_DIRECTION_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

ACCUMULATED_POSITIVE_DIRECTION_COUNTS_FIELD_NUMBER

public static final int ACCUMULATED_POSITIVE_DIRECTION_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

ANNOTATION_FIELD_NUMBER

public static final int ANNOTATION_FIELD_NUMBER
Field Value
Type Description
int

NEGATIVE_DIRECTION_COUNTS_FIELD_NUMBER

public static final int NEGATIVE_DIRECTION_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

POSITIVE_DIRECTION_COUNTS_FIELD_NUMBER

public static final int POSITIVE_DIRECTION_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount getDefaultInstance()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount

getDescriptor()

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

newBuilder()

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder newBuilder()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder

newBuilder(OccupancyCountingPredictionResult.Stats.CrossingLineCount prototype)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder newBuilder(OccupancyCountingPredictionResult.Stats.CrossingLineCount prototype)
Parameter
Name Description
prototype OccupancyCountingPredictionResult.Stats.CrossingLineCount
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder

parseDelimitedFrom(InputStream input)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.Stats.CrossingLineCount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OccupancyCountingPredictionResult.Stats.CrossingLineCount> parser()
Returns
Type Description
Parser<CrossingLineCount>

Methods

equals(Object obj)

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

getAccumulatedNegativeDirectionCounts(int index)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount getAccumulatedNegativeDirectionCounts(int index)

The accumulated negative count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_negative_direction_counts = 5;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount

getAccumulatedNegativeDirectionCountsCount()

public int getAccumulatedNegativeDirectionCountsCount()

The accumulated negative count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_negative_direction_counts = 5;

Returns
Type Description
int

getAccumulatedNegativeDirectionCountsList()

public List<OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount> getAccumulatedNegativeDirectionCountsList()

The accumulated negative count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_negative_direction_counts = 5;

Returns
Type Description
List<AccumulatedObjectCount>

getAccumulatedNegativeDirectionCountsOrBuilder(int index)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCountOrBuilder getAccumulatedNegativeDirectionCountsOrBuilder(int index)

The accumulated negative count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_negative_direction_counts = 5;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCountOrBuilder

getAccumulatedNegativeDirectionCountsOrBuilderList()

public List<? extends OccupancyCountingPredictionResult.Stats.AccumulatedObjectCountOrBuilder> getAccumulatedNegativeDirectionCountsOrBuilderList()

The accumulated negative count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_negative_direction_counts = 5;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCountOrBuilder>

getAccumulatedPositiveDirectionCounts(int index)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount getAccumulatedPositiveDirectionCounts(int index)

The accumulated positive count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_positive_direction_counts = 4;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount

getAccumulatedPositiveDirectionCountsCount()

public int getAccumulatedPositiveDirectionCountsCount()

The accumulated positive count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_positive_direction_counts = 4;

Returns
Type Description
int

getAccumulatedPositiveDirectionCountsList()

public List<OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount> getAccumulatedPositiveDirectionCountsList()

The accumulated positive count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_positive_direction_counts = 4;

Returns
Type Description
List<AccumulatedObjectCount>

getAccumulatedPositiveDirectionCountsOrBuilder(int index)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCountOrBuilder getAccumulatedPositiveDirectionCountsOrBuilder(int index)

The accumulated positive count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_positive_direction_counts = 4;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCountOrBuilder

getAccumulatedPositiveDirectionCountsOrBuilderList()

public List<? extends OccupancyCountingPredictionResult.Stats.AccumulatedObjectCountOrBuilder> getAccumulatedPositiveDirectionCountsOrBuilderList()

The accumulated positive count.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount accumulated_positive_direction_counts = 4;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCountOrBuilder>

getAnnotation()

public StreamAnnotation getAnnotation()

Line annotation from the user.

.google.cloud.visionai.v1.StreamAnnotation annotation = 1;

Returns
Type Description
StreamAnnotation

The annotation.

getAnnotationOrBuilder()

public StreamAnnotationOrBuilder getAnnotationOrBuilder()

Line annotation from the user.

.google.cloud.visionai.v1.StreamAnnotation annotation = 1;

Returns
Type Description
StreamAnnotationOrBuilder

getDefaultInstanceForType()

public OccupancyCountingPredictionResult.Stats.CrossingLineCount getDefaultInstanceForType()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount

getNegativeDirectionCounts(int index)

public OccupancyCountingPredictionResult.Stats.ObjectCount getNegativeDirectionCounts(int index)

The direction that is opposite to the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount negative_direction_counts = 3;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount

getNegativeDirectionCountsCount()

public int getNegativeDirectionCountsCount()

The direction that is opposite to the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount negative_direction_counts = 3;

Returns
Type Description
int

getNegativeDirectionCountsList()

public List<OccupancyCountingPredictionResult.Stats.ObjectCount> getNegativeDirectionCountsList()

The direction that is opposite to the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount negative_direction_counts = 3;

Returns
Type Description
List<ObjectCount>

getNegativeDirectionCountsOrBuilder(int index)

public OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder getNegativeDirectionCountsOrBuilder(int index)

The direction that is opposite to the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount negative_direction_counts = 3;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder

getNegativeDirectionCountsOrBuilderList()

public List<? extends OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder> getNegativeDirectionCountsOrBuilderList()

The direction that is opposite to the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount negative_direction_counts = 3;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder>

getParserForType()

public Parser<OccupancyCountingPredictionResult.Stats.CrossingLineCount> getParserForType()
Returns
Type Description
Parser<CrossingLineCount>
Overrides

getPositiveDirectionCounts(int index)

public OccupancyCountingPredictionResult.Stats.ObjectCount getPositiveDirectionCounts(int index)

The direction that follows the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount positive_direction_counts = 2;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount

getPositiveDirectionCountsCount()

public int getPositiveDirectionCountsCount()

The direction that follows the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount positive_direction_counts = 2;

Returns
Type Description
int

getPositiveDirectionCountsList()

public List<OccupancyCountingPredictionResult.Stats.ObjectCount> getPositiveDirectionCountsList()

The direction that follows the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount positive_direction_counts = 2;

Returns
Type Description
List<ObjectCount>

getPositiveDirectionCountsOrBuilder(int index)

public OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder getPositiveDirectionCountsOrBuilder(int index)

The direction that follows the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount positive_direction_counts = 2;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder

getPositiveDirectionCountsOrBuilderList()

public List<? extends OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder> getPositiveDirectionCountsOrBuilderList()

The direction that follows the right hand rule.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount positive_direction_counts = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAnnotation()

public boolean hasAnnotation()

Line annotation from the user.

.google.cloud.visionai.v1.StreamAnnotation annotation = 1;

Returns
Type Description
boolean

Whether the annotation 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 OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder newBuilderForType()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder toBuilder()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.CrossingLineCount.Builder

writeTo(CodedOutputStream output)

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