Class OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder (0.12.0)

public static final class OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder extends GeneratedMessageV3.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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount.Builder
Overrides