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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OccupancyCountingPredictionResult.Entity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OccupancyCountingPredictionResult.Entity build()
buildPartial()
public OccupancyCountingPredictionResult.Entity buildPartial()
clear()
public OccupancyCountingPredictionResult.Entity.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public OccupancyCountingPredictionResult.Entity.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLabelId()
public OccupancyCountingPredictionResult.Entity.Builder clearLabelId()
Label id.
int64 label_id = 1;
clearLabelString()
public OccupancyCountingPredictionResult.Entity.Builder clearLabelString()
Human readable string of the label.
string label_string = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public OccupancyCountingPredictionResult.Entity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public OccupancyCountingPredictionResult.Entity.Builder clone()
Overrides
getDefaultInstanceForType()
public OccupancyCountingPredictionResult.Entity getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(OccupancyCountingPredictionResult.Entity other)
public OccupancyCountingPredictionResult.Entity.Builder mergeFrom(OccupancyCountingPredictionResult.Entity other)
public OccupancyCountingPredictionResult.Entity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OccupancyCountingPredictionResult.Entity.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OccupancyCountingPredictionResult.Entity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public OccupancyCountingPredictionResult.Entity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OccupancyCountingPredictionResult.Entity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OccupancyCountingPredictionResult.Entity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides