Class OccupancyCountingPredictionResult.Stats.ActiveZoneCount (0.6.0)

public static final class OccupancyCountingPredictionResult.Stats.ActiveZoneCount extends GeneratedMessageV3 implements OccupancyCountingPredictionResult.Stats.ActiveZoneCountOrBuilder

Message for the active zone count.

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

Inheritance

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

Static Fields

ANNOTATION_FIELD_NUMBER

public static final int ANNOTATION_FIELD_NUMBER
Field Value
Type Description
int

COUNTS_FIELD_NUMBER

public static final int COUNTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(OccupancyCountingPredictionResult.Stats.ActiveZoneCount prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAnnotation()

public StreamAnnotation getAnnotation()

Active zone annotation from the user.

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

Returns
Type Description
StreamAnnotation

The annotation.

getAnnotationOrBuilder()

public StreamAnnotationOrBuilder getAnnotationOrBuilder()

Active zone annotation from the user.

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

Returns
Type Description
StreamAnnotationOrBuilder

getCounts(int index)

public OccupancyCountingPredictionResult.Stats.ObjectCount getCounts(int index)

Counts in the zone.

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

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

getCountsCount()

public int getCountsCount()

Counts in the zone.

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

Returns
Type Description
int

getCountsList()

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

Counts in the zone.

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

Returns
Type Description
List<ObjectCount>

getCountsOrBuilder(int index)

public OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder getCountsOrBuilder(int index)

Counts in the zone.

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

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

getCountsOrBuilderList()

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

Counts in the zone.

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

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAnnotation()

public boolean hasAnnotation()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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