Class OccupancyCountingPredictionResult.Stats.ObjectCount.Builder (0.1.0)

public static final class OccupancyCountingPredictionResult.Stats.ObjectCount.Builder extends GeneratedMessageV3.Builder<OccupancyCountingPredictionResult.Stats.ObjectCount.Builder> implements OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder

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

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearCount()

public OccupancyCountingPredictionResult.Stats.ObjectCount.Builder clearCount()

Count of the object.

int32 count = 2;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount.Builder

This builder for chaining.

clearEntity()

public OccupancyCountingPredictionResult.Stats.ObjectCount.Builder clearEntity()

Entity of this object.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 1;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount.Builder

clearField(Descriptors.FieldDescriptor field)

public OccupancyCountingPredictionResult.Stats.ObjectCount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCount()

public int getCount()

Count of the object.

int32 count = 2;

Returns
Type Description
int

The count.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEntity()

public OccupancyCountingPredictionResult.Entity getEntity()

Entity of this object.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 1;

Returns
Type Description
OccupancyCountingPredictionResult.Entity

The entity.

getEntityBuilder()

public OccupancyCountingPredictionResult.Entity.Builder getEntityBuilder()

Entity of this object.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 1;

Returns
Type Description
OccupancyCountingPredictionResult.Entity.Builder

getEntityOrBuilder()

public OccupancyCountingPredictionResult.EntityOrBuilder getEntityOrBuilder()

Entity of this object.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 1;

Returns
Type Description
OccupancyCountingPredictionResult.EntityOrBuilder

hasEntity()

public boolean hasEntity()

Entity of this object.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 1;

Returns
Type Description
boolean

Whether the entity field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEntity(OccupancyCountingPredictionResult.Entity value)

public OccupancyCountingPredictionResult.Stats.ObjectCount.Builder mergeEntity(OccupancyCountingPredictionResult.Entity value)

Entity of this object.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 1;

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

mergeFrom(OccupancyCountingPredictionResult.Stats.ObjectCount other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCount(int value)

public OccupancyCountingPredictionResult.Stats.ObjectCount.Builder setCount(int value)

Count of the object.

int32 count = 2;

Parameter
Name Description
value int

The count to set.

Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount.Builder

This builder for chaining.

setEntity(OccupancyCountingPredictionResult.Entity value)

public OccupancyCountingPredictionResult.Stats.ObjectCount.Builder setEntity(OccupancyCountingPredictionResult.Entity value)

Entity of this object.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 1;

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

setEntity(OccupancyCountingPredictionResult.Entity.Builder builderForValue)

public OccupancyCountingPredictionResult.Stats.ObjectCount.Builder setEntity(OccupancyCountingPredictionResult.Entity.Builder builderForValue)

Entity of this object.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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