Class OccupancyCountingPredictionResult.Stats (0.2.0)

public static final class OccupancyCountingPredictionResult.Stats extends GeneratedMessageV3 implements OccupancyCountingPredictionResult.StatsOrBuilder

The statistics info for annotations from occupancy counting operator.

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

Inheritance

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

Static Fields

ACTIVE_ZONE_COUNTS_FIELD_NUMBER

public static final int ACTIVE_ZONE_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

CROSSING_LINE_COUNTS_FIELD_NUMBER

public static final int CROSSING_LINE_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

FULL_FRAME_COUNT_FIELD_NUMBER

public static final int FULL_FRAME_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(OccupancyCountingPredictionResult.Stats prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActiveZoneCounts(int index)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount getActiveZoneCounts(int index)

Active zone counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount active_zone_counts = 3;

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

getActiveZoneCountsCount()

public int getActiveZoneCountsCount()

Active zone counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount active_zone_counts = 3;

Returns
Type Description
int

getActiveZoneCountsList()

public List<OccupancyCountingPredictionResult.Stats.ActiveZoneCount> getActiveZoneCountsList()

Active zone counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount active_zone_counts = 3;

Returns
Type Description
List<ActiveZoneCount>

getActiveZoneCountsOrBuilder(int index)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCountOrBuilder getActiveZoneCountsOrBuilder(int index)

Active zone counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount active_zone_counts = 3;

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

getActiveZoneCountsOrBuilderList()

public List<? extends OccupancyCountingPredictionResult.Stats.ActiveZoneCountOrBuilder> getActiveZoneCountsOrBuilderList()

Active zone counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount active_zone_counts = 3;

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

getCrossingLineCounts(int index)

public OccupancyCountingPredictionResult.Stats.CrossingLineCount getCrossingLineCounts(int index)

Crossing line counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount crossing_line_counts = 2;

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

getCrossingLineCountsCount()

public int getCrossingLineCountsCount()

Crossing line counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount crossing_line_counts = 2;

Returns
Type Description
int

getCrossingLineCountsList()

public List<OccupancyCountingPredictionResult.Stats.CrossingLineCount> getCrossingLineCountsList()

Crossing line counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount crossing_line_counts = 2;

Returns
Type Description
List<CrossingLineCount>

getCrossingLineCountsOrBuilder(int index)

public OccupancyCountingPredictionResult.Stats.CrossingLineCountOrBuilder getCrossingLineCountsOrBuilder(int index)

Crossing line counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount crossing_line_counts = 2;

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

getCrossingLineCountsOrBuilderList()

public List<? extends OccupancyCountingPredictionResult.Stats.CrossingLineCountOrBuilder> getCrossingLineCountsOrBuilderList()

Crossing line counts.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount crossing_line_counts = 2;

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

getDefaultInstanceForType()

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

getFullFrameCount(int index)

public OccupancyCountingPredictionResult.Stats.ObjectCount getFullFrameCount(int index)

Counts of the full frame.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount full_frame_count = 1;

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

getFullFrameCountCount()

public int getFullFrameCountCount()

Counts of the full frame.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount full_frame_count = 1;

Returns
Type Description
int

getFullFrameCountList()

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

Counts of the full frame.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount full_frame_count = 1;

Returns
Type Description
List<ObjectCount>

getFullFrameCountOrBuilder(int index)

public OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder getFullFrameCountOrBuilder(int index)

Counts of the full frame.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount full_frame_count = 1;

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

getFullFrameCountOrBuilderList()

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

Counts of the full frame.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount full_frame_count = 1;

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OccupancyCountingPredictionResult.Stats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OccupancyCountingPredictionResult.Stats.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.Builder toBuilder()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.Builder

writeTo(CodedOutputStream output)

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