Interface FaceRecognitionParamsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    FaceRecognitionParams, FaceRecognitionParams.Builder

    public interface FaceRecognitionParamsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCelebritySet​(int index)
      The resource names for one or more [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s.
      com.google.protobuf.ByteString getCelebritySetBytes​(int index)
      The resource names for one or more [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s.
      int getCelebritySetCount()
      The resource names for one or more [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s.
      List<String> getCelebritySetList()
      The resource names for one or more [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getCelebritySetList

        List<String> getCelebritySetList()
         The resource names for one or more
         [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s. A celebrity
         set is preloaded and can be specified as "builtin/default". If this is
         specified, the algorithm will try to match the faces detected in the input
         image to the Celebrities in the CelebritySets.
         
        repeated string celebrity_set = 1;
        Returns:
        A list containing the celebritySet.
      • getCelebritySetCount

        int getCelebritySetCount()
         The resource names for one or more
         [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s. A celebrity
         set is preloaded and can be specified as "builtin/default". If this is
         specified, the algorithm will try to match the faces detected in the input
         image to the Celebrities in the CelebritySets.
         
        repeated string celebrity_set = 1;
        Returns:
        The count of celebritySet.
      • getCelebritySet

        String getCelebritySet​(int index)
         The resource names for one or more
         [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s. A celebrity
         set is preloaded and can be specified as "builtin/default". If this is
         specified, the algorithm will try to match the faces detected in the input
         image to the Celebrities in the CelebritySets.
         
        repeated string celebrity_set = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The celebritySet at the given index.
      • getCelebritySetBytes

        com.google.protobuf.ByteString getCelebritySetBytes​(int index)
         The resource names for one or more
         [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s. A celebrity
         set is preloaded and can be specified as "builtin/default". If this is
         specified, the algorithm will try to match the faces detected in the input
         image to the Celebrities in the CelebritySets.
         
        repeated string celebrity_set = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the celebritySet at the given index.