Class SafeSearchAnnotation.Builder (3.1.0)

public static final class SafeSearchAnnotation.Builder extends GeneratedMessageV3.Builder<SafeSearchAnnotation.Builder> implements SafeSearchAnnotationOrBuilder

Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).

Protobuf type google.cloud.vision.v1p2beta1.SafeSearchAnnotation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SafeSearchAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SafeSearchAnnotation.Builder
Overrides

build()

public SafeSearchAnnotation build()
Returns
TypeDescription
SafeSearchAnnotation

buildPartial()

public SafeSearchAnnotation buildPartial()
Returns