[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-08-08 UTC."],[],[],null,["# FirebaseVisionCloudDetectorOptions.Builder\n\npublic static class **FirebaseVisionCloudDetectorOptions.Builder** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nBuilder of [FirebaseVisionCloudDetectorOptions](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions). \n\n### Public Constructor Summary\n\n|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [FirebaseVisionCloudDetectorOptions.Builder](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder#FirebaseVisionCloudDetectorOptions.Builder())() |\n\n### Public Method Summary\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FirebaseVisionCloudDetectorOptions](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions) | [build](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder#build())() Creates a [FirebaseVisionCloudDetectorOptions](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions) instance. |\n| [FirebaseVisionCloudDetectorOptions.Builder](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder) | [enforceCertFingerprintMatch](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder#enforceCertFingerprintMatch())() Only allow registered application instances with matching certificate fingerprint to use Cloud Vision API. |\n| [FirebaseVisionCloudDetectorOptions.Builder](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder) | [setMaxResults](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder#setMaxResults(int))(int maxResults) Sets maximum number of results of this type. |\n| [FirebaseVisionCloudDetectorOptions.Builder](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder) | [setModelType](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder#setModelType(int))(int model) Sets model type for the detection. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public **FirebaseVisionCloudDetectorOptions.Builder** ()\n\nPublic Methods\n--------------\n\n#### public [FirebaseVisionCloudDetectorOptions](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions) **build** ()\n\nCreates a [FirebaseVisionCloudDetectorOptions](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions) instance. \n\n#### public [FirebaseVisionCloudDetectorOptions.Builder](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder) **enforceCertFingerprintMatch** ()\n\nOnly allow registered application instances with matching certificate fingerprint to\nuse Cloud Vision API.\n\nDo not set this for debug build if you use simulators to test. \n\n#### public [FirebaseVisionCloudDetectorOptions.Builder](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder) **setMaxResults** (int maxResults)\n\nSets maximum number of results of this type. It will be ignored by [FirebaseVisionDocumentTextRecognizer](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentTextRecognizer).\n\nDefault is 10. \n\n#### public [FirebaseVisionCloudDetectorOptions.Builder](/docs/reference/android/com/google/firebase/ml/vision/cloud/FirebaseVisionCloudDetectorOptions.Builder) **setModelType** (int model)\n\nSets model type for the detection.\n\nDefault is `STABLE_MODEL`."]]