public static final class OccupancyCountingPredictionResult.Entity.Builder extends GeneratedMessageV3.Builder<OccupancyCountingPredictionResult.Entity.Builder> implements OccupancyCountingPredictionResult.EntityOrBuilder
The entity info for annotations from occupancy counting operator.
Protobuf type google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OccupancyCountingPredictionResult.Entity.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OccupancyCountingPredictionResult.Entity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
build()
public OccupancyCountingPredictionResult.Entity build()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity |
buildPartial()
public OccupancyCountingPredictionResult.Entity buildPartial()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity |
clear()
public OccupancyCountingPredictionResult.Entity.Builder clear()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
clearField(Descriptors.FieldDescriptor field)
public OccupancyCountingPredictionResult.Entity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
clearLabelId()
public OccupancyCountingPredictionResult.Entity.Builder clearLabelId()
Label id.
int64 label_id = 1;
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
This builder for chaining. |
clearLabelString()
public OccupancyCountingPredictionResult.Entity.Builder clearLabelString()
Human readable string of the label.
string label_string = 2;
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OccupancyCountingPredictionResult.Entity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
clone()
public OccupancyCountingPredictionResult.Entity.Builder clone()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
getDefaultInstanceForType()
public OccupancyCountingPredictionResult.Entity getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLabelId()
public long getLabelId()
Label id.
int64 label_id = 1;
Returns | |
---|---|
Type | Description |
long |
The labelId. |
getLabelString()
public String getLabelString()
Human readable string of the label.
string label_string = 2;
Returns | |
---|---|
Type | Description |
String |
The labelString. |
getLabelStringBytes()
public ByteString getLabelStringBytes()
Human readable string of the label.
string label_string = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for labelString. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OccupancyCountingPredictionResult.Entity other)
public OccupancyCountingPredictionResult.Entity.Builder mergeFrom(OccupancyCountingPredictionResult.Entity other)
Parameter | |
---|---|
Name | Description |
other |
OccupancyCountingPredictionResult.Entity |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OccupancyCountingPredictionResult.Entity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OccupancyCountingPredictionResult.Entity.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OccupancyCountingPredictionResult.Entity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OccupancyCountingPredictionResult.Entity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
setLabelId(long value)
public OccupancyCountingPredictionResult.Entity.Builder setLabelId(long value)
Label id.
int64 label_id = 1;
Parameter | |
---|---|
Name | Description |
value |
long The labelId to set. |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
This builder for chaining. |
setLabelString(String value)
public OccupancyCountingPredictionResult.Entity.Builder setLabelString(String value)
Human readable string of the label.
string label_string = 2;
Parameter | |
---|---|
Name | Description |
value |
String The labelString to set. |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
This builder for chaining. |
setLabelStringBytes(ByteString value)
public OccupancyCountingPredictionResult.Entity.Builder setLabelStringBytes(ByteString value)
Human readable string of the label.
string label_string = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for labelString to set. |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OccupancyCountingPredictionResult.Entity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OccupancyCountingPredictionResult.Entity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OccupancyCountingPredictionResult.Entity.Builder |