ComputerVisionErrorCodes Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<ComputerVisionErrorCodes>
      • com.microsoft.azure.cognitiveservices.vision.computervision.models.ComputerVisionErrorCodes

public class ComputerVisionErrorCodes

Defines values for ComputerVisionErrorCodes.

Field Summary

Modifier and Type Field and Description
final ComputerVisionErrorCodes INTERNAL_SERVER_ERROR

Static value InternalServerError for ComputerVisionErrorCodes.

final ComputerVisionErrorCodes INVALID_ARGUMENT

Static value InvalidArgument for ComputerVisionErrorCodes.

final ComputerVisionErrorCodes INVALID_REQUEST

Static value InvalidRequest for ComputerVisionErrorCodes.

final ComputerVisionErrorCodes SERVICE_UNAVAILABLE

Static value ServiceUnavailable for ComputerVisionErrorCodes.

Method Summary

Modifier and Type Method and Description
ComputerVisionErrorCodes fromString(String name)

Creates or finds a ComputerVisionErrorCodes from its string representation.

Collection<ComputerVisionErrorCodes> values()

Field Details

INTERNAL_SERVER_ERROR

public static final ComputerVisionErrorCodes INTERNAL_SERVER_ERROR= fromString("InternalServerError")

Static value InternalServerError for ComputerVisionErrorCodes.

INVALID_ARGUMENT

public static final ComputerVisionErrorCodes INVALID_ARGUMENT= fromString("InvalidArgument")

Static value InvalidArgument for ComputerVisionErrorCodes.

INVALID_REQUEST

public static final ComputerVisionErrorCodes INVALID_REQUEST= fromString("InvalidRequest")

Static value InvalidRequest for ComputerVisionErrorCodes.

SERVICE_UNAVAILABLE

public static final ComputerVisionErrorCodes SERVICE_UNAVAILABLE= fromString("ServiceUnavailable")

Static value ServiceUnavailable for ComputerVisionErrorCodes.

Method Details

fromString

public static ComputerVisionErrorCodes fromString(String name)

Creates or finds a ComputerVisionErrorCodes from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ComputerVisionErrorCodes

values

public static Collection values()

Returns:

known ComputerVisionErrorCodes values

Applies to