100 строки
7.7 KiB
YAML
100 строки
7.7 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.ai.contentsafety.models.AnalyzeImageOptions"
|
|
fullName: "com.azure.ai.contentsafety.models.AnalyzeImageOptions"
|
|
name: "AnalyzeImageOptions"
|
|
nameWithType: "AnalyzeImageOptions"
|
|
summary: "The image analysis request."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **AnalyzeImageOptions**"
|
|
constructors:
|
|
- uid: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.AnalyzeImageOptions(com.azure.ai.contentsafety.models.ContentSafetyImageData)"
|
|
fullName: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.AnalyzeImageOptions(ContentSafetyImageData image)"
|
|
name: "AnalyzeImageOptions(ContentSafetyImageData image)"
|
|
nameWithType: "AnalyzeImageOptions.AnalyzeImageOptions(ContentSafetyImageData image)"
|
|
summary: "Creates an instance of Analyze<wbr>Image<wbr>Options class."
|
|
parameters:
|
|
- description: "the image value to set."
|
|
name: "image"
|
|
type: "<xref href=\"com.azure.ai.contentsafety.models.ContentSafetyImageData?alt=com.azure.ai.contentsafety.models.ContentSafetyImageData&text=ContentSafetyImageData\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public AnalyzeImageOptions(ContentSafetyImageData image)"
|
|
desc: "Creates an instance of AnalyzeImageOptions class."
|
|
methods:
|
|
- uid: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.getCategories()"
|
|
fullName: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.getCategories()"
|
|
name: "getCategories()"
|
|
nameWithType: "AnalyzeImageOptions.getCategories()"
|
|
summary: "Get the categories property: The categories will be analyzed."
|
|
syntax: "public List<ImageCategory> getCategories()"
|
|
desc: "Get the categories property: The categories will be analyzed. If they are not assigned, a default set of analysis results for the categories will be returned."
|
|
returns:
|
|
description: "the categories value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.ai.contentsafety.models.ImageCategory?alt=com.azure.ai.contentsafety.models.ImageCategory&text=ImageCategory\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.getImage()"
|
|
fullName: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.getImage()"
|
|
name: "getImage()"
|
|
nameWithType: "AnalyzeImageOptions.getImage()"
|
|
summary: "Get the image property: The image needs to be analyzed."
|
|
syntax: "public ContentSafetyImageData getImage()"
|
|
desc: "Get the image property: The image needs to be analyzed."
|
|
returns:
|
|
description: "the image value."
|
|
type: "<xref href=\"com.azure.ai.contentsafety.models.ContentSafetyImageData?alt=com.azure.ai.contentsafety.models.ContentSafetyImageData&text=ContentSafetyImageData\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.getOutputType()"
|
|
fullName: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.getOutputType()"
|
|
name: "getOutputType()"
|
|
nameWithType: "AnalyzeImageOptions.getOutputType()"
|
|
summary: "Get the output<wbr>Type property: This refers to the type of image analysis output."
|
|
syntax: "public AnalyzeImageOutputType getOutputType()"
|
|
desc: "Get the outputType property: This refers to the type of image analysis output. If no value is assigned, the default value will be \"FourSeverityLevels\"."
|
|
returns:
|
|
description: "the outputType value."
|
|
type: "<xref href=\"com.azure.ai.contentsafety.models.AnalyzeImageOutputType?alt=com.azure.ai.contentsafety.models.AnalyzeImageOutputType&text=AnalyzeImageOutputType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.setCategories(java.util.List<com.azure.ai.contentsafety.models.ImageCategory>)"
|
|
fullName: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.setCategories(List<ImageCategory> categories)"
|
|
name: "setCategories(List<ImageCategory> categories)"
|
|
nameWithType: "AnalyzeImageOptions.setCategories(List<ImageCategory> categories)"
|
|
summary: "Set the categories property: The categories will be analyzed."
|
|
parameters:
|
|
- description: "the categories value to set."
|
|
name: "categories"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.ai.contentsafety.models.ImageCategory?alt=com.azure.ai.contentsafety.models.ImageCategory&text=ImageCategory\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public AnalyzeImageOptions setCategories(List<ImageCategory> categories)"
|
|
desc: "Set the categories property: The categories will be analyzed. If they are not assigned, a default set of analysis results for the categories will be returned."
|
|
returns:
|
|
description: "the AnalyzeImageOptions object itself."
|
|
type: "<xref href=\"com.azure.ai.contentsafety.models.AnalyzeImageOptions?alt=com.azure.ai.contentsafety.models.AnalyzeImageOptions&text=AnalyzeImageOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.setOutputType(com.azure.ai.contentsafety.models.AnalyzeImageOutputType)"
|
|
fullName: "com.azure.ai.contentsafety.models.AnalyzeImageOptions.setOutputType(AnalyzeImageOutputType outputType)"
|
|
name: "setOutputType(AnalyzeImageOutputType outputType)"
|
|
nameWithType: "AnalyzeImageOptions.setOutputType(AnalyzeImageOutputType outputType)"
|
|
summary: "Set the output<wbr>Type property: This refers to the type of image analysis output."
|
|
parameters:
|
|
- description: "the outputType value to set."
|
|
name: "outputType"
|
|
type: "<xref href=\"com.azure.ai.contentsafety.models.AnalyzeImageOutputType?alt=com.azure.ai.contentsafety.models.AnalyzeImageOutputType&text=AnalyzeImageOutputType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public AnalyzeImageOptions setOutputType(AnalyzeImageOutputType outputType)"
|
|
desc: "Set the outputType property: This refers to the type of image analysis output. If no value is assigned, the default value will be \"FourSeverityLevels\"."
|
|
returns:
|
|
description: "the AnalyzeImageOptions object itself."
|
|
type: "<xref href=\"com.azure.ai.contentsafety.models.AnalyzeImageOptions?alt=com.azure.ai.contentsafety.models.AnalyzeImageOptions&text=AnalyzeImageOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The image analysis request."
|
|
metadata: {}
|
|
package: "com.azure.ai.contentsafety.models"
|
|
artifact: com.azure:azure-ai-contentsafety:1.0.8
|