public static OverlayType forNumber(int value) {
          switch (value) {
            case 0:
              return OVERLAY_TYPE_UNSPECIFIED;
            case 1:
              return NONE;
            case 2:
              return ORIGINAL;
            case 3:
              return GRAYSCALE;
            case 4:
              return MASK_BLACK;
            default:
              return null;
          }
        }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadata.java