Class OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder (0.40.0)

public static final class OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder extends GeneratedMessage.Builder<OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder> implements OccupancyCountingPredictionResult.Stats.AccumulatedObjectCountOrBuilder

The object info and accumulated count for annotations from occupancy counting operator.

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

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder

Static Methods

getDescriptor()

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

Methods

build()

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount build()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount

buildPartial()

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount buildPartial()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount

clear()

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder clear()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder
Overrides

clearObjectCount()

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder clearObjectCount()

The object count for the accumulated count.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount object_count = 2;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder

clearStartTime()

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder clearStartTime()

The start time of the accumulated count.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getObjectCount()

public OccupancyCountingPredictionResult.Stats.ObjectCount getObjectCount()

The object count for the accumulated count.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount object_count = 2;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount

The objectCount.

getObjectCountBuilder()

public OccupancyCountingPredictionResult.Stats.ObjectCount.Builder getObjectCountBuilder()

The object count for the accumulated count.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount object_count = 2;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount.Builder

getObjectCountOrBuilder()

public OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder getObjectCountOrBuilder()

The object count for the accumulated count.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount object_count = 2;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder

getStartTime()

public Timestamp getStartTime()

The start time of the accumulated count.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The start time of the accumulated count.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The start time of the accumulated count.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasObjectCount()

public boolean hasObjectCount()

The object count for the accumulated count.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount object_count = 2;

Returns
Type Description
boolean

Whether the objectCount field is set.

hasStartTime()

public boolean hasStartTime()

The start time of the accumulated count.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount other)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder mergeFrom(OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount other)
Parameter
Name Description
other OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder
Overrides

mergeObjectCount(OccupancyCountingPredictionResult.Stats.ObjectCount value)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder mergeObjectCount(OccupancyCountingPredictionResult.Stats.ObjectCount value)

The object count for the accumulated count.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount object_count = 2;

Parameter
Name Description
value OccupancyCountingPredictionResult.Stats.ObjectCount
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder

mergeStartTime(Timestamp value)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder mergeStartTime(Timestamp value)

The start time of the accumulated count.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder

setObjectCount(OccupancyCountingPredictionResult.Stats.ObjectCount value)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder setObjectCount(OccupancyCountingPredictionResult.Stats.ObjectCount value)

The object count for the accumulated count.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount object_count = 2;

Parameter
Name Description
value OccupancyCountingPredictionResult.Stats.ObjectCount
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder

setObjectCount(OccupancyCountingPredictionResult.Stats.ObjectCount.Builder builderForValue)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder setObjectCount(OccupancyCountingPredictionResult.Stats.ObjectCount.Builder builderForValue)

The object count for the accumulated count.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount object_count = 2;

Parameter
Name Description
builderForValue OccupancyCountingPredictionResult.Stats.ObjectCount.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder

setStartTime(Timestamp value)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder setStartTime(Timestamp value)

The start time of the accumulated count.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder

setStartTime(Timestamp.Builder builderForValue)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder setStartTime(Timestamp.Builder builderForValue)

The start time of the accumulated count.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder