Class PersonalProtectiveEquipmentDetectionOutput (0.2.0)

public final class PersonalProtectiveEquipmentDetectionOutput extends GeneratedMessageV3 implements PersonalProtectiveEquipmentDetectionOutputOrBuilder

Output format for Personal Protective Equipment Detection Operator.

Protobuf type google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PersonalProtectiveEquipmentDetectionOutput

Static Fields

CURRENT_TIME_FIELD_NUMBER

public static final int CURRENT_TIME_FIELD_NUMBER
Field Value
Type Description
int

DETECTED_PERSONS_FIELD_NUMBER

public static final int DETECTED_PERSONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PersonalProtectiveEquipmentDetectionOutput getDefaultInstance()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput

getDescriptor()

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

newBuilder()

public static PersonalProtectiveEquipmentDetectionOutput.Builder newBuilder()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.Builder

newBuilder(PersonalProtectiveEquipmentDetectionOutput prototype)

public static PersonalProtectiveEquipmentDetectionOutput.Builder newBuilder(PersonalProtectiveEquipmentDetectionOutput prototype)
Parameter
Name Description
prototype PersonalProtectiveEquipmentDetectionOutput
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.Builder

parseDelimitedFrom(InputStream input)

public static PersonalProtectiveEquipmentDetectionOutput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionOutput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionOutput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PersonalProtectiveEquipmentDetectionOutput> parser()
Returns
Type Description
Parser<PersonalProtectiveEquipmentDetectionOutput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCurrentTime()

public Timestamp getCurrentTime()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
Timestamp

The currentTime.

getCurrentTimeOrBuilder()

public TimestampOrBuilder getCurrentTimeOrBuilder()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public PersonalProtectiveEquipmentDetectionOutput getDefaultInstanceForType()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput

getDetectedPersons(int index)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson getDetectedPersons(int index)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameter
Name Description
index int
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPerson

getDetectedPersonsCount()

public int getDetectedPersonsCount()

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Returns
Type Description
int

getDetectedPersonsList()

public List<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> getDetectedPersonsList()

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Returns
Type Description
List<DetectedPerson>

getDetectedPersonsOrBuilder(int index)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder getDetectedPersonsOrBuilder(int index)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameter
Name Description
index int
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder

getDetectedPersonsOrBuilderList()

public List<? extends PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder> getDetectedPersonsOrBuilderList()

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder>

getParserForType()

public Parser<PersonalProtectiveEquipmentDetectionOutput> getParserForType()
Returns
Type Description
Parser<PersonalProtectiveEquipmentDetectionOutput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCurrentTime()

public boolean hasCurrentTime()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
boolean

Whether the currentTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PersonalProtectiveEquipmentDetectionOutput.Builder newBuilderForType()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PersonalProtectiveEquipmentDetectionOutput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PersonalProtectiveEquipmentDetectionOutput.Builder toBuilder()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException