Class FaceDetectionAnnotation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder>
com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder
- All Implemented Interfaces:
FaceDetectionAnnotationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FaceDetectionAnnotation
public static final class FaceDetectionAnnotation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder>
implements FaceDetectionAnnotationOrBuilder
Face detection annotation.Protobuf type
google.cloud.videointelligence.v1.FaceDetectionAnnotation-
Method Summary
Modifier and TypeMethodDescriptionaddAllTracks(Iterable<? extends Track> values) The face tracks with attributes.The face tracks with attributes.addTracks(int index, Track.Builder builderForValue) The face tracks with attributes.The face tracks with attributes.addTracks(Track.Builder builderForValue) The face tracks with attributes.The face tracks with attributes.addTracksBuilder(int index) The face tracks with attributes.build()clear()The thumbnail of a person's face.The face tracks with attributes.Feature version.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringThe thumbnail of a person's face.getTracks(int index) The face tracks with attributes.getTracksBuilder(int index) The face tracks with attributes.The face tracks with attributes.intThe face tracks with attributes.The face tracks with attributes.getTracksOrBuilder(int index) The face tracks with attributes.List<? extends TrackOrBuilder>The face tracks with attributes.Feature version.com.google.protobuf.ByteStringFeature version.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(FaceDetectionAnnotation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeTracks(int index) The face tracks with attributes.setThumbnail(com.google.protobuf.ByteString value) The thumbnail of a person's face.The face tracks with attributes.setTracks(int index, Track.Builder builderForValue) The face tracks with attributes.setVersion(String value) Feature version.setVersionBytes(com.google.protobuf.ByteString value) Feature version.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FaceDetectionAnnotation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder>
-
mergeFrom
public FaceDetectionAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FaceDetectionAnnotation.Builder>- Throws:
IOException
-
getTracksList
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3;- Specified by:
getTracksListin interfaceFaceDetectionAnnotationOrBuilder
-
getTracksCount
public int getTracksCount()The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3;- Specified by:
getTracksCountin interfaceFaceDetectionAnnotationOrBuilder
-
getTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3;- Specified by:
getTracksin interfaceFaceDetectionAnnotationOrBuilder
-
setTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
setTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
addTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
addTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
addTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
addTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
addAllTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
clearTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
removeTracks
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
getTracksBuilder
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
getTracksOrBuilder
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3;- Specified by:
getTracksOrBuilderin interfaceFaceDetectionAnnotationOrBuilder
-
getTracksOrBuilderList
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3;- Specified by:
getTracksOrBuilderListin interfaceFaceDetectionAnnotationOrBuilder
-
addTracksBuilder
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
addTracksBuilder
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
getTracksBuilderList
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3; -
getThumbnail
public com.google.protobuf.ByteString getThumbnail()The thumbnail of a person's face.
bytes thumbnail = 4;- Specified by:
getThumbnailin interfaceFaceDetectionAnnotationOrBuilder- Returns:
- The thumbnail.
-
setThumbnail
The thumbnail of a person's face.
bytes thumbnail = 4;- Parameters:
value- The thumbnail to set.- Returns:
- This builder for chaining.
-
clearThumbnail
The thumbnail of a person's face.
bytes thumbnail = 4;- Returns:
- This builder for chaining.
-
getVersion
Feature version.
string version = 5;- Specified by:
getVersionin interfaceFaceDetectionAnnotationOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Feature version.
string version = 5;- Specified by:
getVersionBytesin interfaceFaceDetectionAnnotationOrBuilder- Returns:
- The bytes for version.
-
setVersion
Feature version.
string version = 5;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Feature version.
string version = 5;- Returns:
- This builder for chaining.
-
setVersionBytes
Feature version.
string version = 5;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-